diff --git a/nvim/.config/nvim/plugins.vim b/nvim/.config/nvim/plugins.vim index 7498df8..915f8e3 100644 --- a/nvim/.config/nvim/plugins.vim +++ b/nvim/.config/nvim/plugins.vim @@ -116,3 +116,13 @@ nnoremap :call fzf#run({ \ 'options': '+m', \ 'down': len(buflist()) + 2 \ }) + +" 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