Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Alan BRASLAU
On Wed, 2 Mar 2016 11:45:54 +0100 Nicola wrote: > > You don't need scite installed so it's quite efficient as it's the > > method that is used, not the binary (and the context related lexers > > ship with the context distribution). > > That's clear now, thanks! Hans

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-02 20:11:56 +, Aditya Mahajan said: You can change the space before and after display environments using spacebefore and spaceafter keys (see the documentation of filter module[1], which is used by the vim module) Thanks, it works! Nicola

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Aditya Mahajan
On Wed, 2 Mar 2016, Nicola wrote: On 2016-03-02 19:34:00 +, Aditya Mahajan said: On Wed, 2 Mar 2016, Nicola wrote: On 2016-03-01 15:35:07 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: I'm using the latest beta, and I need syntax coloring for SQL (PostgreSQL variant).

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Aditya Mahajan
On Wed, 2 Mar 2016, Nicola wrote: On 2016-03-01 15:35:07 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: > I'm using the latest beta, and I need syntax coloring for SQL > (PostgreSQL variant). According to the wiki, there is no SQL > syntax coloring available for MKIV yet,

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-01 15:35:07 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: I'm using the latest beta, and I need syntax coloring for SQL (PostgreSQL variant). According to the wiki, there is no SQL syntax coloring available for MKIV yet, but I'd be happy to be wrong :) You can use

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-02 14:45:54 +, Aditya Mahajan said: On Wed, 2 Mar 2016, Nicola wrote: On 2016-03-02 02:14:33 +, Aditya Mahajan said: I do not load the default vimrc, because that drastically slows down the module. That makes sense. So, Vim is run with something like `vim -u NONE`, I

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Aditya Mahajan
On Wed, 2 Mar 2016, Nicola wrote: On 2016-03-02 02:14:33 +, Aditya Mahajan said: I do not load the default vimrc, because that drastically slows down the module. That makes sense. So, Vim is run with something like `vim -u NONE`, I guess. Yes. And if the vimrc option is used, then it

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-02 11:06:34 +, Nicola said: On 2016-03-02 02:14:33 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: On 2016-03-01 15:35:07 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: I'm using the latest beta, and I need syntax coloring for SQL (PostgreSQL

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-02 02:14:33 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: On 2016-03-01 15:35:07 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: I'm using the latest beta, and I need syntax coloring for SQL (PostgreSQL variant). According to the wiki, there is no

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-02 09:13:07 +, Hans Hagen said: On 3/2/2016 9:56 AM, Nicola wrote: On 2016-03-01 21:53:10 +, Hans Hagen said: - a relative new mechanism based on the scite lexers that i use (for not it is loaded by \usemodule[scite] ...which does require Scite? (I've tried your example

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Hans Hagen
On 3/2/2016 9:56 AM, Nicola wrote: On 2016-03-01 21:53:10 +, Hans Hagen said: just fyi (as aditya already provided you a solution) there are three highlighters - the build-in one, for which one can define additional variants (there are few defined, some assume proper syntax, some are line

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-01 21:53:10 +, Hans Hagen said: just fyi (as aditya already provided you a solution) there are three highlighters - the build-in one, for which one can define additional variants (there are few defined, some assume proper syntax, some are line based) Just to clarify, this is

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-02 02:14:33 +, Aditya Mahajan said: I do not load the default vimrc, because that drastically slows down the module. That makes sense. So, Vim is run with something like `vim -u NONE`, I guess. Instead, there is an option to create a specific vimrc using:

Re: [NTG-context] Custom syntax highlighting

2016-03-01 Thread Aditya Mahajan
On Tue, 1 Mar 2016, Nicola wrote: On 2016-03-01 15:35:07 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: I'm using the latest beta, and I need syntax coloring for SQL (PostgreSQL variant). According to the wiki, there is no SQL syntax coloring available for MKIV yet, but I'd

Re: [NTG-context] Custom syntax highlighting

2016-03-01 Thread Hans Hagen
On 3/1/2016 4:26 PM, Nicola wrote: I'm using the latest beta, and I need syntax coloring for SQL (PostgreSQL variant). According to the wiki, there is no SQL syntax coloring available for MKIV yet, but I'd be happy to be wrong :) If I am not wrong, I'd like to write my own syntax file, but not

Re: [NTG-context] Custom syntax highlighting

2016-03-01 Thread Nicola
On 2016-03-01 15:35:07 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: I'm using the latest beta, and I need syntax coloring for SQL (PostgreSQL variant). According to the wiki, there is no SQL syntax coloring available for MKIV yet, but I'd be happy to be wrong :) You can use

Re: [NTG-context] Custom syntax highlighting

2016-03-01 Thread Aditya Mahajan
On Tue, 1 Mar 2016, Nicola wrote: I'm using the latest beta, and I need syntax coloring for SQL (PostgreSQL variant). According to the wiki, there is no SQL syntax coloring available for MKIV yet, but I'd be happy to be wrong :) You can use the vim module: