- Improved syntax of markers.

This commit is contained in:
Shougo Matsushita 2012-10-29 11:27:22 +09:00
parent de453e5a16
commit d30ce7fe79
2 changed files with 5 additions and 4 deletions

View File

@ -75,19 +75,19 @@ function! s:initialize()"{{{
augroup neosnippet
autocmd BufNewFile,BufRead,ColorScheme *
\ execute 'syn match neosnippetExpandSnippets'
\ execute 'syntax match neosnippetExpandSnippets'
\ "'".s:get_placeholder_marker_pattern(). '\|'
\ .s:get_sync_placeholder_marker_pattern().'\|'
\ .s:get_mirror_placeholder_marker_pattern()."'"
\ 'containedin=ALL'
\ 'containedin=ALL oneline'
if has('conceal')
autocmd BufNewFile,BufRead,ColorScheme *
\ syn region neosnippetConcealExpandSnippets
\ syntax region neosnippetConcealExpandSnippets
\ matchgroup=neosnippetExpandSnippets
\ start='<`\d\+:\=\|<{\d\+:\=\|<|'
\ end='`>\|}>\||>'
\ containedin=ALL
\ concealends
\ concealends oneline
endif
augroup END
doautocmd neosnippet BufRead

View File

@ -456,6 +456,7 @@ CHANGELOG *neosnippet-changelog*
2012-10-29
- Improved parse of snippets file.
- Improved syntax of markers.
2012-10-28
- Improved snipMate compatibility.