summaryrefslogtreecommitdiff
path: root/context/data/scite/scite-context-external.properties
diff options
context:
space:
mode:
Diffstat (limited to 'context/data/scite/scite-context-external.properties')
-rw-r--r--context/data/scite/scite-context-external.properties39
1 files changed, 39 insertions, 0 deletions
diff --git a/context/data/scite/scite-context-external.properties b/context/data/scite/scite-context-external.properties
new file mode 100644
index 000000000..7396e8b63
--- /dev/null
+++ b/context/data/scite/scite-context-external.properties
@@ -0,0 +1,39 @@
+# external lpeg lexers
+
+import $(SciteDefaultHome)/lexers/lpeg
+
+lexer.lpeg.home=$(SciteDefaultHome)/lexers
+lexer.lpeg.script=$(lexer.lpeg.home)/scite-context-lexer.lua
+lexer.lpeg.color.theme=$(lexer.lpeg.home)/themes/scite-context-theme.lua
+
+fold.by.indentation=0
+
+if PLAT_WIN
+ lexerpath.*.lpeg=$(lexer.lpeg.home)/LexLPeg.dll
+
+if PLAT_GTK
+ lexerpath.*.lpeg=$(lexer.lpeg.home)/liblexlpeg.so
+
+lexer.*.lpeg=lpeg
+
+lexer.$(file.patterns.metapost)=lpeg_scite-context-lexer-mps
+lexer.$(file.patterns.metafun)=lpeg_scite-context-lexer-mps
+lexer.$(file.patterns.context)=lpeg_scite-context-lexer-tex
+lexer.$(file.patterns.tex)=lpeg_scite-context-lexer-tex
+lexer.$(file.patterns.lua)=lpeg_scite-context-lexer-cld
+lexer.$(file.patterns.xml)=lpeg_xml
+
+comment.block.lpeg_scite-context-lexer-tex=%
+comment.block.at.line.start.lpeg_scite-context-lexer-tex=1
+
+comment.block.lpeg_scite-context-lexer-mps=%
+comment.block.at.line.start.lpeg_scite-context-lexer-mps=1
+
+comment.block.lpeg_scite-context-lexer-cld=--
+comment.block.at.line.start.lpeg_scite-context-lexer-cld=1
+
+comment.block.lpeg_props=#
+comment.block.at.line.start.lpeg_props=1
+
+style.*.34=bold
+style.*.35=bold