Added textwidth for Markdown files

This commit is contained in:
Serĉanto de Scio 2016-02-01 12:44:51 +10:00
parent cce26cdeff
commit 01dec247dc

6
.vimrc
View file

@ -23,6 +23,12 @@ autocmd BufWritePre * :call TrimWhiteSpace()
" Add files ending in md to the list of files recognised as markdown: " Add files ending in md to the list of files recognised as markdown:
autocmd BufNewFile,BufFilePre,BufRead *.md set filetype=markdown autocmd BufNewFile,BufFilePre,BufRead *.md set filetype=markdown
" My Markdown environment
function! MarkdownSettings()
set textwidth=79
endfunction
autocmd BufNewFile,BufFilePre,BufRead *.mdwn :call MarkdownSettings()
" Settings for my Haskell environment: " Settings for my Haskell environment:
function! HaskellSettings() function! HaskellSettings()
set tabstop=8 set tabstop=8