diff options
Diffstat (limited to '.ctags.d/gdscript.ctags')
-rw-r--r-- | .ctags.d/gdscript.ctags | 5 |
1 files changed, 5 insertions, 0 deletions
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/ |