From f456d790b007c3841549ec35a996483135cceec3 Mon Sep 17 00:00:00 2001 From: gxlin Date: Wed, 16 Jun 2021 00:55:31 +0800 Subject: Add vim-godot plug --- .ctags.d/gdscript.ctags | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .ctags.d/gdscript.ctags (limited to '.ctags.d/gdscript.ctags') diff --git a/.ctags.d/gdscript.ctags b/.ctags.d/gdscript.ctags new file mode 100644 index 0000000..89789c1 --- /dev/null +++ b/.ctags.d/gdscript.ctags @@ -0,0 +1,5 @@ +--langdef=GDScript +--langmap=GDScript:.gd +--regex-GDScript=/^func[ \t]+([a-zA-Z0-9_]+)/\1/f,function,function definitions/ +--regex-GDScript=/^(onready[ \t]+)?var[ \t]+([a-zA-Z0-9_]+)/\2/v,variable,variable definitions/ +--regex-GDScript=/^(export[ \t]*(.*)?[ \t]+)?var[ \t]+([a-zA-Z0-9_]+)/\3/v,variable,variable definitions/ -- cgit v1.2.3