这是indexloc提供的服务,不要输入任何密码
Skip to content

Completion in Doom Emacs doesn't work #117

@hexagonal-sun

Description

@hexagonal-sun

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:

{ 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.

nil.log

Note that if I open the same file with the same version of nil in VSCode, completion works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions