nvim/lua/plugins/treesitter.lua
Evie Litherland-Smith 4054030afc Initial add
Separate nvim config into separate project, to be used as submodule
for main dotfile
2023-05-04 12:39:25 +01:00

17 lines
419 B
Lua

return {
"nvim-treesitter/nvim-treesitter",
event = { "BufReadPre", "BufNewFile" },
cmd = {
"TSToggle",
"TSBufEnable",
"TSBufToggle",
"TSInstall",
"TSUpdate",
"TSEnable",
},
config = function() require("nvim-treesitter.configs").setup(require "config.treesitter") end,
dependencies = {
"nvim-treesitter/nvim-treesitter-refactor",
},
}