Compare commits
No commits in common. "c5f23ff375894230822df0c5041c735f2386f3fb" and "c915b62af878b32271db642179a7471f2778eb4c" have entirely different histories.
c5f23ff375
...
c915b62af8
@ -1,2 +0,0 @@
|
|||||||
gui:
|
|
||||||
mainPanelSplitMode: "horizontal"
|
|
@ -151,8 +151,6 @@ call plug#begin('~/.config/nvim/plugged')
|
|||||||
" Tree
|
" Tree
|
||||||
Plug 'kyazdani42/nvim-web-devicons'
|
Plug 'kyazdani42/nvim-web-devicons'
|
||||||
Plug 'kyazdani42/nvim-tree.lua'
|
Plug 'kyazdani42/nvim-tree.lua'
|
||||||
|
|
||||||
Plug 'z0mbix/vim-shfmt', { 'for': 'sh' }
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" LUA
|
" LUA
|
||||||
@ -531,12 +529,8 @@ au BufRead,BufNewFile *.yaml,*.yml if search('hosts:\|tasks:', 'nw') | set ft=ya
|
|||||||
autocmd BufWritePre *.yaml,*.yml :Prettier <CR>
|
autocmd BufWritePre *.yaml,*.yml :Prettier <CR>
|
||||||
|
|
||||||
" Bash
|
" Bash
|
||||||
if executable('shfmt')
|
autocmd FileType sh
|
||||||
let &l:formatprg='shfmt -i ' . &l:shiftwidth . ' -ln posix -sr -ci -s'
|
\ autocmd BufWritePre <buffer> :Prettier <CR>
|
||||||
endif
|
|
||||||
|
|
||||||
let g:shfmt_extra_args = '-i 4 -ci -sr -s'
|
|
||||||
let g:shfmt_fmt_on_save = 1
|
|
||||||
|
|
||||||
" Python
|
" Python
|
||||||
autocmd BufRead,BufNewFile *.py set textwidth=0
|
autocmd BufRead,BufNewFile *.py set textwidth=0
|
||||||
|
Loading…
Reference in New Issue
Block a user