mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:57:33 +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
|
maybe_run rustup component add rustfmt
|
||||||
|
|
||||||
# Lua
|
# 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
|
maybe_run cargo install stylua
|
||||||
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
|
maybe_run pip3 install --user --upgrade release-gitter
|
||||||
|
|
||||||
install_language_servers
|
install_language_servers
|
||||||
install_linters
|
install_linters
|
||||||
install_fixers
|
install_fixers
|
||||||
|
Loading…
Reference in New Issue
Block a user