|
|
@ -472,10 +472,6 @@ Autocomplete packages (includes code completion and snippets). |
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(use-package company |
|
|
|
(use-package company |
|
|
|
:defer t |
|
|
|
:defer t |
|
|
|
:custom |
|
|
|
|
|
|
|
(company-idle-delay 0.2) |
|
|
|
|
|
|
|
(company-minimum-prefix-length 2) |
|
|
|
|
|
|
|
(company-tooltip-align-annotations 't) |
|
|
|
|
|
|
|
:hook |
|
|
|
:hook |
|
|
|
((c-mode-common |
|
|
|
((c-mode-common |
|
|
|
emacs-lisp-mode |
|
|
|
emacs-lisp-mode |
|
|
@ -484,7 +480,12 @@ Autocomplete packages (includes code completion and snippets). |
|
|
|
php-mode |
|
|
|
php-mode |
|
|
|
shell-mode |
|
|
|
shell-mode |
|
|
|
shell-script-mode) |
|
|
|
shell-script-mode) |
|
|
|
. company-mode)) |
|
|
|
. company-mode) |
|
|
|
|
|
|
|
:config |
|
|
|
|
|
|
|
(setq company-idle-delay 0.2) |
|
|
|
|
|
|
|
(setq company-minimum-prefix-length 2) |
|
|
|
|
|
|
|
(setq company-show-numbers t) |
|
|
|
|
|
|
|
(setq company-tooltip-align-annotations 't)) |
|
|
|
|
|
|
|
|
|
|
|
(use-package company-prescient |
|
|
|
(use-package company-prescient |
|
|
|
:after company |
|
|
|
:after company |
|
|
@ -521,6 +522,8 @@ On the fly syntax checking. |
|
|
|
|
|
|
|
|
|
|
|
**** LSP |
|
|
|
**** LSP |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Language Server Protocol. |
|
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(use-package lsp-mode |
|
|
|
(use-package lsp-mode |
|
|
|
:commands lsp |
|
|
|
:commands lsp |
|
|
|