diff options
Diffstat (limited to '.emacs.d/snippets')
| -rw-r--r-- | .emacs.d/snippets/c-mode/printf | 2 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode/print | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/snippets/c-mode/printf b/.emacs.d/snippets/c-mode/printf index ccc788c..ec1567e 100644 --- a/.emacs.d/snippets/c-mode/printf +++ b/.emacs.d/snippets/c-mode/printf | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # -*- mode: snippet -*- | 1 | # -*- mode: snippet -*- |
| 2 | # name: printf | 2 | # name: printf |
| 3 | # key: pr | 3 | # key: p |
| 4 | # -- | 4 | # -- |
| 5 | printf("${1:format string}"${2: ,a0,a1}); \ No newline at end of file | 5 | printf("${1:format string}"${2: ,a0,a1}); \ No newline at end of file |
diff --git a/.emacs.d/snippets/python-mode/print b/.emacs.d/snippets/python-mode/print index cc1c797..d9fb14a 100644 --- a/.emacs.d/snippets/python-mode/print +++ b/.emacs.d/snippets/python-mode/print | |||
| @@ -2,4 +2,4 @@ | |||
| 2 | # name: print | 2 | # name: print |
| 3 | # key: p | 3 | # key: p |
| 4 | # -- | 4 | # -- |
| 5 | print($0) \ No newline at end of file | 5 | print('$0') \ No newline at end of file |
