-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
There is a validation happening on the filename that is avoiding a very simple setup to work in my vim configuration.
Basically the +1 used to index the start of the array at this point is avoiding a further validation to happen and no diagnostic is being sent from the server.
golangci-lint-langserver/handler.go
Line 63 in a91997c
file = path[len(h.rootDir)+1:] |
Validated that removing the +1 my issue is gone. I'm not an expert in LSP definitions, so wondering why that validation is there.
The further validations I mentioned is here
golangci-lint-langserver/handler.go
Line 88 in a91997c
if file != issue.Pos.Filename { |
Because it's continuing, and the first character is being removed no messages are sent back.
Metadata
Metadata
Assignees
Labels
No labels