diff --git a/autoload/neocomplcache/sources/snippets_complete.vim b/autoload/neocomplcache/sources/snippets_complete.vim index 3933d3a..0218f08 100644 --- a/autoload/neocomplcache/sources/snippets_complete.vim +++ b/autoload/neocomplcache/sources/snippets_complete.vim @@ -83,10 +83,12 @@ function! s:source.initialize()"{{{ if has('conceal') " Supported conceal features. augroup neocomplcache + autocmd BufNewFile,BufRead,ColorScheme * + \ syn match neocomplcacheExpandSnippets + \ '<`\d\+:\|`>\|<{\d\+:\|}>' conceal autocmd BufNewFile,BufRead,ColorScheme * \ execute 'syn match neocomplcacheExpandSnippets' - \ "'".s:get_placeholder_marker_pattern(). '\|' - \ .s:get_sync_placeholder_marker_pattern().'\|' + \ '''<`\d\+\\\@\|<{\d\+\\\@\|' \ .s:get_mirror_placeholder_marker_pattern()."'" \ 'conceal cchar=$' augroup END diff --git a/doc/neocomplcache-snippets-complete.txt b/doc/neocomplcache-snippets-complete.txt index 474c6a8..37fa862 100644 --- a/doc/neocomplcache-snippets-complete.txt +++ b/doc/neocomplcache-snippets-complete.txt @@ -297,6 +297,7 @@ CHANGELOG *neocomplcache-snippets-complete-changelog* 2012-03-15 - Improved search snippet markers behavior. +- Don't conceal default codes. 2012-03-14 - Refactored expand snippet behavior.