diff options
Diffstat (limited to 'tw/home/files/emacs-init.el')
-rw-r--r-- | tw/home/files/emacs-init.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el index 2a19fa8d..d7e375f2 100644 --- a/tw/home/files/emacs-init.el +++ b/tw/home/files/emacs-init.el @@ -184,13 +184,16 @@ 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 + (lisp-mode '("Common Lisp")) ((python-mode python-ts-mode) '("Python 3")) (c++-mode '("C++")) (cmake-mode '("CMake")) (puppet-mode '("Puppet")) (yaml-mode '("Ansible")) (tcl-mode '("Tcl")) - (common-lisp-mode '("Common Lisp"))))) + (html-mode '("HTML" "CSS")) + ((css-mode css-ts-mode) '("CSS")) + (web-mode '("HTML" "CSS"))))) (use-package counsel-dash :after (dash-docs which-key) @@ -202,7 +205,8 @@ 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 python-ts-mode cmake-mode c++-mode puppet-mode yaml-mode tcl-mode common-lisp-mode) + :hook (( lisp-mode python-mode python-ts-mode cmake-mode c++-mode puppet-mode yaml-mode + tcl-mode html-mode css-mode css-ts-mode web-mode) . tw/counsel-dash-is-help) :config ;; Activate all installed docsets by default. |