lsp-lens.nvim icon indicating copy to clipboard operation
lsp-lens.nvim copied to clipboard

Performance problems in files which defined many functions

Open ofseed opened this issue 1 year ago • 4 comments

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.

ofseed avatar Apr 06 '24 10:04 ofseed

disalbe git author will solve this:

        config = {
            enable = true,
            sections = {
                git_authors = false,
            },
        },

cathaysia avatar Apr 19 '24 06:04 cathaysia

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

mortymacs avatar Apr 19 '24 07:04 mortymacs

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:

ofseed avatar Apr 19 '24 07:04 ofseed

sorry. I am missing this when I reading.

cathaysia avatar Apr 19 '24 09:04 cathaysia