Skip to content

Ignore certain files (i.e. all-packages.nix) #462

@Atemu

Description

@Atemu

So my Emacs has been hanging for a few seconds now because I hovered over callPackage in all-packages.nix.

Could nixd have the option to not enable LSP operations inside certain paths or past a certain file size?

Or is that something the editor's LSP client should implement? (joaotavora/eglot#1391)

This also affects nixd however as its memory usage balloons to many dozen GiB when I do this. When attempting to jump to a definition of some thing in all-packages always appears to add a few GiB to nixd' RAM utilisation. Is that expected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions