Added textwidth for Markdown files
This commit is contained in:
parent
cce26cdeff
commit
01dec247dc
6
.vimrc
6
.vimrc
|
@ -23,6 +23,12 @@ autocmd BufWritePre * :call TrimWhiteSpace()
|
|||
" Add files ending in md to the list of files recognised as 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:
|
||||
function! HaskellSettings()
|
||||
set tabstop=8
|
||||
|
|
Loading…
Reference in a new issue