aboutsummaryrefslogtreecommitdiffstats
path: root/.ctags
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-08-20 15:08:32 +0000
committerterminaldweller <thabogre@gmail.com>2021-08-20 15:08:32 +0000
commit4de563ae0ee333a986e3cf6bdd170453e3261e3d (patch)
treeda99522f7e6034f62d122b3987896ce205686b3f /.ctags
parentusing vimplug now. (diff)
downloadscripts-4de563ae0ee333a986e3cf6bdd170453e3261e3d.tar.gz
scripts-4de563ae0ee333a986e3cf6bdd170453e3261e3d.zip
zsh overhaul
Diffstat (limited to '.ctags')
-rw-r--r--.ctags10
1 files changed, 10 insertions, 0 deletions
diff --git a/.ctags b/.ctags
index ebc3ebf..45d99c1 100644
--- a/.ctags
+++ b/.ctags
@@ -57,3 +57,13 @@
--regex-typescript=/^[ \t]*(export)?[ \t]*interface[ \t]+([a-zA-Z0-9_]+)/\2/i,interfaces/
--regex-typescript=/^[ \t]*(export)?[ \t]*enum[ \t]+([a-zA-Z0-9_]+)/\2/e,enums/
--regex-typescript=/^[ \t]*import[ \t]+([a-zA-Z0-9_]+)/\1/I,imports/
+
+--langdef=tf
+--langmap=tf:.tf.tfvars
+--regex-tf=/^[[:space:]]*resource[[:space:]]*"([^"]*)"[[:space:]]*"([^"]*)"/\2/r,Resource/
+--regex-tf=/^[[:space:]]*data[[:space:]]*"([^"]*)"[[:space:]]*"([^"]*)"/\2/d,Data/
+--regex-tf=/^[[:space:]]*variable[[:space:]]*"([^"]*)"/\1/v,Variable/
+--regex-tf=/^[[:space:]]*provider[[:space:]]*"([^"]*)"/\1/p,Provider/
+--regex-tf=/^[[:space:]]*module[[:space:]]*"([^"]*)"/\1/m,Module/
+--regex-tf=/^[[:space:]]*output[[:space:]]*"([^"]*)"/\1/o,Output/
+--regex-tf=/^([a-z0-9_]+)[[:space:]]*=/\1/f,TFVar/