Updated config and added treesitter-textobjects

This commit is contained in:
2024-01-24 23:32:52 +01:00
parent 9893a9ec5a
commit 3dbe34438c
3 changed files with 117 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ return {
"nvim-treesitter/nvim-treesitter",
event = { "BufReadPre", "BufNewFile" },
build = ":TSUpdate",
dependencies = { "nvim-treesitter/nvim-treesitter-textobjects" },
config = function()
local treesitter = require("nvim-treesitter.configs")
@@ -21,6 +22,9 @@ return {
sync_install = false,
auto_install = true,
indent = { enable = true },
autotag = { enable = true },
highlight = {
enable = true,
additional_vim_regex_highlighting = false,