RTAGS: remove rtags
Use eglot instead, it's built-in: https://github.com/joaotavora/eglot#contribute-to-eglots-development
This commit is contained in:
parent
ff9ed0382d
commit
51f4498c99
1 changed files with 0 additions and 46 deletions
46
config.org
46
config.org
|
|
@ -109,7 +109,6 @@ My personal emacs configuration
|
|||
|
||||
This configuration requires the installation of :
|
||||
|
||||
- =rtags=
|
||||
- Use python-pip to install requirements for elpy:
|
||||
=pip install jedi flake8 importmagic autopep8 yapf=
|
||||
- =ditaa= (for ascii to image generation in org-mode)
|
||||
|
|
@ -1203,51 +1202,6 @@ Deprecated in favour of rtags
|
|||
|
||||
#+END_SRC
|
||||
|
||||
*** Rtags
|
||||
|
||||
https://github.com/Andersbakken/rtags
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package rtags-xref
|
||||
:hook
|
||||
((c-mode-common) . (function rtags-xref-enable))
|
||||
)
|
||||
|
||||
(use-package rtags
|
||||
:init
|
||||
;; TODO
|
||||
;; (setq rtags-display-result-backend 'helm)
|
||||
(setq rtags-completions-enabled t)
|
||||
(setq rtags-autostart-diagnostics t)
|
||||
:config
|
||||
(rtags-enable-standard-keybindings)
|
||||
(define-key c-mode-base-map (kbd "C-M-.") (function rtags-find-symbol))
|
||||
(define-key c-mode-base-map (kbd "C-M-?") (function rtags-find-references))
|
||||
(define-key c-mode-base-map (kbd "M-?") (function rtags-find-references-at-point))
|
||||
(define-key c-mode-base-map (kbd "M-i") (function rtags-imenu))
|
||||
:hook
|
||||
((c-mode c++-mode objc-mode) . (function rtags-start-process-unless-running))
|
||||
)
|
||||
|
||||
;; Stolen from the github wiki of rtags
|
||||
(defun my-flycheck-rtags-setup ()
|
||||
(flycheck-select-checker 'rtags)
|
||||
(setq-local flycheck-highlighting-mode nil) ;; RTags creates more accurate overlays.
|
||||
(setq-local flycheck-check-syntax-automatically nil))
|
||||
|
||||
(use-package flycheck-rtags
|
||||
:hook
|
||||
(
|
||||
(c-mode c++-mode objc-mode) . (function my-flycheck-rtags-setup)
|
||||
)
|
||||
)
|
||||
|
||||
(use-package company-rtags
|
||||
:config
|
||||
(push 'company-rtags company-backends)
|
||||
)
|
||||
#+END_SRC
|
||||
|
||||
*** Company
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue