diff options
author | Tom Willemse | 2021-12-01 13:43:21 -0800 |
---|---|---|
committer | Tom Willemse | 2021-12-01 13:43:21 -0800 |
commit | 8af6f8d1604272a4e2d13a2981f02b6dd6e84bd6 (patch) | |
tree | fac47da6c4145a4cddc9089ef29fae0cf168f510 /oni-csharp | |
parent | e1aecd6f63bf518564cbc6ff9e365c2958dd5cbe (diff) | |
download | emacs-config-8af6f8d1604272a4e2d13a2981f02b6dd6e84bd6.tar.gz emacs-config-8af6f8d1604272a4e2d13a2981f02b6dd6e84bd6.zip |
Remove autoloads for snippet loading
Loading ‘yasnippet’ shouldn't automatically load my package configuration. If my
package configuration hasn't been loaded it shouldn't try to include my snippets.
Diffstat (limited to 'oni-csharp')
-rw-r--r-- | oni-csharp/oni-csharp.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/oni-csharp/oni-csharp.el b/oni-csharp/oni-csharp.el index a38a25f..a2a2502 100644 --- a/oni-csharp/oni-csharp.el +++ b/oni-csharp/oni-csharp.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2021.1116.204856 +;; Version: 2021.1201.133936 ;; Package-Requires: (csharp-mode oni-company oni-flycheck oni-yasnippet oni-hydra oni-lsp oni-smartparens) ;; This program is free software; you can redistribute it and/or modify @@ -131,7 +131,6 @@ _cs_: Solution (setq-local comment-auto-fill-only-comments t) (auto-fill-mode)) -;;;###autoload (defun oni-csharp-snippets-initialize () "Initialize the snippets for ‘oni-csharp’." (when (boundp 'yas-snippet-dirs) @@ -181,7 +180,6 @@ _cs_: Solution (setq lsp-csharp-omnisharp-roslyn-server-dir (expand-file-name "~/scoop/apps/omnisharp/current")))) -;;;###autoload (with-eval-after-load 'csharp-mode (with-eval-after-load 'yasnippet (oni-csharp-snippets-initialize))) |