The GVIM i'm using is compiled by the system admin.
The syntax directory (common to all users)  the GVIM
executable points does not allow me to write.
I have downloaded a new syntax file (vera.vim) and
placed it in my $HOME/.vim/syntax and modified the
filetype.vim (in $HOME/.vim/)appropriate file
extensions recognize this syntax file. (i.e.   au
BufNewFile,BufRead *.vr,*.vri,*.vrh set ft=vera)
I source the filetype.vim and set syntax on in my
.gvimrc
Now when I try to open somefile.vr it doesn't 'syntax
highlight' the file . but if i check with :set
syntax=<tab> it gives me vera .
(If I source the vera.vim file in .gvimrc it give the
syntax highlighting.)
I tried to set the $VIMRUNTIME to $HOME/.vim but was
of no avail.

How do I get GVIM to read these syntax files ?

:version gives the following output
:version
VIM - Vi IMproved 5.7 (2000 Jun 24, compiled Mar 15
2001 16:09:17)
Compiled by [EMAIL PROTECTED], with (+) or without (-):
+autocmd +browse +builtin_terms +byte_offset +cindent
+cmdline_compl +cmdline_info
+comments +cryptv -cscope +dialog_con_gui +digraphs
-emacs_tags +eval +ex_extra
+extra_search -farsi +file_in_path -osfiletype
+find_in_path +fork() +GUI_Motif
-hangul_input +insert_expand -langmap +linebreak
+lispindent +menu +mksession
+modify_fname +mouse -mouse_dec -mouse_gpm
-mouse_netterm +mouse_xterm -multi_byte
-perl -python +quickfix -rightleft +scrollbind
+smartindent -sniff +statusline +syntax
+tag_binary +tag_old_static -tag_any_white -tcl
+terminfo +textobjects +title
+user_commands +visualextra +viminfo +wildignore
+wildmenu +writebackup +X11 -xfontset
-xim +xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM:
"/xxx/xxx/xxxxx/pub/vim/vim-5.7/share/vim"
Compilation:
cc -c -I. -Iproto -DHAVE_CONFIG_H  -DUSE_GUI_MOTIF 
-I/usr/dt/include  -g
Linking: cc  -o vim -L/lib   -lXext -lXm -lXt  -lXt
-lX11  -lcurses


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

Reply via email to