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
|
-- Ale configuration
|
||||||
vim.g.ale_linters_explicit = 0
|
vim.g.ale_linters_explicit = 0
|
||||||
local linters = {
|
local linters = {
|
||||||
python = { "pylint" },
|
|
||||||
vim = { "vint" },
|
|
||||||
cpp = { "clang" },
|
|
||||||
c = { "clang" },
|
|
||||||
markdown = { "languagetool" },
|
|
||||||
latex = { "proselint" },
|
|
||||||
tex = { "proselint" },
|
|
||||||
plaintex = { "proselint" },
|
|
||||||
ada = { "gnat", "gcc", "adals", "cspell" },
|
ada = { "gnat", "gcc", "adals", "cspell" },
|
||||||
|
c = { "clang" },
|
||||||
|
cpp = { "clang" },
|
||||||
|
latex = { "proselint" },
|
||||||
|
markdown = { "languagetool" },
|
||||||
|
plaintex = { "proselint" },
|
||||||
|
python = { "pylint" },
|
||||||
|
tex = { "proselint" },
|
||||||
vhdl = {},
|
vhdl = {},
|
||||||
|
vim = { "vint" },
|
||||||
}
|
}
|
||||||
|
|
||||||
local fixers = {
|
local fixers = {
|
||||||
@@ -18,15 +18,16 @@ local fixers = {
|
|||||||
asm = { "gcc" },
|
asm = { "gcc" },
|
||||||
bash = { "bashate" },
|
bash = { "bashate" },
|
||||||
c = { "astyle" },
|
c = { "astyle" },
|
||||||
|
haskell = { "fourmolu" },
|
||||||
|
html = { "prettier", "html-beautify" },
|
||||||
latex = { "texlab", "textlint" },
|
latex = { "texlab", "textlint" },
|
||||||
tex = { "textlint" },
|
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
markdown = { "prettier", "pandoc" },
|
markdown = { "prettier", "pandoc" },
|
||||||
python = { "yapf" },
|
nix = { "nixfmt" },
|
||||||
pascal = { "ptop" },
|
pascal = { "ptop" },
|
||||||
haskell = { "fourmolu" },
|
python = { "yapf", "ruff", "autopep8" },
|
||||||
rust = { "rustfmt" },
|
rust = { "rustfmt" },
|
||||||
html = { "prettier", "html-beautify" },
|
tex = { "textlint", "latexindent" },
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.g.ale_linters = linters
|
vim.g.ale_linters = linters
|
||||||
|
|||||||
Reference in New Issue
Block a user