G
Guoliang Cao
Hi,
I just downloaded the latest vim 6.2 and vim-ruby snapshot 2003-10-12 and
copied ftplugin, indent, syntax to directory of vim executable. I then use
vim to open a ruby file and see syntax highlight working. Then I use "gq=g"
to format the whole file. It scrolls to the end of the file but nothing is
indented. Please let me know what I did wrong.
My .vimrc :
set autoindent number ruler tabstop=2
set nocompatible " We're running Vim, not Vi!
syntax on " Enable syntax highlighting
filetype on " Enable fieltype detection
filetype indent on " Enable filetype-specific indenting
filetype plugin on " Enable filetype-specific plugins
Thanks,
Cao
I just downloaded the latest vim 6.2 and vim-ruby snapshot 2003-10-12 and
copied ftplugin, indent, syntax to directory of vim executable. I then use
vim to open a ruby file and see syntax highlight working. Then I use "gq=g"
to format the whole file. It scrolls to the end of the file but nothing is
indented. Please let me know what I did wrong.
My .vimrc :
set autoindent number ruler tabstop=2
set nocompatible " We're running Vim, not Vi!
syntax on " Enable syntax highlighting
filetype on " Enable fieltype detection
filetype indent on " Enable filetype-specific indenting
filetype plugin on " Enable filetype-specific plugins
Thanks,
Cao