nvim-colorizer.lua icon indicating copy to clipboard operation
nvim-colorizer.lua copied to clipboard

Why not include the setup() invocation inside plugin/colorizer.vim?

Open kutsan opened this issue 5 years ago • 1 comments

Is there any reason why not just simply add the line below inside plugin/colorizer.vim than telling people they should invoke setup() function after it's loaded?

lua require'colorizer'.setup()

Configuration options can be set by another config function as well.

kutsan avatar Dec 18 '20 00:12 kutsan

:ColorizerToggle seems to work even without calling setup(), and setup() can fail when termguicolors is false.

zeertzjq avatar Jul 23 '21 23:07 zeertzjq