~rabbits/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] (uxntal.ctags) Add (Universal) ctags definition

Details
Message ID
<20231106200948.73999-1-remko@el-tramo.be>
DKIM signature
missing
Download raw message
Patch: +21 -0
---
 etc/uxntal.ctags | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 etc/uxntal.ctags

diff --git a/etc/uxntal.ctags b/etc/uxntal.ctags
new file mode 100644
index 0000000..0757553
--- /dev/null
+++ b/etc/uxntal.ctags
@@ -0,0 +1,21 @@
# Universal Ctags definition for Uxntal

--langdef=uxntal{_autoFQTag}
--langmap=uxntal:+.tal

--kinddef-uxntal=l,label,labels

--_scopesep-uxntal=*/*:/

--_tabledef-uxntal=main
--_tabledef-uxntal=comment

--_mtable-regex-uxntal=main/\([[:space:]]//{tenter=comment}
--_mtable-regex-uxntal=main/@([^[:space:]]+)/\1/l/{scope=set}
--_mtable-regex-uxntal=main/&([^[:space:]]+)/\1/l/{scope=ref}
--_mtable-regex-uxntal=main/[^[:space:]]+//
--_mtable-regex-uxntal=main/[[:space:]]+//

--_mtable-regex-uxntal=comment/\)[[:space:]]//{tleave}
--_mtable-regex-uxntal=comment/[^[:space:]]+//
--_mtable-regex-uxntal=comment/[[:space:]]+//
-- 
2.39.0
Reply to thread Export thread (mbox)