This commit is contained in:
2025-05-21 18:48:17 +02:00
parent 12a3293fff
commit 1234f9bd4c
8 changed files with 57 additions and 109 deletions

View File

@@ -12,9 +12,7 @@ local linters = {
ada = { "gnat", "gcc", "adals", "cspell" },
}
vim.g.ale_linters = linters
vim.g.ale_fix_on_save = 0
vim.g.ale_fixers = {
local fixers = {
ada = { "gnatpp" },
asm = { "gcc" },
bash = { "bashate" },
@@ -28,5 +26,9 @@ vim.g.ale_fixers = {
haskell = { "fourmolu" },
}
vim.g.ale_linters = linters
vim.g.ale_fix_on_save = 0
vim.g.ale_fixers = fixers
vim.keymap.set("n", "<leader>lf", ":ALEFix<CR>")
vim.keymap.set("n", "<leader>ld", ":ALEDetail<CR>")
vim.keymap.set("n", "<leader>lp", ":ALEFindReferences<CR>")