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
I have nil enabled as the lsp plugin in my doom configuration for editing nix files. The server starts successfully when I open a nix file to edit; I can run code actions and see diagnostics relating to my code, however there is no completion at all.
As a test, I have created a file ~/foo/test.nix with:
{config,lib,pkgs, ... }:
{foo=builtins}
I then open the file in Emacs, move the cursor to the end of the builtins keyword and insert a .. At that point I would expect completion to appear showing all builtin functions.
I have attached a log of all the IO occuring between Emacs and nil.
The client should send a textDocument/completion request to ask for completions, however no such request is sent to the server according to the logs. Seems there is something going wrong on the client side.
Hello,
I have nil enabled as the lsp plugin in my doom configuration for editing nix files. The server starts successfully when I open a nix file to edit; I can run code actions and see diagnostics relating to my code, however there is no completion at all.
As a test, I have created a file
~/foo/test.nix
with:I then open the file in Emacs, move the cursor to the end of the
builtins
keyword and insert a.
. At that point I would expect completion to appear showing all builtin functions.I have attached a log of all the IO occuring between Emacs and nil.
nil.log
Note that if I open the same file with the same version of nil in VSCode, completion works.
The text was updated successfully, but these errors were encountered: