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 {