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