neovim/runtime/ftplugin/checkhealth.vim
Justin M. Keyes 4d2373f5f6
feat(checkhealth): use "help" syntax, avoid tabpage #20879
- If Nvim was just started, don't create a new tab.
- Name the buffer "health://".
- Use "help" syntax instead of "markdown". It fits better, and
  eliminates various workarounds.
- Simplfy formatting, avoid visual noise.
- Don't print a "INFO" status, it is noisy.
- Drop the ":" after statuses, they are already UPPERCASE and highlighted.
2022-11-11 18:33:31 -08:00

19 lines
395 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
let &l:iskeyword='!-~,^*,^|,^",192-255'
if exists("b:undo_ftplugin")
let b:undo_ftplugin .= "|setl wrap< bri< lbr< kp< isk<"
else
let b:undo_ftplugin = "setl wrap< bri< lbr< kp< isk<"
endif