From 321d93a94ffc59f230851f02ed1f65060f49cecc Mon Sep 17 00:00:00 2001 From: Rodion Goritskov Date: Sun, 10 Dec 2023 00:04:40 +0400 Subject: feature: Emacs Languagetool --- rodion/packages/emacs.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/rodion/packages/emacs.scm b/rodion/packages/emacs.scm index bb47c57..1a50b85 100644 --- a/rodion/packages/emacs.scm +++ b/rodion/packages/emacs.scm @@ -54,3 +54,27 @@ This package has been written to leverage tree-sitter parsing facilities, allowing all of these actions to be performed fast and accurate, even in the absence of parsing errors. The tree-sitter version is orders of magnitudes faster and I highly recommend its usage if your Emacs version permits.") (license license:gpl3))) + +(define-public emacs-languagetool + (package + (name "emacs-languagetool") + (version "1.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/PillFall/languagetool.el") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18rynn9gv7kwaivp836lkkllrc51h6yn64x4r279fg1w4psrq94b")))) + (build-system emacs-build-system) + (propagated-inputs (list emacs-yaml)) + (arguments + (list + #:tests? #false)) + (home-page "https://github.com/PillFall/languagetool.el") + (synopsis "LanguageTool suggestions integrated within Emacs") + (description + "LanguageTool is a free and open-source multilingual grammar, style, and spell checker with support for more than 30 languages. So, why not use it as your Emacs grammar and spell check tool. That is what this package is for.") + (license license:gpl3))) -- cgit v1.2.3