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.properties23
1 files changed, 8 insertions, 15 deletions
diff --git a/context/data/scite/scite-context-external.properties b/context/data/scite/scite-context-external.properties
index 5c7149341..11326756c 100644
--- a/context/data/scite/scite-context-external.properties
+++ b/context/data/scite/scite-context-external.properties
@@ -1,26 +1,15 @@
# external lpeg lexers
-import $(SciteDefaultHome)/lexers/lpeg
-
lexer.lpeg.home=$(SciteDefaultHome)/lexers
-# # pre 3.03:
-#
-#~ lexer.lpeg.script=$(lexer.lpeg.home)/scite-context-lexer.lua
-#
-# # post 3.03:
-#
-lexer.lpeg.script=$(lexer.lpeg.home)/lexer.lua
-#
-# where we load the extensions in the lexers themselves.
-
-lexer.lpeg.color.theme=$(lexer.lpeg.home)/themes/scite-context-theme.lua
+lexer.lpeg.color.theme=scite-context-theme
# alas, only a few properties are passed (only indentation)
fold.by.parsing=1
fold.by.indentation=0
fold.by.line=0
+fold.line.comments=0
if PLAT_WIN
lexerpath.*.lpeg=$(lexer.lpeg.home)/LexLPeg.dll
@@ -28,6 +17,10 @@ if PLAT_WIN
if PLAT_GTK
lexerpath.*.lpeg=$(lexer.lpeg.home)/liblexlpeg.so
+# comment this one if you get crashes or side effects
+#
+# import lexers/lpeg
+
lexer.*.lpeg=lpeg
file.patterns.cweb=*.h;*.c;*.w;*.hh;*.cc;*.ww;*.hpp;*.cpp;*.hxx;*.cxx;
@@ -50,8 +43,8 @@ lexer.$(file.patterns.cpp)=lpeg_scite-context-lexer-web
# make scite even more interesting. Add to that including lpeg and the lpeg
# lexer and thereby providing an interface to properties.
-# lexer.errorlist=lpeg_scite-context-lexer-txt
-# lexer.output=lpeg_scite-context-lexer-txt
+#~ lexer.errorlist=lpeg_scite-context-lexer-txt
+#~ lexer.output=lpeg_scite-context-lexer-txt
comment.block.lpeg_scite-context-lexer-tex=%
comment.block.at.line.start.lpeg_scite-context-lexer-tex=1