2023-02-20 11:09:53 +00:00
|
|
|
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 = {
|
|
|
|
"TSToggle",
|
|
|
|
"TSBufEnable",
|
|
|
|
"TSBufToggle",
|
|
|
|
"TSInstall",
|
|
|
|
"TSUpdate",
|
2023-03-03 11:12:22 +00:00
|
|
|
"TSEnable",
|
2023-02-21 17:31:20 +00:00
|
|
|
},
|
2023-03-03 11:12:22 +00:00
|
|
|
config = function()
|
|
|
|
require("nvim-treesitter.configs").setup(require "config.treesitter")
|
2023-03-03 11:30:01 +00:00
|
|
|
-- vim.cmd "TSUpdate"
|
2023-03-03 11:12:22 +00:00
|
|
|
end,
|
2023-02-20 11:09:53 +00:00
|
|
|
}
|