clj-kondo 2026-03-11

Hi there! Considering the following use case:

(defn get-data [{:keys [data]}]
  data)

(defmacro $ [op arg1 & args]
  `(~op ~arg1))

($ get-data {:| })
;      cursor ^
Is there a way to write a hook which would keep autocompletion for the args (keys) working? (Same as with a direct call to get-data). I haven't found a solution yet. I'm using Calva in VSCode, not sure whether that matters. Thanks!

i think this is a question for #lsp

👍 1

Thanks I've posted there.