Add compiled grammar to top level for use in linguist
This commit is contained in:
3
syntaxes/README.md
Normal file
3
syntaxes/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
This folder contains a compiled version of the textmate grammar for use with systems that need a compiled verison of the grammar in the repository such as linguist. It also contains a patvh for the grammar to make it work with linguist.
|
||||||
|
|
||||||
|
To update the grammar, first build the extension, then run "./updateSyntax".
|
||||||
1416
syntaxes/ql.tmLanguage.json
Normal file
1416
syntaxes/ql.tmLanguage.json
Normal file
File diff suppressed because it is too large
Load Diff
4
syntaxes/updateSyntax
Executable file
4
syntaxes/updateSyntax
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
perl -0777 -pe 's/{\s*"include"\s*:\s*"text.html.markdown#[a-zA-Z_]+\"\s*}\s*,//igs' ../extensions/ql-vscode/out/syntaxes/ql.tmLanguage.json > ./ql.tmLanguage.json
|
||||||
Reference in New Issue
Block a user