Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Matej Košík" <5764c029b688c1c0d24a2e97cd764f@gmail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] [ANN] Vim plugin
Date: Tue, 31 Jan 2012 11:21:48 +0000	[thread overview]
Message-ID: <4F27CECC.1010500@gmail.com> (raw)
In-Reply-To: <CAP5QFJn3ozfsmOooQF2bjF1F-3nNydAQ99oEDkFA9nMomGOwXA@mail.gmail.com>

On 01/31/2012 11:08 AM, Adrien wrote:
> On 31/01/2012, oliver <oliver@first.in-berlin.de> wrote:
>> Sometimes I had problems with syntax highlighting in OCaml.
>> The end of comments was not always displayed correctly colored.
>> This was the case, when long and nested comments were used.
>> Then the non-comment section sometimes was displayed as
>> if it were a comment.
>>
>> Someone also knows that problem?
>>
>> Maybe that is another issue that you might be able and interested
>> to fix...?!
> 
> Hello,
> 
> I've had the issue with long comments too but I think it's not
> specific to the ocaml highlighting: if you move around (forcing some
> kind of refresh when doing so), you will probably recover the proper
> highlighting (gg'' might be enough).

I can confirm this.

Probably a related problem is that if you go to an end of some
long-enough function (you can try 300-lines-long function); if you leave
vim; reenter vim (or switch to another buffer and switch back), you will
be viewing again end of the long function but syntax-highlighting will
be "out of sync". As if syntax-highlighter did not go backward enough to
be able to interprete meaning of the tokens that you are viewing.

  parent reply	other threads:[~2012-01-31 11:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <471204069.596560.1327958835658.JavaMail.root@zmbs2.inria.fr>
2012-01-30 21:29 ` Pierre Vittet
2012-01-31  8:27   ` Jonathan Protzenko
2012-01-31 10:02   ` oliver
2012-01-31 11:07     ` Raphael Proust
2012-01-31 11:08     ` Adrien
2012-01-31 11:14       ` Marc Weber
2012-01-31 11:21       ` Matej Košík [this message]
2012-01-31 13:36       ` oliver
2012-01-31 14:11   ` Anthony Tavener
2012-01-31 14:49   ` Markus Mottl
2012-02-08 20:17     ` Pierre Vittet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F27CECC.1010500@gmail.com \
    --to=5764c029b688c1c0d24a2e97cd764f@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox