- Improved syntax.

This commit is contained in:
Shougo Matsushita 2012-10-29 11:32:38 +09:00
parent d30ce7fe79
commit e1bb6d58ef
1 changed files with 2 additions and 2 deletions

View File

@ -74,14 +74,14 @@ function! s:initialize()"{{{
call map(s:snippets_dir, 'substitute(v:val, "[\\\\/]$", "", "")')
augroup neosnippet
autocmd BufNewFile,BufRead,ColorScheme *
autocmd BufNewFile,BufRead,Syntax *
\ execute 'syntax match neosnippetExpandSnippets'
\ "'".s:get_placeholder_marker_pattern(). '\|'
\ .s:get_sync_placeholder_marker_pattern().'\|'
\ .s:get_mirror_placeholder_marker_pattern()."'"
\ 'containedin=ALL oneline'
if has('conceal')
autocmd BufNewFile,BufRead,ColorScheme *
autocmd BufNewFile,BufRead,Syntax *
\ syntax region neosnippetConcealExpandSnippets
\ matchgroup=neosnippetExpandSnippets
\ start='<`\d\+:\=\|<{\d\+:\=\|<|'