diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2024-04-06 12:21:18 -0500 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2024-04-06 12:21:18 -0500 |
| commit | 555e7846f75f7a6998fcfba26ebba6a2f142eebb (patch) | |
| tree | 41db198879df2cf1a1c32c3e69f8a047bd21b1ad /emacs | |
| parent | 55606d07953c7dc08d609f9f9d3c6e4615d1b65d (diff) | |
yasnippet
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/dotemacs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/emacs/dotemacs b/emacs/dotemacs index 12b1adb..c15041e 100644 --- a/emacs/dotemacs +++ b/emacs/dotemacs @@ -63,7 +63,8 @@ sublime-themes toml-mode yaml-mode - yasnippet )) + yasnippet + )) (setq package-native-compile t native-comp-async-report-warnings-errors nil @@ -173,11 +174,12 @@ ;; go (add-hook 'go-mode-hook #'lsp-deferred) -(add-hook 'go-mode-hook #'yas-minor-mode-on) +(add-hook 'go-mode-hook #'yas-minor-mode) (add-hook 'go-mode-hook #'electric-pair-mode) (lsp-register-custom-settings - '(("gopls.staticcheck" t t))) + '(("gopls.completeUnimported" t t) + ("gopls.staticcheck" t t))) (setq lsp-go-use-gofumpt t) (defun lsp-go-install-save-hooks () @@ -199,7 +201,7 @@ ;; rust (setq rustic-format-on-save t) -(add-hook 'rustic-mode-hook #'yas-minor-mode-on) +(add-hook 'rustic-mode-hook #'yas-minor-mode) (add-hook 'rustic-mode-hook #'electric-pair-mode) (global-set-key (kbd "<f7>") 'rustic-cargo-current-test) (global-set-key (kbd "<f8>") 'rustic-cargo-build) |
