diff options
Diffstat (limited to '.emacs.local.d/modes')
-rw-r--r-- | .emacs.local.d/modes/company.el | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.emacs.local.d/modes/company.el b/.emacs.local.d/modes/company.el index 513b563..d52000e 100644 --- a/.emacs.local.d/modes/company.el +++ b/.emacs.local.d/modes/company.el @@ -16,7 +16,7 @@ (setq company-minimum-prefix-length 1) :diminish company-mode) -(use-package company-quickhelp ; Documentation popups for Company +(use-package company-quickhelp ; Documentation popups for Company :ensure t :defer t :init (add-hook 'global-company-mode-hook #'company-quickhelp-mode)) @@ -31,3 +31,12 @@ (use-package company-lsp :ensure t :commands company-lsp) + +(use-package yasnippet + :ensure t + :config + (yas-global-mode 1) + (global-set-key (kbd "C-c y") 'company-yasnippet)) + +(use-package yasnippet-snippets + :ensure t) |