summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/mm-abbrev.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/modules/mm-abbrev.el')
-rw-r--r--.config/emacs/modules/mm-abbrev.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/emacs/modules/mm-abbrev.el b/.config/emacs/modules/mm-abbrev.el
index 937d558..66ca8d7 100644
--- a/.config/emacs/modules/mm-abbrev.el
+++ b/.config/emacs/modules/mm-abbrev.el
@@ -78,6 +78,14 @@ case-sensitive to avoid unexpected abbreviation expansions."
"sme" "save-mark-and-excursion"
"sr" "save-restriction")
+(when mm-humanwave-p
+ (with-eval-after-load 'python-ts-mode
+ (mm-define-abbreviations python-ts-mode-abbrev-table
+ "empb" "with emphasize.Block():"
+ "empf" "@emphasize.func"
+ "empi" "from shared.system import emphasize"
+ "empt" "emphasize.this")))
+
;;; Template Configuration