Plug 'https://gitlab.com/dbeniamine/vim-mail'
Plug 'Konfekt/vim-DetectSpellLang', {'do': 'spell'}
+Plug 'dpelle/vim-LanguageTool'
" Disable devicons on linux terminal
if $TERM == 'linux'
let g:detectspelllang_langs = {}
let g:detectspelllang_langs.aspell =[ 'en_US', 'de_AT']
+ " Try finding jar file. If it does not work, set cmd directly
+ let g:languagetool_jar='/snap/languagetool/current/usr/bin/languagetool-commandline.jar'
+ if !filereadable(g:languagetool_jar)
+ unlet! g:languagetool_jar
+ let g:languagetool_cmd='languagetool'
+ endif
+
+
au FileType mail let g:VimMailSpellLangs=['de', 'en']
let g:VimMailContactsProvider=['khard']
let g:VimMailContactsCommands={