vim: Added autoformatting
This commit is contained in:
parent
515a6039cb
commit
57b8cd268e
|
@ -37,6 +37,7 @@ vim_configurable.customize {
|
|||
autocmd FileAppendPre * :call TrimWhiteSpace()
|
||||
autocmd FilterWritePre * :call TrimWhiteSpace()
|
||||
autocmd BufWritePre * :call TrimWhiteSpace()
|
||||
autocmd BufWrite * :Autoformat
|
||||
|
||||
" FIXME: Currently always set to dark due to issues with Termonad Solarized theme
|
||||
" Light during the day, dark during the night
|
||||
|
@ -273,6 +274,7 @@ vim_configurable.customize {
|
|||
tabular # Script for text filtering and alignment
|
||||
vim-addon-nix # Scripts assisting writing .nix files
|
||||
vim-airline-themes # Collection of themes for airline
|
||||
vim-autoformat # Automatically format code
|
||||
vim-colorschemes # Collection of ViM colour schemes
|
||||
vim-cue # Cue filetype plugin for Vim
|
||||
vim-nix # Support for writing Nix expressions in vim
|
||||
|
|
Loading…
Reference in a new issue