diff options
| author | Simeon Simeonov | 2013-09-25 08:40:12 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2013-09-25 08:40:12 +0200 |
| commit | 9a46567eb167e5aef4b2e760c5d6bdc4fe1ba06a (patch) | |
| tree | a2352a214601f9e494959282331773cca81e7550 /.emacs.d/mysnippets/text-mode/python-mode/pscript | |
| parent | 5209ed708be9f6233393cbdef8c8faf640d3ba4f (diff) | |
Indent fix
Diffstat (limited to '.emacs.d/mysnippets/text-mode/python-mode/pscript')
| -rw-r--r-- | .emacs.d/mysnippets/text-mode/python-mode/pscript | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/pscript b/.emacs.d/mysnippets/text-mode/python-mode/pscript new file mode 100644 index 0000000..8fdb376 --- /dev/null +++ b/.emacs.d/mysnippets/text-mode/python-mode/pscript | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #contributor : Simeon Simeonov <blackmore@pichove.org> | ||
| 2 | #name : script setup | ||
| 3 | #expand-env: ((yas/indent-line 'fixed) (yas/wrap-around-region 'nil)) | ||
| 4 | # -- | ||
| 5 | #!/usr/bin/env python | ||
| 6 | # -*- coding: utf-8 -*- | ||
| 7 | |||
| 8 | def main(): | ||
| 9 | $0 | ||
| 10 | |||
| 11 | if __name__ == '__main__': | ||
| 12 | main() | ||
