diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-08-10 08:46:30 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-08-10 08:46:30 +0200 |
commit | 6ace4f3240fd914bf60629e090b08058e44b86cf (patch) | |
tree | 8287ee82bc5fc6abd21ff6135f0a0a5659a373a3 | |
parent | 19a957f82e8626dda8372b549f9c24fcfbe5cda4 (diff) |
Automatically continue comments in C
-rw-r--r-- | etc/vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,10 +12,11 @@ set shiftwidth=5 set shiftround set autoindent set smartindent -set cindent +autocmd FileType c,cpp set cindent comments=sr:/*,mb:*,ex:*/,:// inoremap # X# set list set listchars=tab:»·,trail:·,extends:…,precedes:…,nbsp:␠ +set formatoptions=coqrt " Folding set foldmethod=marker |