mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-23 04:57:36 +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
|
# Rust
|
||||||
maybe_run rustup component add rustfmt
|
maybe_run rustup component add rustfmt
|
||||||
|
|
||||||
|
# Lua
|
||||||
|
maybe_run cargo install stylua
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -194,6 +194,8 @@ function M.config_null_ls()
|
|||||||
null_ls.builtins.diagnostics.shellcheck,
|
null_ls.builtins.diagnostics.shellcheck,
|
||||||
-- Rust
|
-- Rust
|
||||||
-- null_ls.builtins.formatting.rustfmt,
|
-- null_ls.builtins.formatting.rustfmt,
|
||||||
|
-- Lua
|
||||||
|
null_ls.builtins.formatting.stylua,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user