G
Graham Nicholls
I've got vim 6.2:
See below for gory details from vim --version.
I've downloaded the vim-ruby stable files :
rockhsb:/usr/share/vim/vim62 # tar zxvf
~graham/downloads/languages/vim-ruby-stable-2003-08-09.tar.gz
compiler/ruby.vim
ftplugin/ruby.vim
indent/ruby.vim
syntax/ruby.vim
But now when I run gvim, I get various problems:
Error detected while processing /usr/share/vim/vim62/syntax/ruby.vim:
line18:
E492: Not an editor command ^M
line 21:
E15: Invalid expression version < 600 ^M
It looks like the file is a dos file (CR/LF at EOL, instead of just LF), but
when I fix this, I lose the colour highlighting.
BTW, Someone (sorry, I forget who) pointed me at these files saying that I
could use %, but I think he missed my point, which was to be able to press
% on an if , and have vi move to teh corresponding end, rather than simply
jump to the next [ or (, which is not especially useful, IMNSHO. Have I
merely cocked it up, and these files should do this?
Thanks
Graham Nicholls
-------------------------------------------
graham@rockhsb:~/src/hsb> vim --version
VIM - Vi IMproved 6.2 (2003 Jun 1, compiled Apr 6 2004 03:03:03)
Included patches: 1-8, 10-12, 14-18, 20-21, 25-32, 34-35, 37, 40, 43-46,
48-55, 58-59, 61-65, 67-89, 91-98, 100-102, 104-106, 108-114, 117, 119-120,
122, 126, 129, 133, 135-137, 139, 143-155, 157-160, 162-172, 174-176, 178,
180-187, 189-193, 195-198, 200-204, 206-209, 213, 216-224, 228-229,
231-232, 234, 237-242, 244-251, 253-263
Compiled by abuild@alvarez
Big version without GUI. Features included (+) or not (-):
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info
+comments
+cryptv +cscope +dialog_con +diff +digraphs -dnd -ebcdic +emacs_tags +eval
+ex_extra +extra_search +farsi +file_in_path +find_in_path +folding -footer
+fork() +gettext -hangul_input +iconv +insert_expand +jumplist +keymap
+langmap
+libcall +linebreak +lispindent +listcmds +localmap +menu +mksession
+modify_fname +mouse -mouseshape +mouse_dec -mouse_gpm -mouse_jsbterm
+mouse_netterm +mouse_xterm +multi_byte +multi_lang -netbeans_intg
-osfiletype
+path_extra -perl +postscript +printer -python +quickfix +rightleft -ruby
+scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax
+tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse
+textobjects +title -toolbar +user_commands +vertsplit +virtualedit +visual
+visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup
-X11 -xfontset -xim -xsmp -xterm_clipboard -xterm_save
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/etc"
f-b for $VIMRUNTIME: "/usr/share/vim/current"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -march=i586
-mcpu=i686 -fmessage-length=0 -Wall -Wall -pipe -fno-strict-aliasing
Linking:
gcc -L/usr/local/lib -o vim -lncurses -lselinux -lacl -ldl
See below for gory details from vim --version.
I've downloaded the vim-ruby stable files :
rockhsb:/usr/share/vim/vim62 # tar zxvf
~graham/downloads/languages/vim-ruby-stable-2003-08-09.tar.gz
compiler/ruby.vim
ftplugin/ruby.vim
indent/ruby.vim
syntax/ruby.vim
But now when I run gvim, I get various problems:
Error detected while processing /usr/share/vim/vim62/syntax/ruby.vim:
line18:
E492: Not an editor command ^M
line 21:
E15: Invalid expression version < 600 ^M
It looks like the file is a dos file (CR/LF at EOL, instead of just LF), but
when I fix this, I lose the colour highlighting.
BTW, Someone (sorry, I forget who) pointed me at these files saying that I
could use %, but I think he missed my point, which was to be able to press
% on an if , and have vi move to teh corresponding end, rather than simply
jump to the next [ or (, which is not especially useful, IMNSHO. Have I
merely cocked it up, and these files should do this?
Thanks
Graham Nicholls
-------------------------------------------
graham@rockhsb:~/src/hsb> vim --version
VIM - Vi IMproved 6.2 (2003 Jun 1, compiled Apr 6 2004 03:03:03)
Included patches: 1-8, 10-12, 14-18, 20-21, 25-32, 34-35, 37, 40, 43-46,
48-55, 58-59, 61-65, 67-89, 91-98, 100-102, 104-106, 108-114, 117, 119-120,
122, 126, 129, 133, 135-137, 139, 143-155, 157-160, 162-172, 174-176, 178,
180-187, 189-193, 195-198, 200-204, 206-209, 213, 216-224, 228-229,
231-232, 234, 237-242, 244-251, 253-263
Compiled by abuild@alvarez
Big version without GUI. Features included (+) or not (-):
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info
+comments
+cryptv +cscope +dialog_con +diff +digraphs -dnd -ebcdic +emacs_tags +eval
+ex_extra +extra_search +farsi +file_in_path +find_in_path +folding -footer
+fork() +gettext -hangul_input +iconv +insert_expand +jumplist +keymap
+langmap
+libcall +linebreak +lispindent +listcmds +localmap +menu +mksession
+modify_fname +mouse -mouseshape +mouse_dec -mouse_gpm -mouse_jsbterm
+mouse_netterm +mouse_xterm +multi_byte +multi_lang -netbeans_intg
-osfiletype
+path_extra -perl +postscript +printer -python +quickfix +rightleft -ruby
+scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax
+tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse
+textobjects +title -toolbar +user_commands +vertsplit +virtualedit +visual
+visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup
-X11 -xfontset -xim -xsmp -xterm_clipboard -xterm_save
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/etc"
f-b for $VIMRUNTIME: "/usr/share/vim/current"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -march=i586
-mcpu=i686 -fmessage-length=0 -Wall -Wall -pipe -fno-strict-aliasing
Linking:
gcc -L/usr/local/lib -o vim -lncurses -lselinux -lacl -ldl