diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-11-27 18:22:52 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-11-27 18:22:52 +0000 |
commit | c250d0632418a8f324a51d414d2a161dbad407c1 (patch) | |
tree | 0abdadc168f0fcc2a7bb2dcf5836f4c4b62dd692 /dotrc | |
parent | bf71ec3e4e5003f08729b11fc89d58a8f256ac35 (diff) |
Update vimrc to stop auto insert of comment leaders.
Diffstat (limited to 'dotrc')
-rw-r--r-- | dotrc/.vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dotrc/.vimrc b/dotrc/.vimrc index 06c3f5e..d17f233 100644 --- a/dotrc/.vimrc +++ b/dotrc/.vimrc @@ -77,6 +77,7 @@ set spellfile=$HOME/.spell.en.add " :if !exists("autocommands_loaded") : let autocommands_loaded = 1 +: autocmd BufNewFile,BufRead * setlocal formatoptions-=cro ": autocmd BufNewFile *.c 0r /devel/proformas/proforma.c ": autocmd BufNewFile *.h 0r /devel/proformas/proforma.h ": autocmd BufNewFile *.htm,*.html 0r $HOME/.skeleton/skeleton.html |