Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neovim nightly (since a27419f3 Nov 4, 2024) disallows set noshellslash #3690

Closed
happy-dude opened this issue Nov 11, 2024 · 0 comments · Fixed by bewuethr/dotfiles#304 or z0rc/dotfiles#5791 · May be fixed by peterbraden/dotfiles#59
Closed

Comments

@happy-dude
Copy link
Contributor

What did you do? (required: The issue will be closed when not provided)

  • Update / install to neovim nightly release with commit a27419f3 or after (builds from Nov 04 2024 and beyond).
  • Use vim-go plugin
  • Following error will appear:
Error detected while processing CursorHold Autocommands for "<buffer=1>"..function go#lsp#DidChang
e[13]..go#lsp#DidOpen[10]..16[2]..<SNR>187_newlsp[474]..go#path#CheckBinPath[8]..go#path#BinPath[8
]..go#util#env[7]..go#util#gobin[1]..<SNR>138_exec[2]..go#util#Shelljoin[27]..CursorHold Autocomma
nds for "<buffer=1>"..function go#lsp#DidChange[13]..go#lsp#DidOpen[10]..16[2]..<SNR>187_newlsp[47
4]..go#path#CheckBinPath[8]..go#path#BinPath[8]..go#util#env[7]..go#util#gobin[1]..<SNR>138_exec[2
]..go#util#Shelljoin:
line   17:
E519: Option not supported: noshellslash

What did you expect to happen?

Opening a file with vim-go plugin loaded occurs successfully without error.

What happened instead?

Error in vim-go util.vim shelljoin function:

set noshellslash

Configuration (MUST fill this out):

vim-go version: via git modules @ ac1fb96

vimrc you used to reproduce: (not included, will just submit a PR)

Vim version (first three lines from :version):

❯ nvim --version
NVIM v0.11.0-dev-1120+g7d8dd8234a-Homebrew
Build type: Release
LuaJIT 2.1.1727870382
Run "nvim -V1 -v" for more info

Go version (go version):

❯ go version
go version go1.23.2 darwin/arm64

Go environment

go env Output:
```
❯ go env
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/stanleychan/Library/Caches/go-build'
GOENV='/Users/stanleychan/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/stanleychan/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/stanleychan/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.23.2'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/Users/stanleychan/Library/Application Support/go/telemetry'
GCCGO='gccgo'
GOARM64='v8.0'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/qx/ysy1l40x19q7jpj811gpyjfw0000gn/T/go-build3565119914=/tmp/go-build -gno-record-gcc-switches -fno-common'
```

gopls version

gopls version Output:
```
❯ gopls version
golang.org/x/tools/gopls v0.16.2
```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant