Refactoring
This commit is contained in:
parent
fd41b44f34
commit
804d5b3612
@ -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" }
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
--require("lspconfig").gdscript.setup {}
|
||||
require("lspconfig").gdscript.setup {}
|
||||
|
||||
vim.api.nvim_create_autocmd('BufWritePost',
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user