From 5f93aee7ec5824fa0ce43f1a03306e711f9a5a6b Mon Sep 17 00:00:00 2001 From: tiyn Date: Mon, 16 Mar 2026 03:27:25 +0100 Subject: [PATCH 1/3] nvim: fixed some minor bugs --- .config/nvim/lua/plugins/nvim-cmp.lua | 1 + .config/nvim/lua/plugins/nvim-treesitter.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/nvim-cmp.lua b/.config/nvim/lua/plugins/nvim-cmp.lua index 9737305..4abf21d 100644 --- a/.config/nvim/lua/plugins/nvim-cmp.lua +++ b/.config/nvim/lua/plugins/nvim-cmp.lua @@ -16,6 +16,7 @@ return { require("luasnip.loaders.from_snipmate").lazy_load() end, version = "v2.*", + -- build = "make install_jsregexp", dependencies = { "saadparwaiz1/cmp_luasnip" }, }, }, diff --git a/.config/nvim/lua/plugins/nvim-treesitter.lua b/.config/nvim/lua/plugins/nvim-treesitter.lua index 1e88e54..ca4835b 100644 --- a/.config/nvim/lua/plugins/nvim-treesitter.lua +++ b/.config/nvim/lua/plugins/nvim-treesitter.lua @@ -9,7 +9,7 @@ return { -- 'p00f/nvim-ts-rainbow', }, config = function() - require("nvim-treesitter.configs").setup({ + require("nvim-treesitter.config").setup({ ensure_installed = { "bash", "css", From b39f68d919e489e8458debfe17150328308a1e7f Mon Sep 17 00:00:00 2001 From: tiyn Date: Mon, 16 Mar 2026 03:53:07 +0100 Subject: [PATCH 2/3] updated treesitter, removed many ls needing extra programs --- .config/nvim/lua/plugins/nvim-lspconfig.lua | 18 ++++++------ .config/nvim/lua/plugins/nvim-treesitter.lua | 29 ++++++++++++-------- 2 files changed, 26 insertions(+), 21 deletions(-) diff --git a/.config/nvim/lua/plugins/nvim-lspconfig.lua b/.config/nvim/lua/plugins/nvim-lspconfig.lua index 7347909..1de5975 100644 --- a/.config/nvim/lua/plugins/nvim-lspconfig.lua +++ b/.config/nvim/lua/plugins/nvim-lspconfig.lua @@ -28,13 +28,13 @@ return { -- c "clangd", -- docker - "dockerls", + -- "dockerls", -- TODO: needs extra steps to install (npm) -- go - "gopls", + -- "gopls", -- TODO: needs extra steps to install (go) -- html - "html", + -- "html", -- TODO: needs extra steps to install (npm) -- json - "jsonls", + -- "jsonls", -- TODO: needs extra steps to install (npm) -- xml "lemminx", -- latex @@ -47,17 +47,17 @@ return { -- nim -- "nimls", -- TODO: needs extra steps to install (nimble) -- python - "pyright", + -- "pyright", -- TODO: needs extra steps to install (npm) -- r -- "r_language_server", -- TODO: installation takes really long -- shell - "bashls", + -- "bashls", -- TODO: needs extra steps to install (npm) -- sql - "sqlls", + -- "sqlls", -- TODO: needs extra steps to install (npm) -- typescript / javascript - "ts_ls", + -- "ts_ls", -- TODO: needs extra steps to install (npm) -- yaml - "yamlls", + -- "yamlls", -- TODO: needs extra steps to install (npm) }, }) local default_flags = { diff --git a/.config/nvim/lua/plugins/nvim-treesitter.lua b/.config/nvim/lua/plugins/nvim-treesitter.lua index ca4835b..96ea786 100644 --- a/.config/nvim/lua/plugins/nvim-treesitter.lua +++ b/.config/nvim/lua/plugins/nvim-treesitter.lua @@ -9,8 +9,9 @@ return { -- 'p00f/nvim-ts-rainbow', }, config = function() - require("nvim-treesitter.config").setup({ - ensure_installed = { + local treesitter = require("nvim-treesitter") + treesitter.setup() + treesitter.install({ "bash", "css", "html", @@ -21,16 +22,20 @@ return { "rust", "lua", "yaml", - }, - -- highlight = { enable = true }, - autotag = { enable = false }, - -- rainbow = { - -- enable = true, - -- extended_mode = true, - -- max_file_lines = nil, - -- -- colors = {}, - -- -- termcolors = {} - -- } }) + require("nvim-ts-autotag").setup({ + opts = { + enable_close = true, + enable_rename = true, + } + }) + -- WARN: not directly compatible anymore + -- highlight = { enable = true }, + -- rainbow = { + -- enable = true, + -- extended_mode = true, + -- max_file_lines = nil, + -- -- colors = {}, + -- -- termcolors = {} end, } From 5057690467814eb601a7e70959ca128d1d9cb2fd Mon Sep 17 00:00:00 2001 From: tiyn Date: Mon, 16 Mar 2026 03:54:34 +0100 Subject: [PATCH 3/3] updated readme for lsp problems --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 54887ff..4c7d0cd 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,9 @@ My debian-based/arch compatible server/root-account dotfiles. - sc-im (recommended) - neovim (>0.10.0) +Additionally npm, rust or nimble may be needed for some vim language server to work. +By default these have been disabled. + #### Debian-based Systems - `apt install git tmux zsh`