void-packages/srcpkgs/lua-language-server/files/lua-language-server

7 lines
251 B
Bash

#!/usr/bin/env sh
STATE_PATH=${XDG_STATE_HOME:-$HOME/.local/state}/lua-language-server
exec /usr/lib/lua-language-server/bin/lua-language-server /usr/lib/lua-language-server/main.lua \
--logpath="$STATE_PATH/log" --metapath="$STATE_PATH/meta" "$@"