Re: different snippets when changing lexer?

From: mitchell <mforal.n....at.gmail.com>
Date: Thu, 4 Jun 2009 19:08:54 -0700 (PDT)

Hi,

> Would it be possible to load modules based on file extensions per
> default and switch to an other one when changing the lexer?

By creating a 'lexer_changed' event this could be done I think; you
might have to disable the 'buffer_switch' event for loading the
appropriate module as I'm not sure which would be run last.
Received on Thu 04 Jun 2009 - 22:08:54 EDT

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