Remove unnecessary irony, speeds up completion
This commit is contained in:
@@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
* Table of Contents :toc_4:
|
* Table of Contents :toc_4:
|
||||||
- [[#initial-setup][Initial setup]]
|
- [[#initial-setup][Initial setup]]
|
||||||
- [[#irony-mode][Irony mode]]
|
|
||||||
- [[#all-the-icons][All the icons]]
|
- [[#all-the-icons][All the icons]]
|
||||||
- [[#lexical-binding][Lexical Binding]]
|
- [[#lexical-binding][Lexical Binding]]
|
||||||
- [[#global-variables][Global Variables]]
|
- [[#global-variables][Global Variables]]
|
||||||
@@ -91,10 +90,6 @@
|
|||||||
|
|
||||||
These commands need to be run after the first startup.
|
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
|
** All the icons
|
||||||
|
|
||||||
@@html:<kbd>@@M-x@@html:</kbd>@@ =all-the-icons-install-fonts= @@html:<kbd>@@RET@@html:</kbd>@@
|
@@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++
|
**** C/C++
|
||||||
|
|
||||||
Irony requires M-x =irony-install-server=.
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+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
|
(use-package company-c-headers
|
||||||
:after company
|
:after company
|
||||||
:config (push 'company-c-headers company-backends))
|
:config (push 'company-c-headers company-backends))
|
||||||
;; company-irony-c-headers
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
**** Org Roam Completion
|
**** Org Roam Completion
|
||||||
|
|||||||
Reference in New Issue
Block a user