aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/help.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin/help.lua')
-rw-r--r--runtime/ftplugin/help.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/ftplugin/help.lua b/runtime/ftplugin/help.lua
new file mode 100644
index 0000000000..4cc3386167
--- /dev/null
+++ b/runtime/ftplugin/help.lua
@@ -0,0 +1,3 @@
+if vim.endswith(vim.fs.normalize(vim.api.nvim_buf_get_name(0)), '/doc/syntax.txt') then
+ require('vim.vimhelp').highlight_groups()
+end