big update

This commit is contained in:
Bruno Carlin 2019-11-03 16:21:31 +01:00
parent 49bdae8bc6
commit 15f7d7fb9e
14 changed files with 104 additions and 10 deletions

View file

@ -10,6 +10,7 @@ runtime! archlinux.vim
syntax on
set background=dark
let g:solarized_termcolors = 16
let g:solarized_hitrail=1
colorscheme solarized
" have Vim load indentation rules and plugins
@ -92,10 +93,10 @@ let g:syntastic_java_javac_config_file_enabled = 1
let g:go_fmt_command = "goimports"
let g:go_fmt_autosave = 1
let g:go_metalinter_command = "golangci-lint"
let g:go_metalinter_enabled = ['govet', 'golint', 'errcheck', 'staticcheck', 'unused', 'gosimple', 'structcheck', 'varcheck', 'ineffassign', 'deadcode', 'gosec', 'unconvert', 'dupl', 'goconst', 'gocyclo', 'misspell', 'unparam', 'lll', 'interfacer', 'nakedret', 'scopelint']
let g:go_metalinter_enabled = ['govet', 'golint', 'errcheck', 'staticcheck', 'gosimple', 'structcheck', 'varcheck', 'ineffassign', 'deadcode', 'gosec', 'unconvert', 'dupl', 'goconst', 'gocyclo', 'misspell', 'unparam', 'lll', 'interfacer', 'nakedret', 'scopelint']
let g:go_metalinter_autosave = 1
"let g:go_metalinter_autosave_enabled = ['govet', 'golint', 'errcheck']
let g:go_metalinter_autosave_enabled = ['govet', 'golint', 'errcheck', 'staticcheck', 'unused', 'gosimple', 'structcheck', 'varcheck', 'ineffassign', 'deadcode', 'gosec', 'unconvert', 'dupl', 'goconst', 'gocyclo', 'misspell', 'unparam', 'lll', 'interfacer', 'nakedret', 'scopelint']
let g:go_metalinter_autosave_enabled = ['govet', 'golint', 'errcheck', 'staticcheck', 'gosimple', 'structcheck', 'varcheck', 'ineffassign', 'deadcode', 'gosec', 'unconvert', 'dupl', 'goconst', 'gocyclo', 'misspell', 'unparam', 'lll', 'interfacer', 'nakedret', 'scopelint']
let g:go_list_type = "quickfix"
let g:go_highlight_functions = 1
let g:go_highlight_function_parameters = 1
@ -168,6 +169,7 @@ call plug#begin('~/.vim/plugged')
Plug 'dag/vim-fish'
Plug 'glench/vim-jinja2-syntax'
Plug 'mattn/emmet-vim'
Plug 'ollykel/v-vim'
Plug 'scrooloose/syntastic'
Plug 'mtscout6/syntastic-local-eslint.vim'