]
}
},
+ "diagnostic-languageserver.filetypes": {
+ "python": "flake8"
+ },
+ "diagnostic-languageserver.linters": {
+ "flake8": {
+ "sourceName": "flake8",
+ "command": "flake8",
+ "debounce": 200,
+ "rootPatterns": [
+ ".git",
+ "pyproject.toml",
+ "setup.py"
+ ],
+ "args": [
+ "--ignore=E402,C901,W503,W504,E116,E702,C0103,C0114,C0115,C0116,C0103,C0301,W0613,W0102,R0903,R0902,R0914,R0915,R0205,W0703,W0702,W0603",
+ "--format=%(row)d,%(col)d,%(code).1s,%(code)s: %(text)s",
+ "-"
+ ],
+ "offsetLine": 0,
+ "offsetColumn": 0,
+ "formatLines": 1,
+ "formatPattern": [
+ "(\\d+),(\\d+),([A-Z]),(.*)(\\r|\\n)*$",
+ {
+ "line": 1,
+ "column": 2,
+ "security": 3,
+ "message": 4
+ }
+ ],
+ "securities": {
+ "W": "info",
+ "E": "warning",
+ "F": "info",
+ "C": "info",
+ "N": "hint"
+ }
+ }
+ },
"coc.preferences.formatOnSaveFiletypes": [
"c",
"cpp",
augroup end
" Symbol renaming
-nnoremap <leader>rm <Plug>(coc-rename)
+nnoremap <leader>rn <Plug>(coc-rename)
" Use tab for trigger completion with characters ahead and navigate.
" NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by
" Startify
Plug 'mhinz/vim-startify'
+ " Signify --- Git
+ if has('nvim') || has('patch-8.0.902')
+ Plug 'mhinz/vim-signify'
+ else
+ Plug 'mhinz/vim-signify', { 'branch': 'legacy' }
+ endif
+
" Themes
Plug 'NLKNguyen/papercolor-theme'
Plug 'vim-airline/vim-airline'