Friday, February 1, 2013

Re: Syntax highlight not happening on :newtab

On 2013-02-01, Christian Brabandt wrote:
> On Fri, February 1, 2013 05:51, naaj_ila wrote:
> > Hi Gary ,
> >
> > Thanks for the reply.
> > By default, when i used "which vim" . It shows "/usr/<comp_name>/bin/vim"
> > .
> > I didnot like taht version of vim .
> > So in my .cshrc file i used an alias like this
> >
> > "alias vim /usr/<comp_name>/pkgs/vim/7.2/bin/vim" . I liked this version.
> >
> > Is this effecting anyways?
>
> Possibly.
>
> It would help, if you started answering the questions,
> that have been asked. Try to redo the examples given by Gary in
> <20130131162709.GA1644@phoenix> and show us the result.

I thought of another command that might give us more information
than my previous suggestions. Execute the following at your shell
prompt.

vim -N -u NONE -i NONE -V9verbose --cmd 'syntax on' file1.v

Then execute the following within vim.

:sp file2.v

Note any syntax highlighting in either window, then execute

:qa

There will be a file in the current directory named verbose which
will contain a record of the autocommands executed and files
sourced. See ":help 'verbose'" for more on what is in that file.
Open the file and verify that it doesn't contain any sensitive
information (it shouldn't). Then attach it to your next reply to
this list.

If you saw file2.v properly highlighted, then there is something in
one of your configuration files that is causing the problem. In
that case, you could repeat the steps above starting with this
command,

vim -V9verbose2 file1.v

and also attach the file verbose2 to your next reply.

Regards,
Gary

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: