Compare commits

...

3 Commits

Author SHA1 Message Date
f5f75a7f69
Added the Go 2022-01-02 01:27:34 +01:00
8684f64544
Default in code the tabs 2022-01-02 01:27:27 +01:00
3051133257
Added warn,err,info in the insert mode in vim 2022-01-02 01:27:04 +01:00
2 changed files with 7 additions and 1 deletions

View File

@ -15,6 +15,7 @@
"python.formatting.provider": "black", "python.formatting.provider": "black",
"python.formatting.blackArgs": ["--line-length", "80"], "python.formatting.blackArgs": ["--line-length", "80"],
"python.pythonPath": "python3", "python.pythonPath": "python3",
"diagnostic.refreshOnInsertMode": "true",
"coc.preferences.formatOnSaveFiletypes": [ "coc.preferences.formatOnSaveFiletypes": [
"sh", "sh",
"yaml", "yaml",

View File

@ -18,7 +18,9 @@ let g:python_host_prog = ''
set autoindent set autoindent
set noexpandtab set noexpandtab
set softtabstop=4 set softtabstop=4
set tabstop=4 shiftwidth=2 expandtab set shiftwidth=4
set softtabstop=4
set tabstop=4
set nocompatible set nocompatible
set noshowmode set noshowmode
set noerrorbells set noerrorbells
@ -349,6 +351,9 @@ autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
autocmd BufRead,BufNewFile *.yaml let g:indentLine_enabled = 1 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
autocmd BufWritePre *.go :silent call CocAction('runCommand', 'editor.action.organizeImport')
" Conf " Conf
au BufNewFile,BufRead *.conf setfiletype conf au BufNewFile,BufRead *.conf setfiletype conf