fixed contrib/vim
parent
0a8ac653de
commit
12a91e82a3
|
@ -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"
|
||||
} ;
|
||||
|
|
|
@ -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 ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue