Purify support consistent color syntax for almost all common languages and file types (base on vim's runtime syntax):
- Html, Html5...
- Css, Scss, Sass, Less
- Json, Xml, Markdown
- Javascript, Typescript (Require typescript-vim's syntax)
- Python, Go
- C, C_++
- All languages that vim support til now
- React (Require vim-jsx-pretty)
By default, without any configuration, purify auto support consistent colors for:
- NERDTree
- fzf.vim
- EasyMotion
- Other plugins that use highlight syntax that define in w18 and highlight-group
If you are using vim-airline:
let g:airline_theme='purify'
If you are using lightline.vim:
let g:lightline = {
\ 'colorscheme': 'purify',
\ }
By default, Purify will support for italic, bold, underline... You can disable them if you want:
let g:purify_bold = 0 " default: 1
let g:purify_italic = 0 " default: 1
let g:purify_underline = 0 " default: 1
let g:purify_undercurl = 0 " default: 1
let g:purify_inverse = 0 " default: 1
Note: Those style formats only working if your terminal, your settings, your fonts support em.
You can overrides purify's colors if there's some colors you don't like:
let g:purify_override_colors = {
\ 'pink': { 'gui': '#FF87FF', 'cterm': '213' },
\ 'green': { 'gui': '#5FD700', 'cterm': '76' }
\ }