diff --git a/autoload/tagbar/types/uctags.vim b/autoload/tagbar/types/uctags.vim index e9e8245..ed4a1ec 100644 --- a/autoload/tagbar/types/uctags.vim +++ b/autoload/tagbar/types/uctags.vim @@ -182,6 +182,24 @@ function! tagbar#types#uctags#init(supported_types) abort \ 'enum' : 'g' \ } let types.cs = type_cs + " Clojure {{{1 + let type_clojure = tagbar#prototypes#typeinfo#new() + let type_clojure.ctagstype = 'clojure' + let type_clojure.kinds = [ + \ {'short': 'n', 'long': 'namespace', 'fold': 0, 'stl': 1}, + \ {'short': 'd', 'long': 'definition', 'fold': 0, 'stl': 1}, + \ {'short': 'f', 'long': 'function', 'fold': 0, 'stl': 1}, + \ {'short': 'p', 'long': 'private function', 'fold': 0, 'stl': 1}, + \ {'short': 'm', 'long': 'macro', 'fold': 0, 'stl': 1}, + \ {'short': 'i', 'long': 'inline', 'fold': 0, 'stl': 1}, + \ {'short': 'a', 'long': 'multimethod definition', 'fold': 0, 'stl': 1}, + \ {'short': 'b', 'long': 'multimethod instance', 'fold': 0, 'stl': 1}, + \ {'short': 'c', 'long': 'definition (once)', 'fold': 0, 'stl': 1}, + \ {'short': 's', 'long': 'struct', 'fold': 0, 'stl': 1}, + \ {'short': 'v', 'long': 'intern', 'fold': 0, 'stl': 1}, + \ {'short': 'n', 'long': 'namespace', 'fold': 0, 'stl': 1} + \ ] + let types.clojure = type_clojure " COBOL {{{1 let type_cobol = tagbar#prototypes#typeinfo#new() let type_cobol.ctagstype = 'cobol' @@ -355,7 +373,6 @@ function! tagbar#types#uctags#init(supported_types) abort \ {'short' : 'f', 'long' : 'functions', 'fold' : 0, 'stl' : 1} \ ] let types.lisp = type_lisp - let types.clojure = type_lisp " Lua {{{1 let type_lua = tagbar#prototypes#typeinfo#new() let type_lua.ctagstype = 'lua'