GGTags: Add bounds check

This commit is contained in:
James Nguyen 2017-12-03 01:46:37 -08:00
parent 389e486349
commit 5a32dc6fba
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@
;; `ggtags-navigation-mode' is global and will conflict with other bindings.
;; https://github.com/leoliu/ggtags/issues/124
(setq ggtags-enable-navigation-keys nil)
(when (boundp 'ggtags-enable-navigation-keys)
(setq ggtags-enable-navigation-keys nil))
(evil-define-key 'normal ggtags-mode-map
"gd" 'ggtags-find-tag-dwim