Fix #279 add g:neosnippet#enable_conceal_markers
This commit is contained in:
@@ -39,6 +39,8 @@ call neosnippet#util#set_default(
|
||||
\ 'g:neosnippet#enable_snipmate_compatibility', 0)
|
||||
call neosnippet#util#set_default(
|
||||
\ 'g:neosnippet#expand_word_boundary', 0)
|
||||
call neosnippet#util#set_default(
|
||||
\ 'g:neosnippet#enable_conceal_markers', 1)
|
||||
"}}}
|
||||
|
||||
function! neosnippet#expandable_or_jumpable() "{{{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user