all repos — acme @ e7e3183672f6befcc0979994b29f9bc4ecf2785a

fork of the acme editor from plan9port - keybinds, tweaks, config.h, etc

scripts/acsls (raw)

1
2
3
4
5
6
7
8
9
10
11
12
#!/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}