mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-12 17:18:22 -05:00
13 lines
279 B
Plaintext
13 lines
279 B
Plaintext
|
#!/bin/sh -e
|
||
|
|
||
|
current_path="$PWD"
|
||
|
server_path="${XDG_DATA_HOME:-$HOME/.local/share}/nvim/lsp/yamlls"
|
||
|
|
||
|
[ ! -d "${server_path}" ] && mkdir -p "${server_path}"
|
||
|
cd ${server_path}
|
||
|
|
||
|
[ ! -f package.json ] && yarn init -y || true
|
||
|
yarn add yaml-language-server@latest
|
||
|
|
||
|
cd ${current_path}
|