vim-colors
v5.2.0
Published
Returns vim color configuration for given inputs
Downloads
81
Maintainers
Readme
vim-colors
This is an npm package so you can use it in your Javascript projects. If you only want to generate a scheme, use vimcolors.org
Install
npm install vim-colors
Usage
This results into a viml
configuration script with a dark background (black) and
a white foreground
const vimColors = require('vim-colors')
const configString = vimColors('my-scheme', {
dark: true,
bg: '000000', // black
fg: 'ffffff', // white
menus: '002244', // navy blue
comments: 'cccccc', // gray
scheme: [
'4169e1',
'ff6347'
// You can add up to 6 colors
]
})
Related
- vimcolors.org: The website that uses this module
License
MIT
Author
| |
| ---------------------------------------------------------------------------- |
| Pablo Varela |