add json lsp

This commit is contained in:
siduck76 2021-05-09 13:49:16 +05:30
parent e8e7d28eb9
commit d27da21cef
1 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,7 @@
BASE=$(git rev-parse --show-toplevel)
LSP_BIN_PATH=$HOME/.local/bin
default_lsp_langs="css html ts rust python bash"
default_lsp_langs="css html ts rust python bash json"
lsp_langs=""
choose_langs() {
@ -103,6 +103,10 @@ install_css() {
install_node_deps vscode-css-languageserver-bin
}
install_json() {
install_node_deps vscode-json-languageserver
}
install_rust() {
if [[ ! -e ~/.local/bin/rust-analyzer ]]; then
mkdir -p ${LSP_BIN_PATH}