Add nvim config for neoformat

This commit is contained in:
Eric Torres 2022-09-25 06:52:30 -07:00
parent eb98ee4112
commit 653080cc7f

View File

@ -116,3 +116,13 @@ nnoremap <silent> <f5> :call fzf#run({
\ 'options': '+m', \ 'options': '+m',
\ 'down': len(<sid>buflist()) + 2 \ 'down': len(<sid>buflist()) + 2
\ })<CR> \ })<CR>
" Neoformat
" Enable alignment
let g:neoformat_basic_format_align = 1
" Enable tab to spaces conversion
let g:neoformat_basic_format_retab = 1
" Enable trimmming of trailing whitespace
let g:neoformat_basic_format_trim = 1