Updated nvim to 0.12 -> removed nvim treesitter because it has become redundant and merged into nvim itself
This commit is contained in:
@@ -12,7 +12,6 @@ return {
|
||||
})
|
||||
end,
|
||||
dependencies = {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
} }
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user