Setup yasnippet
Don't add yasnippet-snippets; hopefully most of the snippets will come from language servers. Also make sure that company-yasnippet is available, to make sure that snippets are at least somewhat discoverable.
This commit is contained in:
parent
4c6b706190
commit
6b66263d7d
3 changed files with 28 additions and 0 deletions
|
@ -76,6 +76,7 @@
|
|||
;; Vim keybindings in other packages
|
||||
(use-package evil-collection
|
||||
:after (evil)
|
||||
:diminish (evil-collection-unimpaired-mode)
|
||||
:config (evil-collection-init)
|
||||
)
|
||||
|
||||
|
@ -90,6 +91,7 @@
|
|||
:diminish (company-mode)
|
||||
:hook ((text-mode prog-mode) . company-mode)
|
||||
:custom
|
||||
(company-backends '((company-capf company-yasnippet) company-files (company-dabbrev-code company-keywords) company-dabbrev))
|
||||
(company-dabbrev-downcase nil "Don't downcase completions")
|
||||
(company-dabbrev-ignore-case t "Change full casing of completion if completion has different case")
|
||||
(company-minimum-prefix-length 2 "Start autocompletion after 2 characters")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue