norcalli.nvim-colorizer.lua/plugin/colorizer.vim
Ashkan Kiani 962453e7b7 Update with fully qualified settings and commands.
- Add command documentation and new commands.
- Add new settings which have a better naming scheme.
- Fix reloading settings and add a command to detach highlighter.
- Fix #RGB pattern like for #define where it will highlight the #def
part.
2019-10-18 09:25:25 -07:00

10 lines
311 B
VimL

if exists('g:loaded_colorizer')
finish
endif
command! ColorizerAttachToBuffer lua require'colorizer'.attach_to_buffer(0)
command! ColorizerDetachFromBuffer lua require'colorizer'.detach_from_buffer(0)
command! ColorizerReloadAllBuffers lua require'colorizer'.reload_all_buffers()
let g:loaded_colorizer = 1