mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 04:24:11 +01:00
Update Teledactyl related Vim runtime files.
--HG-- rename : teledactyl/contrib/vim/ftdetect/muttator.vim => teledactyl/contrib/vim/ftdetect/teledactyl.vim rename : teledactyl/contrib/vim/syntax/muttator.vim => teledactyl/contrib/vim/syntax/teledactyl.vim extra : rebase_source : 46fb45b2e516c953617080ddf417d5ecc5c724ba
This commit is contained in:
@@ -71,7 +71,7 @@ syn match pentadactylOption "\<\%(no\|inv\)\=\%(smartcase\|scs\|strictfocus\|sf\
|
||||
syn match pentadactylSetMod "\%(\<[a-z_]\+\)\@<=&" contained
|
||||
|
||||
syn region pentadactylJavaScript start="\%(^\s*\%(javascript\|js\)\s\+\)\@<=" end="$" contains=@javascriptTop keepend oneline
|
||||
syn region pentadactylJavaScript matchgroup=pentadactylJavascriptDelimiter
|
||||
syn region pentadactylJavaScript matchgroup=pentadactylJavaScriptDelimiter
|
||||
\ start="\%(^\s*\%(javascript\|js\)\s\+\)\@<=<<\s*\z(\h\w*\)"hs=s+2 end="^\z1$" contains=@javascriptTop fold
|
||||
|
||||
let s:cssRegionStart = '\%(^\s*sty\%[le]!\=\s\+\%(-\%(n\|name\)\%(\s\+\|=\)\S\+\s\+\)\=[^-]\S\+\s\+\)\@<='
|
||||
@@ -86,14 +86,14 @@ syn keyword pentadactylTodo FIXME NOTE TODO XXX contained
|
||||
|
||||
syn region pentadactylString start="\z(["']\)" end="\z1" skip="\\\\\|\\\z1" oneline
|
||||
|
||||
syn match pentadactylLineComment +^\s*".*$+ contains=pentadactylTodo,@Spell
|
||||
syn match pentadactylLineComment +^\s*".*$+ contains=pentadactylTodo,@Spell
|
||||
|
||||
" NOTE: match vim.vim highlighting group names
|
||||
hi def link pentadactylAutoCmd pentadactylCommand
|
||||
hi def link pentadactylAutoEvent Type
|
||||
hi def link pentadactylCommand Statement
|
||||
hi def link pentadactylComment Comment
|
||||
hi def link pentadactylJavascriptDelimiter Delimiter
|
||||
hi def link pentadactylJavaScriptDelimiter Delimiter
|
||||
hi def link pentadactylCssDelimiter Delimiter
|
||||
hi def link pentadactylNotation Special
|
||||
hi def link pentadactylLineComment Comment
|
||||
|
||||
Reference in New Issue
Block a user