From 09d4f2e7249b216b6be7c56de31dd75519358542 Mon Sep 17 00:00:00 2001 From: Micheal Smith Date: Fri, 19 Sep 2025 16:05:37 -0500 Subject: [PATCH] Added devdocs support. --- README.org | 22 ++++++++++++++++------ config.org | 22 ++++++++++++++++------ 2 files changed, 32 insertions(+), 12 deletions(-) diff --git a/README.org b/README.org index cab26b7..d3a666c 100644 --- a/README.org +++ b/README.org @@ -441,6 +441,22 @@ Might as well highlight the parentheses to make them easier to spot. (use-package s :ensure t) #+end_src +* Documentation + +If possible I like to have documentation within the editor itself so +I can easily read and look at the material easily. + +** devdocs.el + +This [[https://github.com/astoff/devdocs.el][plugin]] browses documentation from [[https://devdocs.io][devdocs.io]]. I haven't used this +enough to vouch for it's accuracy, but it seems fine. + +#+begin_src emacs-lisp +(use-package devdocs + :ensure t + :bind ("C-h D" . devdocs-lookup)) +#+end_src + * Socializing Here are some things I use to optionally communicate with the rest of the world @@ -1271,7 +1287,6 @@ the package. (c-ts-mode . lsp-deferred) (clojure-ts-mode . lsp-deferred) (elixir-ts-mode . lsp-deferred) - (fennel-mode . lsp-deferred) (rust-ts-mode . lsp-deferred) (slint-mode . lsp-deferred) (zig-mode . lsp-deferred) @@ -1352,11 +1367,6 @@ bother with an explanation on each. (use-package inf-elixir :defer t) -;; Fennel -(use-package fennel-mode - :config - (add-to-list 'auto-mode-alist '("\\.fnl\\'" . fennel-mode))) - ;; Go (use-package go-mode :demand t diff --git a/config.org b/config.org index cab26b7..d3a666c 100644 --- a/config.org +++ b/config.org @@ -441,6 +441,22 @@ Might as well highlight the parentheses to make them easier to spot. (use-package s :ensure t) #+end_src +* Documentation + +If possible I like to have documentation within the editor itself so +I can easily read and look at the material easily. + +** devdocs.el + +This [[https://github.com/astoff/devdocs.el][plugin]] browses documentation from [[https://devdocs.io][devdocs.io]]. I haven't used this +enough to vouch for it's accuracy, but it seems fine. + +#+begin_src emacs-lisp +(use-package devdocs + :ensure t + :bind ("C-h D" . devdocs-lookup)) +#+end_src + * Socializing Here are some things I use to optionally communicate with the rest of the world @@ -1271,7 +1287,6 @@ the package. (c-ts-mode . lsp-deferred) (clojure-ts-mode . lsp-deferred) (elixir-ts-mode . lsp-deferred) - (fennel-mode . lsp-deferred) (rust-ts-mode . lsp-deferred) (slint-mode . lsp-deferred) (zig-mode . lsp-deferred) @@ -1352,11 +1367,6 @@ bother with an explanation on each. (use-package inf-elixir :defer t) -;; Fennel -(use-package fennel-mode - :config - (add-to-list 'auto-mode-alist '("\\.fnl\\'" . fennel-mode))) - ;; Go (use-package go-mode :demand t