This commit is contained in:
ACPaul 2026-03-07 14:05:47 -05:00
parent 262e3dd997
commit 9b02027799
1 changed files with 8 additions and 1 deletions

View File

@ -610,6 +610,13 @@ require('lazy').setup({
},
},
gdscript = {
cmd = { '/home/ragnar/Downloads/Godot_v4.5-stable_linux.x86_64', '--headless', '--script-language-server' },
filetypes = { 'gd', 'gdscript' }, -- GDScript filetypes
root_dir = function(fname) return vim.fs.dirname(vim.fs.find({ 'project.godot' }, { upward = true })[1]) end,
settings = {}, -- GDScript LS doesnt require special settings by default
},
clangd = {},
-- gopls = {},
-- pyright = {},
@ -662,7 +669,7 @@ require('lazy').setup({
-- You can press `g?` for help in this menu.
local ensure_installed = {}
for name, _ in pairs(servers) do
if name ~= 'racket_langserver' then table.insert(ensure_installed, name) end
if name ~= 'racket_langserver' and name ~= 'gdscript' then table.insert(ensure_installed, name) end
end
vim.list_extend(ensure_installed, {
-- You can add other tools here that you want Mason to install