Our great sponsors
-
vim-illuminate
illuminate.vim - (Neo)Vim plugin for automatically highlighting other uses of the word under the cursor using either LSP, Tree-sitter, or regex matching.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Definitely remove it, as it is an anti-pattern that gained popularity because individuals often copy content without careful consideration. As far as I know, it primarily originated from this Github post, which was created during the early days of Lua's growing popularity in Neovim as an attempt to reinvent the wheel.
You can add a prefix that's specific to your plugin, or just have a single field specific to your plugin's name which takes a table. Alternatively, in one of my plugins I use .configure strictly for configuration, which doesn't init the plugin, see https://github.com/RRethy/vim-illuminate/issues/112. The majority of configuration shouldn't be needed though if you have strong defaults, just look at tpope plugins.