Skip to content

langserver won't work for some modules in the Nim compiler #442

Description

@moigagoo

Steps

  1. git clone git@github.com:nim-lang/Nim.git
  2. cd Nim
  3. nimsuggest compiler/nim.nim
  4. outline compiler/nim.nim
  5. Run an editor with nimlangserver enabled. For example, Helix.
  6. Open compiler/nim.nim.
  7. Invoke documentSymbols LSP command (Space s in Helix).

Expectation

In the editor, langserver shows the same symbols as nimsuggest does.

Reality

nimsuggest works, the langserver doesn't.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions