Fix spacemacs/c-c++-tags-find-references-at-point
Rename the spacemacs/c-c++-tags-find-references-at-point and
rtags-find-references-at-point to fix the c-c++-modes key binding:
"g," 'spacemacs/c-c++-tags-find-references-at-point
when c-c++-backend is set to 'rtags.
This changeset reverts some of the changes introduced by
the commit 445f6af93f
.
This commit is contained in:
parent
4d5eadd6d6
commit
990290e245
2 changed files with 3 additions and 3 deletions
|
@ -922,7 +922,7 @@ Benner and Paweł Siudak):
|
|||
- Fix issue with =c++-enable-clang-format-on-save= not taking effect when set
|
||||
(thanks to Silver Chan)
|
||||
- Added lsp support using either cquery or ccls backends (thanks to Cormac
|
||||
Cannon and Fangrui Song)
|
||||
Cannon, Sergey Litovchuk and Fangrui Song)
|
||||
**** Cfengine
|
||||
- Fix publish in README (thanks to Eugene Yaremenko)
|
||||
- Add =ob-cfengine3= (thanks to Nick Anderson)
|
||||
|
|
|
@ -160,9 +160,9 @@ and the arguments for flyckeck-clang based on a project-specific text file."
|
|||
rtags-last-request-not-indexed)
|
||||
(gtags-find-tag)))
|
||||
|
||||
(defun spacemacs/c-c++-tags-find-refs-at-point (&optional prefix)
|
||||
(defun spacemacs/c-c++-tags-find-references-at-point (&optional prefix)
|
||||
(interactive "P")
|
||||
(if (and (not (rtags-find-refs-at-point prefix))
|
||||
(if (and (not (rtags-find-references-at-point prefix))
|
||||
rtags-last-request-not-indexed)
|
||||
(gtags-find-rtag)))
|
||||
|
||||
|
|
Reference in a new issue