summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/python-mode
diff options
context:
space:
mode:
authorSimeon Simeonov2023-03-02 22:22:16 +0100
committerSimeon Simeonov2023-03-02 22:22:16 +0100
commitb7b77a527e4920389667b1ac90c447f52db70996 (patch)
tree378fe0644581d0ad23df35146cf2f005e9b2087b /.emacs.d/snippets/python-mode
parent831b5da37edd9b846c56937ca873975c3f0f0294 (diff)
Upgrade .emacs.d/lisp/lua-mode.el and .emacs.d/lisp/markdown-mode.el. Modify .emacs.d/snippets/python-mode/printf
Diffstat (limited to '.emacs.d/snippets/python-mode')
-rw-r--r--.emacs.d/snippets/python-mode/format6
-rw-r--r--.emacs.d/snippets/python-mode/printf2
2 files changed, 1 insertions, 7 deletions
diff --git a/.emacs.d/snippets/python-mode/format b/.emacs.d/snippets/python-mode/format
deleted file mode 100644
index 85c2d6f..0000000
--- a/.emacs.d/snippets/python-mode/format
+++ /dev/null
@@ -1,6 +0,0 @@
1# -*- mode: snippet -*-
2# name: format
3# key: sf
4# group: object oriented
5# --
6.format($0) \ No newline at end of file
diff --git a/.emacs.d/snippets/python-mode/printf b/.emacs.d/snippets/python-mode/printf
index 78c67a8..087b2eb 100644
--- a/.emacs.d/snippets/python-mode/printf
+++ b/.emacs.d/snippets/python-mode/printf
@@ -2,4 +2,4 @@
2# name: printf 2# name: printf
3# key: pf 3# key: pf
4# -- 4# --
5print('$0{}'.format()) \ No newline at end of file 5print(f'$0') \ No newline at end of file