vim:ftplug:fzf: Complete list of TUI Unicode chars
This excludes more characters than needed.
Fixes: 86af2da785 ("vim:ftplug:fzf:TODO: Look up other Unicode chars")
This commit is contained in:
@@ -1,5 +1,15 @@
|
|||||||
" Do not highlight Unicode box drawing chars as non-ascii
|
let w:ignore_non_ascii_chars = get(w:, 'ignore_non_ascii_chars', '')
|
||||||
" TODO: Look into fzf source code for all other possible Unicode chars
|
|
||||||
let w:ignore_non_ascii_chars = '─│╭╮╰╯▌┃' .. get(w:, 'ignore_non_ascii_chars', '')
|
" Do not highlight Unicode chars used for the TUI
|
||||||
|
" Unicode "Box Drawing" block
|
||||||
|
let w:ignore_non_ascii_chars ..= '\u2500-\u257f'
|
||||||
|
" Unicode "Block Elements" block
|
||||||
|
let w:ignore_non_ascii_chars ..= '\u2580-\u259f'
|
||||||
|
" Unicode "Block elements" subblock of the "Symbols for Legacy Computing" block
|
||||||
|
" (i.e. 1/8th block symbols)
|
||||||
|
let w:ignore_non_ascii_chars ..= '\U0001fb70-\U0001fb89'
|
||||||
|
" Braille symbols for spinner
|
||||||
|
let w:ignore_non_ascii_chars ..= '⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏'
|
||||||
|
|
||||||
" Update after changes
|
" Update after changes
|
||||||
call HighlightNonASCIIChars()
|
call HighlightNonASCIIChars()
|
||||||
|
|||||||
Reference in New Issue
Block a user