update micro configs, add uxntal syntax hilighting
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmEUSZgACgkQO3+8IhRO Y5g0HA/+JUnVPx2nJp1ypJewYWmxB3/dy9L7veXq+g34ttQsQz39pAdcThptL7jL YffYfvJeKfLnzLInexhPpH9VmQQbLYngGNOQ5t8blEaRhxgc4MOsU0f7sI5W/qzZ po38gaRLgf1irMcQtUbhuiCo34IIONNEOTYVFZXtOr2nyA20PURrZRgEz+nkrhki jIZWp8NMzFUNZmIJZ8C/D/b59Lr9BtgFXP1onki5ZysK4XWfziMlmbC483CBnjG4 XDpjES0+kE2T9NTH4xxo9kq7LK3z/GhLlUJBeHkQxK6vcARJbxenEhi/BsB13neS m7mr48Pc2uO+5XYKtWUC1UorkkuJQ0ZgpmDxB62t6wkze9tFXUWkZinDiGieJ9xN eR9HaPMiwb9RjfoDOq8iu1jxJkA5RmfI+SPGigtWRstD2yAywH73Xavv+/kpGGBg nbvkatIz/2ZjJwZ3grIEb2VdnwsyGyNiK2zEDGL3klWSn5WIDeI1vn0q20ZmKv+A JZwu4AiU+fMQsnyAi/9vdC9aOxUX1znF6JX1gAhWtWdHW8Nrzz0f+CfrdwmIfMSD AmM/2S4VV9M6HK2whoGpeBAWda28QALGVEAEaUqgfScoyF1mWwe6BHCNcDUz/4gp Y8RUlnztOZcgdzXb+aOoRIK0EbA53JkP8vlozoBDPw/UbuSAuKU= =v24u -----END PGP SIGNATURE-----
4 files changed,
19 insertions(+),
0 deletions(-)
A
micro/bindings.json
@@ -0,0 +1,8 @@
+{ + "Alt-/": "lua:comment.comment", + "Alt-a": "lua:snippets.Accept", + "Alt-d": "lua:snippets.Cancel", + "Alt-s": "lua:snippets.Insert", + "Alt-w": "lua:snippets.Next", + "CtrlUnderscore": "lua:comment.comment" +}
A
micro/syntax/uxn.yaml
@@ -0,0 +1,11 @@
+filetype: uxntal + +detect: + filename: "\\.tal$" + +rules: + - constant: "[\"#'|$][^\ \n\r]+" + - identifier: "[@,;.&][^\ \n\r]+" + - statement: "\\b(BRK|LIT|NOP|POP|DUP|SWP|OVR|ROT|EQU|NEQ|GTH|LTH|JMP|JCN|JSR|STH|LDZ|STZ|LDR|STR|LDA|STA|DEI|DEO|ADD|SUB|MUL|DIV|AND|ORA|EOR|SFT)[2rk]?\\b" + - comment: "\\([\\S\\s]*\\)" + - symbol: "\\[|\\]"