RRethy / 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.
2.12k stars 44 forks source link

Add support for a setup-method #155

Closed LukasPietzschmann closed 1 year ago

LukasPietzschmann commented 1 year ago

Typically, the method used to set up a plugin is called setup. This enables e.g. plugin managers like lazy.nvim to automatically call this method.

As vim-illuminates set up method is called configure this unfortunately does not work. This commit adds an additional setup method that behaves exactly like configure

RRethy commented 1 year ago

This issue has been closed and my rational is thorough, https://github.com/RRethy/vim-illuminate/issues/112