We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a98c5de commit 9857135Copy full SHA for 9857135
yasnippet-snippets.el
@@ -49,8 +49,9 @@
49
;; NOTE: we add the symbol `yasnippet-snippets-dir' rather than its
50
;; value, so that yasnippet will automatically find the directory
51
;; after this package is updated (i.e., moves directory).
52
- (add-to-list 'yas-snippet-dirs 'yasnippet-snippets-dir t)
53
- (yas--load-snippet-dirs))
+ (unless (member 'yasnippet-snippets-dir yas-snippet-dirs)
+ (add-to-list 'yas-snippet-dirs 'yasnippet-snippets-dir t)
54
+ (yas--load-snippet-dirs)))
55
56
(defgroup yasnippet-snippets nil
57
"Options for yasnippet setups.
0 commit comments