Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion how to avoid GVIM lose syntax highlighting when multi-buffer/ multi-tab editing?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
za  
View profile  
 More options Mar 23 2008, 4:15 am
From: za <dajia...@139.com>
Date: Sun, 23 Mar 2008 16:15:05 +0800
Local: Sun, Mar 23 2008 4:15 am
Subject: Re: how to avoid GVIM lose syntax highlighting when multi-buffer/ multi-tab editing?
Thanks for the comments, I think this will be a long-term question to
find the answer.
the platform is Linux/ubuntu 7.10 desktop with ZH_CN.UTF-8 locale
The gvim is start from console without parameters.

the output of :verbose set syntax is:
  syntax=xhtml
        最近修改于 /usr/share/vim/vim71/syntax/syntax.vim  

when i lost syntax, i am editing HTML file contain javascript

在 2008-03-14五的 16:10 +0100,Nico Weber写道:

> > Did you come upon this kind of trouble?

> > my GVIM lose syntax hightlighting oftenly.
> > especially when I switch to another tab or buffer
> > I checked the plugins i used for filetypes or global, no extras  
> > besides
> > native things there, or maybe I once put in and then forgot?

> > by the way, I always edit .html, php, .c, .java files in same time,  
> > this
> > seems to heavy the problem,  which is really boreing to type  
> > ":syntax on
> > " or even shorthand every minute. :(

> Which platform are you using? Does it also happen if you start vim  
> with `gvim -u NONE -U NONE`? That prevents that your .vimrc file is  
> loaded.

> You can use `:verbose set syntax` to see where 'syntax' was modified  
> the last time. Perhaps this gives you a hint.

> HTH,
> Nico


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.