Compare commits

...

6 Commits

Author SHA1 Message Date
y0rune c37a86d6c9 Retab: Remove tab to spaces 2022-01-02 01:37:32 +01:00
y0rune 4102d46fda By default tab in go lang files 2022-01-02 01:37:16 +01:00
y0rune 8c35bab05f Renamed Preetier to Bash section 2022-01-02 01:36:59 +01:00
y0rune c54d73577e Added by default spaces 2022-01-02 01:36:40 +01:00
y0rune 2236e1ed28 Removed duplicates 2022-01-02 01:36:31 +01:00
y0rune 23c0c5d776 Retab from tab to spaces 2022-01-02 01:36:22 +01:00
+6 -4
View File
@@ -19,8 +19,8 @@ set autoindent
set noexpandtab
set softtabstop=4
set shiftwidth=4
set softtabstop=4
set tabstop=4
set expandtab
set nocompatible
set noshowmode
set noerrorbells
@@ -145,9 +145,6 @@ let NERDTreeShowHidden=1
" latex
let g:tex_flavor = "latex"
" Preetier
autocmd FileType sh
\ autocmd BufWritePre <buffer> :Prettier <CR>
""""""""""""""""""""""""""""""""
" Theme
@@ -328,6 +325,10 @@ map <F4> :setlocal spell! spelllang=pl<CR>
" Ansible
au BufRead,BufNewFile *.yml set filetype=yaml.ansible
" Bash
autocmd FileType sh
\ autocmd BufWritePre <buffer> :Prettier <CR>
" Python
autocmd BufRead,BufNewFile *.py set textwidth=0
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 = '⦙'
" Go
autocmd BufRead *.go set noexpandtab
autocmd BufWritePre *.go :silent call CocAction('runCommand', 'editor.action.organizeImport')
" Conf