tweak(snippets): yas-verbosity = 2
This commit is contained in:
parent
a5cc803ad4
commit
924d78443a
1 changed files with 4 additions and 4 deletions
|
@ -20,6 +20,10 @@
|
||||||
yas-deactivate-extra-mode
|
yas-deactivate-extra-mode
|
||||||
yas-maybe-expand-abbrev-key-filter)
|
yas-maybe-expand-abbrev-key-filter)
|
||||||
:init
|
: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
|
;; Remove default ~/.emacs.d/snippets
|
||||||
(defvar yas-snippet-dirs nil)
|
(defvar yas-snippet-dirs nil)
|
||||||
|
|
||||||
|
@ -32,10 +36,6 @@
|
||||||
;; Allow private snippets in DOOMDIR/snippets
|
;; Allow private snippets in DOOMDIR/snippets
|
||||||
(add-to-list 'yas-snippet-dirs '+snippets-dir)
|
(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
|
;; default snippets library, if available
|
||||||
(add-to-list 'load-path +snippets-dir)
|
(add-to-list 'load-path +snippets-dir)
|
||||||
(require 'doom-snippets nil t)
|
(require 'doom-snippets nil t)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue