Files
neovim/runtime/ftplugin/checkhealth.vim
Yochem van Rosmalen 965dc81f81 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
2024-11-17 15:33:34 -08:00

19 lines
414 B
VimL

" Vim filetype plugin
" Language: Nvim :checkhealth buffer
" Last Change: 2022 Nov 10
if exists("b:did_ftplugin")
finish
endif
runtime! ftplugin/help.vim
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< list<"
else
let b:undo_ftplugin = "setl wrap< bri< lbr< kp< isk< list<"
endif