From cec2116fec8a3ef1b013af073cee21aca6bb7e8d Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Mon, 15 Feb 2016 14:47:30 +1000 Subject: [PATCH] Added settings for ReStructured Text --- .vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.vimrc b/.vimrc index 9260869..ff0f296 100644 --- a/.vimrc +++ b/.vimrc @@ -29,6 +29,12 @@ function! MarkdownSettings() endfunction autocmd BufNewFile,BufFilePre,BufRead *.mdwn :call MarkdownSettings() +" My ReStructured Text environment +function! ReStructuredSettings() + set textwidth=79 +endfunction +autocmd BufNewFile,BufFilePre,BufRead *.rst :call ReStructuredSettings() + " Settings for my Haskell environment: function! HaskellSettings() set tabstop=8