From f7cc11173a9b47b10a5306429b35a6b901d50ae4 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Mon, 15 Feb 2016 21:21:00 +1000 Subject: [PATCH] Moved spelling to Markdown and reStructured Text --- .vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index ff0f296..a6db613 100644 --- a/.vimrc +++ b/.vimrc @@ -5,7 +5,6 @@ set smartindent set tabstop=4 set shiftwidth=4 set expandtab -set spell spelllang=en_au syntax enable match ErrorMsg '\s\+$' @@ -26,12 +25,14 @@ autocmd BufNewFile,BufFilePre,BufRead *.md set filetype=markdown " My Markdown environment function! MarkdownSettings() set textwidth=79 + set spell spelllang=en_au endfunction autocmd BufNewFile,BufFilePre,BufRead *.mdwn :call MarkdownSettings() " My ReStructured Text environment function! ReStructuredSettings() set textwidth=79 + set spell spelllang=en_au endfunction autocmd BufNewFile,BufFilePre,BufRead *.rst :call ReStructuredSettings()