diff --git a/bin/wezterm-edit-helper b/bin/wezterm-edit-helper index 457ba05..714b3d2 100755 --- a/bin/wezterm-edit-helper +++ b/bin/wezterm-edit-helper @@ -20,10 +20,6 @@ function _nvim_setenv() { nvim --server "$_nvim_socket" --remote-expr "execute(\"let \$${1} = \\\"${2}\\\"\")" 2>&1 >/dev/null } - -nvim --server "$_nvim_socket" --remote-expr "42" 2>&1 >/dev/null || - (rm -f "$_nvim_socket" && wezterm cli spawn --cwd "${PWD}" nvim --listen "$_nvim_socket" && sleep 0.5) - _nvim_setenv BUILD_COMMAND "$BUILD_COMMAND" _nvim_setenv GOPACKAGESDRIVER "$GOPACKAGESDRIVER" _nvim_setenv GOFLAGS "$GOFLAGS"