Nested yasnippets + remove \left \right tex-folds

This commit is contained in:
tecosaur 2020-05-17 18:03:53 +08:00
parent 249f14aaa5
commit 95e2e773c0
1 changed files with 8 additions and 3 deletions

View File

@ -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"))