From 20efa4956e0297062eeac8092cbc78df7a36e459 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Tue, 9 Jul 2024 06:37:37 -0300 Subject: [PATCH] emacs: add spelling & grammar modules --- programs/emacs/default.nix | 7 +++++++ programs/emacs/doom/init.el | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/programs/emacs/default.nix b/programs/emacs/default.nix index 9fb5428..b743cab 100644 --- a/programs/emacs/default.nix +++ b/programs/emacs/default.nix @@ -10,6 +10,13 @@ fd pandoc # For org-pandoc + (aspellWithDicts ( + dicts: with dicts; [ + en + pt_BR + ] + )) # for flyspell + languagetool # for grammar ]; # Neatly place the configuration files for doom in their right place. diff --git a/programs/emacs/doom/init.el b/programs/emacs/doom/init.el index 511e06f..333c8ad 100644 --- a/programs/emacs/doom/init.el +++ b/programs/emacs/doom/init.el @@ -82,8 +82,10 @@ :checkers syntax ; tasing you for every semicolon you forget - (spell +flyspell) ; tasing you for misspelling mispelling - ;;grammar ; tasing grammar mistake every you make + (spell ; tasing you for misspelling mispelling + +aspell + +flyspell) + grammar ; tasing grammar mistake every you make :tools ;;ansible