From 6a3efe35bf8b20b0900dbbf7747b8b8d0d19bd04 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Tue, 6 Sep 2016 07:39:30 +0200 Subject: Upgrade ports --- .emacs.d/snippets/python-mode/.yas-setup.el | 1 + .emacs.d/snippets/python-mode/scls | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 .emacs.d/snippets/python-mode/scls (limited to '.emacs.d/snippets/python-mode') diff --git a/.emacs.d/snippets/python-mode/.yas-setup.el b/.emacs.d/snippets/python-mode/.yas-setup.el index 3f57d15..cd46717 100644 --- a/.emacs.d/snippets/python-mode/.yas-setup.el +++ b/.emacs.d/snippets/python-mode/.yas-setup.el @@ -1,3 +1,4 @@ +(require 'yasnippet) (defvar yas-text) (defun python-split-args (arg-string) diff --git a/.emacs.d/snippets/python-mode/scls b/.emacs.d/snippets/python-mode/scls new file mode 100644 index 0000000..4a10e28 --- /dev/null +++ b/.emacs.d/snippets/python-mode/scls @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: subclass +# key: scls +# group: object oriented +# -- +class ${1:class}(${2:super-class}): + $0 -- cgit v1.3