summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-17 13:53:25 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-17 13:53:25 +0000
commit741a0200906f1eddc94ea01fd4e096549940f56f (patch)
tree784da9ff781c375d8b9555742121afd0edcfc292
parent6412f6cf6d46229029bfe5b0ec7b9476ad367944 (diff)
Spelling only on for markdown files
Diffstat (limited to '')
-rw-r--r--vim/vimrc10
1 files changed, 4 insertions, 6 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 7d974e5..5159ecb 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -255,8 +255,6 @@ let test#vimterminal#term_position = "belowright"
" command! S :w !sudo tee %
nnoremap <Tab> %
-" spelling
-set spell spelllang=en_gb
" }}}
" FZF {{{
" This is the default extra key bindings
@@ -375,8 +373,8 @@ nnoremap <leader><C-f> :GitFZF<CR>
"}}}
" Turn spelling on for text files {{{
" from - https://dmerej.info/blog/post/syntax-highlighting-is-useless/
-" augroup textfiles
-" autocmd!
-" autocmd filetype markdown :setlocal spell spelllang=en | syntax clear
-" augroup end
+augroup textfiles
+ autocmd!
+ autocmd filetype markdown :setlocal spell spelllang=en_gb | syntax clear
+augroup end
" }}}