mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 20:46:28 +00:00
Download shellcheck with release-gitter
This commit is contained in:
parent
4c3d005194
commit
12bc08ea40
@ -144,6 +144,18 @@ def install_language_servers(langs: set[Language]):
|
||||
|
||||
|
||||
def install_linters(langs: set[Language]):
|
||||
if Language.BASH in langs:
|
||||
maybe_release_gitter(
|
||||
shellcheck=[
|
||||
"--git-url",
|
||||
"https://github.com/koalaman/shellcheck",
|
||||
"--extract-files", "shellcheck-{version}/shellcheck",
|
||||
"--exec", "mv /tmp/shellcheck-{version}/shellcheck ~/bin/ && chmod +x ~/bin/shellcheck",
|
||||
"shellcheck-{version}.{system}.{arch}.tar.xz",
|
||||
"/tmp/",
|
||||
]
|
||||
)
|
||||
|
||||
if Language.PYTHON in langs:
|
||||
maybe_pip_install("mypy")
|
||||
if Language.CSS in langs:
|
||||
|
Loading…
Reference in New Issue
Block a user