mirror of
https://github.com/preservim/tagbar.git
synced 2025-02-12 18:00:44 +08:00
add terraform
This commit is contained in:
parent
f6012cb65d
commit
a28c5468a0
|
@ -1053,6 +1053,25 @@ function! tagbar#types#uctags#init(supported_types) abort
|
|||
\ {'short' : 'p', 'long' : 'procedures', 'fold' : 0, 'stl' : 1}
|
||||
\ ]
|
||||
let types.tcl = type_tcl
|
||||
" Terraform (HCL) {{{1
|
||||
let type_tf = tagbar#prototypes#typeinfo#new()
|
||||
let type_tf.ctagstype = 'tf'
|
||||
let type_tf.kinds = [
|
||||
\ 'r:Resource',
|
||||
\ 'R:Resource',
|
||||
\ 'd:Data',
|
||||
\ 'D:Data',
|
||||
\ 'v:Variable',
|
||||
\ 'V:Variable',
|
||||
\ 'p:Provider',
|
||||
\ 'P:Provider',
|
||||
\ 'm:Module',
|
||||
\ 'M:Module',
|
||||
\ 'o:Output',
|
||||
\ 'O:Output',
|
||||
\ 'f:TFVar',
|
||||
\ 'F:TFVar'
|
||||
\ ]
|
||||
" TypeScript {{{1
|
||||
let type_ts = tagbar#prototypes#typeinfo#new()
|
||||
let type_ts.ctagstype = 'typescript'
|
||||
|
|
Loading…
Reference in New Issue
Block a user