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" },
|
|
|
|
},
|
2023-06-11 10:22:19 +02:00
|
|
|
context_commentstring = {
|
|
|
|
enable = true,
|
|
|
|
},
|
2023-06-10 21:52:57 +02:00
|
|
|
})
|