acme9k/scripts/agols

7 lines
155 B
Text
Raw Permalink Normal View History

#!/bin/sh
if [ ! -z "$1" ]; then
workspaces="-workspaces $1"
fi
exec acme-lsp -server '([/\\]go\.mod)|([/\\]go\.sum)|(\.go)$:gopls serve' ${workspaces}