acme9k/scripts/acsls

12 lines
232 B
Text
Raw Permalink Normal View History

#!/bin/sh
if [ -z "$1" ]; then
:
elif [ -z "$2" ]; then
workspaces="-workspaces $1"
else
workspaces="-workspaces $2"
sln="--solution $1"
fi
exec acme-lsp --server "(\.cs)|(\.sln)|(\.csproj)$:csharp-ls ${sln}" ${workspaces}