From 195e3cb16bae43f915d8559e0c572b70f3aebf13 Mon Sep 17 00:00:00 2001 From: Gregor Grigorjan Date: Tue, 21 May 2024 17:30:38 +0300 Subject: [PATCH] feat(emacs): jinx: init --- modules/nixos/programs/emacs/default.nix | 2 ++ modules/nixos/programs/emacs/init.el | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/modules/nixos/programs/emacs/default.nix b/modules/nixos/programs/emacs/default.nix index 02a1e84..0967916 100644 --- a/modules/nixos/programs/emacs/default.nix +++ b/modules/nixos/programs/emacs/default.nix @@ -52,6 +52,8 @@ in ]; elementary.home.packages = with pkgs; [ + # jinx + hunspellDicts.en_US # dirvish fd imagemagick diff --git a/modules/nixos/programs/emacs/init.el b/modules/nixos/programs/emacs/init.el index 7e1f277..60fec09 100644 --- a/modules/nixos/programs/emacs/init.el +++ b/modules/nixos/programs/emacs/init.el @@ -135,6 +135,10 @@ (indent-bars-treesit-ignore-blank-lines-types '("module")) (indent-bars-treesit-support t)) +(use-package jinx + :ensure t + :hook (emacs-startup . global-jinx-mode)) + (use-package emacs :ensure nil :custom