- Improved syntax.
This commit is contained in:
parent
d30ce7fe79
commit
e1bb6d58ef
@ -74,14 +74,14 @@ function! s:initialize()"{{{
|
|||||||
call map(s:snippets_dir, 'substitute(v:val, "[\\\\/]$", "", "")')
|
call map(s:snippets_dir, 'substitute(v:val, "[\\\\/]$", "", "")')
|
||||||
|
|
||||||
augroup neosnippet
|
augroup neosnippet
|
||||||
autocmd BufNewFile,BufRead,ColorScheme *
|
autocmd BufNewFile,BufRead,Syntax *
|
||||||
\ execute 'syntax match neosnippetExpandSnippets'
|
\ execute 'syntax match neosnippetExpandSnippets'
|
||||||
\ "'".s:get_placeholder_marker_pattern(). '\|'
|
\ "'".s:get_placeholder_marker_pattern(). '\|'
|
||||||
\ .s:get_sync_placeholder_marker_pattern().'\|'
|
\ .s:get_sync_placeholder_marker_pattern().'\|'
|
||||||
\ .s:get_mirror_placeholder_marker_pattern()."'"
|
\ .s:get_mirror_placeholder_marker_pattern()."'"
|
||||||
\ 'containedin=ALL oneline'
|
\ 'containedin=ALL oneline'
|
||||||
if has('conceal')
|
if has('conceal')
|
||||||
autocmd BufNewFile,BufRead,ColorScheme *
|
autocmd BufNewFile,BufRead,Syntax *
|
||||||
\ syntax region neosnippetConcealExpandSnippets
|
\ syntax region neosnippetConcealExpandSnippets
|
||||||
\ matchgroup=neosnippetExpandSnippets
|
\ matchgroup=neosnippetExpandSnippets
|
||||||
\ start='<`\d\+:\=\|<{\d\+:\=\|<|'
|
\ start='<`\d\+:\=\|<{\d\+:\=\|<|'
|
||||||
|
Loading…
Reference in New Issue
Block a user