14 lines
439 B
Lua
14 lines
439 B
Lua
return {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
-- open this plugin on two events:
|
|
-- BufReadPre - open existing file
|
|
-- BufNewFile - open new file
|
|
event = { "BufReadPre", "BufNewFile" },
|
|
build = ":TSUpdate", -- Run whenever this plugin is installed or updated
|
|
dependencies = {
|
|
"windwp/nvim-ts-autotag", -- Auto-closing functionality within treesitter
|
|
},
|
|
config = function()
|
|
require "custom/treesitter"
|
|
end,
|
|
}
|