summaryrefslogtreecommitdiff
path: root/lua/ache
diff options
context:
space:
mode:
authorache <ache@ache.one>2025-05-14 18:23:12 +0200
committerache <ache@ache.one>2025-05-14 18:23:12 +0200
commit4875a196708ce62b0d97f84af15fc56804c078ce (patch)
tree3c3a8f170bd76a58235347bd2e8e0ce59174de11 /lua/ache
parentRemove config for lsp capabilities (diff)
Update nvim interaction
Diffstat (limited to 'lua/ache')
-rw-r--r--lua/ache/plugins/treesitter.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/ache/plugins/treesitter.lua b/lua/ache/plugins/treesitter.lua
index 1ac6771..550ad54 100644
--- a/lua/ache/plugins/treesitter.lua
+++ b/lua/ache/plugins/treesitter.lua
@@ -9,6 +9,7 @@
return {
"nvim-treesitter/nvim-treesitter",
+ enabled = true,
event = { "BufReadPre", "BufNewFile" },
build = ":TSUpdate",
-- dependencies = {
@@ -23,6 +24,7 @@ return {
sync_install = false,
highlight = {
enable = true,
+ additional_vim_regex_highlighting = false,
},
indent = {
enable = true,
@@ -109,7 +111,7 @@ return {
-- }
vim.wo.foldmethod = "expr"
- vim.wo.foldexpr = "nvim_treesitter#foldexpr()"
+ vim.wo.foldexpr = "v:lua.vim.treesitter.foldexpr()"
vim.wo.foldlevel = 9
end,
}