runtime(vim): add jumpoptions to syntax file (#13808)
Commit:
https://github.com/vim/vim/commit/b5352931b354eb67eb7d223cc09c98dcf1b547b6
Author: Hugo van de Vliert <[email protected]>
Date: Wed Jan 3 18:03:29 2024 +0100
runtime(vim): add jumpoptions to syntax file
(https://github.com/vim/vim/issues/13808)
* Add jumpoptions and jop to vim syntax file
* Clean up some whitespace
Signed-off-by: Hugo van de Vliert <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
index d0f66d1ae..d697538db 100644
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -40,8 +40,8 @@ syn keyword vimOption contained ai anti asd awa
balloondelay bevalterm bkc briop
syn keyword vimOption contained akm antialias autochdir background
ballooneval bex bl brk buftype cdpath cindent cinwords cocu complete copyindent
cryptmethod csl cuc debug dictionary display ef endoffile errorfile fcl fdn ffs
fillchars fo foldmarker formatoptions gdefault gp guifontwide helpheight
history hlsearch imaf ims includeexpr infercase iskeyword keyprotocol
langnoremap linespace lnr lw mat maxmemtot mkspellmem mod mousef mouseshape
mzschemedll odev pa path pheader previewheight printmbcharset pvp pyxversion
redrawtime ri rs sb scroll sections shcf shelltype showbreak si sm sn spellfile
splitkeep ssl stmp swapsync synmaxcol tagcase tbi termbidi textauto
thesaurusfunc tl ts ttybuiltin tws undodir varsofttabstop vfile visualbell wc
wh wildignore wincolor winptydll wmw writebackup
syn keyword vimOption contained al ar autoindent backspace
balloonevalterm bexpr bo browsedir casemap cedit cink clipboard cole
completefunc cot cscopepathcomp cspc cul deco diff dy efm endofline errorformat
fcs fdo fic fixendofline foldclose foldmethod formatprg gfm grepformat
guiheadroom helplang hk ic imak imsearch incsearch insertmode isp keywordprg
langremap lisp loadplugins lz matchpairs mco ml modeline mousefocus mouset
mzschemegcdll oft packpath pdev pi previewpopup printmbfont pvw qe regexpengine
rightleft rtp sbo scrollbind secure shell shellxescape showcmd sidescroll
smartcase so spelllang splitright ssop sts swb syntax tagfunc tbidi
termencoding textmode tildeop tm tsl ttyfast twsl undofile vartabstop vi vop
wcm whichwrap wildignorecase window winwidth wop writedelay
syn keyword vimOption contained aleph arab autoread backup balloonexpr
bg bomb bs cb cf cinkeys cm colorcolumn completeopt cp cscopeprg csprg culopt
def diffexpr ea ei eof esckeys fdc fdt fileencoding fixeol foldcolumn
foldminlines fp gfn grepprg guiligatures hf hkmap icon imc imsf inde is isprint
km laststatus lispoptions lop ma matchtime mef mle modelineexpr mousehide
mousetime nf ofu para penc pm previewwindow printoptions pw qftf relativenumber
rightleftcmd ru sbr scrollfocus sel shellcmdflag shellxquote showcmdloc
sidescrolloff smartindent softtabstop spelloptions spo st su swf ta taglength
tbis termguicolors textwidth timeout to tsr ttym twt undolevels vb viewdir vsts
wcr wi wildmenu winfixheight wiv wrap ws
-syn keyword vimOption contained allowrevins arabic autoshelldir
backupcopy bdir bh breakat bsdir cc cfu cino cmdheight columns completepopup
cpo cscopequickfix csqf cursorbind define diffopt ead ek eol et fde fen
fileencodings fk foldenable foldnestmax fs gfs gtl guioptions hh hkmapp
iconstring imcmdline imst indentexpr isf joinspaces kmp lazyredraw lispwords
lpl macatsui maxcombine menc mls modelines mousem mp nrformats omnifunc
paragraphs perldll pmbcs printdevice prompt pythondll quickfixtextfunc remap rl
rubydll sc scrolljump selection shellpipe shiftround showfulltag signcolumn
smarttab sol spellsuggest spr sta sua switchbuf tabline tagrelative tbs
termwinkey tf timeoutlen toolbar tsrfu ttymouse tx undoreload vbs viewoptions
vts wd wic wildmode winfixwidth wiw wrapmargin ww
-syn keyword vimOption contained altkeymap arabicshape autowrite
backupdir bdlay bin breakindent bsk ccv ch cinoptions cmdwinheight com
completeslash cpoptions cscoperelative csre cursorcolumn delcombine digraph
eadirection emo ep eventignore fdi fenc fileformat fkmap foldexpr foldopen
fsync gfw gtt guipty hi hkp ignorecase imd imstatusfunc indentkeys isfname js
kp lbr list lrm magic maxfuncdepth menuitems mm modifiable mousemev mps nu
opendevice paste pex pmbfn printencoding pt pythonhome quoteescape
renderoptions rlc ruf scb scrolloff selectmode shellquote shiftwidth showmatch
siso smc sp spf sps stal suffixes sws tabpagemax tags tc termwinscroll tfu
title toolbariconsize ttimeout ttyscroll uc updatecount vdir vif wa weirdinvert
wig wildoptions winheight wm wrapscan xtermcodes
+syn keyword vimOption contained allowrevins arabic autoshelldir
backupcopy bdir bh breakat bsdir cc cfu cino cmdheight columns completepopup
cpo cscopequickfix csqf cursorbind define diffopt ead ek eol et fde fen
fileencodings fk foldenable foldnestmax fs gfs gtl guioptions hh hkmapp
iconstring imcmdline imst indentexpr isf joinspaces jumpoptions kmp lazyredraw
lispwords lpl macatsui maxcombine menc mls modelines mousem mp nrformats
omnifunc paragraphs perldll pmbcs printdevice prompt pythondll quickfixtextfunc
remap rl rubydll sc scrolljump selection shellpipe shiftround showfulltag
signcolumn smarttab sol spellsuggest spr sta sua switchbuf tabline tagrelative
tbs termwinkey tf timeoutlen toolbar tsrfu ttymouse tx undoreload vbs
viewoptions vts wd wic wildmode winfixwidth wiw wrapmargin ww
+syn keyword vimOption contained altkeymap arabicshape autowrite
backupdir bdlay bin breakindent bsk ccv ch cinoptions cmdwinheight com
completeslash cpoptions cscoperelative csre cursorcolumn delcombine digraph
eadirection emo ep eventignore fdi fenc fileformat fkmap foldexpr foldopen
fsync gfw gtt guipty hi hkp ignorecase imd imstatusfunc indentkeys isfname js
jop kp lbr list lrm magic maxfuncdepth menuitems mm modifiable mousemev mps nu
opendevice paste pex pmbfn printencoding pt pythonhome quoteescape
renderoptions rlc ruf scb scrolloff selectmode shellquote shiftwidth showmatch
siso smc sp spf sps stal suffixes sws tabpagemax tags tc termwinscroll tfu
title toolbariconsize ttimeout ttyscroll uc updatecount vdir vif wa weirdinvert
wig wildoptions winheight wm wrapscan xtermcodes
syn keyword vimOption contained ambiwidth ari autowriteall backupext
belloff binary breakindentopt bt cd charconvert cinscopedecls cmp comments
concealcursor cpp cscopetag cst cursorline dex dip eb emoji equalalways ex fdl
fencs fileformats flp foldignore foldtext ft ghr guicursor guitablabel hid hl
im imdisable imstyle indk isi key kpc lcs listchars ls makeef maxmapdepth mfd
mmd modified mousemodel msm number operatorfunc pastetoggle pexpr popt
printexpr pumheight pythonthreedll rdt report rnu ruler scf scrollopt
sessionoptions shellredir shm showmode sj smd spc spk sr startofline
suffixesadd sxe tabstop tagstack tcldll termwinsize tgc titlelen top
ttimeoutlen ttytype udf updatetime ve viminfo wak
" vimOptions: These are the turn-off setting variants {{{2
@@ -181,8 +181,8 @@ syn match vimNumber
'-\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=' skipwhite nextgro
syn match vimNumber '\<0[xX]\x\+' skipwhite
nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
syn match vimNumber '\%(^\|\A\)\zs#\x\{6}'
skipwhite nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
syn match vimNumber '\<0[zZ][a-zA-Z0-9.]\+' skipwhite
nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
-syn match vimNumber '0[0-7]\+' skipwhite
nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
-syn match vimNumber '0[bB][01]\+' skipwhite
nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
+syn match vimNumber '0[0-7]\+' skipwhite
nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
+syn match vimNumber '0[bB][01]\+' skipwhite
nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
" All vimCommands are contained by vimIsCommand. {{{2
syn match vimCmdSep "[:|]\+" skipwhite
nextgroup=vimAbb,vimAddress,vimAutoCmd,vimAugroup,vimBehave,vimEcho,vimEchoHL,vimExecute,vimIsCommand,vimExtCmd,vimFilter,vimGlobal,vimHighlight,vimLet,vimMap,vimMark,vimNorm,vimSet,vimSyntax,vimUnlet,vimUnmap,vimUserCmd
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1rL4pb-00B3Bf-KI%40256bit.org.