From 91c8da0e835a83afef27f707f16ec6c24c30430b Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 23 Jul 2021 21:36:29 +0100 Subject: (Emacs)+snippets from doom-snippet and removed default package I've re-enabled yasnippet for ease of use, and added a ton of snippets directly into my Dotfiles so only I get to curate what snippets are removed. Screw downloading them off someone else's repository at their total mercy. --- Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logging | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logging (limited to 'Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logging') diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logging b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logging new file mode 100644 index 0000000..df0a9b4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logging @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: logging +# key: log +# uuid: log +# -- +logger = logging.getLogger("${1:name}") +logger.setLevel(logging.${2:level}) -- cgit v1.2.3-13-gbd6f