mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 18:07:34 +00:00
Use release-gitter to get StyLua
Makes installation much faster
This commit is contained in:
parent
cf97331465
commit
e3edf33316
@ -101,12 +101,18 @@ function install_fixers() {
|
||||
maybe_run rustup component add rustfmt
|
||||
|
||||
# Lua
|
||||
if ! release-gitter --git-url "https://github.com/JohnnyMorganz/StyLua" \
|
||||
--map-system Windows=win64 --map-system Linux=linux --map-system Darwin=macos \
|
||||
-x -c "chmod +x ~/bin/stylua" "stylua-{version}-{system}.zip" ~/bin ; then
|
||||
maybe_run cargo install stylua
|
||||
fi
|
||||
|
||||
echo ""
|
||||
}
|
||||
|
||||
function main() {
|
||||
maybe_run pip3 install --user --upgrade release-gitter
|
||||
|
||||
install_language_servers
|
||||
install_linters
|
||||
install_fixers
|
||||
|
Loading…
Reference in New Issue
Block a user