On 13/10/11 07:36, Dayananda wrote:
Could you please point me to the syntax file /*syntax.vim*/
When I do
*:syntax enable : *It is not finding the syntax.vim file, and the
syntax is not getting highlighted.
Could you please help me get the syntax file.
Thanks and Regards,
Dayananda
The files syntax.vim, synload.vim and syncolor.vim are in
$VIMRUNTIME/syntax/ and Vim should find them with no particular action
of yours, if it is correctly installed. Your Vim executable must be
compiled with +syntax in order to display syntax highlighting.
On Windows, installing Steve Hall's "Vim without Cream" by running the
latest gvim-*.exe self-installer found at
http://sourceforge.net/projects/cream/files/ installs not only the
vim.exe and gvim.exe binaries but also the runtime files which go with them.
On Windows, I think that the default Vim 7.3 $VIMRUNTIME is "C:\Program
Files\vim\vim73" but I'm not 100% sure. Executables are installed into
$VIMRUNTIME itself, you may want to add that folder near the start of
your $PATH.
On Unix, after "make" compiles Vim, "make install" installs it. Any
settings defined via environment variables must be common to both (and
to "make config" and "make reconfig" if you use them); see
http://users.skynet.be/antoine.mechelynck/vim/compunix.htm
On Unix, $VIMRUNTIME is by default (for Vim 7.3) /usr/local/vim/vim73/
but that can be modified at compile-time (Vim packages compiled by Linux
distributions usually use /usr/share/ etc. instead of /usr/local/share/
etc.). Executables are installed into $VIMRUNTIME/../../bin/, which is
in the standard $PATH.
See
:help $VIMRUNTIME
:help 'runtimepath'
If you install a precompiled Vim from your Linux distribution, at least
two packages are usually necessary: on openSUSE Linux which I'm using,
the Vim packages are as follows:
vim-data
runtime files, always needed
vim-base
basic files, always needed, and a "tiny" executable
vim
a "normal" executable
vim-enhanced
an executable with Perl, Python, etc. interfaces but no GUI
gvim
a full-featured executable usable as GUI or in a terminal
vim-base-debuginfo
vim-debuginfo
vim-enhanced-debuginfo
gvim-debuginfo
debug symbols, e.g. to debug crashes; from the "debug" repo
You may install all of them if you want. IIRC, on RedHat or Fedora (at
least when I used them), the package names were
vim-common
vim-minimal
vim-enhanced
vim-x11
and the first of these had to be installed together with one or more of
the other three.
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
196. Your computer costs more than your car.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php