Updated nvim to 0.12 -> removed nvim treesitter because it has become redundant and merged into nvim itself

This commit is contained in:
Robin Jenni
2026-05-19 06:39:40 +02:00
parent 925818334b
commit 826aba247f
4 changed files with 15 additions and 30 deletions
-1
View File
@@ -12,7 +12,6 @@ return {
})
end,
dependencies = {
'nvim-treesitter/nvim-treesitter',
'nvim-tree/nvim-web-devicons',
}
}
+3 -2
View File
@@ -184,8 +184,7 @@ return { {
})
-- sourcekit is NOT managed by mason, set up separately
local lspconfig = vim.lspconfig.config()
lspconfig["sourcekit"].setup({
vim.lsp.config('sourcekit', {
capabilities = capabilities,
cmd = {
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/sourcekit-lsp",
@@ -198,5 +197,7 @@ return { {
or util.root_pattern("Package.swift")(filename)
end,
})
vim.lsp.enable('sourcekit')
end
} }
-14
View File
@@ -1,14 +0,0 @@
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "lua", 'gdscript', 'godot_resource', 'gdshader', "vim", "javascript", "html", "rust", "typescript", "glsl", "wgsl" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})
end
}