From 9ed59566eb75f2285d965815d9b17bec34287d23 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Tue, 2 Oct 2018 09:56:30 -0400 Subject: Support Python Adds configuration for my Python preferences. --- configs/shared/emacs/.emacs.d/snippets/python-mode/dunder-main | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 configs/shared/emacs/.emacs.d/snippets/python-mode/dunder-main (limited to 'configs/shared/emacs/.emacs.d/snippets/python-mode/dunder-main') diff --git a/configs/shared/emacs/.emacs.d/snippets/python-mode/dunder-main b/configs/shared/emacs/.emacs.d/snippets/python-mode/dunder-main new file mode 100644 index 000000000000..4dd22dc0b2da --- /dev/null +++ b/configs/shared/emacs/.emacs.d/snippets/python-mode/dunder-main @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: Dunder main (__main__) +# key: mn +# -- +if __name__ == "__main__": + main() \ No newline at end of file -- cgit 1.4.1