Skip to content

Hover docs and go-to-definition for imported Kernel functions/macros not working in v0.6.0 #49

Open

Description

@gsarwate

Describe the bug
After upgrading to 0.6.0 LSP features like go to definition, lookup documentation stoped working for Elixir standard library. It works fine for other parts of the code. It was working fine with earlier version of Dexter.

To reproduce
Configure Dexter in Neovim using vim.lsp.

Expected behavior
Features mentioned above should work for standard Elixir library

Environment

  • Dexter version (dexter --version): 0.6.0
  • Elixir version (elixir --version): 1.20.0-rc.4
  • Editor and version: NVIM 0.12.1
  • OS: MacOS 26.4.1

Did you try dexter init --force?
Yes

Activity

  1. JesseHerrick commented on Apr 23, 2026

    @JesseHerrick
    Member

    Hi @gsarwate, thanks for the issue! Could you provide a code sample that replicates what you're describing? I am unable to replicate the issue. Could you verify in your logs that Dexter reports finding your Elixir stdlib? I think that might be the issue.

  2. JesseHerrick commented on Apr 23, 2026

    @JesseHerrick
    Member

    To show the latest logs:

    tail ~/.local/state/nvim/lsp.log
    
  3. self-assigned this
    on Apr 23, 2026
  4. gsarwate commented on Apr 24, 2026

    @gsarwate
    Author

    Log from ~/.local/state/nvim/lsp.log:

    START][2026-04-23 17:47:14] LSP logging initiated
    [ERROR][2026-04-23 17:47:14] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"        "2026/04/23 17:47:14 Dexter LSP v0.6.0 starting (root: .../floss/tidewave_phoenix)\n2026/04/23 17:47:14 Initialize: projectRoot=.../floss/tidewave_phoenix debug=false\n"
    [ERROR][2026-04-23 17:47:15] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"        "2026/04/23 17:47:14 Elixir stdlib at: .../.local/share/mise/installs/elixir/1.20.0-rc.4-otp-28/lib\n2026/04/23 17:47:14 Mix binary at: .../.local/share/mise/installs/elixir/1.20.0-rc.4-otp-28/bin/mix\n2026/04/23 17:47:14 Background reindex: 0 files updated (18ms)\n"
    [WARN][2026-04-23 17:47:15] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151     "Language mappings are currently set via initialization options (`userLanguages`). This is deprecated and will be removed in a future release. Please use the `tailwindCSS.includeLanguages` setting instead."
    [ERROR][2026-04-23 17:47:15] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"        "Formatter: no plugins\n"
    [ERROR][2026-04-23 17:47:15] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"        "2026/04/23 17:47:15 Formatter: started persistent process for .../floss/tidewave_phoenix/.formatter.exs (pid 14420)\n"
    

    Example code:

    I tried go to definition from mix.exs file's defmodule and other macros. The mix.exs file is standard one and this particular file is part of tidewave-phoenix project: https://github.com/tidewave-ai/tidewave_phoenix/blob/main/mix.exs

    This worked fine with same Elixir version with previous version (0.5.x) of Dexter.

    My Neovim LSP config:

        cmd = { 'dexter', 'lsp' },
        root_markers = { '.dexter/dexter.db', '.dexter.db', '.git', 'mix.exs' },
        filetypes = { 'elixir', 'eelixir', 'heex' },
        init_options = {
            followDelegates = true, -- jump through defdelegate to the target function
            -- stdlibPath = "",      -- override Elixir stdlib path (auto-detected)
            -- debug = false,        -- verbose logging to stderr (view with :LspLog)
        },
    
  5. JesseHerrick commented on Apr 24, 2026

    @JesseHerrick
    Member

    Thanks @gsarwate, I'm still unable to replicate on my side in the Tidewave codebase. For example, go-to-definition on use Mix.Project in the mix.exs file works fine for me.

    Can you enable debug in your config and send me the logs after attempting go-to-definition again?

  6. gsarwate commented on Apr 24, 2026

    @gsarwate
    Author

    Here are the logs after enabling debug for Dexter:

    [START][2026-04-23 21:05:10] LSP logging initiated
    [ERROR][2026-04-23 21:05:10] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/23 21:05:10 Dexter LSP v0.6.0 starting (root: .../floss/tidewave_phoenix)\n2026/04/23 21:05:10 Initialize: projectRoot=.../floss/tidewave_phoenix debug=true\n"
    [ERROR][2026-04-23 21:05:10] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/23 21:05:10 Elixir stdlib at: .../.local/share/mise/installs/elixir/1.20.0-rc.4-otp-28/lib\n2026/04/23 21:05:10 Mix binary at: .../.local/share/mise/installs/elixir/1.20.0-rc.4-otp-28/bin/mix\n2026/04/23 21:05:10 [debug] Initialize: capabilities: {TextDocumentSync:{OpenClose:true Change:Full WillSave:false WillSaveWaitUntil:false Save:0x7ad541e701e0} CompletionProvider:0x7ad541e5b9a0 HoverProvider:true SignatureHelpProvider:0x7ad541e72780 DeclarationProvider:true DefinitionProvider:true TypeDefinitionProvider:true ImplementationProvider:true ReferencesProvider:true DocumentHighlightProvider:true DocumentSymbolProvider:true CodeActionProvider:true CodeLensProvider:<nil> DocumentLinkProvider:<nil> ColorProvider:<nil> WorkspaceSymbolProvider:true DocumentFormattingProvider:true DocumentRangeFormattingProvider:<nil> DocumentOnTypeFormattingProvider:<nil> RenameProvider:0x7ad541e701e1 FoldingRangeProvider:true SelectionRangeProvider:<nil> ExecuteCommandProvider:<nil> CallHierarchyProvider:true LinkedEditingRangeProvider:<nil> SemanticTokensProvider:<nil> Workspace:<nil> MonikerProvider:<nil> Experimental:<nil>}\n2026/04/23 21:05:10 Background reindex: 0 files updated (36ms)\n"
    [WARN][2026-04-23 21:05:10] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151     "Language mappings are currently set via initialization options (`userLanguages`). This is deprecated and will be removed in a future release. Please use the `tailwindCSS.includeLanguages` setting instead."
    [ERROR][2026-04-23 21:05:10] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "Formatter: no plugins\n"
    [ERROR][2026-04-23 21:05:10] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/23 21:05:10 Formatter: started persistent process for .../floss/tidewave_phoenix/.formatter.exs (pid 26335)\n"
    
  7. gsarwate commented on Apr 24, 2026

    @gsarwate
    Author

    Here are additional details related to Dexter from checkhealth vim.lsp output:

    vim.lsp: Active Clients ~
    
    - dexter (id: 1)
      - Version: 0.6.0
      - Root directory: .../floss/tidewave_phoenix/.dexter
      - Command: { "dexter", "lsp" }
      - Settings: {}
      - Attached buffers: 14
    
    vim.lsp: Enabled Configurations ~
    
    - dexter:
      - capabilities: {
          textDocument = {
            completion = {
              completionItem = {
                commitCharactersSupport = false,
                deprecatedSupport = true,
                documentationFormat = { "markdown", "plaintext" },
                insertReplaceSupport = true,
                insertTextModeSupport = {
                  valueSet = { 1 }
                },
                labelDetailsSupport = true,
                preselectSupport = false,
                resolveSupport = {
                  properties = { "documentation", "detail", "additionalTextEdits", "command", "data" }
                },
                snippetSupport = true,
                tagSupport = {
                  valueSet = { 1 }
                }
              },
              completionList = {
                itemDefaults = { "commitCharacters", "editRange", "insertTextFormat", "insertTextMode", "data" }
              },
              contextSupport = true,
              insertTextMode = 1
            }
          }
        }
      - cmd: { "dexter", "lsp" }
      - filetypes: elixir, eelixir, heex
      - init_options: {
          debug = true,
          followDelegates = true
        }
      - root_markers: { ".dexter/dexter.db", ".dexter.db", ".git", "mix.exs" }
    
  8. JesseHerrick commented on Apr 24, 2026

    @JesseHerrick
    Member

    @gsarwate I don't see any attempt at a go-to-definition in those logs. Could you attempt a few go-to-definitions in the problem areas and send the debug logs?

  9. gsarwate commented on Apr 24, 2026

    @gsarwate
    Author

    Here are logs from a few attempts. The last one shows the success which is going to internal Module (Tidewave.Application). Others failed:

    [START][2026-04-23 21:36:49] LSP logging initiated
    [ERROR][2026-04-23 21:36:49] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/23 21:36:49 Dexter LSP v0.6.0 starting (root: .../floss/tidewave_phoenix)\n2026/04/23 21:36:49 Initialize: projectRoot=.../floss/tidewave_phoenix debug=true\n"
    [ERROR][2026-04-23 21:36:49] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/23 21:36:49 Elixir stdlib at: .../.local/share/mise/installs/elixir/1.20.0-rc.4-otp-28/lib\n2026/04/23 21:36:49 Mix binary at: .../.local/share/mise/installs/elixir/1.20.0-rc.4-otp-28/bin/mix\n2026/04/23 21:36:49 [debug] Initialize: capabilities: {TextDocumentSync:{OpenClose:true Change:Full WillSave:false WillSaveWaitUntil:false Save:0x4852f2afa140} CompletionProvider:0x4852f2ae7960 HoverProvider:true SignatureHelpProvider:0x4852f2afe780 DeclarationProvider:true DefinitionProvider:true TypeDefinitionProvider:true ImplementationProvider:true ReferencesProvider:true DocumentHighlightProvider:true DocumentSymbolProvider:true CodeActionProvider:true CodeLensProvider:<nil> DocumentLinkProvider:<nil> ColorProvider:<nil> WorkspaceSymbolProvider:true DocumentFormattingProvider:true DocumentRangeFormattingProvider:<nil> DocumentOnTypeFormattingProvider:<nil> RenameProvider:0x4852f2afa141 FoldingRangeProvider:true SelectionRangeProvider:<nil> ExecuteCommandProvider:<nil> CallHierarchyProvider:true LinkedEditingRangeProvider:<nil> SemanticTokensProvider:<nil> Workspace:<nil> MonikerProvider:<nil> Experimental:<nil>}\n2026/04/23 21:36:49 Background reindex: 0 files updated (17ms)\n"
    [WARN][2026-04-23 21:36:49] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151     "Language mappings are currently set via initialization options (`userLanguages`). This is deprecated and will be removed in a future release. Please use the `tailwindCSS.includeLanguages` setting instead."                                                                            [ERROR][2026-04-23 21:36:50] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "Formatter: no plugins\n"                                                                                             [ERROR][2026-04-23 21:36:50] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/23 21:36:50 Formatter: started persistent process for .../floss/tidewave_phoenix/.formatter.exs (pid 37426)\n"                                                                                              [ERROR][2026-04-23 21:36:52] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/23 21:36:52 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=0 col=0\n2026/04/23 21:36:52 [debug] Definition: total 129µs\n"
    [ERROR][2026-04-23 21:37:18] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/23 21:37:18 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=1 col=2\n2026/04/23 21:37:18 [debug] Definition: total 31µs\n"
    [ERROR][2026-04-23 21:37:24] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/23 21:37:24 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=7 col=3\n2026/04/23 21:37:24 [debug] Definition: total 76µs\n"                                                   [ERROR][2026-04-23 21:37:38] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/23 21:37:38 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=31 col=29\n"                                                                                                     [ERROR][2026-04-23 21:37:38] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      '2026/04/23 21:37:38 [debug] Definition: expr="Tidewave.Application" module="Tidewave.Application" function=""\n'
    [ERROR][2026-04-23 21:37:38] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      '2026/04/23 21:37:38 [debug] Definition: qualified call resolved "Tidewave.Application" -> "Tidewave.Application"\n'
    [ERROR][2026-04-23 21:37:38] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/23 21:37:38 [debug] Definition: total 2.647ms\n"                                                             [ERROR][2026-04-23 21:38:14] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/23 21:38:14 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=48 col=4\n2026/04/23 21:38:14 [debug] Definition: total 140µs\n"
    
  10. JesseHerrick commented on Apr 24, 2026

    @JesseHerrick
    Member

    @gsarwate you'll need to be more specific with exactly what code is causing you problems, what you're hovering over, and what you expect to happen. A video would be helpful. I'm also running v0.6.0 on Tidewave Phoenix and am not having any issues doing go-to-definition and hover to Elixir standard library modules/functions.

  11. gsarwate commented on Apr 24, 2026

    @gsarwate
    Author

    Here are the details of what works and what does not in the above mentioned mix.exs file.

    When it does not work, I get message "No locations found"

    Go to definition did not work:

    • defmodule
    • use
    • def
    • @docs/0

    Go to definition works:

    • Mix.env()
    • deps()
    • package()
    • Tidewave.Application
    • raise

    Log for all the actions:

    [START][2026-04-24 16:14:36] LSP logging initiated
    [ERROR][2026-04-24 16:14:36] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:14:36 Dexter LSP v0.6.0 starting (root: .../floss/tidewave_phoenix)\n2026/04/24 16:14:36 Initialize: projectRoot=.../floss/tidewave_phoenix debug=true\n"
    [ERROR][2026-04-24 16:14:36] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:14:36 Elixir stdlib at: .../.local/share/mise/installs/elixir/1.20.0-rc.4-otp-28/lib\n2026/04/24 16:14:36 Mix binary at: .../.local/share/mise/installs/elixir/1.20.0-rc.4-otp-28/bin/mix\n2026/04/24 16:14:36 [debug] Initialize: capabilities: {TextDocumentSync:{OpenClose:true Change:Full WillSave:false WillSaveWaitUntil:false Save:0x59189be9c208} CompletionProvider:0x59189be879a0 HoverProvider:true SignatureHelpProvider:0x59189be9e780 DeclarationProvider:true DefinitionProvider:true TypeDefinitionProvider:true ImplementationProvider:true ReferencesProvider:true DocumentHighlightProvider:true DocumentSymbolProvider:true CodeActionProvider:true CodeLensProvider:<nil> DocumentLinkProvider:<nil> ColorProvider:<nil> WorkspaceSymbolProvider:true DocumentFormattingProvider:true DocumentRangeFormattingProvider:<nil> DocumentOnTypeFormattingProvider:<nil> RenameProvider:0x59189be9c209 FoldingRangeProvider:true SelectionRangeProvider:<nil> ExecuteCommandProvider:<nil> CallHierarchyProvider:true LinkedEditingRangeProvider:<nil> SemanticTokensProvider:<nil> Workspace:<nil> MonikerProvider:<nil> Experimental:<nil>}\n2026/04/24 16:14:36 Background reindex: 0 files updated (18ms)\n"
    [WARN][2026-04-24 16:14:36] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151     "Language mappings are currently set via initialization options (`userLanguages`). This is deprecated and will be removed in a future release. Please use the `tailwindCSS.includeLanguages` setting instead."
    [ERROR][2026-04-24 16:14:36] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "Formatter: no plugins\n"
                                                                                                 [ERROR][2026-04-24 16:14:36] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:14:36 Formatter: started persistent process for .../floss/tidewave_phoenix/.formatter.exs (pid 74214)\n"                                                                                              [ERROR][2026-04-24 16:15:39] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:15:39 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=0 col=0\n"                                                                                                       [ERROR][2026-04-24 16:15:39] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:15:39 [debug] Definition: total 1.377ms\n"
    [ERROR][2026-04-24 16:15:54] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:15:54 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=1 col=2\n2026/04/24 16:15:54 [debug] Definition: total 59µs\n"                                                   [ERROR][2026-04-24 16:16:08] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:16:08 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=7 col=2\n2026/04/24 16:16:08 [debug] Definition: total 89µs\n"
    [ERROR][2026-04-24 16:16:21] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:16:21 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=12 col=27\n"                                                                                                     [ERROR][2026-04-24 16:16:21] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      '2026/04/24 16:16:21 [debug] Definition: expr="Mix.env" module="Mix" function="env"\n'
    [ERROR][2026-04-24 16:16:21] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      '2026/04/24 16:16:21 [debug] Definition: qualified call resolved "Mix" -> "Mix"\n'
    [ERROR][2026-04-24 16:16:21] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:16:21 [debug] Definition: found 2 result(s) in store for Mix.env\n"                                    [ERROR][2026-04-24 16:16:21] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:16:21 [debug] Definition: total 4.957ms\n"
    [ERROR][2026-04-24 16:16:27] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:16:27 Dexter LSP v0.6.0 starting (root: .../floss/tidewave_phoenix)\n2026/04/24 16:16:27 Initialize: projectRoot=.../floss/tidewave_phoenix debug=true\n"
    [ERROR][2026-04-24 16:16:27] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:16:27 Elixir stdlib at: .../.local/share/mise/installs/elixir/1.20.0-rc.4-otp-28/lib\n2026/04/24 16:16:27 Mix binary at: .../.local/share/mise/installs/elixir/1.20.0-rc.4-otp-28/bin/mix\n"                     [ERROR][2026-04-24 16:16:27] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:16:27 [debug] Initialize: capabilities: {TextDocumentSync:{OpenClose:true Change:Full WillSave:false WillSaveWaitUntil:false Save:0x3714b73fa200} CompletionProvider:0x3714b7375940 HoverProvider:true SignatureHelpProvider:0x3714b73fe6f0 DeclarationProvider:true DefinitionProvider:true TypeDefinitionProvider:true ImplementationProvider:true ReferencesProvider:true DocumentHighlightProvider:true DocumentSymbolProvider:true CodeActionProvider:true CodeLensProvider:<nil> DocumentLinkProvider:<nil> ColorProvider:<nil> WorkspaceSymbolProvider:true DocumentFormattingProvider:true DocumentRangeFormattingProvider:<nil> DocumentOnTypeFormattingProvider:<nil> RenameProvider:0x3714b73fa201 FoldingRangeProvider:true SelectionRangeProvider:<nil> ExecuteCommandProvider:<nil> CallHierarchyProvider:true LinkedEditingRangeProvider:<nil> SemanticTokensProvider:<nil> Workspace:<nil> MonikerProvider:<nil> Experimental:<nil>}\n"
    [ERROR][2026-04-24 16:16:27] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:16:27 Background reindex: 0 files updated (20ms)\n"
    [ERROR][2026-04-24 16:16:49] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:16:49 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=13 col=14\n"
    [ERROR][2026-04-24 16:16:49] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      '2026/04/24 16:16:49 [debug] Definition: expr="deps" module="" function="deps"\n'
    [ERROR][2026-04-24 16:16:49] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      '2026/04/24 16:16:49 [debug] Definition: resolved bare "deps" -> "Tidewave.MixProject"\n2026/04/24 16:16:49 [debug] Definition: total 12.341ms\n'
    [ERROR][2026-04-24 16:17:07] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      '2026/04/24 16:17:07 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=14 col=15\n2026/04/24 16:17:07 [debug] Definition: expr="package" module="" function="package"\n'
    [ERROR][2026-04-24 16:17:07] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      '2026/04/24 16:17:07 [debug] Definition: resolved bare "package" -> "Tidewave.MixProject"\n'
    [ERROR][2026-04-24 16:17:07] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:17:07 [debug] Definition: total 808µs\n"
    [ERROR][2026-04-24 16:17:34] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      '2026/04/24 16:17:34 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=25 col=15\n2026/04/24 16:17:34 [debug] Definition: expr="docs" module="" function="docs"\n'
    [ERROR][2026-04-24 16:17:34] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:17:34 [debug] Definition: returning variable definition at line 25\n2026/04/24 16:17:34 [debug] Definition: total 712µs\n"
    [ERROR][2026-04-24 16:18:02] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      '2026/04/24 16:18:02 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=31 col=21\n2026/04/24 16:18:02 [debug] Definition: expr="Tidewave.Application" module="Tidewave.Application" function=""\n'
    [ERROR][2026-04-24 16:18:02] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      '2026/04/24 16:18:02 [debug] Definition: qualified call resolved "Tidewave.Application" -> "Tidewave.Application"\n'
    [ERROR][2026-04-24 16:18:02] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:18:02 [debug] Definition: total 2.054ms\n"
    [ERROR][2026-04-24 16:18:36] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      '2026/04/24 16:18:36 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=74 col=11\n2026/04/24 16:18:36 [debug] Definition: expr="raise" module="" function="raise"\n'
    [ERROR][2026-04-24 16:18:36] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      '2026/04/24 16:18:36 [debug] Definition: resolved bare "raise" -> "Kernel"\n'
    [ERROR][2026-04-24 16:18:36] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:18:36 [debug] Definition: found 2 result(s) in store for Kernel.raise\n2026/04/24 16:18:36 [debug] Definition: total 2.016ms\n"
    [ERROR][2026-04-24 16:18:55] ...lar/neovim/0.12.2/share/nvim/runtime/lua/vim/lsp/log.lua:151    "rpc"   "dexter"        "stderr"      "2026/04/24 16:18:55 [debug] Definition request: uri=file://.../floss/tidewave_phoenix/mix.exs line=75 col=8\n2026/04/24 16:18:55 [debug] Definition: total 109µs\n"
    
  12. changed the title [-]After upgrading to 0.6.0 LSP features do not work for standard Elixir libraries[/-] [+]Kernel and SpecialForms hover docs and go-to-definition not working in v0.6.0[/+] on Apr 24, 2026
  13. changed the title [-]Kernel and SpecialForms hover docs and go-to-definition not working in v0.6.0[/-] [+]Kernel hover docs and go-to-definition not working in v0.6.0[/+] on Apr 24, 2026
  14. changed the title [-]Kernel hover docs and go-to-definition not working in v0.6.0[/-] [+]Hover docs and go-to-definition for imported Kernel functions/macros not working in v0.6.0[/+] on Apr 24, 2026
  15. JesseHerrick commented on Apr 25, 2026

    @JesseHerrick
    Member

    Thank you @gsarwate. Now I see what you're talking about. I did not even consider that people would want to be doing go-to-definition on things like defmodule, so I never tested for it. Our previous support for some of these forms was more a consequence of how we parsed things rather than an intentional decision. However, you're right that there is indeed a regression here. This should be a relatively simple fix, so I'll see about adding this back.

  16. added
    enhancementNew feature or request
    and removed
    bugSomething isn't working
    on May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions