aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2020-06-08 11:40:45 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:29 +0100
commit7fc3dde110e447e3e791430489fe4cef488997f5 (patch)
tree2009274e13701923ad6127a62d3776433c4010e7
parenta6320650425f9c8c628fa7b65cd5369455e714fb (diff)
downloaddotnvim-7fc3dde110e447e3e791430489fe4cef488997f5.tar.gz
dotnvim-7fc3dde110e447e3e791430489fe4cef488997f5.zip
Disable spellcheck in some file types
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
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