From 7fc3dde110e447e3e791430489fe4cef488997f5 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 8 Jun 2020 11:40:45 +0100 Subject: Disable spellcheck in some file types --- vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vimrc b/vimrc index 1d8ce52..76f75cb 100644 --- a/vimrc +++ b/vimrc @@ -99,6 +99,12 @@ let g:gruvbox_italic=1 let g:gruvbox_contrast_dark="medium" let g:gruvbox_guisp_fallback = "fg" set spell spelllang=en_gb + +" some types that shouldn't have spell check on +autocmd FileType json setlocal nospell +autocmd FileType conf setlocal nospell +autocmd FileType xml setlocal nospell + colorscheme gruvbox " EOL whitespace -- cgit v1.2.3