diff --git a/.gitignore b/.gitignore index 09d7aa6..f8f2bf4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /* !/.gitignore -!/.init.el \ No newline at end of file +!/.init.el +!/snippets \ No newline at end of file diff --git a/snippets/python-mode/ifnm b/snippets/python-mode/ifnm new file mode 100644 index 0000000..410becc --- /dev/null +++ b/snippets/python-mode/ifnm @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: if __name__ == "__main__" +# key: ifnm +# group Idioms +# -- +if __name__ == "__main__": \ No newline at end of file