dotfiles/modules/programs/nvim/plugins/nvim-treesitter.lua

13 lines
389 B
Lua
Raw Normal View History

2023-06-10 21:52:57 +02:00
-- Load custom treesitter grammar for org filetype
require("orgmode").setup_ts_grammar()
require("nvim-treesitter.configs").setup({
sync_install = false,
auto_install = false,
highlight = {
enable = true,
-- Required for spellcheck, some LaTex highlights and
-- code block highlights that do not have ts grammar
additional_vim_regex_highlighting = { "org" },
},
})