-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-externals.sh
executable file
·47 lines (39 loc) · 1.08 KB
/
install-externals.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env bash
# Language Servers
npm install -g \
@prisma/language-server \
@tailwindcss/language-server \
bash-language-server \
diagnostic-languageserver \
dockerfile-language-server-nodejs \
intelephense \
pyright \
sql-language-server \
svelte-language-server \
typescript-language-server \
vim-language-server \
vscode-langservers-extracted \
yaml-language-server
# PHP Language Server - https://intelephense.com/faq.html
# - put license key in ~/intelephense/licence.txt
# Install Lua Language Server
# https://github.com/LuaLS/lua-language-server
# Install Vale Markdown Linter
tmpdir=$(mktemp -d)
wget https://github.com/errata-ai/vale/releases/download/v3.6.1/vale_3.6.1_Linux_64-bit.tar.gz -O "$tmpdir/vale.tar.gz" && \
tar -xvf "$tmpdir/vale.tar.gz" -C "$tmpdir" && \
sudo mv "$tmpdir/vale" /usr/local/bin/vale && \
rm -rf "$tmpdir"
# Install Lua Linters
sudo luarocks install \
luacheck
cargo install stylua
# Install Python Linters
pip install \
black \
isort \
pylint \
pyright \
pylsp-mypy # type checking
# Install Shellcheck
sudo apt install shellcheck