[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/yasnippet-snippets 99b0be85e4 07/12: Fix: do NOT overwrite
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/yasnippet-snippets 99b0be85e4 07/12: Fix: do NOT overwrite user snippets |
Date: |
Wed, 13 Jul 2022 08:59:22 -0400 (EDT) |
branch: elpa/yasnippet-snippets
commit 99b0be85e48d19b7142e5ac16f3aeb8a286eda50
Author: snowman <unmem@outlook.com>
Commit: snowman <unmem@outlook.com>
Fix: do NOT overwrite user snippets
When have the same snippet name with same mode, prefer user snippet.
"yas--load-snippet-dirs" loads "(yas-snippet-dirs)" with reverse
order, which loads "yasnippet-snippets-dir" first with JIT
---
yasnippet-snippets.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/yasnippet-snippets.el b/yasnippet-snippets.el
index 078ac04878..fbb474c4db 100644
--- a/yasnippet-snippets.el
+++ b/yasnippet-snippets.el
@@ -50,8 +50,7 @@
;; value, so that yasnippet will automatically find the directory
;; after this package is updated (i.e., moves directory).
(add-to-list 'yas-snippet-dirs 'yasnippet-snippets-dir t)
- (yas--load-snippet-dirs)
- (yas-load-directory yasnippet-snippets-dir t))
+ (yas--load-snippet-dirs))
(defgroup yasnippet-snippets nil
"Options for yasnippet setups.
- [nongnu] elpa/yasnippet-snippets 3ba80dd191 02/12: Use the standard indentation on rust-mode snippets, (continued)
- [nongnu] elpa/yasnippet-snippets 3ba80dd191 02/12: Use the standard indentation on rust-mode snippets, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets bd83517452 05/12: racket-mode: add syntax-rules snippet, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets 9b4c2862de 09/12: Merge pull request #449 from follow-the-vine-to-get-to-the-melon/init-snippets, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets d42f3ed9a7 10/12: Merge pull request #446 from jpalaciosdev/fix-rust-mode-indentation, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets 1ad99b341e 11/12: Merge pull request #444 from laampui/cta, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets cd665c9cba 12/12: Merge pull request #447 from xgqt/feature_racket_2022, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets 31d8558f87 01/12: add cta => console.table(), ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets b5a76f1641 06/12: Ending parentheses of v.end(), ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets fb782284de 03/12: racket-mode: add module, module+ and module* snippets, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets 22c2bc0043 04/12: racket-mode: add define-syntax-rule snippet, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets 99b0be85e4 07/12: Fix: do NOT overwrite user snippets,
ELPA Syncer <=
- [nongnu] elpa/yasnippet-snippets af2112e40c 08/12: Merge pull request #448 from aluaces/patch-1, ELPA Syncer, 2022/07/13