Added the ebuild settings in the neovim
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
6c1d71d65c
commit
3c49890f1d
@ -605,6 +605,9 @@ au BufNewFile,BufRead *.conf setfiletype conf
|
|||||||
" Mikrotik
|
" Mikrotik
|
||||||
au BufNewFile,BufRead *.mikrotik setfiletype routeros
|
au BufNewFile,BufRead *.mikrotik setfiletype routeros
|
||||||
|
|
||||||
|
" Ebuild
|
||||||
|
au BufNewFile,BufRead,BufWritePre *.ebuild let g:shfmt_extra_args = '-ci -sr -s'
|
||||||
|
|
||||||
" Automatically deletes all trailing whitespace and newlines at end of file on save.
|
" Automatically deletes all trailing whitespace and newlines at end of file on save.
|
||||||
autocmd BufWritePre * %s/\s\+$//e
|
autocmd BufWritePre * %s/\s\+$//e
|
||||||
autocmd BufWritepre * %s/\n\+\%$//e
|
autocmd BufWritepre * %s/\n\+\%$//e
|
||||||
|
Loading…
Reference in New Issue
Block a user