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

How to set foreground colorization for all file types?

Open philippludwig opened this issue 3 years ago • 1 comments

So with the information in the README it is not clear to me how to set foreground coloring as default for all filetypes. I tried:

lua require'colorizer'.setup('*'; {mode = 'foreground'};)

But that only yields:

E5107: Error loading lua [string ":lua"]:1: ')' expected near ';'

Removing the '*'; yields "Invalid option for filetype mode".

Sadly the README only shows how to switch the mode for certain filetypes, but I would like this for all.

Any advice?

philippludwig avatar Feb 20 '21 20:02 philippludwig