__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
vim9script

# Language:           ConTeXt typesetting engine
# Maintainer:         Nicola Vitacolonna <nvitacolonna@gmail.com>
# Former Maintainers: Nikolai Weibull <now@bitwi.se>
# Latest Revision:    2023 Dec 26

# Typesetting {{{
import autoload './typeset.vim'

export def ConTeXtCmd(path: string): list<string>
  var cmd = ['mtxrun', '--script', 'context', '--nonstopmode', '--autogenerate']
  if !empty(get(g:, 'context_extra_options', ''))
    cmd += g:context_extra_options
  endif
  cmd->add(path)
  return cmd
enddef

export def Typeset(bufname: string, env = {}, Cmd = ConTeXtCmd): bool
  return typeset.TypesetBuffer(bufname, Cmd, env, 'ConTeXt')
enddef

export def JobStatus()
  typeset.JobStatus('ConTeXt')
enddef

export def StopJobs()
  typeset.StopJobs('ConTeXt')
enddef

export def Log(bufname: string)
  execute 'edit' typeset.LogPath(bufname)
enddef
# }}}

# Completion {{{
def BinarySearch(base: string, keywords: list<string>): list<string>
  const pat = '^' .. base
  const len = len(keywords)
  var res = []
  var lft = 0
  var rgt = len

  # Find the leftmost index matching base
  while lft < rgt
    var i = (lft + rgt) / 2
    if keywords[i] < base
      lft = i + 1
    else
      rgt = i
    endif
  endwhile

  while lft < len && keywords[lft] =~ pat
    add(res, keywords[lft])
    lft += 1
  endwhile

  return res
enddef

var isMetaPostBlock = false

var MP_KEYWORDS:  list<string> = []
var CTX_KEYWORDS: list<string> = []

# Complete only MetaPost keywords in MetaPost blocks, and complete only
# ConTeXt keywords otherwise.
export def Complete(findstart: number, base: string): any
  if findstart == 1
    if len(synstack(line("."), 1)) > 0 && synIDattr(synstack(line("."), 1)[0], "name") ==# 'contextMPGraphic'
      isMetaPostBlock = true
      return match(getline('.'), '\S\+\%' .. col('.') .. 'c')
    endif

    # Complete only \commands starting with a backslash
    isMetaPostBlock = false
    var pos = match(getline('.'), '\\\zs\S\+\%' .. col('.') .. 'c')
    return (pos == -1) ? -3 : pos
  endif

  if isMetaPostBlock
    if empty(MP_KEYWORDS)
      MP_KEYWORDS = sort(syntaxcomplete#OmniSyntaxList(['mf\w\+', 'mp\w\+']))
    endif
    return BinarySearch(base, MP_KEYWORDS)
  endif

  if empty(CTX_KEYWORDS)
    CTX_KEYWORDS = sort(syntaxcomplete#OmniSyntaxList([
      'context\w\+', 'texAleph', 'texEtex', 'texLuatex', 'texOmega',
      'texPdftex', 'texTex', 'texXeTeX'
    ]))
  endif
  return BinarySearch(base, CTX_KEYWORDS)
enddef
# }}}

# vim: sw=2 fdm=marker

Filemanager

Name Type Size Permission Actions
dist Folder 0755
xml Folder 0755
zig Folder 0755
RstFold.vim File 1.86 KB 0644
ada.vim File 22.04 KB 0644
adacomplete.vim File 3.58 KB 0644
bitbake.vim File 3.02 KB 0644
cargo.vim File 3.96 KB 0644
ccomplete.vim File 19.38 KB 0644
clojurecomplete.vim File 8.66 KB 0644
context.vim File 2.46 KB 0644
contextcomplete.vim File 656 B 0644
csscomplete.vim File 42.24 KB 0644
decada.vim File 2.93 KB 0644
freebasic.vim File 1.02 KB 0644
getscript.vim File 24.29 KB 0644
gnat.vim File 5.21 KB 0644
gzip.vim File 6.55 KB 0644
haskellcomplete.vim File 103.31 KB 0644
htmlcomplete.vim File 24.88 KB 0644
javascriptcomplete.vim File 27.49 KB 0644
modula2.vim File 691 B 0644
netrw.vim File 555.72 KB 0644
netrwFileHandlers.vim File 9.89 KB 0644
netrwSettings.vim File 10.09 KB 0644
netrw_gitignore.vim File 1.21 KB 0644
paste.vim File 738 B 0644
phpcomplete.vim File 346.21 KB 0644
python.vim File 7.7 KB 0644
python3complete.vim File 21.16 KB 0644
pythoncomplete.vim File 21.59 KB 0644
racket.vim File 7.29 KB 0644
rubycomplete.vim File 25.2 KB 0644
rust.vim File 16.58 KB 0644
rustfmt.vim File 7.8 KB 0644
spellfile.vim File 6.03 KB 0644
sqlcomplete.vim File 38.27 KB 0644
syntaxcomplete.vim File 32.86 KB 0644
tar.vim File 29.22 KB 0644
tohtml.vim File 31.68 KB 0644
typeset.vim File 5.94 KB 0644
vimball.vim File 23.76 KB 0644
xmlcomplete.vim File 14.59 KB 0644
xmlformat.vim File 6.05 KB 0644
zip.vim File 15.23 KB 0644
Filemanager