You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Diagnostics are not run for the first file because 'textDocument/didOpen' arrived before initial indexing is done.
To Reproduce
Start neovim with an erlang file.
Expected behavior
The file diagnostics requests should be handled during initial indexing. Two possible ways:
Cancel request and give the LSP client a chance to resend the request later
Queue the requests and process them after the initial indexing is done.
Actual behavior
Diagnostics are not run for the first file during the session and a log message is issued:
[2025-01-07T11:17:31.798810+01:00] [info] Initial indexing is not done, skip running diagnostics for imagine_module_name_here [els_diagnostics:run_diagnostics/1 L124] <0.153.0>
Context
erlang_ls version (tag/sha): 1.1.0
Editor used: neovim 0.10.2
LSP client used: neovim, lazy.nvim and nvim-lspconfig
The text was updated successfully, but these errors were encountered:
Describe the bug
Diagnostics are not run for the first file because 'textDocument/didOpen' arrived before initial indexing is done.
To Reproduce
Start neovim with an erlang file.
Expected behavior
The file diagnostics requests should be handled during initial indexing. Two possible ways:
Actual behavior
Diagnostics are not run for the first file during the session and a log message is issued:
Context
erlang_ls
version (tag/sha): 1.1.0The text was updated successfully, but these errors were encountered: