Skip to content

Commit

Permalink
fix spell checking enablement
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolás Pernas Maradei committed Jun 17, 2021
1 parent 8257a47 commit 47bde3e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,16 @@ color desert
syntax enable " Activar sintaxis: coloreado, etc

" spell check
"set spell
set spelllang=en_gb
set spellfile=~/.vim/spell/en.utf-8.add
hi clear SpellBad
hi SpellBad cterm=reverse

let ignore_spell_check = [ "c", "cpp", "perl", "python", "sh" ]
autocmd BufWinEnter * if index(ignore_spell_check, &filetype) < 0
\ | set spell
\ | endif

"Abreviatura
abbr #i #include
abbr #d #define
Expand Down

0 comments on commit 47bde3e

Please sign in to comment.