On Wednesday 11 October 2006 18:12, Tim Chase wrote:
> >>> I get something like shown in working.png (
> >>> http://kamaraju.googlepages.com/vim_problems ). Now
> >>> inside the gvim session, I did
> >>>
> >>> :mksession! test.vim
> >>>
> >>> After this, exiting gvim and opening test.vim using
> >>>
> >>> gvim -S test.vim
> >>>
> >>> gave me something like shown in not_working.png
>
> Have you tried searching for something?  My first thought was
> that it looked like you had 'hls' set, had searched for something
> like
>
>       ^\_s*\S

I has hls set. But I did not search for any string like that.

Also while debugging this problem, I found another interesting thing. Dont 
know if this is useful or not, But still...

Say if I open any file other than a .f90 file

gvim test.txt

If inside this gvim session, I do

:sp helloworld.f90
or
:vs helloworld.f90

even then the syntax highlighting is not working properly. However if I just 
open helloworld.f90 directly then it works fine.

raju

>
> and then done ":noh" which wouldn't get saved in the session.
> When restoring the session (or with the right options in your
> viminfo), the last pattern should get restored, and if hls is
> enabled, it would search for that...
>
> Just another idea,
>
> -tim

-- 
http://groups.google.com/group/ask-anything/about

Reply via email to