diff options
| -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))) |
