1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 22:54:12 +01:00

add basic string highlighting for the Vim RC file

This commit is contained in:
Doug Kearns
2007-10-19 11:22:13 +00:00
parent d8308a5ca4
commit e82a6c0929

View File

@@ -16,6 +16,8 @@ unlet b:current_syntax
syn keyword vimperatorTodo FIXME NOTE TODO XXX contained
syn match vimperatorComment +".*$+ contains=vimperatorTodo,@Spell
syn region vimperatorString start="\z(["']\)" end="\z1" skip="\\\\\|\\\z1" oneline
syn keyword vimperatorCommand addo[ns] b[uffer] ba[ck] bd[elete] beep bma[rk] bmarks buffers bun[load] bw[ipeout] delbm[arks]
\ delm[arks] delqm[arks] dl downl[oads] e[dit] ec[ho] echoe[rr] exe[cute] exu[sage] files fo[rward] fw h[elp] ha[rdcopy]
\ hist[ory] hs javas[cript] js ls ma[rk] map mapc[lear] marks no[remap] noh[lsearch] norm[al] o[pen] pc[lose]
@@ -50,6 +52,7 @@ hi def link vimperatorTodo Todo
hi def link vimperatorComment Comment
hi def link vimperatorJavascriptDelimiter Delimiter
hi def link vimperatorOption PreProc
hi def link vimperatorString String
let b:current_syntax = "vimperator"