mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 18:02:13 +02:00
32 lines
717 B
Lua
32 lines
717 B
Lua
return {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
dependencies = {
|
|
"windwp/nvim-ts-autotag",
|
|
"JoosepAlviste/nvim-ts-context-commentstring",
|
|
},
|
|
event = "User AstroFile",
|
|
cmd = {
|
|
"TSBufDisable",
|
|
"TSBufEnable",
|
|
"TSBufToggle",
|
|
"TSDisable",
|
|
"TSEnable",
|
|
"TSToggle",
|
|
"TSInstall",
|
|
"TSInstallInfo",
|
|
"TSInstallSync",
|
|
"TSModuleInfo",
|
|
"TSUninstall",
|
|
"TSUpdate",
|
|
"TSUpdateSync",
|
|
},
|
|
build = ":TSUpdate",
|
|
opts = {
|
|
highlight = { enable = true },
|
|
incremental_selection = { enable = true },
|
|
autotag = { enable = true },
|
|
context_commentstring = { enable = true, enable_autocmd = false },
|
|
},
|
|
config = require "plugins.configs.nvim-treesitter",
|
|
}
|