use package company-rtags and remove a comment
This commit is contained in:
parent
33c203acb4
commit
efa7af0bc2
15
init.el
15
init.el
@ -344,11 +344,12 @@ of the key binding used to execute this command."
|
|||||||
|
|
||||||
;;; The following Emacs packages [from MELPA](#add-melpa-package-list)
|
;;; The following Emacs packages [from MELPA](#add-melpa-package-list)
|
||||||
;;; need to be installed: [cmake-ide](https://melpa.org/#/cmake-ide),
|
;;; need to be installed: [cmake-ide](https://melpa.org/#/cmake-ide),
|
||||||
;;; [company](https://melpa.org/#/company), and
|
;;; [company](https://melpa.org/#/company),
|
||||||
;;; [rtags](https://melpa.org/#/rtags). Package `cmake-ide`
|
;;; [rtags](https://melpa.org/#/rtags), and
|
||||||
;;; automatically configures other C++ Emacs packages (here `company`
|
;;; [company-rtags](https://melpa.org/#/company-rtags). Package
|
||||||
;;; and `rtags`) when you open a C/C++ file from a project which uses
|
;;; `cmake-ide` automatically configures other C++ Emacs packages
|
||||||
;;; [cmake](https://cmake.org) to build.
|
;;; (here `company` and `rtags`) when you open a C/C++ file from a
|
||||||
|
;;; project which uses [cmake](https://cmake.org) to build.
|
||||||
|
|
||||||
(defconst my-cc-style
|
(defconst my-cc-style
|
||||||
'("k&r"
|
'("k&r"
|
||||||
@ -365,11 +366,13 @@ of the key binding used to execute this command."
|
|||||||
rtags-completions-enabled t)
|
rtags-completions-enabled t)
|
||||||
|
|
||||||
(use-package rtags
|
(use-package rtags
|
||||||
;; need to install all three: rc rdm rp for jump to definition to work
|
|
||||||
:defer
|
:defer
|
||||||
:config
|
:config
|
||||||
(rtags-enable-standard-keybindings nil "C-c R"))
|
(rtags-enable-standard-keybindings nil "C-c R"))
|
||||||
|
|
||||||
|
(use-package company-rtags
|
||||||
|
:defer)
|
||||||
|
|
||||||
(use-package cmake-ide
|
(use-package cmake-ide
|
||||||
:after cc-mode
|
:after cc-mode
|
||||||
:init
|
:init
|
||||||
|
Loading…
x
Reference in New Issue
Block a user