aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/help.lua
blob: bf3408c2d9bf2221583e21b72e895ba39411fd4c (plain) (blame)
1
2
3
4
5
6
7
-- use treesitter over syntax (for highlighted code blocks)
vim.treesitter.start()

-- add custom highlights for list in `:h highlight-groups`
if vim.endswith(vim.fs.normalize(vim.api.nvim_buf_get_name(0)), '/doc/syntax.txt') then
  require('vim.vimhelp').highlight_groups()
end