improve tmlanguage.js

This commit is contained in:
nightwing 2014-10-09 23:05:48 +04:00
commit ed40c1f51f
12 changed files with 898 additions and 175 deletions

View file

@ -184,7 +184,7 @@ function jsFileList(path, filter) {
filter = /_test/;
return fs.readdirSync(path).map(function(x) {
if (x.slice(-3) == ".js" && !filter.test(x) && !/\s/.test(x))
if (x.slice(-3) == ".js" && !filter.test(x) && !/\s|BASE|(\b|_)dummy(\b|_)/.test(x))
return x.slice(0, -3);
}).filter(Boolean);
}