diff --git a/.emacs.d/init.el b/.emacs.d/init.el index f3559ac..23d4313 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -2538,7 +2538,7 @@ Returns ( . ) or nil." :commands (py-isort-buffer py-isort-region)) (my-leader-def - :keymaps 'python-mode-map + :keymaps '(python-mode-map python-ts-mode-map) "rr" (lambda () (interactive) (save-excursion diff --git a/Emacs.org b/Emacs.org index 52b855c..91980ac 100644 --- a/Emacs.org +++ b/Emacs.org @@ -3487,7 +3487,7 @@ References: The following binding calls yapf & isort on the buffer #+begin_src emacs-lisp (my-leader-def - :keymaps 'python-mode-map + :keymaps '(python-mode-map python-ts-mode-map) "rr" (lambda () (interactive) (save-excursion @@ -6428,7 +6428,7 @@ And advice to disable a function for TRAMP-related buffers: (funcall fun dir))) #+end_src -=editorconfig= lovely package looks for the =.editorconfig= file in the file tree. +=editorconfig=. This lovely package looks for =.editorconfig= in the file tree. #+begin_src emacs-lisp (with-eval-after-load 'editorconfig (advice-add #'editorconfig-apply :around #'my/tramp-void-if-tramp)