![](https://secure.gravatar.com/avatar/090d700659c29b78036a4502f251f5e3.jpg?s=120&d=mm&r=g)
On 2016-03-02 02:14:33 +0000, Aditya Mahajan said:
On Tue, 1 Mar 2016, Nicola wrote:
On 2016-03-01 15:35:07 +0000, 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 the vim module:
I have a relatively minor problem with linked highlight groups. As far as I can see, the module resolves linked groups so that, for example, if String links to Constant, then the generated code for 'a string' will be something like \SYN[Constant]{'a string'}, rather than \SYN[String]{'a string'}. In my specific case, strings use the sqlString group, which links by default to String, which in turn links to Constant. Is there a way to decouple linked highlight groups, so that, for example, I may distinguish Constant from String? I have already tried to put commands like hi! clear sqlString hi! link String NONE etc... in the vimrc block, to no avail. Nicola