Skip to content

x/tools/gopls: spurious "is not an identifier" error #33467

Closed
@ainar-g

Description

@ainar-g
  • gopls built from 1d1727260058c6d58ebfdeb982c4657342282355
  • go version go1.11.12
  • vim version 8.0 from the Ubuntu 18.04 repo
  • vim-lsc version ad9d2bd0582419e902bc402545da397634202ed0

When browsing through code, I constantly get:

[lsc:Error] no highlight: /home/me/go/src/example.com/foo.go:254:2 is not an identifier
Span = /home/me/go/src/example.com/foo.go:254:2

I get this whenever the cursor is not on an identifier. This error also makes the cursor invisible, which is annoying.

I am still not sure, if it's a problem with vim-lsc or gopls. I am ready to provide more information to help diagnose the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgegoplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions