diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2019-12-20 12:10:58 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2019-12-20 12:10:58 +0000 |
commit | 2eb41c8cf628faee91c31bf6476807a161a518be (patch) | |
tree | 6f747e3660885b8f5c8357e41c2b27009d4b318b /init.el | |
parent | a9f4e9359251b3a9cba15d582b9b8a28b8a2f834 (diff) |
Changed yasnippet trigger key
Diffstat (limited to 'init.el')
-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 |