Add nvim config for neoformat
This commit is contained in:
parent
eb98ee4112
commit
653080cc7f
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user