Last active
April 20, 2021 22:15
-
-
Save ncouture/a6f50333bcd5d7b2347ae1d62de0e1f4 to your computer and use it in GitHub Desktop.
Install LSP Emacs packages on Windows 10 in WSL Debian
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Run this before the install lsp requirements script. | |
# | |
sudo apt-get install -y apt-file bash-completion curl dnsutils elpa-company elpa-company-lsp elpa-dired-quick-sort elpa-flycheck elpa-flycheck-package elpa-flycheck-rtags elpa-helm elpa-helm-ag elpa-hydra elpa-ivy-rtags elpa-jedi elpa-lsp-mode elpa-lua-mode elpa-magit elpa-markdown-mode elpa-markdown-toc elpa-org elpa-pkg-info elpa-systemd emacs25-nox flycheck-doc git gnutls-bin gnutls-doc ivy man silversearcher-ag whois | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
npm i \ | |
vscode-languageclient \ | |
vscode-languageserver \ | |
vscode-languageserver-textdocument \ | |
vscode-languageserver-protocol \ | |
vscode-languageserver-types \ | |
vscode-jsonrpc | |
npm install -g @angular/language-service@next typescript @angular/language-server | |
npm i -g bash-language-server | |
npm install -g dockerfile-language-server-nodejs | |
sudo apt-get install python3 python3-pip | |
pip3 install --user cmake-language-server | |
# | |
# JavaScript | |
# | |
# deno javascript | |
#curl -fsSL https://deno.land/x/install/install.sh | bash | |
# JavaScript/TypeScript (sourcegraph)# | |
npm i -g javascript-typescript-langserver | |
# JavaScript/TypeScript (theia-ide) | |
#npm i -g typescript-language-server; npm i -g typescript | |
# Flow - https://flow.org/en/docs/install/ | |
#yarn add --dev flow-remove-types | |
#yarn run flow-remove-types src/ -- -d lib/ | |
#yarn run flow init | |
#yarn run flow | |
# | |
# add this to your package.json: | |
# | |
# | |
# { | |
# "name": "my-project", | |
# "main": "lib/index.js", | |
# "scripts": { | |
# "build": "flow-remove-types src/ -d lib/", | |
# "prepublish": "yarn run build" | |
# } | |
# } | |
# json | |
npm i -g vscode-json-languageserver | |
# Lua | |
sudo apt-get install -y luarocks | |
luarocks install --server=https://luarocks.org/dev lua-lsp --local | |
# Python | |
pip3 install --user -U jedi-language-server | |
# Vue | |
npm install -g vls | |
# Yaml | |
npm install -g yaml-language-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment