From 2d994cc0be747ec0a8970bf97a402af2cf01de43 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 12 May 2025 10:22:00 +0200 Subject: [PATCH] fix(treesitter): re-enable treesitter --- lazy-lock.json | 2 +- lua/weeheavy/plugins/treesitter-context.lua | 2 +- lua/weeheavy/plugins/treesitter.lua | 15 ++++++++++----- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index dc7b5ff..78e8416 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -17,7 +17,7 @@ "nvim-lint": { "branch": "master", "commit": "9dfb77ef6c5092a19502883c02dc5a02ec648729" }, "nvim-treesitter": { "branch": "master", "commit": "94ea4f436d2b59c80f02e293466c374584f03b8c" }, "nvim-treesitter-context": { "branch": "master", "commit": "6daca3ad780f045550b820f262002f35175a6c04" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "ed373482db797bbf71bdff37a15c7555a84dce47" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "0e3be38005e9673d044e994b1e4b123adb040179" }, "nvim-web-devicons": { "branch": "master", "commit": "2c2b4eafce6cdd0cb165036faa17396eff18f847" }, "oil.nvim": { "branch": "master", "commit": "685cdb4ffa74473d75a1b97451f8654ceeab0f4a" }, "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, diff --git a/lua/weeheavy/plugins/treesitter-context.lua b/lua/weeheavy/plugins/treesitter-context.lua index 6a2991d..74779d0 100644 --- a/lua/weeheavy/plugins/treesitter-context.lua +++ b/lua/weeheavy/plugins/treesitter-context.lua @@ -3,5 +3,5 @@ return { "nvim-treesitter/nvim-treesitter-context", event = { "BufReadPre", "BufNewFile" }, - enabled = false, + enabled = true, } diff --git a/lua/weeheavy/plugins/treesitter.lua b/lua/weeheavy/plugins/treesitter.lua index 584fd59..0092a87 100644 --- a/lua/weeheavy/plugins/treesitter.lua +++ b/lua/weeheavy/plugins/treesitter.lua @@ -3,7 +3,7 @@ return { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate", event = { "BufReadPre", "BufNewFile" }, - enabled = false, + enabled = true, dependencies = { "nvim-treesitter/nvim-treesitter-textobjects", }, @@ -22,19 +22,24 @@ return { "vimdoc", "bash", "diff", + "make", "gitignore", + "gitcommit", "markdown", "markdown_inline", + "rst", + "latex", "elixir", "eex", "heex", "yaml", "html", - "javascript", "css", + "javascript", "dockerfile", "query", "hcl", + "terraform", "bicep", "csv", "properties", @@ -45,13 +50,13 @@ return { "go", "gomod", "gosum", - "tcl", "editorconfig", "http", - "make", "toml", - "latex", "sql", + "promql", + "nginx", + "powershell", }, incremental_selection = { enable = true,