1
0
forked from aniani/vim

Update runtime files.

This commit is contained in:
Bram Moolenaar
2019-11-30 17:57:03 +01:00
parent e219f73ed5
commit 91359014b3
20 changed files with 6572 additions and 125 deletions

View File

@@ -1,7 +1,7 @@
" netrw.vim: Handles file transfer and remote directory listing across " netrw.vim: Handles file transfer and remote directory listing across
" AUTOLOAD SECTION " AUTOLOAD SECTION
" Date: Nov 06, 2019 " Date: Nov 29, 2019
" Version: 166 " Version: 167
" Maintainer: Charles E Campbell <NdrOchip@ScampbellPfamily.AbizM-NOSPAM> " Maintainer: Charles E Campbell <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
" Copyright: Copyright (C) 2016 Charles E. Campbell {{{1 " Copyright: Copyright (C) 2016 Charles E. Campbell {{{1
@@ -13,6 +13,10 @@
" expressed or implied. By using this plugin, you agree that " expressed or implied. By using this plugin, you agree that
" in no event will the copyright holder be liable for any damages " in no event will the copyright holder be liable for any damages
" resulting from the use of this software. " resulting from the use of this software.
"
" Note: the code here was started in 1999 under a much earlier version of vim. The directory browsing
" code was written using vim v6, which did not have Lists (Lists were first offered with vim-v7).
"
"redraw!|call DechoSep()|call inputsave()|call input("Press <cr> to continue")|call inputrestore() "redraw!|call DechoSep()|call inputsave()|call input("Press <cr> to continue")|call inputrestore()
" "
" But be doers of the Word, and not only hearers, deluding your own selves {{{1 " But be doers of the Word, and not only hearers, deluding your own selves {{{1
@@ -39,7 +43,7 @@ if exists("s:needspatches")
endfor endfor
endif endif
let g:loaded_netrw = "v166" let g:loaded_netrw = "v167"
if !exists("s:NOTE") if !exists("s:NOTE")
let s:NOTE = 0 let s:NOTE = 0
let s:WARNING = 1 let s:WARNING = 1
@@ -1535,7 +1539,8 @@ fun! netrw#Obtain(islocal,fname,...)
" -i : turns off interactive prompting from ftp " -i : turns off interactive prompting from ftp
" -n unix : DON'T use <.netrc>, even though it exists " -n unix : DON'T use <.netrc>, even though it exists
" -n win32: quit being obnoxious about password " -n win32: quit being obnoxious about password
NetrwKeepj norm! 1Gdd " Note: using "_dd to delete to the black hole register; avoids messing up @@
NetrwKeepj norm! 1G"_dd
call s:NetrwExe(s:netrw_silentxfer."%!".s:netrw_ftp_cmd." ".g:netrw_ftp_options) call s:NetrwExe(s:netrw_silentxfer."%!".s:netrw_ftp_cmd." ".g:netrw_ftp_options)
" If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar) " If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar)
if getline(1) !~ "^$" if getline(1) !~ "^$"
@@ -2203,7 +2208,7 @@ fun! netrw#NetRead(mode,...)
" -i : turns off interactive prompting from ftp " -i : turns off interactive prompting from ftp
" -n unix : DON'T use <.netrc>, even though it exists " -n unix : DON'T use <.netrc>, even though it exists
" -n win32: quit being obnoxious about password " -n win32: quit being obnoxious about password
NetrwKeepj norm! 1Gdd NetrwKeepj norm! 1G"_dd
call s:NetrwExe(s:netrw_silentxfer."%!".s:netrw_ftp_cmd." ".g:netrw_ftp_options) call s:NetrwExe(s:netrw_silentxfer."%!".s:netrw_ftp_cmd." ".g:netrw_ftp_options)
" If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar) " If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar)
if getline(1) !~ "^$" if getline(1) !~ "^$"
@@ -2303,7 +2308,7 @@ fun! netrw#NetRead(mode,...)
NetrwKeepj put ='quit' NetrwKeepj put ='quit'
" perform cadaver operation: " perform cadaver operation:
NetrwKeepj norm! 1Gdd NetrwKeepj norm! 1G"_dd
call s:NetrwExe(s:netrw_silentxfer."%!".g:netrw_dav_cmd) call s:NetrwExe(s:netrw_silentxfer."%!".g:netrw_dav_cmd)
keepj bd! keepj bd!
endif endif
@@ -2619,7 +2624,7 @@ fun! netrw#NetWrite(...) range
" -i : turns off interactive prompting from ftp " -i : turns off interactive prompting from ftp
" -n unix : DON'T use <.netrc>, even though it exists " -n unix : DON'T use <.netrc>, even though it exists
" -n win32: quit being obnoxious about password " -n win32: quit being obnoxious about password
NetrwKeepj norm! 1Gdd NetrwKeepj norm! 1G"_dd
call s:NetrwExe(s:netrw_silentxfer."%!".s:netrw_ftp_cmd." ".g:netrw_ftp_options) call s:NetrwExe(s:netrw_silentxfer."%!".s:netrw_ftp_cmd." ".g:netrw_ftp_options)
" If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar) " If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar)
if getline(1) !~ "^$" if getline(1) !~ "^$"
@@ -2685,7 +2690,7 @@ fun! netrw#NetWrite(...) range
NetrwKeepj put ='put '.tmpfile.' '.netrw_fname NetrwKeepj put ='put '.tmpfile.' '.netrw_fname
" perform cadaver operation: " perform cadaver operation:
NetrwKeepj norm! 1Gdd NetrwKeepj norm! 1G"_dd
call s:NetrwExe(s:netrw_silentxfer."%!".g:netrw_dav_cmd) call s:NetrwExe(s:netrw_silentxfer."%!".g:netrw_dav_cmd)
" remove enew buffer (quietly) " remove enew buffer (quietly)
@@ -4367,7 +4372,7 @@ fun! s:NetrwGetWord()
let curline= getline('.') let curline= getline('.')
if curline =~# '"\s*Sorted by\s' if curline =~# '"\s*Sorted by\s'
NetrwKeepj norm! s NetrwKeepj norm! "_s
let s:netrw_skipbrowse= 1 let s:netrw_skipbrowse= 1
echo 'Pressing "s" also works' echo 'Pressing "s" also works'
@@ -5207,13 +5212,26 @@ endfun
" 0=local, 1=remote " 0=local, 1=remote
fun! netrw#BrowseX(fname,remote) fun! netrw#BrowseX(fname,remote)
let use_ctrlo= 1 let use_ctrlo= 1
" call Dfunc("netrw#BrowseX(fname<".a:fname."> remote=".a:remote.")") " call Dfunc("netrw#BrowseX(fname<".a:fname."> remote=".a:remote.") implements x and gx maps")
" if its really just a local directory, then do a "gf" instead if a:remote == 0 && isdirectory(a:fname)
if (a:remote == 0 && isdirectory(a:fname)) || (a:remote == 1 && a:fname =~ '/$' && a:fname !~ '^https\=:') " if its really just a local directory, then do a "gf" instead
" call Decho("remote≡0 and a:fname<".a:fname."> ".(isdirectory(a:fname)? "is a directory" : "is not a directory"),'~'.expand("<slnum>"))
" call Decho("..appears to be a local directory; using gf instead",'~'.expand("<slnum>"))
norm! gf norm! gf
" call Dret("(netrw#BrowseX) did gf instead") " call Dret("netrw#BrowseX")
return
elseif a:remote == 1 && a:fname !~ '^https\=:' && a:fname =~ '/$'
" remote directory, not a webpage access, looks like an attempt to do a directory listing
" call Decho("remote≡1 and a:fname<".a:fname.">",'~'.expand("<slnum>"))
" call Decho("..and fname ".((a:fname =~ '^https\=:')? 'matches' : 'does not match').'^https\=:','~'.expand("<slnum>"))
" call Decho("..and fname ".((a:fname =~ '/$')? 'matches' : 'does not match').' /$','~'.expand("<slnum>"))
" call Decho("..appears to be a remote directory listing request; using gf instead",'~'.expand("<slnum>"))
norm! gf
" call Dret("netrw#BrowseX")
return
endif endif
" call Decho("not a local file nor a webpage request",'~'.expand("<slnum>"))
let ykeep = @@ let ykeep = @@
let screenposn = winsaveview() let screenposn = winsaveview()
@@ -5467,11 +5485,11 @@ endfun
" netrw#BrowseXVis: used by gx in visual mode to select a file for browsing {{{2 " netrw#BrowseXVis: used by gx in visual mode to select a file for browsing {{{2
fun! netrw#BrowseXVis() fun! netrw#BrowseXVis()
" call Dfunc("netrw#BrowseXVis()") " call Dfunc("netrw#BrowseXVis()")
let atkeep = @@ let akeep = @a
norm! gvy norm! gv"ay
" call Decho("@@<".@@.">",'~'.expand("<slnum>")) let gxfile= @a
call netrw#BrowseX(@@,netrw#CheckIfRemote(@@)) let @a = akeep
let @@ = atkeep call netrw#BrowseX(gxfile,netrw#CheckIfRemote(gxfile))
" call Dret("netrw#BrowseXVis") " call Dret("netrw#BrowseXVis")
endfun endfun
@@ -6091,8 +6109,8 @@ fun! s:NetrwSLeftrelease(islocal)
endfun endfun
" --------------------------------------------------------------------- " ---------------------------------------------------------------------
" s:NetrwListHide: uses [range]g~...~d to delete files that match comma {{{2 " s:NetrwListHide: uses [range]g~...~d to delete files that match {{{2
" separated patterns given in g:netrw_list_hide " comma-separated patterns given in g:netrw_list_hide
fun! s:NetrwListHide() fun! s:NetrwListHide()
" call Dfunc("s:NetrwListHide() g:netrw_hide=".g:netrw_hide." g:netrw_list_hide<".g:netrw_list_hide.">") " call Dfunc("s:NetrwListHide() g:netrw_hide=".g:netrw_hide." g:netrw_list_hide<".g:netrw_list_hide.">")
" call Decho("initial: ".string(getline(w:netrw_bannercnt,'$'))) " call Decho("initial: ".string(getline(w:netrw_bannercnt,'$')))
@@ -6105,8 +6123,8 @@ fun! s:NetrwListHide()
" Use the first character left as a separator character. " Use the first character left as a separator character.
" call Decho("find a character not in the hide string to use as a separator") " call Decho("find a character not in the hide string to use as a separator")
let listhide= g:netrw_list_hide let listhide= g:netrw_list_hide
let sep = strpart(substitute('/~@#$%^&*{};:,<.>?|1234567890','['.escape(listhide,'-]^\').']','','ge'),1,1) let sep = strpart(substitute('~@#$%^&*{};:,<.>?|1234567890','['.escape(listhide,'-]^\').']','','ge'),1,1)
" call Decho("sep=".sep,'~'.expand("<slnum>")) " call Decho("sep=".sep," (sep not in hide string)'~'.expand("<slnum>"))
while listhide != "" while listhide != ""
if listhide =~ ',' if listhide =~ ','
@@ -6116,10 +6134,19 @@ fun! s:NetrwListHide()
let hide = listhide let hide = listhide
let listhide = "" let listhide = ""
endif endif
" call Decho("hide<".hide."> listhide<".listhide.'>','~'.expand("<slnum>")) " call Decho("..extracted from listhide: hide<".hide."> g:netrw_sort_by<".g:netrw_sort_by.'>','~'.expand("<slnum>"))
if g:netrw_sort_by =~ '^[ts]'
if hide =~ '^\^'
" call Decho("..modify hide to handle a \"^...\" pattern",'~'.expand("<slnum>"))
let hide= substitute(hide,'^\^','^\(\\d\\+/\)','')
elseif hide =~ '^\\(\^'
let hide= substitute(hide,'^\\(\^','\\(^\\(\\d\\+/\\)','')
endif
" call Decho("..hide<".hide."> listhide<".listhide.'>','~'.expand("<slnum>"))
endif
" Prune the list by hiding any files which match " Prune the list by hiding any files which match
" call Decho("prune the list by hiding any files which ",((g:netrw_hide == 1)? "" : "don't")." match hide<".hide.">") " call Decho("..prune the list by hiding any files which ",((g:netrw_hide == 1)? "" : "don't")." match hide<".hide.">")
if g:netrw_hide == 1 if g:netrw_hide == 1
" call Decho("..hiding<".hide.">",'~'.expand("<slnum>")) " call Decho("..hiding<".hide.">",'~'.expand("<slnum>"))
exe 'sil! NetrwKeepj '.w:netrw_bannercnt.',$g'.sep.hide.sep.'d' exe 'sil! NetrwKeepj '.w:netrw_bannercnt.',$g'.sep.hide.sep.'d'
@@ -6664,9 +6691,9 @@ fun! s:NetrwMarkFiles(islocal,...)
while i <= a:0 while i <= a:0
if a:islocal if a:islocal
if v:version > 704 || (v:version == 704 && has("patch656")) if v:version > 704 || (v:version == 704 && has("patch656"))
let mffiles= glob(fnameescape(a:{i}),0,1,1) let mffiles= glob(a:{i},0,1,1)
else else
let mffiles= glob(fnameescape(a:{i}),0,1) let mffiles= glob(a:{i},0,1)
endif endif
else else
let mffiles= [a:{i}] let mffiles= [a:{i}]
@@ -8718,7 +8745,7 @@ fun! s:NetrwUpload(fname,tgt,...)
" -i : turns off interactive prompting from ftp " -i : turns off interactive prompting from ftp
" -n unix : DON'T use <.netrc>, even though it exists " -n unix : DON'T use <.netrc>, even though it exists
" -n win32: quit being obnoxious about password " -n win32: quit being obnoxious about password
NetrwKeepj norm! 1Gdd NetrwKeepj norm! 1G"_dd
call s:NetrwExe(s:netrw_silentxfer."%!".s:netrw_ftp_cmd." ".g:netrw_ftp_options) call s:NetrwExe(s:netrw_silentxfer."%!".s:netrw_ftp_cmd." ".g:netrw_ftp_options)
" If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar) " If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar)
sil NetrwKeepj g/Local directory now/d sil NetrwKeepj g/Local directory now/d
@@ -9556,12 +9583,14 @@ fun! s:NetrwWideListing()
" fpl: filenames per line " fpl: filenames per line
" fpc: filenames per column " fpc: filenames per column
setl ma noro setl ma noro
let keepa= @a
" call Decho("setl ma noro",'~'.expand("<slnum>")) " call Decho("setl ma noro",'~'.expand("<slnum>"))
let b:netrw_cpf= 0 let b:netrw_cpf= 0
if line("$") >= w:netrw_bannercnt if line("$") >= w:netrw_bannercnt
exe 'sil NetrwKeepj '.w:netrw_bannercnt.',$g/^./if virtcol("$") > b:netrw_cpf|let b:netrw_cpf= virtcol("$")|endif' exe 'sil NetrwKeepj '.w:netrw_bannercnt.',$g/^./if virtcol("$") > b:netrw_cpf|let b:netrw_cpf= virtcol("$")|endif'
NetrwKeepj call histdel("/",-1) NetrwKeepj call histdel("/",-1)
else else
let @a= keepa
" call Dret("NetrwWideListing") " call Dret("NetrwWideListing")
return return
endif endif
@@ -9593,9 +9622,9 @@ fun! s:NetrwWideListing()
let newcolqty= newcolend - newcolstart let newcolqty= newcolend - newcolstart
exe newcolstart exe newcolstart
if newcolqty == 0 if newcolqty == 0
exe "sil! NetrwKeepj norm! 0\<c-v>$hx".w:netrw_bannercnt."G$p" exe "sil! NetrwKeepj norm! 0\<c-v>$h\"ax".w:netrw_bannercnt."G$\"ap"
else else
exe "sil! NetrwKeepj norm! 0\<c-v>".newcolqty.'j$hx'.w:netrw_bannercnt.'G$p' exe "sil! NetrwKeepj norm! 0\<c-v>".newcolqty.'j$h\"ax'.w:netrw_bannercnt.'G$\"ap'
endif endif
exe "sil! NetrwKeepj ".newcolstart.','.newcolend.'d _' exe "sil! NetrwKeepj ".newcolstart.','.newcolend.'d _'
exe 'sil! NetrwKeepj '.w:netrw_bannercnt exe 'sil! NetrwKeepj '.w:netrw_bannercnt
@@ -9611,6 +9640,7 @@ fun! s:NetrwWideListing()
exe 'nno <buffer> <silent> b :call search(''^.\\|\s\s\zs\S'',''bW'')'."\<cr>" exe 'nno <buffer> <silent> b :call search(''^.\\|\s\s\zs\S'',''bW'')'."\<cr>"
" call Decho("NetrwWideListing) setl noma nomod ro",'~'.expand("<slnum>")) " call Decho("NetrwWideListing) setl noma nomod ro",'~'.expand("<slnum>"))
exe "setl ".g:netrw_bufsettings exe "setl ".g:netrw_bufsettings
let @a= keepa
" call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap." (filename<".expand("%")."> win#".winnr()." ft<".&ft.">)",'~'.expand("<slnum>")) " call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap." (filename<".expand("%")."> win#".winnr()." ft<".&ft.">)",'~'.expand("<slnum>"))
" call Dret("NetrwWideListing") " call Dret("NetrwWideListing")
return return
@@ -9808,6 +9838,7 @@ fun! s:PerformListing(islocal)
exe 'sil NetrwKeepj '.w:netrw_bannercnt.',$sort!'.' '.g:netrw_sort_options exe 'sil NetrwKeepj '.w:netrw_bannercnt.',$sort!'.' '.g:netrw_sort_options
endif endif
endif endif
" remove priority pattern prefix " remove priority pattern prefix
" call Decho("remove priority pattern prefix",'~'.expand("<slnum>")) " call Decho("remove priority pattern prefix",'~'.expand("<slnum>"))
exe 'sil! NetrwKeepj '.w:netrw_bannercnt.',$s/^\d\{3}'.g:netrw_sepchr.'//e' exe 'sil! NetrwKeepj '.w:netrw_bannercnt.',$s/^\d\{3}'.g:netrw_sepchr.'//e'
@@ -9846,6 +9877,7 @@ fun! s:PerformListing(islocal)
" call Decho('exe sil NetrwKeepj '.w:netrw_bannercnt.',$sort!','~'.expand("<slnum>")) " call Decho('exe sil NetrwKeepj '.w:netrw_bannercnt.',$sort!','~'.expand("<slnum>"))
exe 'sil! NetrwKeepj '.w:netrw_bannercnt.',$sort!'.' '.g:netrw_sort_options exe 'sil! NetrwKeepj '.w:netrw_bannercnt.',$sort!'.' '.g:netrw_sort_options
endif endif
" call Decho("remove leading digits/ (sorting) information from listing",'~'.expand("<slnum>"))
exe 'sil! NetrwKeepj '.w:netrw_bannercnt.',$s/^\d\{-}\///e' exe 'sil! NetrwKeepj '.w:netrw_bannercnt.',$s/^\d\{-}\///e'
NetrwKeepj call histdel("/",-1) NetrwKeepj call histdel("/",-1)
endif endif
@@ -9908,6 +9940,7 @@ fun! s:PerformListing(islocal)
" call Decho("exe setl ts=".(g:netrw_maxfilenamelen+1),'~'.expand("<slnum>")) " call Decho("exe setl ts=".(g:netrw_maxfilenamelen+1),'~'.expand("<slnum>"))
exe "setl ts=".(g:netrw_maxfilenamelen+1) exe "setl ts=".(g:netrw_maxfilenamelen+1)
endif endif
" call Decho("PerformListing buffer:",'~'.expand("<slnum>"))
" call DechoBuf(bufnr("%")) " call DechoBuf(bufnr("%"))
if exists("s:treecurpos") if exists("s:treecurpos")
@@ -10943,10 +10976,11 @@ fun! s:LocalListing()
if g:netrw_sort_by =~# "^t" if g:netrw_sort_by =~# "^t"
" sort by time (handles time up to 1 quintillion seconds, US) " sort by time (handles time up to 1 quintillion seconds, US)
" Decorate listing by prepending a timestamp/ . Sorting will then be done based on time.
" call Decho("getftime(".filename.")=".getftime(filename),'~'.expand("<slnum>")) " call Decho("getftime(".filename.")=".getftime(filename),'~'.expand("<slnum>"))
let t = getftime(filename) let t = getftime(filename)
let ft = strpart("000000000000000000",1,18-strlen(t)).t let ft = strpart("000000000000000000",1,18-strlen(t)).t
" call Decho("exe NetrwKeepj put ='".ft.'/'.filename."'",'~'.expand("<slnum>")) " call Decho("exe NetrwKeepj put ='".ft.'/'.pfile."'",'~'.expand("<slnum>"))
let ftpfile= ft.'/'.pfile let ftpfile= ft.'/'.pfile
sil! NetrwKeepj put=ftpfile sil! NetrwKeepj put=ftpfile

View File

@@ -1,4 +1,4 @@
*if_pyth.txt* For Vim version 8.1. Last change: 2019 Jul 21 *if_pyth.txt* For Vim version 8.1. Last change: 2019 Nov 29
VIM REFERENCE MANUAL by Paul Moore VIM REFERENCE MANUAL by Paul Moore
@@ -767,17 +767,28 @@ match the Python 2.x or Python 3 version Vim was compiled with.
10. Python 3 *python3* 10. Python 3 *python3*
*:py3* *:python3* *:py3* *:python3*
The `:py3` and `:python3` commands work similar to `:python`. A simple check :[range]py3 {stmt}
if the `:py3` command is working: > :[range]py3 << [endmarker]
:py3 print("Hello") {script}
{endmarker}
To see what version of Python you have: > :[range]python3 {stmt}
:py3 import sys :[range]python3 << [endmarker]
:py3 print(sys.version) {script}
{endmarker}
The `:py3` and `:python3` commands work similar to `:python`. A
simple check if the `:py3` command is working: >
:py3 print("Hello")
<
To see what version of Python you have: >
:py3 import sys
:py3 print(sys.version)
< *:py3file* < *:py3file*
The `:py3file` command works similar to `:pyfile`. :[range]py3f[ile] {file}
The `:py3file` command works similar to `:pyfile`.
*:py3do* *:py3do*
The `:py3do` command works similar to `:pydo`. :[range]py3do {body}
The `:py3do` command works similar to `:pydo`.
Vim can be built in four ways (:version output): Vim can be built in four ways (:version output):

View File

@@ -1147,7 +1147,7 @@ properties can be changed with |popup_setoptions()|.
*complete-popuphidden* *complete-popuphidden*
If the information for the popup is obtained asynchronously, use "popuphidden" If the information for the popup is obtained asynchronously, use "popuphidden"
in 'completeopt'. The info popup will then be initally hidden and in 'completeopt'. The info popup will then be initially hidden and
|popup_show()| must be called once it has been filled with the info. This can |popup_show()| must be called once it has been filled with the info. This can
be done with a |CompleteChanged| autocommand, something like this: > be done with a |CompleteChanged| autocommand, something like this: >
set completeopt+=popuphidden set completeopt+=popuphidden

View File

@@ -1,4 +1,4 @@
*pi_netrw.txt* For Vim version 8.1. Last change: 2019 Nov 14 *pi_netrw.txt* For Vim version 8.1. Last change: 2019 Nov 30
------------------------------------------------ ------------------------------------------------
NETRW REFERENCE MANUAL by Charles E. Campbell NETRW REFERENCE MANUAL by Charles E. Campbell
@@ -1184,7 +1184,7 @@ One may easily "bookmark" the currently browsed directory by using >
*.netrwbook* *.netrwbook*
Bookmarks are retained in between sessions of vim in a file called .netrwbook Bookmarks are retained in between sessions of vim in a file called .netrwbook
as a |List|, which is typically stored in the first directory on the user's as a |List|, which is typically stored in the first directory on the user's
'runtimepath'; entries are kept in sorted order. |'runtimepath'|; entries are kept in sorted order.
If there are marked files and/or directories, mb will add them to the bookmark If there are marked files and/or directories, mb will add them to the bookmark
list. list.
@@ -3842,6 +3842,16 @@ netrw:
============================================================================== ==============================================================================
12. History *netrw-history* {{{1 12. History *netrw-history* {{{1
v167: Nov 29, 2019 * netrw does a save&restore on @* and @+.
That causes problems with the clipboard.
Now restores occurs only if @* or @+ have
been changed.
* netrw will change @* or @+ less often.
Never if I happen to have caught all the
operations that modify the unnamed
register (which also writes @*).
* Modified hiding behavior so that "s"
will not ignore hiding.
v166: Nov 06, 2019 * Removed a space from a nmap for "-" v166: Nov 06, 2019 * Removed a space from a nmap for "-"
* Numerous debugging statement changes * Numerous debugging statement changes
v163: Dec 05, 2017 * (Cristi Balan) reported that a setting ('sel') v163: Dec 05, 2017 * (Cristi Balan) reported that a setting ('sel')

View File

@@ -1,10 +1,10 @@
*popup.txt* For Vim version 8.1. Last change: 2019 Nov 17 *popup.txt* For Vim version 8.1. Last change: 2019 Nov 30
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Displaying text in a floating window. *popup* *popup-window* Displaying text in a floating window. *popup* *popup-window* *popupwin*
1. Introduction |popup-intro| 1. Introduction |popup-intro|

View File

@@ -1,4 +1,4 @@
*sign.txt* For Vim version 8.1. Last change: 2019 Nov 12 *sign.txt* For Vim version 8.1. Last change: 2019 Nov 30
VIM REFERENCE MANUAL by Gordon Prieur VIM REFERENCE MANUAL by Gordon Prieur
@@ -71,8 +71,6 @@ placed in the named group. The sign identifier is unique within a group. The
sign group allows Vim plugins to use unique signs without interfering with sign group allows Vim plugins to use unique signs without interfering with
other plugins using signs. other plugins using signs.
The group name "popupmenu" is used by popup windows where 'cursorline' is set.
To place a sign in a popup window the group name must start with "PopUp". To place a sign in a popup window the group name must start with "PopUp".
Other signs will not show in a popup window. The group name "PopUpMenu" is Other signs will not show in a popup window. The group name "PopUpMenu" is
used by popup windows where 'cursorline' is set. used by popup windows where 'cursorline' is set.

View File

@@ -1,4 +1,4 @@
*syntax.txt* For Vim version 8.1. Last change: 2019 Nov 20 *syntax.txt* For Vim version 8.1. Last change: 2019 Nov 29
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -966,10 +966,12 @@ Basic.
C *c.vim* *ft-c-syntax* C *c.vim* *ft-c-syntax*
A few things in C highlighting are optional. To enable them assign any value A few things in C highlighting are optional. To enable them assign any value
to the respective variable. Example: > (including zero) to the respective variable. Example: >
:let c_comment_strings = 1 :let c_comment_strings = 1
To disable them use ":unlet". Example: > :let c_no_bracket_error = 0
To disable them use `:unlet`. Example: >
:unlet c_comment_strings :unlet c_comment_strings
Setting the value to zero doesn't work!
An alternative is to switch to the C++ highlighting: > An alternative is to switch to the C++ highlighting: >
:set filetype=cpp :set filetype=cpp
@@ -985,8 +987,8 @@ Variable Highlight ~
except { and } in first column except { and } in first column
Default is to highlight them, otherwise you Default is to highlight them, otherwise you
can't spot a missing ")". can't spot a missing ")".
*c_curly_error* highlight a missing }; this forces syncing from the *c_curly_error* highlight a missing } by finding all pairs; this
start of the file, can be slow forces syncing from the start of the file, can be slow
*c_no_ansi* don't do standard ANSI types and constants *c_no_ansi* don't do standard ANSI types and constants
*c_ansi_typedefs* ... but do standard ANSI types *c_ansi_typedefs* ... but do standard ANSI types
*c_ansi_constants* ... but do standard ANSI constants *c_ansi_constants* ... but do standard ANSI constants

View File

@@ -5285,6 +5285,7 @@ added-7.2 version7.txt /*added-7.2*
added-7.3 version7.txt /*added-7.3* added-7.3 version7.txt /*added-7.3*
added-7.4 version7.txt /*added-7.4* added-7.4 version7.txt /*added-7.4*
added-8.1 version8.txt /*added-8.1* added-8.1 version8.txt /*added-8.1*
added-8.2 version8.txt /*added-8.2*
added-BeOS version5.txt /*added-BeOS* added-BeOS version5.txt /*added-BeOS*
added-Mac version5.txt /*added-Mac* added-Mac version5.txt /*added-Mac*
added-VMS version5.txt /*added-VMS* added-VMS version5.txt /*added-VMS*
@@ -5651,6 +5652,7 @@ changed-7.2 version7.txt /*changed-7.2*
changed-7.3 version7.txt /*changed-7.3* changed-7.3 version7.txt /*changed-7.3*
changed-7.4 version7.txt /*changed-7.4* changed-7.4 version7.txt /*changed-7.4*
changed-8.1 version8.txt /*changed-8.1* changed-8.1 version8.txt /*changed-8.1*
changed-8.2 version8.txt /*changed-8.2*
changelist motion.txt /*changelist* changelist motion.txt /*changelist*
changelog.vim syntax.txt /*changelog.vim* changelog.vim syntax.txt /*changelog.vim*
changenr() eval.txt /*changenr()* changenr() eval.txt /*changenr()*
@@ -8083,6 +8085,7 @@ new-options-5.4 version5.txt /*new-options-5.4*
new-perl-python version5.txt /*new-perl-python* new-perl-python version5.txt /*new-perl-python*
new-persistent-undo version7.txt /*new-persistent-undo* new-persistent-undo version7.txt /*new-persistent-undo*
new-plugins version6.txt /*new-plugins* new-plugins version6.txt /*new-plugins*
new-popup-window version8.txt /*new-popup-window*
new-posix version7.txt /*new-posix* new-posix version7.txt /*new-posix*
new-print-multi-byte version7.txt /*new-print-multi-byte* new-print-multi-byte version7.txt /*new-print-multi-byte*
new-printing version6.txt /*new-printing* new-printing version6.txt /*new-printing*
@@ -8099,6 +8102,7 @@ new-spell version7.txt /*new-spell*
new-style-testing testing.txt /*new-style-testing* new-style-testing testing.txt /*new-style-testing*
new-tab-pages version7.txt /*new-tab-pages* new-tab-pages version7.txt /*new-tab-pages*
new-terminal-window version8.txt /*new-terminal-window* new-terminal-window version8.txt /*new-terminal-window*
new-text-properties version8.txt /*new-text-properties*
new-undo-branches version7.txt /*new-undo-branches* new-undo-branches version7.txt /*new-undo-branches*
new-unlisted-buffers version6.txt /*new-unlisted-buffers* new-unlisted-buffers version6.txt /*new-unlisted-buffers*
new-user-defined version5.txt /*new-user-defined* new-user-defined version5.txt /*new-user-defined*
@@ -8109,6 +8113,7 @@ new-vim-script version7.txt /*new-vim-script*
new-vim-script-8 version8.txt /*new-vim-script-8* new-vim-script-8 version8.txt /*new-vim-script-8*
new-vim-server version6.txt /*new-vim-server* new-vim-server version6.txt /*new-vim-server*
new-vimgrep version7.txt /*new-vimgrep* new-vimgrep version7.txt /*new-vimgrep*
new-vimscript-8.2 version8.txt /*new-vimscript-8.2*
new-virtedit version6.txt /*new-virtedit* new-virtedit version6.txt /*new-virtedit*
news intro.txt /*news* news intro.txt /*news*
nextnonblank() eval.txt /*nextnonblank()* nextnonblank() eval.txt /*nextnonblank()*
@@ -8332,6 +8337,7 @@ popup_settext() popup.txt /*popup_settext()*
popup_show() popup.txt /*popup_show()* popup_show() popup.txt /*popup_show()*
popupmenu-completion insert.txt /*popupmenu-completion* popupmenu-completion insert.txt /*popupmenu-completion*
popupmenu-keys insert.txt /*popupmenu-keys* popupmenu-keys insert.txt /*popupmenu-keys*
popupwin popup.txt /*popupwin*
ports-5.2 version5.txt /*ports-5.2* ports-5.2 version5.txt /*ports-5.2*
ports-6 version6.txt /*ports-6* ports-6 version6.txt /*ports-6*
posix vi_diff.txt /*posix* posix vi_diff.txt /*posix*
@@ -9847,6 +9853,7 @@ version-7.3 version7.txt /*version-7.3*
version-7.4 version7.txt /*version-7.4* version-7.4 version7.txt /*version-7.4*
version-8.0 version8.txt /*version-8.0* version-8.0 version8.txt /*version-8.0*
version-8.1 version8.txt /*version-8.1* version-8.1 version8.txt /*version-8.1*
version-8.2 version8.txt /*version-8.2*
version-variable eval.txt /*version-variable* version-variable eval.txt /*version-variable*
version4.txt version4.txt /*version4.txt* version4.txt version4.txt /*version4.txt*
version5.txt version5.txt /*version5.txt* version5.txt version5.txt /*version5.txt*
@@ -9859,6 +9866,7 @@ version7.4 version7.txt /*version7.4*
version7.txt version7.txt /*version7.txt* version7.txt version7.txt /*version7.txt*
version8.0 version8.txt /*version8.0* version8.0 version8.txt /*version8.0*
version8.1 version8.txt /*version8.1* version8.1 version8.txt /*version8.1*
version8.2 version8.txt /*version8.2*
version8.txt version8.txt /*version8.txt* version8.txt version8.txt /*version8.txt*
versionlong-variable eval.txt /*versionlong-variable* versionlong-variable eval.txt /*versionlong-variable*
vi intro.txt /*vi* vi intro.txt /*vi*
@@ -9874,6 +9882,7 @@ views-sessions starting.txt /*views-sessions*
vim-7.4 version7.txt /*vim-7.4* vim-7.4 version7.txt /*vim-7.4*
vim-8 version8.txt /*vim-8* vim-8 version8.txt /*vim-8*
vim-8.1 version8.txt /*vim-8.1* vim-8.1 version8.txt /*vim-8.1*
vim-8.2 version8.txt /*vim-8.2*
vim-additions vi_diff.txt /*vim-additions* vim-additions vi_diff.txt /*vim-additions*
vim-announce intro.txt /*vim-announce* vim-announce intro.txt /*vim-announce*
vim-arguments starting.txt /*vim-arguments* vim-arguments starting.txt /*vim-arguments*

View File

@@ -1,4 +1,4 @@
*todo.txt* For Vim version 8.1. Last change: 2019 Nov 26 *todo.txt* For Vim version 8.1. Last change: 2019 Nov 30
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,8 +38,6 @@ browser use: https://github.com/vim/vim/issues/1234
*known-bugs* *known-bugs*
-------------------- Known bugs and current work ----------------------- -------------------- Known bugs and current work -----------------------
For rand() use http://prng.di.unimi.it/xoshiro128starstar.c ?
Popup windows: Popup windows:
- Use popup (or popup menu) for command line completion - Use popup (or popup menu) for command line completion
- Implement flip option - Implement flip option
@@ -47,11 +45,7 @@ Popup windows:
- put popup menu also in popup_mask? - put popup menu also in popup_mask?
- Any other commands to disable in a popup window? - Any other commands to disable in a popup window?
Use ERROR_IF_POPUP_WINDOW for these. Use ERROR_IF_POPUP_WINDOW for these.
- Figure out the size and position better. - Figure out the size and position better if wrapping inserts indent
if wrapping splits a double-wide character
if wrapping inserts indent
- When drawing on top half a double-wide character, display ">" or "<" in the
incomplete cell.
Text properties: Text properties:
- Implement prop_find() issue #4970 - Implement prop_find() issue #4970

File diff suppressed because it is too large Load Diff

View File

@@ -261,7 +261,7 @@ func s:StartDebug_term(dict)
sleep 10m sleep 10m
endwhile endwhile
" Interpret commands while the target is running. This should usualy only be " Interpret commands while the target is running. This should usually only be
" exec-interrupt, since many commands don't work properly while the target is " exec-interrupt, since many commands don't work properly while the target is
" running. " running.
call s:SendCommand('-gdb-set mi-async on') call s:SendCommand('-gdb-set mi-async on')
@@ -317,7 +317,7 @@ func s:StartDebug_prompt(dict)
set modified set modified
let s:gdb_channel = job_getchannel(s:gdbjob) let s:gdb_channel = job_getchannel(s:gdbjob)
" Interpret commands while the target is running. This should usualy only " Interpret commands while the target is running. This should usually only
" be exec-interrupt, since many commands don't work properly while the " be exec-interrupt, since many commands don't work properly while the
" target is running. " target is running.
call s:SendCommand('-gdb-set mi-async on') call s:SendCommand('-gdb-set mi-async on')

View File

@@ -20,7 +20,7 @@
if &cp || exists("g:loaded_netrwPlugin") if &cp || exists("g:loaded_netrwPlugin")
finish finish
endif endif
let g:loaded_netrwPlugin = "v166" let g:loaded_netrwPlugin = "v167"
let s:keepcpo = &cpo let s:keepcpo = &cpo
set cpo&vim set cpo&vim
"DechoRemOn "DechoRemOn

View File

@@ -59,7 +59,7 @@ pt_PT.aff pt_PT.dic: {buildcheck=}
:delete {f} description.xml :delete {f} description.xml
:delete {f} dictionaries.xcu :delete {f} dictionaries.xcu
:delete {f} LICENSES.txt :delete {f} LICENSES.txt
# Remove grammer items and the duplicates this causes # Remove grammar items and the duplicates this causes
:sys $VIM pt_PT.dic -u NONE -e -c "%s/\t.*//" -c "2,$$ sort u" -c update -c q :sys $VIM pt_PT.dic -u NONE -e -c "%s/\t.*//" -c "2,$$ sort u" -c update -c q
:sys $VIM pt_PT.aff -u NONE -e -c "%s/\S\+=\S\+$$//" -c update -c q :sys $VIM pt_PT.aff -u NONE -e -c "%s/\S\+=\S\+$$//" -c update -c q
@if not os.path.exists('pt_PT.orig.aff'): @if not os.path.exists('pt_PT.orig.aff'):

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: C " Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2019 Apr 23 " Last Change: 2019 Nov 29
" Quit when a (custom) syntax file was already loaded " Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax") if exists("b:current_syntax")
@@ -137,7 +137,7 @@ if exists("c_no_curly_error")
syn match cParenError display ")" syn match cParenError display ")"
syn match cErrInParen display contained "^^<%\|^%>" syn match cErrInParen display contained "^^<%\|^%>"
else else
syn region cParen transparent start='(' end=')' end='}'me=s-1 contains=ALLBUT,cBlock,@cParenGroup,cCppParen,@cStringGroup,@Spell syn region cParen transparent start='(' end=')' contains=ALLBUT,cBlock,@cParenGroup,cCppParen,@cStringGroup,@Spell
" cCppParen: same as cParen but ends at end-of-line; used in cDefine " cCppParen: same as cParen but ends at end-of-line; used in cDefine
syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cParen,cString,@Spell syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cParen,cString,@Spell
syn match cParenError display ")" syn match cParenError display ")"

View File

@@ -1,5 +1,5 @@
" Language: tmux(1) configuration file " Language: tmux(1) configuration file
" Version: 2.9a (git-0d64531f) " Version: 3.0 (git-48cbbb87)
" URL: https://github.com/ericpruitt/tmux.vim/ " URL: https://github.com/ericpruitt/tmux.vim/
" Maintainer: Eric Pruitt <eric.pruitt@gmail.com> " Maintainer: Eric Pruitt <eric.pruitt@gmail.com>
" License: 2-Clause BSD (http://opensource.org/licenses/BSD-2-Clause) " License: 2-Clause BSD (http://opensource.org/licenses/BSD-2-Clause)
@@ -28,6 +28,7 @@ syn match tmuxNumber /\<\d\+\>/ display
syn match tmuxFlags /\s-\a\+/ display syn match tmuxFlags /\s-\a\+/ display
syn match tmuxVariable /\w\+=/ display syn match tmuxVariable /\w\+=/ display
syn match tmuxVariableExpansion /\${\=\w\+}\=/ display syn match tmuxVariableExpansion /\${\=\w\+}\=/ display
syn match tmuxControl /%\(if\|elif\|else\|endif\)/
syn region tmuxComment start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo syn region tmuxComment start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo
@@ -43,6 +44,7 @@ hi def link tmuxFormatString Identifier
hi def link tmuxAction Boolean hi def link tmuxAction Boolean
hi def link tmuxBoolean Boolean hi def link tmuxBoolean Boolean
hi def link tmuxCommands Keyword hi def link tmuxCommands Keyword
hi def link tmuxControl Keyword
hi def link tmuxComment Comment hi def link tmuxComment Comment
hi def link tmuxKey Special hi def link tmuxKey Special
hi def link tmuxNumber Number hi def link tmuxNumber Number
@@ -62,29 +64,29 @@ for s:i in range(0, 255)
endfor endfor
syn keyword tmuxOptions syn keyword tmuxOptions
\ buffer-limit command-alias default-terminal escape-time exit-empty \ backspace buffer-limit command-alias default-terminal escape-time
\ activity-action assume-paste-time base-index bell-action default-command \ exit-empty activity-action assume-paste-time base-index bell-action
\ default-shell default-size destroy-unattached detach-on-destroy \ default-command default-shell default-size destroy-unattached
\ display-panes-active-colour display-panes-colour display-panes-time \ detach-on-destroy display-panes-active-colour display-panes-colour
\ display-time exit-unattached focus-events history-file history-limit \ display-panes-time display-time exit-unattached focus-events history-file
\ key-table lock-after-time lock-command message-command-style message-limit \ history-limit key-table lock-after-time lock-command message-command-style
\ message-style mouse aggressive-resize allow-rename alternate-screen \ message-limit message-style aggressive-resize allow-rename
\ automatic-rename automatic-rename-format clock-mode-colour \ alternate-screen automatic-rename automatic-rename-format
\ clock-mode-style main-pane-height main-pane-width mode-keys mode-style \ clock-mode-colour clock-mode-style main-pane-height main-pane-width
\ monitor-activity monitor-bell monitor-silence other-pane-height \ mode-keys mode-style monitor-activity monitor-bell monitor-silence mouse
\ other-pane-width pane-active-border-style pane-base-index \ other-pane-height other-pane-width pane-active-border-style
\ pane-border-format pane-border-status pane-border-style prefix prefix2 \ pane-base-index pane-border-format pane-border-status pane-border-style
\ remain-on-exit renumber-windows repeat-time set-clipboard set-titles \ prefix prefix2 remain-on-exit renumber-windows repeat-time set-clipboard
\ set-titles-string silence-action status status-bg status-fg status-format \ set-titles set-titles-string silence-action status status-bg status-fg
\ status-interval status-justify status-keys status-left status-left-length \ status-format status-interval status-justify status-keys status-left
\ status-left-style status-position status-right status-right-length \ status-left-length status-left-style status-position status-right
\ status-right-style status-style synchronize-panes terminal-overrides \ status-right-length status-right-style status-style synchronize-panes
\ update-environment user-keys visual-activity visual-bell visual-silence \ terminal-overrides update-environment user-keys visual-activity
\ window-active-style window-size window-status-activity-style \ visual-bell visual-silence window-active-style window-size
\ window-status-bell-style window-status-current-format \ window-status-activity-style window-status-bell-style
\ window-status-current-style window-status-format window-status-last-style \ window-status-current-format window-status-current-style
\ window-status-separator window-status-style window-style word-separators \ window-status-format window-status-last-style window-status-separator
\ wrap-search xterm-keys \ window-status-style window-style word-separators wrap-search xterm-keys
syn keyword tmuxCommands syn keyword tmuxCommands
\ attach attach-session bind bind-key break-pane breakp capture-pane \ attach attach-session bind bind-key break-pane breakp capture-pane

View File

@@ -1,10 +1,13 @@
" Vim syntax file " Vim syntax file
" Language: TypeScript " Language: TypeScript
" Maintainer: Bram Moolenaar " Maintainer: Bram Moolenaar, Herrington Darkholme
" Last Change: 2019 Nov 17 " Last Change: 2019 Nov 30
" Based On: Herrington Darkholme's yats.vim " Based On: Herrington Darkholme's yats.vim
" Changes: See https:github.com/HerringtonDarkholme/yats.vim " Changes: Go to https:github.com/HerringtonDarkholme/yats.vim for recent changes.
" Credits: See yats.vim on github " Origin: https://github.com/othree/yajs
" Credits: Kao Wei-Ko(othree), Jose Elera Campana, Zhao Yi, Claudio Fleiner, Scott Shattuck
" (This file is based on their hard work), gumnos (From the #vim
" IRC Channel in Freenode)
" This is the same syntax that is in yats.vim, but: " This is the same syntax that is in yats.vim, but:
" - flattened into one file " - flattened into one file

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: TypeScript and TypeScriptReact " Language: TypeScript and TypeScriptReact
" Maintainer: Bram Moolenaar " Maintainer: Bram Moolenaar, Herrington Darkholme
" Last Change: 2019 Nov 17 " Last Change: 2019 Nov 30
" Based On: Herrington Darkholme's yats.vim " Based On: Herrington Darkholme's yats.vim
" Changes: See https:github.com/HerringtonDarkholme/yats.vim " Changes: See https:github.com/HerringtonDarkholme/yats.vim
" Credits: See yats.vim on github " Credits: See yats.vim on github
@@ -11,14 +11,13 @@ if &cpo =~ 'C'
set cpo&vim set cpo&vim
endif endif
" runtime syntax/common.vim
" NOTE: this results in accurate highlighting, but can be slow. " NOTE: this results in accurate highlighting, but can be slow.
syntax sync fromstart syntax sync fromstart
"Dollar sign is permitted anywhere in an identifier "Dollar sign is permitted anywhere in an identifier
setlocal iskeyword-=$ setlocal iskeyword-=$
if main_syntax == 'typescript' || main_syntax == 'typescript.tsx' if main_syntax == 'typescript' || main_syntax == 'typescriptreact'
setlocal iskeyword+=$ setlocal iskeyword+=$
" syntax cluster htmlJavaScript contains=TOP " syntax cluster htmlJavaScript contains=TOP
endif endif
@@ -53,7 +52,7 @@ syntax match typescriptProp contained /\K\k*!\?/
syntax region typescriptIndexExpr contained matchgroup=typescriptProperty start=/\[/rs=s+1 end=/]/he=e-1 contains=@typescriptValue nextgroup=@typescriptSymbols,typescriptDotNotation,typescriptFuncCallArg skipwhite skipempty syntax region typescriptIndexExpr contained matchgroup=typescriptProperty start=/\[/rs=s+1 end=/]/he=e-1 contains=@typescriptValue nextgroup=@typescriptSymbols,typescriptDotNotation,typescriptFuncCallArg skipwhite skipempty
syntax match typescriptDotNotation /\./ nextgroup=typescriptProp skipnl syntax match typescriptDotNotation /\.\|?\.\|!\./ nextgroup=typescriptProp skipnl
syntax match typescriptDotStyleNotation /\.style\./ nextgroup=typescriptDOMStyle transparent syntax match typescriptDotStyleNotation /\.style\./ nextgroup=typescriptDOMStyle transparent
" syntax match typescriptFuncCall contained /[a-zA-Z]\k*\ze(/ nextgroup=typescriptFuncCallArg " syntax match typescriptFuncCall contained /[a-zA-Z]\k*\ze(/ nextgroup=typescriptFuncCallArg
syntax region typescriptParenExp matchgroup=typescriptParens start=/(/ end=/)/ contains=@typescriptComments,@typescriptValue,typescriptCastKeyword nextgroup=@typescriptSymbols skipwhite skipempty syntax region typescriptParenExp matchgroup=typescriptParens start=/(/ end=/)/ contains=@typescriptComments,@typescriptValue,typescriptCastKeyword nextgroup=@typescriptSymbols skipwhite skipempty
@@ -143,7 +142,7 @@ syntax match typescriptUnaryOp /[+\-~!]/
\ nextgroup=@typescriptValue \ nextgroup=@typescriptValue
\ skipwhite \ skipwhite
syntax region typescriptTernary matchgroup=typescriptTernaryOp start=/?/ end=/:/ contained contains=@typescriptValue,@typescriptComments nextgroup=@typescriptValue skipwhite skipempty syntax region typescriptTernary matchgroup=typescriptTernaryOp start=/?[.?]\@!/ end=/:/ contained contains=@typescriptValue,@typescriptComments nextgroup=@typescriptValue skipwhite skipempty
syntax match typescriptAssign /=/ nextgroup=@typescriptValue syntax match typescriptAssign /=/ nextgroup=@typescriptValue
\ skipwhite skipempty \ skipwhite skipempty
@@ -177,7 +176,7 @@ syntax match typescriptBinaryOp contained /\*\*=\?/ nextgroup=@typescriptValue
syntax cluster typescriptSymbols contains=typescriptBinaryOp,typescriptKeywordOp,typescriptTernary,typescriptAssign,typescriptCastKeyword syntax cluster typescriptSymbols contains=typescriptBinaryOp,typescriptKeywordOp,typescriptTernary,typescriptAssign,typescriptCastKeyword
"" runtime syntax/basic/reserved.vim " runtime syntax/basic/reserved.vim
"runtime syntax/basic/keyword.vim "runtime syntax/basic/keyword.vim
"Import "Import
@@ -307,6 +306,8 @@ syntax match typescriptDocNotation contained /@/ nextgroup=typescrip
syntax keyword typescriptDocTags contained constant constructor constructs function ignore inner private public readonly static syntax keyword typescriptDocTags contained constant constructor constructs function ignore inner private public readonly static
syntax keyword typescriptDocTags contained const dict expose inheritDoc interface nosideeffects override protected struct internal syntax keyword typescriptDocTags contained const dict expose inheritDoc interface nosideeffects override protected struct internal
syntax keyword typescriptDocTags contained example global syntax keyword typescriptDocTags contained example global
syntax keyword typescriptDocTags contained alpha beta defaultValue eventProperty experimental label
syntax keyword typescriptDocTags contained packageDocumentation privateRemarks remarks sealed typeParam
" syntax keyword typescriptDocTags contained ngdoc nextgroup=typescriptDocNGDirective " syntax keyword typescriptDocTags contained ngdoc nextgroup=typescriptDocNGDirective
syntax keyword typescriptDocTags contained ngdoc scope priority animations syntax keyword typescriptDocTags contained ngdoc scope priority animations
@@ -408,7 +409,8 @@ syntax cluster typescriptPrimaryType contains=
\ typescriptTupleType, \ typescriptTupleType,
\ typescriptTypeQuery, \ typescriptTypeQuery,
\ typescriptStringLiteralType, \ typescriptStringLiteralType,
\ typescriptReadonlyArrayKeyword \ typescriptReadonlyArrayKeyword,
\ typescriptAssertType
syntax region typescriptStringLiteralType contained syntax region typescriptStringLiteralType contained
\ start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1\|$/ \ start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1\|$/
@@ -447,8 +449,8 @@ syntax cluster typescriptTypeMember contains=
syntax region typescriptTupleType matchgroup=typescriptBraces syntax region typescriptTupleType matchgroup=typescriptBraces
\ start=/\[/ end=/\]/ \ start=/\[/ end=/\]/
\ contains=@typescriptType \ contains=@typescriptType,@typescriptComments
\ contained skipwhite oneline \ contained skipwhite
syntax cluster typescriptTypeOperator syntax cluster typescriptTypeOperator
\ contains=typescriptUnion,typescriptTypeBracket \ contains=typescriptUnion,typescriptTypeBracket
@@ -486,6 +488,10 @@ syntax keyword typescriptTypeQuery typeof keyof
\ nextgroup=typescriptTypeReference \ nextgroup=typescriptTypeReference
\ contained skipwhite skipnl \ contained skipwhite skipnl
syntax keyword typescriptAssertType asserts
\ nextgroup=typescriptTypeReference
\ contained skipwhite skipnl
syntax cluster typescriptCallSignature contains=typescriptGenericCall,typescriptCall syntax cluster typescriptCallSignature contains=typescriptGenericCall,typescriptCall
syntax region typescriptGenericCall matchgroup=typescriptTypeBrackets syntax region typescriptGenericCall matchgroup=typescriptTypeBrackets
\ start=/</ end=/>/ \ start=/</ end=/>/
@@ -774,11 +780,13 @@ if get(g:, 'yats_host_keyword', 1)
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName clearInterval syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName clearInterval
hi def link typescriptNodeGlobal Structure hi def link typescriptNodeGlobal Structure
syntax keyword typescriptGlobal containedin=typescriptIdentifierName describe it test syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName describe
syntax keyword typescriptGlobal containedin=typescriptIdentifierName before after syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName it test before
syntax keyword typescriptGlobal containedin=typescriptIdentifierName beforeEach afterEach syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName after beforeEach
syntax keyword typescriptGlobal containedin=typescriptIdentifierName beforeAll afterAll syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName afterEach
syntax keyword typescriptGlobal containedin=typescriptIdentifierName expect assert syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName beforeAll
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName afterAll
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName expect assert
"runtime syntax/yats/web.vim "runtime syntax/yats/web.vim
syntax keyword typescriptBOM containedin=typescriptIdentifierName AbortController syntax keyword typescriptBOM containedin=typescriptIdentifierName AbortController
@@ -1894,7 +1902,7 @@ syntax match typescriptArrowFuncDef contained /({\_[^}]*}\(:\_[^)]\)\
" matches `(a) =>` or `([a]) =>` or " matches `(a) =>` or `([a]) =>` or
" `( " `(
" a) =>` " a) =>`
syntax match typescriptArrowFuncDef contained /(\(\_s*[a-zA-Z\$_\[]\_[^)]*\)*)\s*=>/ syntax match typescriptArrowFuncDef contained /(\(\_s*[a-zA-Z\$_\[.]\_[^)]*\)*)\s*=>/
\ contains=typescriptArrowFuncArg,typescriptArrowFunc \ contains=typescriptArrowFuncArg,typescriptArrowFunc
\ nextgroup=@typescriptExpression,typescriptBlock \ nextgroup=@typescriptExpression,typescriptBlock
\ skipwhite skipempty \ skipwhite skipempty
@@ -1935,7 +1943,7 @@ syntax region typescriptParamImpl matchgroup=typescriptParens
"runtime syntax/basic/decorator.vim "runtime syntax/basic/decorator.vim
syntax match typescriptDecorator /@\([_$a-zA-Z][_$a-zA-Z0-9]*\.\)*[_$a-zA-Z][_$a-zA-Z0-9]*\>/ syntax match typescriptDecorator /@\([_$a-zA-Z][_$a-zA-Z0-9]*\.\)*[_$a-zA-Z][_$a-zA-Z0-9]*\>/
\ nextgroup=typescriptArgumentList \ nextgroup=typescriptArgumentList,typescriptTypeArguments
\ contains=@_semantic,typescriptDotNotation \ contains=@_semantic,typescriptDotNotation
" Define the default highlighting. " Define the default highlighting.
@@ -1969,6 +1977,7 @@ hi def link typescriptASCII Special
hi def link typescriptTemplateSB Label hi def link typescriptTemplateSB Label
hi def link typescriptRegexpString String hi def link typescriptRegexpString String
hi def link typescriptGlobal Constant hi def link typescriptGlobal Constant
hi def link typescriptTestGlobal Function
hi def link typescriptPrototype Type hi def link typescriptPrototype Type
hi def link typescriptConditional Conditional hi def link typescriptConditional Conditional
hi def link typescriptConditionalElse Conditional hi def link typescriptConditionalElse Conditional
@@ -2048,6 +2057,7 @@ hi def link typescriptUserDefinedType Keyword
hi def link typescriptTypeReference Identifier hi def link typescriptTypeReference Identifier
hi def link typescriptConstructor Keyword hi def link typescriptConstructor Keyword
hi def link typescriptDecorator Special hi def link typescriptDecorator Special
hi def link typescriptAssertType Keyword
hi link typeScript NONE hi link typeScript NONE

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: TypeScript with React (JSX) " Language: TypeScript with React (JSX)
" Maintainer: Bram Moolenaar " Maintainer: Bram Moolenaar
" Last Change: 2019 Nov 17 " Last Change: 2019 Nov 30
" Based On: Herrington Darkholme's yats.vim " Based On: Herrington Darkholme's yats.vim
" Changes: See https:github.com/HerringtonDarkholme/yats.vim " Changes: See https:github.com/HerringtonDarkholme/yats.vim
" Credits: See yats.vim on github " Credits: See yats.vim on github

View File

@@ -1,8 +1,8 @@
" Vim syntax file " Vim syntax file
" Language: Vim 8.0 script " Language: Vim 8.0 script
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz> " Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
" Last Change: Nov 10, 2019 " Last Change: November 29, 2019
" Version: 8.0-27 " Version: 8.0-28
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM
" Automatically generated keyword lists: {{{1 " Automatically generated keyword lists: {{{1
@@ -19,12 +19,12 @@ syn keyword vimTodo contained COMBAK FIXME TODO XXX
syn cluster vimCommentGroup contains=vimTodo,@Spell syn cluster vimCommentGroup contains=vimTodo,@Spell
" regular vim commands {{{2 " regular vim commands {{{2
syn keyword vimCommand contained a ar[gs] argl[ocal] ba[ll] bm[odified] breaka[dd] bun[load] cabc[lear] cal[l] cc cf[ile] changes cla[st] cnf[ile] comc[lear] cp[revious] cstag debugg[reedy] deletl dep diffpu[t] dl dr[op] ec em[enu] ene[w] files fini[sh] folddoc[losed] gr[ep] helpc[lose] his[tory] il[ist] isp[lit] keepa l[ist] laf[ter] lbel[ow] lcscope lfdo lgrepa[dd] lma lo[adview] lop[en] lua m[ove] mes mkvie[w] nbc[lose] noh[lsearch] ol[dfiles] pa[ckadd] po[p] prof[ile] pta[g] ptr[ewind] py[thon] pyxdo rec[over] reg[isters] rightb[elow] rv[iminfo] sIn san[dbox] sbl[ast] scI scr[iptnames] setf[iletype] sgI sgp sig sir smenu so[urce] spellr[are] spr[evious] srg st[op] stj[ump] sunmenu syn tN[ext] tabd[o] tabm[ove] tabr[ewind] tch[dir] tf[irst] tlmenu tm[enu] to[pleft] tu[nmenu] undol[ist] up[date] vi[sual] vmapc[lear] wa[ll] winp[os] wundo xme xr[estore] syn keyword vimCommand contained a ar[gs] argl[ocal] ba[ll] bm[odified] breaka[dd] bun[load] cabc[lear] cal[l] cc cf[ile] changes cla[st] cnf[ile] comc[lear] cp[revious] cstag debugg[reedy] deletl dep diffpu[t] dl dr[op] ec em[enu] ene[w] files fini[sh] folddoc[losed] gr[ep] helpc[lose] his[tory] il[ist] isp[lit] keepa l[ist] laf[ter] lbel[ow] lcscope lfdo lgrepa[dd] lma lo[adview] lop[en] lua m[ove] mes mkvie[w] nbc[lose] noh[lsearch] ol[dfiles] pa[ckadd] po[p] prof[ile] pta[g] ptr[ewind] py3f[ile] pyx r[ead] redrawt[abline] ri[ght] rundo sIl sal[l] sbf[irst] sc scp se[t] sg sgn sie sip sme snoremenu spelli[nfo] spr[evious] srg st[op] stj[ump] sunmenu syn tN[ext] tabd[o] tabm[ove] tabr[ewind] tch[dir] tf[irst] tlmenu tm[enu] to[pleft] tu[nmenu] undol[ist] up[date] vi[sual] vmapc[lear] wa[ll] winp[os] wundo xme xr[estore]
syn keyword vimCommand contained ab arga[dd] argu[ment] bad[d] bn[ext] breakd[el] bw[ipeout] cabo[ve] cat[ch] ccl[ose] cfdo chd[ir] cle[arjumps] cnor comp[iler] cpf[ile] cun delc[ommand] deletp di[splay] diffs[plit] dli[st] ds[earch] echoe[rr] en[dif] eval filet fir[st] foldo[pen] grepa[dd] helpf[ind] i imapc[lear] iuna[bbrev] keepalt la[st] lan[guage] lbo[ttom] ld[o] lfir[st] lh[elpgrep] lmak[e] loadk lp[revious] luado ma[rk] messages mod[e] nbs[tart] nor omapc[lear] packl[oadall] popu[p] profd[el] ptf[irst] pts[elect] pydo pyxfile red[o] res[ize] ru[ntime] sI sIp sav[eas] sbm[odified] sce scripte[ncoding] setg[lobal] sgc sgr sign sl[eep] smile sor[t] spellr[epall] sr sri sta[g] stopi[nsert] sus[pend] sync ta[g] tabe[dit] tabn[ext] tabs tcld[o] th[row] tln tma[p] tp[revious] tunma[p] unh[ide] v vie[w] vne[w] wh[ile] wn[ext] wv[iminfo] xmenu xunme syn keyword vimCommand contained ab arga[dd] argu[ment] bad[d] bn[ext] breakd[el] bw[ipeout] cabo[ve] cat[ch] ccl[ose] cfdo chd[ir] cle[arjumps] cnor comp[iler] cpf[ile] cun delc[ommand] deletp di[splay] diffs[plit] dli[st] ds[earch] echoe[rr] en[dif] eval filet fir[st] foldo[pen] grepa[dd] helpf[ind] i imapc[lear] iuna[bbrev] keepalt la[st] lan[guage] lbo[ttom] ld[o] lfir[st] lh[elpgrep] lmak[e] loadk lp[revious] luado ma[rk] messages mod[e] nbs[tart] nor omapc[lear] packl[oadall] popu[p] profd[el] ptf[irst] pts[elect] py[thon] pyxdo rec[over] reg[isters] rightb[elow] rv[iminfo] sIn san[dbox] sbl[ast] scI scr[iptnames] setf[iletype] sgI sgp sig sir smenu so[urce] spellr[are] sr sri sta[g] stopi[nsert] sus[pend] sync ta[g] tabe[dit] tabn[ext] tabs tcld[o] th[row] tln tma[p] tp[revious] tunma[p] unh[ide] v vie[w] vne[w] wh[ile] wn[ext] wv[iminfo] xmenu xunme
syn keyword vimCommand contained abc[lear] argd[elete] as[cii] bd[elete] bo[tright] breakl[ist] cN[ext] cad[dbuffer] cb[uffer] cd cfir[st] che[ckpath] clo[se] co[py] con[tinue] cq[uit] cuna[bbrev] delel delf[unction] dif[fupdate] difft[his] do dsp[lit] echom[sg] endf[unction] ex filetype fix[del] for gui helpg[rep] ia in j[oin] keepj[umps] lab[ove] lat lc[d] le[ft] lg[etfile] lhi[story] lmapc[lear] loadkeymap lpf[ile] luafile mak[e] mk[exrc] mz[scheme] new nore on[ly] pc[lose] pp[op] promptf[ind] ptj[ump] pu[t] pyf[ile] q[uit] redi[r] ret[ab] rub[y] sIc sIr sbN[ext] sbn[ext] scg scriptv[ersion] setl[ocal] sge sh[ell] sil[ent] sla[st] sn[ext] sp[lit] spellr[rare] srI srl star[tinsert] sts[elect] sv[iew] syncbind tab tabf[ind] tabnew tags tclf[ile] tj[ump] tlnoremenu tmapc[lear] tr[ewind] u[ndo] unl ve[rsion] vim[grep] vs[plit] win[size] wp[revious] x[it] xnoreme xunmenu syn keyword vimCommand contained abc[lear] argd[elete] as[cii] bd[elete] bo[tright] breakl[ist] cN[ext] cad[dbuffer] cb[uffer] cd cfir[st] che[ckpath] clo[se] co[py] con[tinue] cq[uit] cuna[bbrev] delel delf[unction] dif[fupdate] difft[his] do dsp[lit] echom[sg] endf[unction] ex filetype fix[del] for gui helpg[rep] ia in j[oin] keepj[umps] lab[ove] lat lc[d] le[ft] lg[etfile] lhi[story] lmapc[lear] loadkeymap lpf[ile] luafile mak[e] mk[exrc] mz[scheme] new nore on[ly] pc[lose] pp[op] promptf[ind] ptj[ump] pu[t] pydo pyxfile red[o] res[ize] ru[ntime] sI sIp sav[eas] sbm[odified] sce scripte[ncoding] setg[lobal] sgc sgr sign sl[eep] smile sor[t] spellr[epall] srI srl star[tinsert] sts[elect] sv[iew] syncbind tab tabf[ind] tabnew tags tclf[ile] tj[ump] tlnoremenu tmapc[lear] tr[ewind] u[ndo] unl ve[rsion] vim[grep] vs[plit] win[size] wp[revious] x[it] xnoreme xunmenu
syn keyword vimCommand contained abo[veleft] argdo au bel[owright] bp[revious] bro[wse] cNf[ile] cadde[xpr] cbe[fore] cdo cg[etfile] checkt[ime] cmapc[lear] col[der] conf[irm] cr[ewind] cw[indow] delep dell diffg[et] dig[raphs] doau e[dit] echon endfo[r] exi[t] filt[er] fo[ld] fu[nction] gvim helpt[ags] iabc[lear] inor ju[mps] keepp[atterns] lad[dexpr] later lch[dir] lefta[bove] lgetb[uffer] ll lne[xt] loc[kmarks] lr[ewind] lv[imgrep] marks mks[ession] mzf[ile] nmapc[lear] nos[wapfile] opt[ions] pe[rl] pre[serve] promptr[epl] ptl[ast] pw[d] python3 qa[ll] redr[aw] retu[rn] rubyd[o] sIe sN[ext] sb[uffer] sbp[revious] sci scs sf[ind] sgi si sim[alt] sm[agic] sno[magic] spe[llgood] spellu[ndo] src srn startg[replace] sun[hide] sw[apname] syntime tabN[ext] tabfir[st] tabo[nly] tc[l] te[aroff] tl[ast] tlu tn[ext] try una[bbreviate] unlo[ckvar] verb[ose] vimgrepa[dd] wN[ext] winc[md] wq xa[ll] xnoremenu xwininfo syn keyword vimCommand contained abo[veleft] argdo au bel[owright] bp[revious] bro[wse] cNf[ile] cadde[xpr] cbe[fore] cdo cg[etfile] checkt[ime] cmapc[lear] col[der] conf[irm] cr[ewind] cw[indow] delep dell diffg[et] dig[raphs] doau e[dit] echon endfo[r] exi[t] filt[er] fo[ld] fu[nction] gvim helpt[ags] iabc[lear] inor ju[mps] keepp[atterns] lad[dexpr] later lch[dir] lefta[bove] lgetb[uffer] ll lne[xt] loc[kmarks] lr[ewind] lv[imgrep] marks mks[ession] mzf[ile] nmapc[lear] nos[wapfile] opt[ions] pe[rl] pre[serve] promptr[epl] ptl[ast] pw[d] pyf[ile] q[uit] redi[r] ret[ab] rub[y] sIc sIr sbN[ext] sbn[ext] scg scriptv[ersion] setl[ocal] sge sh[ell] sil[ent] sla[st] sn[ext] sp[lit] spellr[rare] src srn startg[replace] sun[hide] sw[apname] syntime tabN[ext] tabfir[st] tabo[nly] tc[l] te[aroff] tl[ast] tlu tn[ext] try una[bbreviate] unlo[ckvar] verb[ose] vimgrepa[dd] wN[ext] winc[md] wq xa[ll] xnoremenu xwininfo
syn keyword vimCommand contained addd arge[dit] bN[ext] bf[irst] br[ewind] bufdo c[hange] caddf[ile] cbel[ow] ce[nter] cgetb[uffer] chi[story] cn[ext] colo[rscheme] cons[t] cs d[elete] deletel delm[arks] diffo[ff] dir doaut ea el[se] endt[ry] exu[sage] fin[d] foldc[lose] g h[elp] hi if intro k lN[ext] laddb[uffer] lb[uffer] lcl[ose] lex[pr] lgete[xpr] lla[st] lnew[er] lockv[ar] ls lvimgrepa[dd] mat[ch] mksp[ell] n[ext] noa nu[mber] ownsyntax ped[it] prev[ious] ps[earch] ptn[ext] py3 pythonx quita[ll] redraws[tatus] rew[ind] rubyf[ile] sIg sa[rgument] sba[ll] sbr[ewind] scl scscope sfir[st] sgl sic sin sm[ap] snoreme spelld[ump] spellw[rong] sre[wind] srp startr[eplace] sunme sy t tabc[lose] tabl[ast] tabp[revious] tcd ter[minal] tlm tlunmenu tno[remap] ts[elect] undoj[oin] uns[ilent] vert[ical] viu[sage] w[rite] windo wqa[ll] xmapc[lear] xprop y[ank] syn keyword vimCommand contained addd arge[dit] bN[ext] bf[irst] br[ewind] bufdo c[hange] caddf[ile] cbel[ow] ce[nter] cgetb[uffer] chi[story] cn[ext] colo[rscheme] cons[t] cs d[elete] deletel delm[arks] diffo[ff] dir doaut ea el[se] endt[ry] exu[sage] fin[d] foldc[lose] g h[elp] hi if intro k lN[ext] laddb[uffer] lb[uffer] lcl[ose] lex[pr] lgete[xpr] lla[st] lnew[er] lockv[ar] ls lvimgrepa[dd] mat[ch] mksp[ell] n[ext] noa nu[mber] ownsyntax ped[it] prev[ious] ps[earch] ptn[ext] py3 python3 qa[ll] redr[aw] retu[rn] rubyd[o] sIe sN[ext] sb[uffer] sbp[revious] sci scs sf[ind] sgi si sim[alt] sm[agic] sno[magic] spe[llgood] spellu[ndo] sre[wind] srp startr[eplace] sunme sy t tabc[lose] tabl[ast] tabp[revious] tcd ter[minal] tlm tlunmenu tno[remap] ts[elect] undoj[oin] uns[ilent] vert[ical] viu[sage] w[rite] windo wqa[ll] xmapc[lear] xprop y[ank]
syn keyword vimCommand contained al[l] argg[lobal] b[uffer] bl[ast] brea[k] buffers ca caf[ter] cbo[ttom] cex[pr] cgete[xpr] cl[ist] cnew[er] com cope[n] cscope debug deletep delp diffp[atch] dj[ump] dp earlier elsei[f] endw[hile] f[ile] fina[lly] foldd[oopen] go[to] ha[rdcopy] hid[e] ij[ump] is[earch] kee[pmarks] lNf[ile] laddf[ile] lbe[fore] lcs lf[ile] lgr[ep] lli[st] lnf[ile] lol[der] lt[ag] lw[indow] menut[ranslate] mkv[imrc] nb[key] noautocmd o[pen] p[rint] perld[o] pro ptN[ext] ptp[revious] py3do pyx r[ead] redrawt[abline] ri[ght] rundo sIl sal[l] sbf[irst] sc scp se[t] sg sgn sie sip sme snoremenu spelli[nfo] syn keyword vimCommand contained al[l] argg[lobal] b[uffer] bl[ast] brea[k] buffers ca caf[ter] cbo[ttom] cex[pr] cgete[xpr] cl[ist] cnew[er] com cope[n] cscope debug deletep delp diffp[atch] dj[ump] dp earlier elsei[f] endw[hile] f[ile] fina[lly] foldd[oopen] go[to] ha[rdcopy] hid[e] ij[ump] is[earch] kee[pmarks] lNf[ile] laddf[ile] lbe[fore] lcs lf[ile] lgr[ep] lli[st] lnf[ile] lol[der] lt[ag] lw[indow] menut[ranslate] mkv[imrc] nb[key] noautocmd o[pen] p[rint] perld[o] pro ptN[ext] ptp[revious] py3do pythonx quita[ll] redraws[tatus] rew[ind] rubyf[ile] sIg sa[rgument] sba[ll] sbr[ewind] scl scscope sfir[st] sgl sic sin sm[ap] snoreme spelld[ump] spellw[rong]
syn match vimCommand contained "\<z[-+^.=]\=\>" syn match vimCommand contained "\<z[-+^.=]\=\>"
syn keyword vimStdPlugin contained Arguments Break Cfilter Clear Continue DiffOrig Evaluate Finish Gdb Lfilter Man N[ext] Over P[rint] Program Run S Source Step Stop Termdebug TermdebugCommand TOhtml Winbar XMLent XMLns syn keyword vimStdPlugin contained Arguments Break Cfilter Clear Continue DiffOrig Evaluate Finish Gdb Lfilter Man N[ext] Over P[rint] Program Run S Source Step Stop Termdebug TermdebugCommand TOhtml Winbar XMLent XMLns

View File

@@ -72,7 +72,7 @@ if( ! $explicit && open( TAGS, "< $tags_file" ) )
# #
# for each line of every file listed on the command line, look for a # for each line of every file listed on the command line, look for a
# 'sub' definition, or, if variables are wanted aswell, look for a # 'sub' definition, or, if variables are wanted as well, look for a
# variable definition at the start of a line # variable definition at the start of a line
# #
while( <> ) while( <> )