add json lsp
This commit is contained in:
parent
e8e7d28eb9
commit
d27da21cef
@ -2,7 +2,7 @@
|
|||||||
BASE=$(git rev-parse --show-toplevel)
|
BASE=$(git rev-parse --show-toplevel)
|
||||||
LSP_BIN_PATH=$HOME/.local/bin
|
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=""
|
lsp_langs=""
|
||||||
|
|
||||||
choose_langs() {
|
choose_langs() {
|
||||||
@ -103,6 +103,10 @@ install_css() {
|
|||||||
install_node_deps vscode-css-languageserver-bin
|
install_node_deps vscode-css-languageserver-bin
|
||||||
}
|
}
|
||||||
|
|
||||||
|
install_json() {
|
||||||
|
install_node_deps vscode-json-languageserver
|
||||||
|
}
|
||||||
|
|
||||||
install_rust() {
|
install_rust() {
|
||||||
if [[ ! -e ~/.local/bin/rust-analyzer ]]; then
|
if [[ ! -e ~/.local/bin/rust-analyzer ]]; then
|
||||||
mkdir -p ${LSP_BIN_PATH}
|
mkdir -p ${LSP_BIN_PATH}
|
||||||
|
Loading…
Reference in New Issue
Block a user