Fix #279 add g:neosnippet#enable_conceal_markers

This commit is contained in:
Shougo Matsushita
2015-06-23 21:51:14 +09:00
parent ad7b075797
commit 2c97d62503
3 changed files with 10 additions and 1 deletions

View File

@@ -97,7 +97,7 @@ function! s:initialize_others() "{{{
\ .neosnippet#get_sync_placeholder_marker_pattern().'\|'
\ .neosnippet#get_mirror_placeholder_marker_pattern()."'"
\ 'containedin=ALL oneline'
if has('conceal')
if g:neosnippet#enable_conceal_markers && has('conceal')
autocmd BufNewFile,BufRead,Syntax *
\ syntax region neosnippetConcealExpandSnippets
\ matchgroup=neosnippetExpandSnippets