Changing the output file name.

This commit is contained in:
Matt Swensen 2016-11-29 06:29:54 -07:00
parent ccb67fb744
commit afacf72892
2 changed files with 7 additions and 3 deletions

@ -10,4 +10,8 @@ Then pass `themer-vim` as a `-t` (`--template`) arg to `themer`:
themer -c my-colors.js -t themer-vim -o gen
`themer-vim` will generate a `themer-vim.vim` file, which you should copy (or symlink) to `~/.vim/colors/`.
`themer-vim` will generate a `ThemerVim.vim` file, which you should copy (or symlink) to `~/.vim/colors/`.
Finally, set the colorscheme in your .vimrc:
colo ThemerVim

@ -35,7 +35,7 @@ export const render = (colors, options) => {
highlight clear
syntax reset
let g:colors_name = "themer-vim"
let g:colors_name = "ThemerVim"
""""""""""
" Normal "
@ -140,6 +140,6 @@ export const render = (colors, options) => {
unlet s:shade0 s:shade1 s:shade2 s:shade3 s:shade4 s:shade5 s:shade6 s:shade7 s:accent0 s:accent1 s:accent2 s:accent3 s:accent4 s:accent5 s:accent6 s:accent7
`;
return [Promise.resolve({name: 'themer-vim.vim', contents: new Buffer(theme, 'utf-8')})];
return [Promise.resolve({name: 'ThemerVim.vim', contents: new Buffer(theme, 'utf-8')})];
};