fixed contrib/vim

erg 2006-08-03 23:12:56 +00:00
parent 0a8ac653de
commit 12a91e82a3
2 changed files with 5 additions and 11 deletions

View File

@ -1,13 +1,4 @@
REQUIRES: embedded process ;
USING: embedded io ;
! Generate vim syntax highlighting rules
"contrib/vim" cd
"factor.vim.fgen" "factor.vim" embedded-convert
! vim word, similar to the jedit word
PROVIDE: vim {
"vim.factor"
} ;

View File

@ -1,6 +1,5 @@
IN: vim
USING: definitions io kernel parser prettyprint process
sequences ;
USING: embedded io kernel parser prettyprint process sequences ;
: file-modified stat fourth ;
@ -12,3 +11,7 @@ sequences ;
dup where first2 >r ?resource-path [ file-modified ] keep r>
dupd vim-line/file file-modified = [ drop ] [ reload ] if ;
: vim-syntax
#! Generate a new factor.vim file for syntax highlighting
"contrib/vim/factor.vim.fgen" "factor.vim" embedded-convert ;