Open philippludwig opened 3 years ago
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".
'*';
"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?
The first argument to setup is filetype specific configuration, second is default config.
setup
require('colorizer').setup(nil, {names=false, mode='foreground'})
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:
But that only yields:
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?