nvim: init.vim: Update format options

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-11-25 21:04:56 +05:30
parent c5af132ec6
commit 0c607cf1ce

View file

@ -107,6 +107,7 @@ set showmode " Show current mode.
set ruler " Show the line and column numbers of the cursor. set ruler " Show the line and column numbers of the cursor.
set number " Show the line numbers on the left side. set number " Show the line numbers on the left side.
set formatoptions+=o " Continue comment marker in new lines. set formatoptions+=o " Continue comment marker in new lines.
set formatoptions+=j " Delete comment character when joining commented lines
set textwidth=0 " Hard-wrap long lines as you type them. set textwidth=0 " Hard-wrap long lines as you type them.
set softtabstop=4 " Finetunes the amount of white space to be added. set softtabstop=4 " Finetunes the amount of white space to be added.
set tabstop=4 " Render TABs using this many spaces. set tabstop=4 " Render TABs using this many spaces.