feat: improve config
This commit is contained in:
parent
1bec292f72
commit
9f68a648a7
15 changed files with 97 additions and 134 deletions
|
|
@ -2,25 +2,6 @@ return {
|
|||
"nvim-treesitter/nvim-treesitter",
|
||||
lazy = false,
|
||||
build = ":TSUpdate",
|
||||
branch = "master",
|
||||
config = function()
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
|
||||
configs.setup({
|
||||
ensure_installed = { "lua", "markdown_inline" },
|
||||
auto_install = false,
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
init_selection = "<Enter>", -- set to `false` to disable one of the mappings
|
||||
node_incremental = "<Enter>",
|
||||
scope_incremental = false,
|
||||
node_decremental = "<Backspace>",
|
||||
},
|
||||
},
|
||||
})
|
||||
end
|
||||
branch = "main",
|
||||
config = function() end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue