vim:wiki: Don't highlight vert. box drawing char

This commit is contained in:
2023-07-08 01:52:02 +02:00
parent e324273567
commit d27fe12d01
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
" Do not highlight vertical box drawing character as non-ASCII if it used as
" table separator
if vimwiki#vars#get_syntaxlocal('rxTableSep') == '│'
let w:ignore_non_ascii_chars = '│' .. get(w:, 'ignore_non_ascii_chars', '')
" Update after changes
call HighlightNonASCIIChars()
endif

View File

@@ -32,6 +32,6 @@ if (exists("g:loaded_tmux_navigator"))
endif
if (get(g:, 'loaded_vimwiki'))
" Use vertical box drawing character as separator
" Use vertical box drawing character as table separator
call vimwiki#vars#set_syntaxlocal('rxTableSep', '│')
endif