Added LaTeX environment
This commit is contained in:
parent
0606226c46
commit
0c9905fad5
7
.vimrc
7
.vimrc
|
@ -36,6 +36,13 @@ function! ReStructuredSettings()
|
||||||
endfunction
|
endfunction
|
||||||
autocmd BufNewFile,BufFilePre,BufRead *.rst :call ReStructuredSettings()
|
autocmd BufNewFile,BufFilePre,BufRead *.rst :call ReStructuredSettings()
|
||||||
|
|
||||||
|
" My LaTeX environment:
|
||||||
|
function! LaTeXSettings()
|
||||||
|
set textwidth=79
|
||||||
|
set spell spelllang=en_au
|
||||||
|
endfunction
|
||||||
|
autocmd BufNewFile,BufFilePre,BufRead *.tex :call LaTeXSettings()
|
||||||
|
|
||||||
" Settings for my Haskell environment:
|
" Settings for my Haskell environment:
|
||||||
function! HaskellSettings()
|
function! HaskellSettings()
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
|
|
Loading…
Reference in a new issue