diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-11 16:14:23 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-11 16:14:23 -0600 |
commit | 7439a4b0e05832e047040ab8bf9ef13abd9288b2 (patch) | |
tree | 3a15e3033fa66b2d947daa14e6807b39f3dc84d1 /kate/data/lua.xml | |
parent | 783973a7d6910fee50d90fcfaf439ae3bbb15b8c (diff) | |
download | tdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.tar.gz tdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.zip |
Update kate synatax highlighting files
This closes Bug 764
Diffstat (limited to 'kate/data/lua.xml')
-rw-r--r-- | kate/data/lua.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kate/data/lua.xml b/kate/data/lua.xml index 6de4c8a17..52442de05 100644 --- a/kate/data/lua.xml +++ b/kate/data/lua.xml @@ -35,7 +35,7 @@ - improved highlighting --> -<language name="Lua" version="1.03" kateversion="2.4" section="Scripts" extensions="*.lua" mimetype="text/x-lua"> +<language name="Lua" version="1.04" indenter="lua" kateversion="2.4" section="Scripts" extensions="*.lua" mimetype="text/x-lua"> <highlighting> <list name="keywords"> <item> and </item> @@ -213,6 +213,10 @@ </list> <contexts> + <context name="Base" attribute="Comment" lineEndContext="Normal"> + <RegExpr attribute="Comment" context="Normal" String="#!.*$" column="0" /> + <RegExpr attribute="Comment" context="Normal" String="^.*$" lookAhead="true" /> + </context> <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> <IncludeRules context="##DoxygenLua" /> <keyword attribute="Error" context="#stay" String="deprecated" /> @@ -297,4 +301,4 @@ </comments> <keywords casesensitive="1" weakDeliminator="." additionalDeliminator="""/> </general> -</language>
\ No newline at end of file +</language> |