doom: add languagetool

This commit is contained in:
Julian Mutter 2024-03-15 08:59:28 +01:00
parent cf2f13f629
commit aaa2f73332
3 changed files with 26 additions and 2 deletions

View File

@ -55,6 +55,7 @@ config, ... }: {
# Further tools
(lib.frajul.my-helper-function lazygit)
languagetool
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })

View File

@ -127,8 +127,6 @@
"* IDEA %?\n%i\n%T\n%a" :prepend t)
))
(defun fd-org-notes-search-follow-symlinks (query)
"Alternative to +default/org-notes-search which follows symbolic links for better project inlusion"
(interactive
@ -342,3 +340,24 @@ Return nil if on a link url, markup, html, or references."
(set-docsets! 'haskell-mode "Haskell")
(setq! citar-bibliography '("~/Nextcloud/zotero-sources.bib"))
;; https://github.com/PillFall/languagetool.el
(use-package! languagetool
:commands (languagetool-check
languagetool-clear-suggestions
languagetool-correct-at-point
languagetool-correct-buffer
languagetool-set-language
languagetool-server-mode
languagetool-server-start
languagetool-server-stop)
:init
(setq languagetool-java-arguments '("-Dfile.encoding=UTF-8")
languagetool-console-command "~/.nix-profile/share/languagetool-commandline.jar"
languagetool-server-command "~/.nix-profile/share/languagetool-server.jar"))
(use-package! org
:config
(setq org-latex-listings-options
'(("fontsize" "\\scriptsize")
("linenos" ""))))

View File

@ -17,6 +17,10 @@
(package! org-roam-ui)
(package! openwith)
;; (package! gptel)
(package! languagetool)
;; To install a package directly from a remote git repo, you must specify a
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
;; https://github.com/raxod502/straight.el#the-recipe-format