lang/cc: integrate counsel-irony
This commit is contained in:
parent
2f9c158645
commit
8712f9dbb3
1 changed files with 5 additions and 1 deletions
|
@ -116,7 +116,11 @@
|
||||||
(add-hook! 'irony-mode-hook '(irony-eldoc flycheck-mode))
|
(add-hook! 'irony-mode-hook '(irony-eldoc flycheck-mode))
|
||||||
(add-hook! 'c++-mode-hook
|
(add-hook! 'c++-mode-hook
|
||||||
(make-local-variable 'irony-additional-clang-options)
|
(make-local-variable 'irony-additional-clang-options)
|
||||||
(push "-std=c++11" irony-additional-clang-options)))
|
(push "-std=c++11" irony-additional-clang-options))
|
||||||
|
|
||||||
|
(map! :map irony-mode-map
|
||||||
|
[remap completion-at-point] 'counsel-irony
|
||||||
|
[remap complete-symbol] 'counsel-irony))
|
||||||
|
|
||||||
(def-package! irony-eldoc :after irony)
|
(def-package! irony-eldoc :after irony)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue