2021-12-18 09:14:42 -07:00
|
|
|
" Vim filetype plugin
|
2022-11-11 19:33:31 -07:00
|
|
|
" Language: Nvim :checkhealth buffer
|
|
|
|
" Last Change: 2022 Nov 10
|
2021-12-18 09:14:42 -07:00
|
|
|
|
|
|
|
if exists("b:did_ftplugin")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
2022-11-11 19:33:31 -07:00
|
|
|
runtime! ftplugin/help.vim
|
2021-12-18 09:14:42 -07:00
|
|
|
|
|
|
|
setlocal wrap breakindent linebreak
|
2023-06-06 08:42:26 -07:00
|
|
|
setlocal foldexpr=getline(v:lnum-1)=~'^=\\{78}$'?'>1':(getline(v:lnum)=~'^=\\{78}'?0:'=')
|
|
|
|
setlocal foldmethod=expr
|
|
|
|
setlocal foldtext=v:lua.require('vim.health').foldtext()
|
2021-12-18 09:14:42 -07:00
|
|
|
let &l:iskeyword='!-~,^*,^|,^",192-255'
|
|
|
|
|
|
|
|
if exists("b:undo_ftplugin")
|
2022-11-11 19:33:31 -07:00
|
|
|
let b:undo_ftplugin .= "|setl wrap< bri< lbr< kp< isk<"
|
2021-12-18 09:14:42 -07:00
|
|
|
else
|
2022-11-11 19:33:31 -07:00
|
|
|
let b:undo_ftplugin = "setl wrap< bri< lbr< kp< isk<"
|
2021-12-18 09:14:42 -07:00
|
|
|
endif
|