diff options
| author | Simeon Simeonov | 2015-03-16 14:44:51 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2015-03-16 14:44:51 +0100 |
| commit | 9c599b56dcabf22ab7adef9f852eb58776f01290 (patch) | |
| tree | 2495f02ffbe7743d88770530ab4a8081ea7f79f9 /.emacs.d/snippets/python-mode | |
| parent | b5d0bc24d0c062127bec902b359334afd113a416 (diff) | |
Fix doc-string, parameter format for python-mode
Diffstat (limited to '.emacs.d/snippets/python-mode')
| -rw-r--r-- | .emacs.d/snippets/python-mode/.yas-setup.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/snippets/python-mode/.yas-setup.el b/.emacs.d/snippets/python-mode/.yas-setup.el index 6635232..e2b011d 100644 --- a/.emacs.d/snippets/python-mode/.yas-setup.el +++ b/.emacs.d/snippets/python-mode/.yas-setup.el | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | (max-len (if args (apply 'max (mapcar (lambda (x) (length (nth 0 x))) args)) 0)) | 11 | (max-len (if args (apply 'max (mapcar (lambda (x) (length (nth 0 x))) args)) 0)) |
| 12 | (formatted-args (mapconcat | 12 | (formatted-args (mapconcat |
| 13 | (lambda (x) | 13 | (lambda (x) |
| 14 | (concat (nth 0 x) (make-string (- max-len (length (nth 0 x))) ? ) " -- " | 14 | (concat ":param " (nth 0 x) (make-string (- max-len (length (nth 0 x))) ? ) ": " |
| 15 | (if (nth 1 x) (concat "\(default " (nth 1 x) "\)")))) | 15 | (if (nth 1 x) (concat "\(default " (nth 1 x) "\)")))) |
| 16 | args | 16 | args |
| 17 | indent))) | 17 | indent))) |
