summaryrefslogtreecommitdiffstats
path: root/misc/syntax/aspx.syntax
diff options
context:
space:
mode:
Diffstat (limited to 'misc/syntax/aspx.syntax')
-rw-r--r--misc/syntax/aspx.syntax49
1 files changed, 49 insertions, 0 deletions
diff --git a/misc/syntax/aspx.syntax b/misc/syntax/aspx.syntax
new file mode 100644
index 0000000..f0af865
--- /dev/null
+++ b/misc/syntax/aspx.syntax
@@ -0,0 +1,49 @@
+# ASP.NET syntax highlighting
+#
+# Author: Juan C. Olivares <juancri@juancri.com>
+# http://www.juancri.com
+
+context default
+ keyword "*" lightgray
+ keyword '*' lightgray
+
+ spellcheck
+
+context <!-- --> brightgreen
+ spellcheck
+
+context <! > yellow
+ keyword '+' brightcyan
+ keyword "+" brightcyan
+ keyword \( lightgray
+ keyword \) lightgray
+ keyword \* lightgray
+ keyword \? lightgray
+ keyword \+ lightgray
+ keyword \| lightgray
+ keyword \, lightgray
+ spellcheck
+
+context <% %> brightgreen
+ keyword Application white
+ keyword Assembly white
+ keyword Control white
+ keyword Implements white
+ keyword Import white
+ keyword Inherits white
+ keyword OutputCache white
+ keyword Page white
+ keyword Reference white
+ keyword Register white
+ keyword WebService white
+ keyword \s+\= yellow
+ keyword '*' brightcyan
+ keyword "*" brightcyan
+ spellcheck
+
+context < > white
+ keyword \s+\= yellow
+ keyword "server" brightgreen
+ keyword '*' brightcyan
+ keyword "*" brightcyan
+ spellcheck