more cleanup
This commit is contained in:
parent
7ca3a6947c
commit
cb64d9e1f2
4 changed files with 80 additions and 90 deletions
22
lua/lsp/godot_dap.lua
Normal file
22
lua/lsp/godot_dap.lua
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
return { -- DAP for Godot - https://docs.godotengine.org/en/stable/tutorials/editor/external_editor.html#lsp-dap-support
|
||||
'mfussenegger/nvim-dap',
|
||||
config = function()
|
||||
local dap = require 'dap'
|
||||
dap.adapters.godot = {
|
||||
type = 'server',
|
||||
host = '127.0.0.1',
|
||||
port = 6006,
|
||||
}
|
||||
|
||||
dap.configurations.gdscript = {
|
||||
{
|
||||
launch_game_instance = false,
|
||||
launch_scene = false,
|
||||
name = 'Launch scene',
|
||||
project = '${workspaceFolder}',
|
||||
request = 'launch',
|
||||
type = 'godot',
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue