mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-05 23:28:24 +00:00
So the problem is that Nim Language Server won't show procs like \`+\` and \`==\` in the Document Symbols or Workspace Symbols lists. Which is really annoying given they are regular procs just named a bit differently. Initially, I thought the problem was with nim-lang/langserver and opened an issue there: https://github.com/nim-lang/langserver/issues/380 But after an investigation, it turned out the issue is fixed on the nimsuggest side. Strangely enough, calling `outline foo.nim:0:0` in nimsuggest manually does show \`+\` as well as regular procs (e.g. `foo`) but when nimsuggest is invoked from lsp only `foo` would be there. Anyway, with this fix all procs appear on the symbol lists.