Add stylua fixer to null-ls

This commit is contained in:
ViViDboarder 2021-12-15 09:22:20 -08:00
parent 46cfa8337e
commit 212b3cbdc7
2 changed files with 5 additions and 0 deletions

View File

@ -94,6 +94,9 @@ function install_fixers() {
# Rust
maybe_run rustup component add rustfmt
# Lua
maybe_run cargo install stylua
echo ""
}

View File

@ -194,6 +194,8 @@ function M.config_null_ls()
null_ls.builtins.diagnostics.shellcheck,
-- Rust
-- null_ls.builtins.formatting.rustfmt,
-- Lua
null_ls.builtins.formatting.stylua,
},
}
end