[rkward] rkward/syntax: syntax highlighting: added := to the known assignment operators

m.eik michalke null at kde.org
Wed Aug 29 19:39:39 BST 2018


Git commit 97dd77ed8bc3f681f8a5367e626e0521a3c6b25d by m.eik michalke.
Committed on 29/08/2018 at 18:38.
Pushed by meikm into branch 'master'.

syntax highlighting: added := to the known assignment operators

M  +1    -0    rkward/syntax/r.xml

https://commits.kde.org/rkward/97dd77ed8bc3f681f8a5367e626e0521a3c6b25d

diff --git a/rkward/syntax/r.xml b/rkward/syntax/r.xml
index 2760b30c..8e6d0b18 100644
--- a/rkward/syntax/r.xml
+++ b/rkward/syntax/r.xml
@@ -112,6 +112,7 @@
 			<RegExpr attribute="Assign" context="operator_rhs" String="[<]{1,2}\-"/>
 			<RegExpr attribute="Assign" context="operator_rhs" String="\-[>]{1,2}"/>
 			<RegExpr attribute="Assign" context="operator_rhs" String="=(?!=)"/>
+			<RegExpr attribute="Assign" context="operator_rhs" String=":="/>
 			<RegExpr attribute="Operator" context="operator_rhs" String="(\+|\-|\*{1,2}|/|<=?|>=?|={1,2}|\!=?|\|{1,2}|&{1,2}|:{1,3}|\^|@|\$|~)"/>
 			<RegExpr attribute="Operator" context="operator_rhs" String="%[^%]*%"/>
 



More information about the rkward-tracker mailing list