factor/basis/editors/vim/generate-syntax/generate-syntax.factor

11 lines
321 B
Factor
Raw Normal View History

! Generate a new factor.vim file for syntax highlighting
USING: html.templates html.templates.fhtml io.files io.pathnames ;
IN: editors.vim.generate-syntax
: generate-vim-syntax ( -- )
2008-04-15 07:10:08 -04:00
"misc/factor.vim.fgen" resource-path <fhtml>
"misc/factor.vim" resource-path
template-convert ;
MAIN: generate-vim-syntax