Added LaTeX environment
This commit is contained in:
parent
0606226c46
commit
0c9905fad5
1 changed files with 7 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue