mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00: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:

committed by
GitHub

parent
cc6992f1ca
commit
965dc81f81
@@ -8,11 +8,11 @@ endif
|
|||||||
|
|
||||||
runtime! ftplugin/help.vim
|
runtime! ftplugin/help.vim
|
||||||
|
|
||||||
setlocal wrap breakindent linebreak
|
setlocal wrap breakindent linebreak nolist
|
||||||
let &l:iskeyword='!-~,^*,^|,^",192-255'
|
let &l:iskeyword='!-~,^*,^|,^",192-255'
|
||||||
|
|
||||||
if exists("b:undo_ftplugin")
|
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
|
else
|
||||||
let b:undo_ftplugin = "setl wrap< bri< lbr< kp< isk<"
|
let b:undo_ftplugin = "setl wrap< bri< lbr< kp< isk< list<"
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user