This repository has been archived on 2022-08-21. You can view files and clone it, but cannot push or open issues or pull requests.
2021-10-18 08:26:55 +02:00
|
|
|
#!/bin/sh
|
2021-10-04 19:42:41 +02:00
|
|
|
|
|
|
|
current_path="$PWD"
|
|
|
|
server_path="${XDG_DATA_HOME:-$HOME/.local/share}/nvim/lsp/tailwindcss"
|
|
|
|
|
|
|
|
[ ! -d "${server_path}" ] && mkdir -p "${server_path}"
|
|
|
|
cd ${server_path}
|
|
|
|
|
|
|
|
[ ! -f package.json ] && npm init -y --scope=lsp || true
|
|
|
|
npm install @tailwindcss/language-server
|
|
|
|
|
|
|
|
cd ${current_path}
|