From 91a5013ef40fc7da52a1b48fe7160e3879ab9f90 Mon Sep 17 00:00:00 2001 From: Anish L Date: Thu, 14 Jul 2022 02:27:44 +1000 Subject: [PATCH] set spelling for emails --- users/profiles/nvim/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/users/profiles/nvim/default.nix b/users/profiles/nvim/default.nix index 67476f24..1d7233ea 100644 --- a/users/profiles/nvim/default.nix +++ b/users/profiles/nvim/default.nix @@ -608,6 +608,11 @@ in { pattern = { "*.wiki", "*.txt", "*.md", "*.tex" }, command = "setlocal spell" } ) + vim.api.nvim_create_autocmd( + "FileType", + { pattern = { "mail" }, + command = "setlocal spell" } + ) -- auto session require('auto-session').setup {