Changing the output file name.
This commit is contained in:
parent
ccb67fb744
commit
afacf72892
@ -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')})];
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user