From df7385af0d2a59cca2d724312b5efc1e9174b94f Mon Sep 17 00:00:00 2001 From: William Carroll Date: Wed, 22 Jan 2020 21:07:10 +0000 Subject: Support snippet for python function Many of my other commonly used languages have a similar snippet as well. --- configs/shared/.emacs.d/snippets/python-mode/function | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 configs/shared/.emacs.d/snippets/python-mode/function (limited to 'configs') diff --git a/configs/shared/.emacs.d/snippets/python-mode/function b/configs/shared/.emacs.d/snippets/python-mode/function new file mode 100644 index 000000000000..379ceda1a3a6 --- /dev/null +++ b/configs/shared/.emacs.d/snippets/python-mode/function @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: Function +# key: fn +# -- +def $1($2): + $3 \ No newline at end of file -- cgit 1.4.1