From 95e2e773c03be07eea2405d9260a62aea92f914b Mon Sep 17 00:00:00 2001 From: tecosaur <20903656+tecosaur@users.noreply.github.com> Date: Sun, 17 May 2020 18:03:53 +0800 Subject: [PATCH] Nested yasnippets + remove \left \right tex-folds --- config.org | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/config.org b/config.org index a3c23f2..b59148d 100644 --- a/config.org +++ b/config.org @@ -1258,6 +1258,11 @@ SQL can be either the emacsql vector representation, or a string." (cdr (assoc 'img data)) ))))) #+END_SRC +** YASnippet +Nested snippets are good, enable that. +#+BEGIN_SRC emacs-lisp +(setq yas-triggers-in-field t) +#+END_SRC * Language configuration *** File Templates For some file types, we overwrite defaults in the [[file:./snippets][snippets]] directory, others @@ -3315,9 +3320,9 @@ Let's enhance ~TeX-fold-math~ a bit ("≤" ("le")) ("≥" ("ge")) ("≠" ("ne")) - ;; conviniance shorts - ("‹" ("left")) - ("›" ("right")) + ;; conviniance shorts -- these don't work nicely ATM + ;; ("‹" ("left")) + ;; ("›" ("right")) ;; private macros ("ℝ" ("RR")) ("ℕ" ("NN"))