mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
tweak(snippets): yas-verbosity = 2
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user