- Improved syntax of markers.
This commit is contained in:
parent
de453e5a16
commit
d30ce7fe79
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user