Skip to content

Commit

Permalink
Make the destination more flexible; so "cd editor && make vim-install…
Browse files Browse the repository at this point in the history
… VIM_DIR=/usr/share/vim/vimfiles" for example will work correct; so the VIM_DIR option is possible

git-svn-id: https://svn.parrot.org/parrot/trunk@48027 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
gerd committed Jul 7, 2010
1 parent 735de98 commit d657970
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/gen/makefiles/editor.in
@@ -1,4 +1,4 @@
# Copyright (C) 2005-2009, Parrot Foundation.
# Copyright (C) 2005-2010, Parrot Foundation.
# $Id$

#IF(win32):VIM_DIR = $(USERPROFILE)/vimfiles
Expand Down Expand Up @@ -49,6 +49,7 @@ vim-install: pir.vim skeleton.pir
$(CP) pmc.vim "$(VIM_SYN_DIR)"
$(MKPATH) "$(VIM_FT_DIR)"
$(CP) filetype_parrot.vim "$(VIM_FT_DIR)/parrot.vim"
echo "au BufNewFile *.pir 0r $(VIM_DIR)/skeleton.pir" >> "$(VIM_FT_DIR)/parrot.vim"
$(MKPATH) "$(VIM_IN_DIR)"
$(CP) indent_pir.vim "$(VIM_IN_DIR)/pir.vim"

Expand Down
1 change: 0 additions & 1 deletion editor/filetype_parrot.vim
@@ -1,4 +1,3 @@
au BufNewFile,BufRead *.pmc set ft=pmc cindent
au BufNewFile,BufRead *.pasm set ft=pasm ai sw=4
au BufNewFile,BufRead *.pir set ft=pir ai sw=4
au BufNewFile *.pir 0r ~/.vim/skeleton.pir

0 comments on commit d657970

Please sign in to comment.