From d3096d669f7eeb516e9f4d84455c8aaa60c2465c Mon Sep 17 00:00:00 2001 From: David Date: Thu, 3 Sep 2020 14:46:24 +0200 Subject: [PATCH] feat: change neovim code formatting --- .config/nvim/init.vim | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 1e19a8f..f90d306 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -102,9 +102,10 @@ set shiftwidth=4 " Indent and wrap rules set autoindent -" Hard wrap at 80 -set textwidth=80 -autocmd FileType * setlocal formatoptions+=t +" Formatting +set textwidth=99 +autocmd FileType * setlocal formatoptions+=jp +autocmd FileType * setlocal formatoptions-=ro " Enable autocompletion set wildmode=longest,full