Add LanguageServerProtocol mode
This commit is contained in:
parent
f3f8fe991e
commit
510e3f7443
3 changed files with 12 additions and 2 deletions
|
|
@ -29,6 +29,7 @@
|
|||
company-yasnippet ;; Snippets for all programming languages
|
||||
company-elisp ; Emacs Lisp
|
||||
company-clang company-cmake ;; C
|
||||
company-lsp ;; Language server protocol
|
||||
company-robe ;; Ruby
|
||||
company-ansible ;; Ansible
|
||||
alchemist-company ;; Elixir
|
||||
|
|
@ -38,6 +39,11 @@
|
|||
company-files ; files & directory
|
||||
))
|
||||
|
||||
|
||||
(setq-default company-lsp-cache-candidates 1 ;; Cache LSP results
|
||||
company-lsp-async 1 ;; Fetch LSP results asynchronously
|
||||
)
|
||||
|
||||
;;; Yasnippet configuration
|
||||
(define-key prog-mode-map (kbd "C-c y") 'company-yasnippet)
|
||||
(define-key prog-mode-map (kbd "<f13>") 'company-yasnippet)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue