mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
fix(checkhealth): disable 'listchars' #31245
Problem: 'listchars' (in particular multispace) breaks visual heading due to `Whitespace` highlight group. Solution: Disable 'list' (and thus all listchars) by default for `checkhealth` files. Fixes #31145
This commit is contained in:
parent
cc6992f1ca
commit
965dc81f81
@ -8,11 +8,11 @@ endif
|
||||
|
||||
runtime! ftplugin/help.vim
|
||||
|
||||
setlocal wrap breakindent linebreak
|
||||
setlocal wrap breakindent linebreak nolist
|
||||
let &l:iskeyword='!-~,^*,^|,^",192-255'
|
||||
|
||||
if exists("b:undo_ftplugin")
|
||||
let b:undo_ftplugin .= "|setl wrap< bri< lbr< kp< isk<"
|
||||
let b:undo_ftplugin .= "|setl wrap< bri< lbr< kp< isk< list<"
|
||||
else
|
||||
let b:undo_ftplugin = "setl wrap< bri< lbr< kp< isk<"
|
||||
let b:undo_ftplugin = "setl wrap< bri< lbr< kp< isk< list<"
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user