From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q0VB81kS012812 for ; Tue, 31 Jan 2012 12:08:01 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArMBAPXKJ0/RVdK2kWdsb2JhbABDhQupTAgiAQEBAQkJDQcSJ4FyAQEBBBICDx0BGx0BAwwGBQsNAgImAgIiAREBBQEcBhMih2ObVQqLI0iCcIUJP4hxAgULgSSJSw4CAgIIAQEEDQQGAQsBCAUDAwkFDAIJA4QbC4JCgRYElR6OFj2Dfw X-IronPort-AV: E=Sophos;i="4.71,595,1320620400"; d="scan'208";a="129525912" Received: from mail-iy0-f182.google.com ([209.85.210.182]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 31 Jan 2012 12:07:55 +0100 Received: by iaeo4 with SMTP id o4so11780878iae.27 for ; Tue, 31 Jan 2012 03:07:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3+lDpakw+SfAW5xtKltYiRr+pydQk2MTahKIwcXiO78=; b=COwHdEwf+OYErIqhGKcTPt7lnpviT2lgbwNMUbxnO+FhWvJpHTXIteiYoWXiWB1ZSj hC75aTDvcsswSeKpIcvPR7QQ73zN1nAt8QKZkzvYmlzp1rUFNi7x/HeUF5kk/PY57WU9 PZ2X4IveWxW0l82857lp3UtE8mB6JXIEWDFuM= MIME-Version: 1.0 Received: by 10.42.161.70 with SMTP id s6mr16770492icx.48.1328008073285; Tue, 31 Jan 2012 03:07:53 -0800 (PST) Received: by 10.43.48.196 with HTTP; Tue, 31 Jan 2012 03:07:53 -0800 (PST) In-Reply-To: <20120131100224.GA4413@siouxsie> References: <471204069.596560.1327958835658.JavaMail.root@zmbs2.inria.fr> <1898845183.596573.1327958954685.JavaMail.root@zmbs2.inria.fr> <20120131100224.GA4413@siouxsie> Date: Tue, 31 Jan 2012 11:07:53 +0000 Message-ID: From: Raphael Proust To: oliver Cc: Pierre Vittet , caml-list@inria.fr Content-Type: text/plain; charset=UTF-8 Subject: Re: [Caml-list] [ANN] Vim plugin On Tue, Jan 31, 2012 at 10:02 AM, oliver 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...?! http://vimdoc.sourceforge.net/htmldoc/syntax.html#:syn-sync-minlines might be the setting you are looking for. Also note that some features are not supported by the ocaml vim files (e.g. first class modules). Coloring (and indenting) will be incorrect around these constructs. Cheers, -- _______ Raphael