Files
dotfiles/dot_vim/plugged/vim-lsp-settings/installer/install-graphql-language-server.cmd

16 lines
253 B
Batchfile

@echo off
if not exist package.json (
call npm init -y
echo {"name":""}>package.json
)
call npm install "graphql-language-service-cli"
echo @echo off ^
call %%~dp0\node_modules\.bin\graphql-lsp %%* ^
> graphql-language-server.cmd