Add ALE fixer for various programming languages
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 1m5s
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 1m5s
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
-- Ale configuration
|
||||
vim.g.ale_linters_explicit = 0
|
||||
local linters = {
|
||||
python = { "pylint" },
|
||||
vim = { "vint" },
|
||||
cpp = { "clang" },
|
||||
c = { "clang" },
|
||||
markdown = { "languagetool" },
|
||||
latex = { "proselint" },
|
||||
tex = { "proselint" },
|
||||
plaintex = { "proselint" },
|
||||
ada = { "gnat", "gcc", "adals", "cspell" },
|
||||
c = { "clang" },
|
||||
cpp = { "clang" },
|
||||
latex = { "proselint" },
|
||||
markdown = { "languagetool" },
|
||||
plaintex = { "proselint" },
|
||||
python = { "pylint" },
|
||||
tex = { "proselint" },
|
||||
vhdl = {},
|
||||
vim = { "vint" },
|
||||
}
|
||||
|
||||
local fixers = {
|
||||
@@ -18,15 +18,16 @@ local fixers = {
|
||||
asm = { "gcc" },
|
||||
bash = { "bashate" },
|
||||
c = { "astyle" },
|
||||
haskell = { "fourmolu" },
|
||||
html = { "prettier", "html-beautify" },
|
||||
latex = { "texlab", "textlint" },
|
||||
tex = { "textlint" },
|
||||
lua = { "stylua" },
|
||||
markdown = { "prettier", "pandoc" },
|
||||
python = { "yapf" },
|
||||
nix = { "nixfmt" },
|
||||
pascal = { "ptop" },
|
||||
haskell = { "fourmolu" },
|
||||
python = { "yapf", "ruff", "autopep8" },
|
||||
rust = { "rustfmt" },
|
||||
html = { "prettier", "html-beautify" },
|
||||
tex = { "textlint", "latexindent" },
|
||||
}
|
||||
|
||||
vim.g.ale_linters = linters
|
||||
|
||||
Reference in New Issue
Block a user