Moved spelling to Markdown and reStructured Text
This commit is contained in:
parent
cec2116fec
commit
f7cc11173a
3
.vimrc
3
.vimrc
|
@ -5,7 +5,6 @@ set smartindent
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set expandtab
|
set expandtab
|
||||||
set spell spelllang=en_au
|
|
||||||
syntax enable
|
syntax enable
|
||||||
match ErrorMsg '\s\+$'
|
match ErrorMsg '\s\+$'
|
||||||
|
|
||||||
|
@ -26,12 +25,14 @@ autocmd BufNewFile,BufFilePre,BufRead *.md set filetype=markdown
|
||||||
" My Markdown environment
|
" My Markdown environment
|
||||||
function! MarkdownSettings()
|
function! MarkdownSettings()
|
||||||
set textwidth=79
|
set textwidth=79
|
||||||
|
set spell spelllang=en_au
|
||||||
endfunction
|
endfunction
|
||||||
autocmd BufNewFile,BufFilePre,BufRead *.mdwn :call MarkdownSettings()
|
autocmd BufNewFile,BufFilePre,BufRead *.mdwn :call MarkdownSettings()
|
||||||
|
|
||||||
" My ReStructured Text environment
|
" My ReStructured Text environment
|
||||||
function! ReStructuredSettings()
|
function! ReStructuredSettings()
|
||||||
set textwidth=79
|
set textwidth=79
|
||||||
|
set spell spelllang=en_au
|
||||||
endfunction
|
endfunction
|
||||||
autocmd BufNewFile,BufFilePre,BufRead *.rst :call ReStructuredSettings()
|
autocmd BufNewFile,BufFilePre,BufRead *.rst :call ReStructuredSettings()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue