I broke up with neovim....vim is my best friend now
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ ! -f package.json ]; then
|
||||
# Avoid the problem of not being able to install the same package as name in package.json.
|
||||
# Create an empty package.json.
|
||||
npm init -y
|
||||
echo '{"name": ""}' >package.json
|
||||
fi
|
||||
|
||||
npm install "@prisma/engines"
|
||||
_DIR="$PWD"
|
||||
cd "node_modules/@prisma/engines"
|
||||
PRISMA_FMT_BASENAME="$(find . -name "prisma-fmt*")"
|
||||
test -x "$PRISMA_FMT_BASENAME"
|
||||
cd "$_DIR"
|
||||
|
||||
ln -s "./node_modules/@prisma/engines/${PRISMA_FMT_BASENAME}" ./prisma-fmt
|
||||
"$(dirname "$0")/npm_install.sh" prisma-language-server @prisma/language-server
|
||||
Reference in New Issue
Block a user