feat(emacs): refactor for python-ts-mode

This commit is contained in:
Pavel Korytov 2023-10-12 15:16:33 +03:00
parent ca3d5c2b75
commit 804b4e8b7b
2 changed files with 3 additions and 3 deletions

View file

@ -2538,7 +2538,7 @@ Returns (<buffer> . <workspace-index>) 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

View file

@ -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)