mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
23 lines
502 B
Bash
Executable File
23 lines
502 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
version="0.10.0"
|
|
url="https://github.com/tailwindlabs/tailwindcss-intellisense/releases/download/v$version/vscode-tailwindcss-$version.vsix"
|
|
asset="vscode-tailwindcss.vsix"
|
|
|
|
curl -L "$url" -o "$asset"
|
|
unzip "$asset"
|
|
rm "$asset" \[Content_Types\].xml extension.vsixmanifest
|
|
|
|
chmod +x extension/dist/tailwindServer.js
|
|
|
|
cat <<EOF >tailwindcss-intellisense
|
|
#!/bin/sh
|
|
|
|
DIR=\$(cd \$(dirname \$0); pwd)
|
|
node \$DIR/extension/dist/tailwindServer.js \$*
|
|
EOF
|
|
|
|
chmod +x tailwindcss-intellisense
|