fix: fix nvim formatoptions and force hardwrap @80
This commit is contained in:
parent
90e36ef8aa
commit
c70c7447fa
@ -104,11 +104,10 @@ set shiftwidth=4
|
||||
|
||||
" Indent and wrap rules
|
||||
set autoindent
|
||||
set wrap
|
||||
|
||||
" Stop auto-commenting new line
|
||||
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
||||
|
||||
" Hard wrap at 80
|
||||
set textwidth=80
|
||||
autocmd FileType * setlocal formatoptions+=t
|
||||
|
||||
" Enable autocompletion
|
||||
set wildmode=longest,full
|
||||
|
Reference in New Issue
Block a user