diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2023-08-23 11:48:10 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2023-08-23 11:48:10 -0600 |
commit | e6952fe070ff31e8e6c3d77907681601e6da30e6 (patch) | |
tree | 852bc9415ea19bd340803c6c4ad8aa7a1c9c678b /lua | |
parent | 013d70b8fc655e8f7cc010c451d8f2be658aaa11 (diff) |
add gdscript support
Diffstat (limited to 'lua')
-rw-r--r-- | lua/plugins/lsp.lua | 5 | ||||
-rw-r--r-- | lua/plugins/treesitter.lua | 4 |
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 }, |