mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 02:17:09 +10:00
feat(treesitter): highlight help files by default (#26347)
This commit is contained in:
@@ -1,3 +1,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
|
||||
|
||||
Reference in New Issue
Block a user