From fa8515d53411c9fba4bcb9088ef3ffa4e3b4da94 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Mon, 30 Oct 2023 23:39:13 +0100 Subject: Make python-mode and python-ts-mode setup equivalent --- tw/home/files/emacs-init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tw') diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el index 9fecfab7..1fea6749 100644 --- a/tw/home/files/emacs-init.el +++ b/tw/home/files/emacs-init.el @@ -184,7 +184,7 @@ If CREATE is true and the resulting directory does not exist, create it." (setq-local evil-lookup-func #'counsel-dash-at-point counsel-dash-docsets (cl-case major-mode - (python-mode '("Python 3")) + ((python-mode python-ts-mode) '("Python 3")) (c++-mode '("C++")) (cmake-mode '("CMake")) (puppet-mode '("Puppet")) @@ -201,7 +201,7 @@ If CREATE is true and the resulting directory does not exist, create it." ("di" . counsel-dash-install-docset) ("da" . counsel-dash-activate-docset) ("dd" . counsel-dash-deactivate-docset)) - :hook ((python-mode cmake-mode c++-mode puppet-mode tcl-mode common-lisp-mode) + :hook ((python-mode python-ts-mode cmake-mode c++-mode puppet-mode tcl-mode common-lisp-mode) . tw/counsel-dash-is-help) :config ;; Activate all installed docsets by default. -- cgit v1.2.3