From 0c607cf1ce7d5b9bb590f926859490d1c7e232a8 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Mon, 25 Nov 2019 21:04:56 +0530 Subject: [PATCH] nvim: init.vim: Update format options Signed-off-by: Sanchayan Maity --- nvim/init.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/nvim/init.vim b/nvim/init.vim index 6d7e323..20424ec 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -107,6 +107,7 @@ set showmode " Show current mode. set ruler " Show the line and column numbers of the cursor. set number " Show the line numbers on the left side. 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 softtabstop=4 " Finetunes the amount of white space to be added. set tabstop=4 " Render TABs using this many spaces.