Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Please consider avoiding global variables #22

@litoj

Description

@litoj

It is one thing to write code considered as bad practise, but my reason is performance - any unnecessary uses of global variables throught all kinds of plugins add up and can cause unnecessary slowdown due to longer time to access globals like vim and other, actually often used globals.

The block https://github.com/windwp/nvim-autopairs/blob/masterrfer/lua/syntax-tree-surfer/init.lua#L329
seems unnecessary - at least a lazy load should be no problem - like an option for dot repeat if not a different way to enable dot repeat altogether.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions