neovim/nvim/lua/ale-config.lua

14 lines
177 B
Lua

vim.g.ale_fixers = {
["*"] = {
"remove_trailing_lines",
"trim_whitespace",
},
["lua"] = {
"lua-format",
},
["rust"] = {
"rustfmt",
},
}
vim.g.ale_fix_on_save = 1