| @@ -412,10 +412,10 @@ execute 'syntax match VimwikiList /'.g:vimwiki_rxListItemWithoutCB.'/' | ||||
| execute 'syntax match VimwikiList /'.g:vimwiki_rxListDefine.'/' | ||||
| execute 'syntax match VimwikiListTodo /'.g:vimwiki_rxListItem.'/' | ||||
|  | ||||
| if g:vimwiki_hl_cb_checked == 1 | ||||
| if vimwiki#vars#get_global('hl_cb_checked') == 1 | ||||
|   execute 'syntax match VimwikiCheckBoxDone /'.g:vimwiki_rxListItemWithoutCB.'\s*\['.g:vimwiki_listsyms_list[4].'\]\s.*$/ '. | ||||
|         \ 'contains=VimwikiNoExistsLink,VimwikiLink,@Spell' | ||||
| elseif g:vimwiki_hl_cb_checked == 2 | ||||
| elseif vimwiki#vars#get_global('hl_cb_checked') == 2 | ||||
|   execute 'syntax match VimwikiCheckBoxDone /'.g:vimwiki_rxListItemAndChildren.'/ contains=VimwikiNoExistsLink,VimwikiLink,@Spell' | ||||
| endif | ||||
|  | ||||
| @@ -481,7 +481,7 @@ execute 'syntax match VimwikiTag /'.g:vimwiki_rxTags.'/' | ||||
|  | ||||
| " header groups highlighting "{{{ | ||||
|  | ||||
| if g:vimwiki_hl_headers == 0 | ||||
| if vimwiki#vars#get_global('hl_headers') == 0 | ||||
|   " Strangely in default colorscheme Title group is not set to bold for cterm... | ||||
|   if !exists("g:colors_name") | ||||
|     hi Title cterm=bold | ||||
|   | ||||
		Reference in New Issue
	
	Block a user