aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authormatveyt <35012635+matveyt@users.noreply.github.com>2021-12-18 19:14:42 +0300
committerGitHub <noreply@github.com>2021-12-18 09:14:42 -0700
commit734fba0d88cc9ff3b5fa24328e5ba7852e0e3211 (patch)
tree809ce43f8961909abd9bd126a8404624face1993 /runtime/ftplugin
parent36758ba9a78ecf01ab8f654be08051015932983a (diff)
downloadrneovim-734fba0d88cc9ff3b5fa24328e5ba7852e0e3211.tar.gz
rneovim-734fba0d88cc9ff3b5fa24328e5ba7852e0e3211.tar.bz2
rneovim-734fba0d88cc9ff3b5fa24328e5ba7852e0e3211.zip
feat(runtime): new checkhealth filetype (#16660)
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/checkhealth.vim20
1 files changed, 20 insertions, 0 deletions
diff --git a/runtime/ftplugin/checkhealth.vim b/runtime/ftplugin/checkhealth.vim
new file mode 100644
index 0000000000..3d8e9ace1a
--- /dev/null
+++ b/runtime/ftplugin/checkhealth.vim
@@ -0,0 +1,20 @@
+" Vim filetype plugin
+" Language: Neovim checkhealth buffer
+" Last Change: 2021 Dec 15
+
+if exists("b:did_ftplugin")
+ finish
+endif
+
+runtime! ftplugin/markdown.vim ftplugin/markdown_*.vim ftplugin/markdown/*.vim
+
+setlocal wrap breakindent linebreak
+setlocal conceallevel=2 concealcursor=nc
+setlocal keywordprg=:help
+let &l:iskeyword='!-~,^*,^|,^",192-255'
+
+if exists("b:undo_ftplugin")
+ let b:undo_ftplugin .= "|setl wrap< bri< lbr< cole< cocu< kp< isk<"
+else
+ let b:undo_ftplugin = "setl wrap< bri< lbr< cole< cocu< kp< isk<"
+endif