mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:07:35 +00:00
Add stylua fixer to null-ls
This commit is contained in:
parent
46cfa8337e
commit
212b3cbdc7
@ -94,6 +94,9 @@ function install_fixers() {
|
||||
# Rust
|
||||
maybe_run rustup component add rustfmt
|
||||
|
||||
# Lua
|
||||
maybe_run cargo install stylua
|
||||
|
||||
echo ""
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user