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

14 lines
339 B
Lua
Raw Normal View History

return {
"nvim-treesitter/nvim-treesitter",
2023-02-20 11:32:30 +00:00
event = { "BufReadPre", "BufNewFile" },
2023-02-21 17:31:20 +00:00
cmd = {
"TSEnable",
"TSToggle",
"TSBufEnable",
"TSBufToggle",
"TSInstall",
"TSUpdate",
},
config = function() require("nvim-treesitter.configs").setup(require "config.treesitter") end,
}