Re: Suggestions & Bug?

From: mitchell <mforal.n....at.gmail.com>
Date: Tue, 27 Oct 2009 12:56:58 -0700 (PDT)

Hi,

> So everything seems to be working as advertised, however I noticed
> that when a buffer doesn't have a mime-type (or an unrecognized one),
> instead of using the "nothing" lexer style it uses the "white_space"
> lexer style. For the moment I solved my problem by making a barebones
> lexer for txt, conf & log files. But I think the issue is probably a
> bug.

In lexers/lexer.lua, edit the 'types' and 'styles' tables, switching
the numbers for 'whitespace' and 'default'. I don't remember why
default isn't first, but let me know if there are any side effects.
This will be in scite-tools SVN (where lexers are housed) soon.
Received on Tue 27 Oct 2009 - 15:56:58 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:38:34 EST