neovim: added Neoformat
This commit is contained in:
parent
65ed4d2725
commit
2f808daa78
|
@ -15,9 +15,11 @@
|
||||||
haskell-vim # Syntax Highlighting and Indentation for Haskell
|
haskell-vim # Syntax Highlighting and Indentation for Haskell
|
||||||
indentLine # Display thin vertical lines at each indentation level
|
indentLine # Display thin vertical lines at each indentation level
|
||||||
neocomplete-vim # Keyword completion system
|
neocomplete-vim # Keyword completion system
|
||||||
|
neoformat # A (Neo)vim plugin for formatting code.
|
||||||
nerdcommenter # Comment functions so powerful—no comment necessary
|
nerdcommenter # Comment functions so powerful—no comment necessary
|
||||||
nerdtree # File system explorer
|
nerdtree # File system explorer
|
||||||
nerdtree-git-plugin # Plugin for nerdtree showing git status
|
nerdtree-git-plugin # Plugin for nerdtree showing git status
|
||||||
|
#statix # Lints and suggestions for the nix programming language
|
||||||
supertab # Allows you to use <Tab> for all your insert completion
|
supertab # Allows you to use <Tab> for all your insert completion
|
||||||
syntastic # Syntax checking hacks
|
syntastic # Syntax checking hacks
|
||||||
vim-addon-nix # Scripts assisting writing .nix files
|
vim-addon-nix # Scripts assisting writing .nix files
|
||||||
|
@ -126,6 +128,12 @@
|
||||||
autocmd BufWritePost,FileWritePost *.gpg u
|
autocmd BufWritePost,FileWritePost *.gpg u
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
" Use Neoformat to automatically format files
|
||||||
|
augroup fmt
|
||||||
|
autocmd!
|
||||||
|
autocmd BufWritePre * undojoin | Neoformat
|
||||||
|
augroup END
|
||||||
|
|
||||||
" Manage ISO files
|
" Manage ISO files
|
||||||
augroup iso
|
augroup iso
|
||||||
au!
|
au!
|
||||||
|
|
Loading…
Reference in a new issue