aboutsummaryrefslogtreecommitdiff
path: root/stow/vim/.vim/ftplugin/python/snips/template
diff options
context:
space:
mode:
Diffstat (limited to 'stow/vim/.vim/ftplugin/python/snips/template')
-rw-r--r--stow/vim/.vim/ftplugin/python/snips/template6
1 files changed, 5 insertions, 1 deletions
diff --git a/stow/vim/.vim/ftplugin/python/snips/template b/stow/vim/.vim/ftplugin/python/snips/template
index d10fa4a..52ea16f 100644
--- a/stow/vim/.vim/ftplugin/python/snips/template
+++ b/stow/vim/.vim/ftplugin/python/snips/template
@@ -2,4 +2,8 @@
"""<+++>"""
-<++>
+def main():
+ <++>
+
+if __name__ == '__main__':
+ main()