diff options
author | Timo Wilken | 2023-10-30 23:39:13 +0100 |
---|---|---|
committer | Timo Wilken | 2023-10-30 23:39:13 +0100 |
commit | fa8515d53411c9fba4bcb9088ef3ffa4e3b4da94 (patch) | |
tree | 0d9af8aaf8bffd640a73cf924012bb7a86eb2e14 /tw/home/files | |
parent | a6896676ea0d4f969629597eeee518003c02e883 (diff) |
Make python-mode and python-ts-mode setup equivalent
Diffstat (limited to 'tw/home/files')
-rw-r--r-- | tw/home/files/emacs-init.el | 4 |
1 files changed, 2 insertions, 2 deletions
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." ("<leader>di" . counsel-dash-install-docset) ("<leader>da" . counsel-dash-activate-docset) ("<leader>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. |