Fork me on GitHub
#vim
<
2019-08-26
>
walterl17:08:42

{"macro-defs"
 {schema.core/defn
  [{:element :declaration, :tags [:local]}
   ':-
   :element  ; return value signature
   {:pred :string}  ; docstring
   [{:element [:param ':- :element], :repeat true}]  ; parameters
   :bound-elements  ; body
   ]}}

walterl17:08:38

That gets you part of the way, but apparently clojure-lsp doesn't support such cases just yet: https://github.com/snoe/clojure-lsp/issues/24#issuecomment-497074883