[nvim] Only spellcheck in text files
This commit is contained in:
parent
da83ac0122
commit
f601abf860
1 changed files with 5 additions and 2 deletions
|
@ -163,10 +163,13 @@ nnoremap <silent> <leader>ml :call AppendModeline()<CR>
|
|||
|
||||
" Spell check {{{2
|
||||
" ================
|
||||
set spell
|
||||
set spelllang=en_us,nl
|
||||
set spelllang=en_uk,nl
|
||||
set spellfile=$HOME/.local/share/nvim/spellfile.utf-8.add
|
||||
|
||||
augroup spellcheck_textfiles
|
||||
au! BufNewFile,BufRead *.md,*.txt,*.tex setlocal spell
|
||||
augroup END
|
||||
|
||||
|
||||
" Plug-ins {{{1
|
||||
" =============
|
||||
|
|
Loading…
Reference in a new issue