add tabset, remove tabchar from listchars, start building DAP for Godot

This commit is contained in:
Eric Olerud 2024-04-18 22:03:56 -04:00
parent e046a8d984
commit 3c78320142
2 changed files with 34 additions and 1 deletions

View File

@ -57,7 +57,7 @@ vim.opt.splitbelow = true
-- See `:help 'list'`
-- and `:help 'listchars'`
vim.opt.list = true
-- vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
vim.opt.listchars = { tab = ' ', trail = '·', nbsp = '' }
-- Preview substitutions live, as you type!
vim.opt.inccommand = 'split'
@ -518,6 +518,29 @@ require('lazy').setup({
end,
},
{ -- 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,
},
{ -- Autoformat
'stevearc/conform.nvim',
lazy = false,

View File

@ -0,0 +1,10 @@
return {
'FotiadisM/tabset.nvim',
config = function()
require('tabset').setup {
defaults = {
tabwidth = 4,
},
}
end,
}