Compare commits

...

6 Commits

View File

@ -19,8 +19,8 @@ set autoindent
set noexpandtab set noexpandtab
set softtabstop=4 set softtabstop=4
set shiftwidth=4 set shiftwidth=4
set softtabstop=4
set tabstop=4 set tabstop=4
set expandtab
set nocompatible set nocompatible
set noshowmode set noshowmode
set noerrorbells set noerrorbells
@ -145,9 +145,6 @@ let NERDTreeShowHidden=1
" latex " latex
let g:tex_flavor = "latex" let g:tex_flavor = "latex"
" Preetier
autocmd FileType sh
\ autocmd BufWritePre <buffer> :Prettier <CR>
"""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""""
" Theme " Theme
@ -328,6 +325,10 @@ map <F4> :setlocal spell! spelllang=pl<CR>
" Ansible " Ansible
au BufRead,BufNewFile *.yml set filetype=yaml.ansible au BufRead,BufNewFile *.yml set filetype=yaml.ansible
" Bash
autocmd FileType sh
\ autocmd BufWritePre <buffer> :Prettier <CR>
" Python " Python
autocmd BufRead,BufNewFile *.py set textwidth=0 autocmd BufRead,BufNewFile *.py set textwidth=0
autocmd BufRead,BufNewFile *.py set fo-=t autocmd BufRead,BufNewFile *.py set fo-=t
@ -352,6 +353,7 @@ autocmd BufRead,BufNewFile *.yaml let g:indentLine_enabled = 1
autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙' autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙'
" Go " Go
autocmd BufRead *.go set noexpandtab
autocmd BufWritePre *.go :silent call CocAction('runCommand', 'editor.action.organizeImport') autocmd BufWritePre *.go :silent call CocAction('runCommand', 'editor.action.organizeImport')
" Conf " Conf