diff options
author | Matthew Lemon <y@yulqen.org> | 2024-02-17 13:53:25 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-02-17 13:53:25 +0000 |
commit | 741a0200906f1eddc94ea01fd4e096549940f56f (patch) | |
tree | 784da9ff781c375d8b9555742121afd0edcfc292 | |
parent | 6412f6cf6d46229029bfe5b0ec7b9476ad367944 (diff) |
Spelling only on for markdown files
Diffstat (limited to '')
-rw-r--r-- | vim/vimrc | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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 " }}} |