Refactoring

This commit is contained in:
Marco 2024-01-16 16:33:32 +01:00
parent fd41b44f34
commit 804d5b3612
3 changed files with 4 additions and 4 deletions

View File

@ -16,6 +16,6 @@ dap.configurations.dart = {
-- The nvim-dap plugin populates this variable with the editor's current working directory
cwd = "${workspaceFolder}",
-- This gets forwarded to the Flutter CLI tool, substitute `linux` for whatever device you wish to launch
toolArgs = { "-d", "linux" }
toolArgs = { "-d", "chrome" }
}
}

View File

@ -1,4 +1,4 @@
--require("lspconfig").gdscript.setup {}
require("lspconfig").gdscript.setup {}
vim.api.nvim_create_autocmd('BufWritePost',
{

View File

@ -1,6 +1,6 @@
local group = vim.api.nvim_create_augroup("autoformat", {})
local autoformat_group = vim.api.nvim_create_augroup("autoformat", {})
vim.api.nvim_create_autocmd('BufWritePre', {
group = group,
group = autoformat_group,
callback = function()
vim.lsp.buf.format { async = false }
end