Minify citre config.
This commit is contained in:
parent
055b5151df
commit
71367398d6
@ -26,19 +26,12 @@
|
||||
("C-x c a" . citre-ace-peek)
|
||||
("C-x c u" . citre-update-this-tags-file))
|
||||
:init
|
||||
(require 'citre-config)
|
||||
(setq citre-auto-enable-citre-mode-modes '(prog-mode))
|
||||
(setq citre-auto-enable-citre-mode-modes '(prog-mode)
|
||||
citre-default-create-tags-file-location 'global-cache
|
||||
citre-prompt-language-for-ctags-command t)
|
||||
|
||||
:config
|
||||
(with-no-warnings
|
||||
(setq citre-default-create-tags-file-location 'global-cache
|
||||
;; citre-ctags-program "/usr/bin/ctags"
|
||||
;; citre-readtags-program "/usr/bin/readtags"
|
||||
citre-use-project-root-when-creating-tags t
|
||||
citre-prompt-language-for-ctags-command t)
|
||||
|
||||
(with-eval-after-load 'projectile
|
||||
(setq citre-project-root-function #'projectile-project-root))
|
||||
|
||||
;; Integrate with `lsp-mode' and `eglot'
|
||||
(define-advice xref--create-fetcher (:around (fn &rest args) fallback)
|
||||
(let ((fetcher (apply fn args))
|
||||
|
Loading…
Reference in New Issue
Block a user