Compare commits
4 Commits
c915b62af8
...
c5f23ff375
Author | SHA1 | Date | |
---|---|---|---|
|
c5f23ff375 | ||
|
dc1c804688 | ||
|
f8b760c29e | ||
|
20c40577ae |
2
.config/lazygit/config.yml
Normal file
2
.config/lazygit/config.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
gui:
|
||||||
|
mainPanelSplitMode: "horizontal"
|
@ -151,6 +151,8 @@ 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
|
||||||
@ -529,8 +531,12 @@ 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
|
||||||
autocmd FileType sh
|
if executable('shfmt')
|
||||||
\ autocmd BufWritePre <buffer> :Prettier <CR>
|
let &l:formatprg='shfmt -i ' . &l:shiftwidth . ' -ln posix -sr -ci -s'
|
||||||
|
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