Skip to content

Instantly share code, notes, and snippets.

View paul356's full-sized avatar

paul356 paul356

  • N/A
  • Blue planet
View GitHub Profile
@paul356
paul356 / clojure-ctags.md
Last active November 7, 2022 14:35
Add Clojure support to exuberant ctags and vim-tagbar

ctags

Add the following to ~/.ctags (thanks, xzj / clojure.ctags):

--langdef=Clojure
--langmap=Clojure:.clj
--langmap=Clojure:+.cljs
--langmap=Clojure:+.cljx
--regex-clojure=/\([ \t]*create-ns[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/n,namespace/
--regex-clojure=/\([ \t]*def[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/d,definition/