Skip to content

Commit 448daf5

Browse files
authored
Add files via upload
1 parent 3d1e30d commit 448daf5

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

mcfunc.lang

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
Wed 28 Jun 2017 11:48:43 AM MDT
3+
Wed 28 Jun 2017 12:13:22 PM MDT
44
5-
Minecraft Functions Syntax Highlighting v0.0.7
5+
Minecraft Functions Syntax Highlighting v0.0.8
66
77
Author: nigathan <[email protected]>
88
@@ -14,6 +14,9 @@
1414
FIXED respected with their natural opening and closing.
1515
Example:
1616
summon minecraft:ocelot ~ ~ ~ {Attributes:[{Base:1.0,Name:"generic.movementSpeed"},{Base:8.0,Name:"generic.followRange"}],CustomName:"Lightning McKitty",CustomNameVisible:1}
17+
18+
* Text within nested curly braces does not recieve
19+
highlighting.
1720
1821
GtkSourceView is free software; you can redistribute it and/or
1922
modify it under the terms of the GNU Lesser General Public
@@ -41,7 +44,6 @@
4144
<style id="operator" _name="Operators" map-to="def:operator"/>
4245
<style id="comment" _name="Comment" map-to="def:comment"/>
4346
<style id="error" _name="Error" map-to="def:error"/>
44-
<style id="warning" _name="Warning" map-to="def:warning"/>
4547
<style id="string" _name="String" map-to="def:string"/>
4648
<style id="data" _name="NBT Data Tag" map-to="def:statement"/>
4749
<style id="floating-point" _name="Floating point number" map-to="def:floating-point"/>
@@ -119,11 +121,6 @@
119121
<end>"</end>
120122
</context>
121123

122-
<context id="char" end-at-line-end="true" style-ref="string">
123-
<start>'</start>
124-
<end>'</end>
125-
</context>
126-
127124
<context id="data" end-at-line-end="true" style-ref="data">
128125
<start>{</start>
129126
<end>}$</end>
@@ -132,7 +129,6 @@
132129
<match>\%{name}:</match>
133130
</context>
134131
<context ref="string"/>
135-
<context ref="char"/>
136132
<context ref="def:decimal"/>
137133
<context ref="float"/>
138134
<context style-ref="def:string" extend-parent="false">
@@ -150,13 +146,6 @@
150146
</context>
151147
</include>
152148
</context>
153-
<!--<context id="data" style-ref="def:type">
154-
<match>(?&lt;open&gt;{)(([^{}]+)|(?R))*(?&lt;close&gt;})</match>
155-
<include>
156-
<context sub-pattern="open" style-ref="data"/>
157-
<context sub-pattern="close" style-ref="data"/>
158-
</include>
159-
</context>-->
160149

161150
<context ref="def:decimal"/>
162151

0 commit comments

Comments
 (0)