syntax: Add conceal settings only as local to the buffer

This commit is contained in:
Tomas Babej 2015-03-23 07:49:18 +01:00
parent 087bfa7f7e
commit 57f1321729

View file

@ -4,5 +4,6 @@ hi def link VimwikiCheckBoxActive Type
let s:conceal = exists("+conceallevel") ? ' conceal': ''
execute 'syn match VimwikiTaskUuid containedin=VimwikiCheckBoxDone,VimwikiCheckBoxActive /\v#[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/'.s:conceal
hi link VimwikiTaskUuid Comment
set conceallevel=3
set concealcursor=nc
setlocal conceallevel=3
setlocal concealcursor=nc