#!/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" "$@"