Remove ggtags-bit in imenu-anywhere.
This commit is contained in:
parent
b5831c259c
commit
635cbaf6b1
9
init.el
9
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; init.el --- tastytea's Emacs init file.
|
||||||
;; Time-stamp: <2019-10-13T22:38:56+00:00>
|
;; Time-stamp: <2019-10-14T10:08:54+00:00>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; Requires at least Emacs 26. Most of it will probably work with Emacs 24 and
|
;; Requires at least Emacs 26. Most of it will probably work with Emacs 24 and
|
||||||
|
@ -380,15 +380,8 @@ With argument, do this that many times."
|
||||||
;; Tries to find points of interest and jumps to them.
|
;; Tries to find points of interest and jumps to them.
|
||||||
(use-package imenu-anywhere
|
(use-package imenu-anywhere
|
||||||
:after ivy
|
:after ivy
|
||||||
:config
|
|
||||||
(defun my/imenu-ggtags ()
|
|
||||||
"Use ggtags to create Imenu index."
|
|
||||||
(setq-local imenu-create-index-function #'ggtags-build-imenu-index)
|
|
||||||
)
|
|
||||||
:bind
|
:bind
|
||||||
("M-i" . ivy-imenu-anywhere)
|
("M-i" . ivy-imenu-anywhere)
|
||||||
:hook
|
|
||||||
(c++-mode . my/imenu-ggtags)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package highlight-doxygen
|
(use-package highlight-doxygen
|
||||||
|
|
Loading…
Reference in New Issue
Block a user