mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 21:25:04 -07:00
4d2373f5f6
- 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.
19 lines
395 B
VimL
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
|