Browse Source

Remove unnecessary irony, speeds up completion

master
Riyyi 4 years ago
parent
commit
2afe59e4c5
  1. 26
      .config/emacs/config.org

26
.config/emacs/config.org

@ -11,7 +11,6 @@
* Table of Contents :toc_4:
- [[#initial-setup][Initial setup]]
- [[#irony-mode][Irony mode]]
- [[#all-the-icons][All the icons]]
- [[#lexical-binding][Lexical Binding]]
- [[#global-variables][Global Variables]]
@ -91,10 +90,6 @@
These commands need to be run after the first startup.
** Irony mode
@@html:<kbd>@@M-x@@html:</kbd>@@ =irony-install-server= @@html:<kbd>@@RET@@html:</kbd>@@
** All the icons
@@html:<kbd>@@M-x@@html:</kbd>@@ =all-the-icons-install-fonts= @@html:<kbd>@@RET@@html:</kbd>@@
@ -574,31 +569,10 @@ On the fly syntax checking.
**** C/C++
Irony requires M-x =irony-install-server=.
#+BEGIN_SRC emacs-lisp
(use-package irony
:hook
((c-mode
c++-mode)
. irony-mode)
:hook (irony-mode . irony-cdb-autosetup-compile-options)
:init (setq irony-user-dir (concat dot-cache-dir "/irony/"))
:config
(push 'glsl-mode irony-supported-major-modes)
;; Compile the irony-server binary if it doesnt exist
(unless (file-exists-p (concat irony-user-dir "bin/irony-server"))
(call-interactively 'irony-install-server)))
(use-package company-irony
:after (company irony)
:config (push 'company-irony company-backends))
(use-package company-c-headers
:after company
:config (push 'company-c-headers company-backends))
;; company-irony-c-headers
#+END_SRC
**** Org Roam Completion

Loading…
Cancel
Save