Closed GoogleCodeExporter closed 9 years ago
1. Open nppscripting\includes\zen coding.js
2. replace
var know_syntaxes = {
'html': 1,
'css': 1,
'xml': 1,
'xml': 1,
'haml': 1
};
with
var know_syntaxes = {
'html': 1,
'css': 1,
'xml': 1,
'xsl': 1,
'haml': 1
};
and
if (!(syntax in know_syntaxes)) {
syntax = 'html';
}
with
if (syntax == 'xml' && /\.xsl(t)?$/i.test(context.files[context.file]))
syntax = 'xsl';
if (!(syntax in know_syntaxes)) {
syntax = 'html';
}
3. restart Npp
Or try attached file
Original comment by eugen.kr...@gmail.com
on 11 May 2010 at 8:54
Attachments:
@eugen.kremer - this works beautifully too.
Original comment by ian.c.ch...@gmail.com
on 18 Jun 2010 at 12:00
Original comment by serge....@gmail.com
on 1 Feb 2011 at 10:56
FIxed in v0.7
Original comment by serge....@gmail.com
on 10 Mar 2011 at 9:28
Original issue reported on code.google.com by
ian.c.ch...@gmail.com
on 4 May 2010 at 2:08