I broke up with neovim....vim is my best friend now

This commit is contained in:
LinlyBoi
2023-04-30 08:14:07 +03:00
parent 0d185449c5
commit 4a4a6b1e81
5245 changed files with 468325 additions and 25 deletions

View File

@@ -0,0 +1,18 @@
#!/bin/sh
# Usage
# $ npm_install [EXECUTABLE_NAME] [NPM_NAME]
set -e
# Supporting multiple npm packages(e.g. typescript-language-server uses typescript-language-server and tsserver).
# If package.json exists, skip calling npm init.
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 "$2"
ln -s "./node_modules/.bin/$1" .