VidocqH / lsp-lens.nvim

Neovim plugin for displaying references and difinition infos upon functions like JB's IDEA.
MIT License
252 stars 15 forks source link

Performance problems in files which defined many functions #40

Open ofseed opened 2 months ago

ofseed commented 2 months ago

Try to enable git_authors and open this file: https://github.com/neovim/neovim/blob/master/src/nvim/ex_docmd.c It will load up your computer.

cathaysia commented 2 months ago

disalbe git author will solve this:

        config = {
            enable = true,
            sections = {
                git_authors = false,
            },
        },
mortymacs commented 2 months ago

You can also use https://github.com/LunarVim/bigfile.nvim plugin to disable it when the file is huge.

ofseed commented 2 months ago

These of course could avoid the load-up. So I only report the issue in such a limited situation, which I already explained:

Try to enable git_authors and open this file:

cathaysia commented 2 months ago

sorry. I am missing this when I reading.