From 57f1321729e7347e4bd3a6d96b60b4be7d4b188b Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Mon, 23 Mar 2015 07:49:18 +0100 Subject: [PATCH] syntax: Add conceal settings only as local to the buffer --- after/syntax/vimwiki.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/after/syntax/vimwiki.vim b/after/syntax/vimwiki.vim index 30f1440..93d06fb 100644 --- a/after/syntax/vimwiki.vim +++ b/after/syntax/vimwiki.vim @@ -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