norcalli / nvim-colorizer.lua

The fastest Neovim colorizer.
Other
2.25k stars 117 forks source link

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

Open kutsan opened 3 years ago

kutsan commented 3 years ago

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.

zeertzjq commented 3 years ago

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