- Fixed syntax file.
This commit is contained in:
parent
d2ddf3f5ef
commit
6eb2b1dff6
@ -774,6 +774,7 @@ CHANGELOG *neosnippet-changelog*
|
|||||||
|
|
||||||
2013-04-12
|
2013-04-12
|
||||||
- Removed changing foldmethod feature.
|
- Removed changing foldmethod feature.
|
||||||
|
- Fixed syntax file.
|
||||||
|
|
||||||
2013-04-11
|
2013-04-11
|
||||||
- Improved syntax file.
|
- Improved syntax file.
|
||||||
|
@ -40,54 +40,54 @@ syntax region neosnippetString
|
|||||||
syntax region neosnippetEval
|
syntax region neosnippetEval
|
||||||
\ start=+\\\@<!`+ end=+\\\@<!`+ contained
|
\ start=+\\\@<!`+ end=+\\\@<!`+ contained
|
||||||
syntax match neosnippetWord
|
syntax match neosnippetWord
|
||||||
\'^\s\+.*$' contains=
|
\ '^\s\+.*$' contains=
|
||||||
\neosnippetEval,neosnippetPlaceHolder,neosnippetEscape,neosnippetVariable
|
\neosnippetEval,neosnippetPlaceHolder,neosnippetEscape,neosnippetVariable
|
||||||
syntax match neosnippetPlaceHolder
|
syntax match neosnippetPlaceHolder
|
||||||
\'\\\@<!\${\d\+\%(:.\{-}\)\?\\\@<!}'
|
\ '\\\@<!\${\d\+\%(:.\{-}\)\?\\\@<!}'
|
||||||
\ contained contains=neosnippetPlaceHolderComment
|
\ contained contains=neosnippetPlaceHolderComment
|
||||||
syntax match neosnippetVariable
|
syntax match neosnippetVariable
|
||||||
\'\\\@<!\$\d\+' contained
|
\ '\\\@<!\$\d\+' contained
|
||||||
syntax match neosnippetComment
|
syntax match neosnippetComment
|
||||||
\'^#.*$'
|
\ '^#.*$'
|
||||||
syntax match neosnippetEscape
|
syntax match neosnippetEscape
|
||||||
\'\\[`]' contained
|
\ '\\[`]' contained
|
||||||
|
|
||||||
syntax match neosnippetKeyword
|
syntax match neosnippetKeyword
|
||||||
\'^\%(include\|snippet\|abbr\|prev_word\|delete\|alias\|options\|regexp\|TARGET\)' contained
|
\ '^\%(include\|snippet\|abbr\|prev_word\|delete\|alias\|options\|regexp\|TARGET\)' contained
|
||||||
syntax keyword neosnippetOption
|
syntax keyword neosnippetOption
|
||||||
\ head word indent contained
|
\ head word indent contained
|
||||||
syntax match neosnippetPrevWords
|
syntax match neosnippetPrevWords
|
||||||
\'^prev_word\s\+.*$' contains=neosnippetString,neosnippetKeyword
|
\ '^prev_word\s\+.*$' contains=neosnippetString,neosnippetKeyword
|
||||||
syntax match neosnippetRegexpr
|
syntax match neosnippetRegexpr
|
||||||
\'^regexp\s\+.*$' contains=neosnippetString,neosnippetKeyword
|
\ '^regexp\s\+.*$' contains=neosnippetString,neosnippetKeyword
|
||||||
syntax match neosnippetStatementName
|
syntax match neosnippetStatementName
|
||||||
\'^snippet\s.*$' contains=neosnippetName,neosnippetKeyword
|
\ '^snippet\s.*$' contains=neosnippetName,neosnippetKeyword
|
||||||
syntax match neosnippetName
|
syntax match neosnippetName
|
||||||
\'\s\+.*$' contained
|
\ '\s\+.*$' contained
|
||||||
syntax match neosnippetStatementAbbr
|
syntax match neosnippetStatementAbbr
|
||||||
\'^abbr\s.*$' contains=neosnippetAbbr,neosnippetKeyword
|
\ '^abbr\s.*$' contains=neosnippetAbbr,neosnippetKeyword
|
||||||
syntax match neosnippetAbbr
|
syntax match neosnippetAbbr
|
||||||
\'\s\+.*$' contained
|
\ '\s\+.*$' contained
|
||||||
syntax match neosnippetStatementRank
|
syntax match neosnippetStatementRank
|
||||||
\'^rank\s.*$' contains=neosnippetRank,neosnippetKeyword
|
\ '^rank\s.*$' contains=neosnippetRank,neosnippetKeyword
|
||||||
syntax match neosnippetRank
|
syntax match neosnippetRank
|
||||||
\'\s\+\d\+$' contained
|
\ '\s\+\d\+$' contained
|
||||||
syntax match neosnippetStatementInclude
|
syntax match neosnippetStatementInclude
|
||||||
\'^include\s.*$' contains=neosnippetInclude,neosnippetKeyword
|
\ '^include\s.*$' contains=neosnippetInclude,neosnippetKeyword
|
||||||
syntax match neosnippetInclude
|
syntax match neosnippetInclude
|
||||||
\'\s\+.*$' contained
|
\ '\s\+.*$' contained
|
||||||
syntax match neosnippetStatementDelete
|
syntax match neosnippetStatementDelete
|
||||||
\'^delete\s.*$' contains=neosnippetDelete,neosnippetKeyword
|
\ '^delete\s.*$' contains=neosnippetDelete,neosnippetKeyword
|
||||||
syntax match neosnippetDelete
|
syntax match neosnippetDelete
|
||||||
\'\s\+.*$' contained
|
\ '\s\+.*$' contained
|
||||||
syntax match neosnippetStatementAlias
|
syntax match neosnippetStatementAlias
|
||||||
\'^alias\s.*$' contains=neosnippetAlias,neosnippetKeyword
|
\ '^alias\s.*$' contains=neosnippetAlias,neosnippetKeyword
|
||||||
syntax match neosnippetAlias
|
syntax match neosnippetAlias
|
||||||
\'\s\+.*$' contained
|
\ '\s\+.*$' contained
|
||||||
syntax match neosnippetStatementOptions
|
syntax match neosnippetStatementOptions
|
||||||
\'^options\s.*$' contains=neosnippetOption,neosnippetKeyword
|
\ '^options\s.*$' contains=neosnippetOption,neosnippetKeyword
|
||||||
syntax match neosnippetPlaceHolderComment
|
syntax match neosnippetPlaceHolderComment
|
||||||
\'{\d\+:\zs#:.\{-}\ze\\\@<!}' contained
|
\ '{\d\+:\zs#:.\{-}\ze\\\@<!}' contained
|
||||||
|
|
||||||
highlight def link neosnippetKeyword Statement
|
highlight def link neosnippetKeyword Statement
|
||||||
highlight def link neosnippetString String
|
highlight def link neosnippetString String
|
||||||
|
Loading…
Reference in New Issue
Block a user