From 8534342632ea97770957bf86071b2d914b4b1256 Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Mon, 31 May 2021 16:51:17 +0300 Subject: [PATCH] fixup! [nvim] increase textwidth just a little bit --- nvim/plugin/editing.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nvim/plugin/editing.vim b/nvim/plugin/editing.vim index 11d29c2..a294e71 100644 --- a/nvim/plugin/editing.vim +++ b/nvim/plugin/editing.vim @@ -203,10 +203,12 @@ set commentstring=//%s " Formatting {{{ - " don't insert a comment after hitting 'o' or 'O' in the Normal mode + " -o: don't insert a comment after hitting 'o' or 'O' in the Normal mode + " -t: don't auto-wrap regular code while typing + " -c: don't auto-wrap comments while typing augroup vimrc-editing-formatting autocmd! - autocmd FileType * set formatoptions-=o + autocmd FileType * set formatoptions-=o | set formatoptions-=t | set formatoptions-=c augroup END " }}}