aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2020-09-01 15:06:04 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:30 +0100
commite5d9005511e4a1033fa626080ae798e839a214c8 (patch)
tree4c22bf6af00b3bb81d416ace79aedb22d860b37e
parent525d940887aae924622d2b296753aa25f4be6a8e (diff)
downloaddotnvim-e5d9005511e4a1033fa626080ae798e839a214c8.tar.gz
dotnvim-e5d9005511e4a1033fa626080ae798e839a214c8.zip
Disable spellcheck, allow easy toggle
-rw-r--r--vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 365962b..4b40481 100644
--- a/vimrc
+++ b/vimrc
@@ -102,7 +102,9 @@ set background=dark
let g:gruvbox_italic=1
let g:gruvbox_contrast_dark="medium"
let g:gruvbox_guisp_fallback = "fg"
-set spell spelllang=en_gb
+
+" toggle spell check
+map <leader>s :set spell! spelllang=en_gb<CR>
" some types that shouldn't have spell check on
autocmd FileType json setlocal nospell