- Don't conceal default codes.

This commit is contained in:
Shougo Matsushita 2012-03-15 23:26:21 +09:00
parent f24fff3c60
commit bb74b83c7c
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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.