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

Low performance on very large files like all-packages.nix on nvim/nvim-lspconfig/nvim-cmp setup #83

@doronbehar

Description

@doronbehar

Hello,

Thanks for creating this program, it has more features in comparison to rnix-lsp and the diagnostic messages are better as well IMO. However, I have to reside to using rnix-lsp never the less, due to performance issues when I edit all-packages.nix, in Neovim, using nvim-lspconfig. If I turn on completion using nvim-cmp, it becomes so slow it's impossible to edit a single line.

Due to my suspicion that this is an issue with one of these neovim plugins, I created a repository with minimal configuration that reproduces the experience:

https://github.com/doronbehar/nvim-issues-reproduce

What's frustrating, is that I can't seem to turn nil off when I edit large files such as all-packages.nix - this is more of a nvim-lspconfig issue I guess, which I have asked about here. In anycase, with rnix-lsp I don't experience this issue so that's what I am doing now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-vimArea: Vim/NeovimC-bugCatagory: bugI-perfIssue: performance

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions