nixos/config/nvim/lua/plugins/treesitter.lua

14 lines
360 B
Lua
Raw Normal View History

return {
"nvim-treesitter/nvim-treesitter",
2023-02-20 11:32:30 +00:00
event = { "BufReadPre", "BufNewFile" },
config = function()
require("nvim-treesitter.configs").setup {
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
disable = { "fortran" },
},
}
end,
}