summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins/lsp.lua5
-rw-r--r--lua/plugins/treesitter.lua4
2 files changed, 7 insertions, 2 deletions
diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua
index 2945003..7b806e6 100644
--- a/lua/plugins/lsp.lua
+++ b/lua/plugins/lsp.lua
@@ -7,7 +7,7 @@ local servers = {
workspace = { checkThirdParty = false },
telemetry = { enable = false },
},
- },
+ }
}
return {
@@ -77,5 +77,8 @@ return {
}
end,
})
+
+ -- At the end, add GDscript support, which is only supported by lspconfig itself
+ lspconfig.gdscript.setup({capabilities = capabilities})
end,
}
diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua
index 8ad7fb1..fe79b6a 100644
--- a/lua/plugins/treesitter.lua
+++ b/lua/plugins/treesitter.lua
@@ -21,7 +21,9 @@ return {
'markdown',
'markdown_inline',
'php',
- 'sql'
+ 'sql',
+ 'gdscript',
+ 'godot_resource'
},
auto_install = false,
highlight = { enable = true },