From 296709380032f9979a0a418f9a4d4b1e76ae1cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Mon, 10 Jul 2023 06:56:39 -0700 Subject: emacs: +yasnippet --- .emacs.local.d/modes/company.el | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to '.emacs.local.d') 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) -- cgit v1.2.3