diff options
author | Raúl Benencia <id@rbenencia.name> | 2023-07-10 06:56:39 -0700 |
---|---|---|
committer | Raúl Benencia <id@rbenencia.name> | 2023-07-10 06:56:39 -0700 |
commit | 296709380032f9979a0a418f9a4d4b1e76ae1cd6 (patch) | |
tree | 808eb24420d1e780b9c9acc55a7b09255fe53bbd /.emacs.local.d/modes/company.el | |
parent | 447ca1e30dc3853c4b30630023e4fbd4e12062b2 (diff) |
emacs: +yasnippet
Diffstat (limited to '.emacs.local.d/modes/company.el')
-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) |