vim:wiki: Don't highlight any Unicode rxTableSep
Doesn't matter what character it is.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
" 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', '')
|
||||
" Don't highlight Unicode table separator (e.g. vertical box drawing character).
|
||||
" See vimrc.d/aesthetics.vim for w:ignore_non_ascii_chars
|
||||
if vimwiki#vars#get_syntaxlocal('rxTableSep') !~ '[\d0-\d127]'
|
||||
let w:ignore_non_ascii_chars = vimwiki#vars#get_syntaxlocal('rxTableSep')
|
||||
\ .. get(w:, 'ignore_non_ascii_chars', '')
|
||||
" Update after changes
|
||||
call HighlightNonASCIIChars()
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user