Updated config and added treesitter-textobjects
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user