Skip to content

Commit

Permalink
tweak(citre): better gtags defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 30, 2024
1 parent 2c25dbf commit c248633
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/me-tags.el
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
;; I prefer disabling this.
(citre-tags-file-global-cache-dir nil)
(citre-project-root-function #'+citre-recursive-project-root) ; Better (!) project root detection function
(citre-gtags-args
`("--compact"
;; TEMP: Sane defaults, see: universal-ctags/citre#184
,@(when (or (getenv "GTAGSOBJDIRPREFIX") (getenv "MAKEOBJDIRPREFIX"))
'("--objdir"))))
:init
(defcustom +citre-recursive-root-project-detection-files '(".tags" ".repo" ".citre-root")
"A list of files/directories to use as a project root markers."
Expand Down

0 comments on commit c248633

Please sign in to comment.