From d3183892825569fba566c1c7d250bfbd5e9538d9 Mon Sep 17 00:00:00 2001 From: blob42 Date: Mon, 10 Apr 2023 01:23:38 +0200 Subject: [PATCH] add mail to spell lexical --- after/plugin/vim-lexical.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/after/plugin/vim-lexical.vim b/after/plugin/vim-lexical.vim index 9bacbca..228cacd 100644 --- a/after/plugin/vim-lexical.vim +++ b/after/plugin/vim-lexical.vim @@ -1,6 +1,6 @@ augroup lexical autocmd! - autocmd FileType markdown,mkd call lexical#init() + autocmd FileType markdown,mkd,toml,mail call lexical#init() autocmd FileType textile call lexical#init() autocmd FileType text call lexical#init({ 'spell': 0 }) augroup END @@ -9,5 +9,3 @@ let g:lexical#thesaurus_key = 'ts' let g:lexical#dictionary_key = 'kk' let g:lexical#thesaurus = ['~/.local/share/mthesaur.txt',] let g:lexical#dictionary = ['/usr/share/dict/words', '/usr/share/dict/spanish', '/usr/share/dict/french'] - -