25 lines
618 B
Lua
25 lines
618 B
Lua
return {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
build = ":TSUpdate",
|
|
branch = "main",
|
|
config = function()
|
|
local configs = require("nvim-treesitter.config")
|
|
--
|
|
-- configs.setup({
|
|
-- ensure_installed = "all",
|
|
-- sync_install = false,
|
|
-- highlight = { enable = true },
|
|
-- indent = { enable = true },
|
|
-- incremental_selection = {
|
|
-- enable = true,
|
|
-- keymaps = {
|
|
-- init_selection = "<Enter>",
|
|
-- node_incremental = "<Enter>",
|
|
-- scope_incremental = false,
|
|
-- node_decremental = "<Backspace>",
|
|
-- },
|
|
-- },
|
|
-- })
|
|
end,
|
|
}
|