From 924d78443acbcf6cc6dd8ac1d5143e1361a04a92 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 23 Jul 2022 18:05:56 +0200 Subject: [PATCH] tweak(snippets): yas-verbosity = 2 --- modules/editor/snippets/config.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/editor/snippets/config.el b/modules/editor/snippets/config.el index 0e90d3fe3..46392a4c2 100644 --- a/modules/editor/snippets/config.el +++ b/modules/editor/snippets/config.el @@ -20,6 +20,10 @@ yas-deactivate-extra-mode yas-maybe-expand-abbrev-key-filter) :init + ;; Reduce default verbosity. 3 is too chatty about initializing yasnippet. 2 + ;; is just right (only shows errors). + (defvar yas-verbosity 2) + ;; Remove default ~/.emacs.d/snippets (defvar yas-snippet-dirs nil) @@ -32,10 +36,6 @@ ;; Allow private snippets in DOOMDIR/snippets (add-to-list 'yas-snippet-dirs '+snippets-dir) - ;; Reduce verbosity. 3 is too chatty about initializing yasnippet. 2 is just - ;; right (only shows errors). - (setq yas-verbosity (if init-file-debug 3 0)) - ;; default snippets library, if available (add-to-list 'load-path +snippets-dir) (require 'doom-snippets nil t)