vim:setts: Add / to 'formatoptions'
Do not insert the comment leader on 'o' on trailing inline comments.
This commit is contained in:
@@ -25,10 +25,8 @@ set ignorecase smartcase
|
|||||||
set tabstop=4
|
set tabstop=4
|
||||||
" Shift the same amount as tabstop
|
" Shift the same amount as tabstop
|
||||||
set shiftwidth=0
|
set shiftwidth=0
|
||||||
" Auto-wrap text and comments; automatically add comment leader when creating
|
" Control how vim formats paragraphs. See :h fo-table
|
||||||
" new lines and delete it when joining; do not break already too long lines;
|
set formatoptions=tcro/qlnj
|
||||||
" allow formatting with gq. Recognize numbered lists when formatting.
|
|
||||||
set formatoptions=tcroqljn
|
|
||||||
" Autoindent new lines
|
" Autoindent new lines
|
||||||
set autoindent
|
set autoindent
|
||||||
" Copy structure of the existing lines indent when autoindenting a new line
|
" Copy structure of the existing lines indent when autoindenting a new line
|
||||||
|
|||||||
Reference in New Issue
Block a user