feat(neovim): add gdscript debugging and lsp
This commit is contained in:
parent
98dde2b397
commit
88e13d8b64
|
@ -25,6 +25,7 @@ return {
|
||||||
"c",
|
"c",
|
||||||
"cpp",
|
"cpp",
|
||||||
"cs",
|
"cs",
|
||||||
|
"gdscript",
|
||||||
"h",
|
"h",
|
||||||
"javascript",
|
"javascript",
|
||||||
"jsx",
|
"jsx",
|
||||||
|
@ -58,6 +59,7 @@ return {
|
||||||
"cssls",
|
"cssls",
|
||||||
"denols",
|
"denols",
|
||||||
"eslint",
|
"eslint",
|
||||||
|
"gdscript",
|
||||||
"html",
|
"html",
|
||||||
"jsonls",
|
"jsonls",
|
||||||
"lua_ls",
|
"lua_ls",
|
||||||
|
|
|
@ -31,7 +31,8 @@ dap.adapters.codelldb = {
|
||||||
dap.adapters.cppdbg = {
|
dap.adapters.cppdbg = {
|
||||||
id = "cppdbg",
|
id = "cppdbg",
|
||||||
type = "executable",
|
type = "executable",
|
||||||
command = "{pkgs.vscode-extensions.ms-vscode.cpptools}/share/vscode/extensions/ms-vscode.cpptools/debugAdapters/bin/OpenDebugAD7",
|
command =
|
||||||
|
"{pkgs.vscode-extensions.ms-vscode.cpptools}/share/vscode/extensions/ms-vscode.cpptools/debugAdapters/bin/OpenDebugAD7",
|
||||||
}
|
}
|
||||||
|
|
||||||
-- @type DapAdapter
|
-- @type DapAdapter
|
||||||
|
@ -41,6 +42,13 @@ dap.adapters.coreclr = {
|
||||||
args = { "--interpreter=vscode" },
|
args = { "--interpreter=vscode" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- @type DapAdapter
|
||||||
|
dap.adapters.godot = {
|
||||||
|
type = "server",
|
||||||
|
host = "127.0.0.1",
|
||||||
|
port = 6006,
|
||||||
|
}
|
||||||
|
|
||||||
-- @type DapConfiguration
|
-- @type DapConfiguration
|
||||||
dap.configurations.rust = {
|
dap.configurations.rust = {
|
||||||
{
|
{
|
||||||
|
@ -94,3 +102,14 @@ dap.configurations.cs = {
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- @type DapConfiguration
|
||||||
|
dap.configurations.gdscript = {
|
||||||
|
{
|
||||||
|
name = "Launch scene",
|
||||||
|
type = "godot",
|
||||||
|
request = "launch",
|
||||||
|
project = "${workspaceFolder}",
|
||||||
|
scene = "current",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue