diff options
Diffstat (limited to '')
-rw-r--r-- | init.el | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -404,9 +404,13 @@ (use-package yasnippet :commands yas-minor-mode + :config + (define-key yas-minor-mode-map (kbd "C-c y") #'yas-expand) :hook (go-mode . yas-minor-mode) :hook (python-mode . yas-minor-mode)) +(use-package yasnippet-snippets) + ;;Company mode is a standard completion package that works well with lsp-mode. ;;company-lsp integrates company mode completion with lsp-mode. ;;completion-at-point also works out of the box but doesn't support snippets. @@ -419,8 +423,6 @@ (use-package company-lsp :commands company-lsp) -(use-package yasnippet-snippets) - (setq lsp-ui-doc-enable nil lsp-ui-peek-enable t lsp-ui-sideline-enable t |