mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-22 16:31:26 +00:00
update emacs config
This commit is contained in:
parent
2985163a37
commit
705a1c1799
|
@ -497,21 +497,19 @@
|
||||||
|
|
||||||
** Company-mode
|
** Company-mode
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package company
|
(use-package company
|
||||||
:after lsp-mode
|
:after lsp-mode
|
||||||
:hook (lsp-mode . company-mode)
|
:hook (lsp-mode . company-mode)
|
||||||
:bind (:map company-active-map
|
:bind (:map company-active-map
|
||||||
("<tab>" . company-complete-selection))
|
("<tab>" . company-complete-selection))
|
||||||
(:map lsp-mode-map
|
(:map lsp-mode-map
|
||||||
("<tab>" . company-indent-or-complete-common))
|
("<tab>" . company-indent-or-complete-common))
|
||||||
:custom
|
:custom
|
||||||
(company-minimum-prefix-length 1)
|
(company-minimum-prefix-length 1)
|
||||||
(company-idle-delay 0.0))
|
(company-idle-delay 0.0))
|
||||||
;;(setq company-clang-executable "~/code/competitive/clang++")
|
|
||||||
|
|
||||||
(use-package company-box
|
(use-package company-box
|
||||||
:hook (company-mode . company-box-mode))
|
:hook (company-mode . company-box-mode)) #+end_src
|
||||||
#+end_src
|
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
|
|
||||||
* Org
|
* Org
|
||||||
|
|
Loading…
Reference in a new issue