finish setting up Godot LSP
This commit is contained in:
parent
52d20aca31
commit
2ca9d9c693
7
init.lua
7
init.lua
|
@ -470,7 +470,6 @@ require('lazy').setup({
|
|||
-- But for many setups, the LSP (`tsserver`) will work just fine
|
||||
-- tsserver = {},
|
||||
--
|
||||
|
||||
lua_ls = {
|
||||
-- cmd = {...},
|
||||
-- filetypes = { ...},
|
||||
|
@ -515,6 +514,12 @@ require('lazy').setup({
|
|||
end,
|
||||
},
|
||||
}
|
||||
-- Godot's LSP - Requires Godot to be running
|
||||
require('lspconfig')['gdscript'].setup {
|
||||
-- cmd = vim.lsp.rpc.connect('127.0.0.1', 6005),
|
||||
cmd = { 'ncat', '127.0.0.1', '6005' },
|
||||
name = 'godot',
|
||||
}
|
||||
end,
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue