diff --git a/.config/vim/vimrc.d/30-settings.vim b/.config/vim/vimrc.d/30-settings.vim index 68a4440..456e02b 100644 --- a/.config/vim/vimrc.d/30-settings.vim +++ b/.config/vim/vimrc.d/30-settings.vim @@ -12,8 +12,8 @@ set tabstop=4 set shiftwidth=0 " Auto-wrap text and comments; automatically add comment leader when creating " new lines and delete it when joining; do not break already too long lines; -" allow formatting with gq. -set formatoptions=tcroqlj +" allow formatting with gq. Recognize numbered lists when formatting. +set formatoptions=tcroqljn " Autoindent new lines set autoindent " Copy structure of the existing lines indent when autoindenting a new line