diff --git a/bin/tmux-edit-helper b/bin/tmux-edit-helper index 7ab7bdd..6d10f98 100755 --- a/bin/tmux-edit-helper +++ b/bin/tmux-edit-helper @@ -1,5 +1,5 @@ #!/usr/bin/env bash -set -xfe -o pipefail +set -fe -o pipefail if [ -n "$1" ]; then _file=$(readlink -f "$@") @@ -15,6 +15,7 @@ fi tmux select-window -t nvim 2>/dev/null || tmux new-window -S -n nvim \ -e "GOPACKAGESDRIVER=$GOPACKAGESDRIVER" \ + -e "GOFLAGS=$GOFLAGS" \ nvim --listen "$XDG_RUNTIME_DIR/nvim.sock" nvim --server "$XDG_RUNTIME_DIR/nvim.sock" --remote "$_file"