Update .vimrc
This commit is contained in:
parent
ef9efc1fd2
commit
5525f6369b
12
dot_vimrc
12
dot_vimrc
|
@ -166,10 +166,13 @@ call plug#begin('~/.vim/plugged')
|
||||||
" Autocompletion
|
" Autocompletion
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
|
|
||||||
|
" GitHub Copilot
|
||||||
|
Plug 'github/copilot.vim'
|
||||||
|
|
||||||
" === Python ===
|
" === Python ===
|
||||||
|
|
||||||
" Python docstring generator
|
" Python docstring generator
|
||||||
Plug 'heavenshell/vim-pydocstring'
|
Plug 'heavenshell/vim-pydocstring', { 'do': 'make install', 'for': 'python' }
|
||||||
|
|
||||||
" Enhanced syntax highlightitng
|
" Enhanced syntax highlightitng
|
||||||
Plug 'sheerun/vim-polyglot'
|
Plug 'sheerun/vim-polyglot'
|
||||||
|
@ -251,7 +254,7 @@ let g:ale_echo_msg_warning_str = 'W'
|
||||||
let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'
|
let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'
|
||||||
let g:ale_lint_on_text_changed = 'never'
|
let g:ale_lint_on_text_changed = 'never'
|
||||||
let g:ale_linters = {
|
let g:ale_linters = {
|
||||||
\ 'python': ['flake8', 'black', 'mypy'],
|
\ 'python': ['ruff', 'black', 'mypy'],
|
||||||
\ 'md': ['mdl'],
|
\ 'md': ['mdl'],
|
||||||
\ 'yaml': ['yamllint'],
|
\ 'yaml': ['yamllint'],
|
||||||
\ 'yml': ['yamllint'],
|
\ 'yml': ['yamllint'],
|
||||||
|
@ -369,6 +372,8 @@ call NERDTreeHighlightFile('xml', 15)
|
||||||
call NERDTreeHighlightFile('yaml', 'magenta')
|
call NERDTreeHighlightFile('yaml', 'magenta')
|
||||||
call NERDTreeHighlightFile('yml', 'magenta')
|
call NERDTreeHighlightFile('yml', 'magenta')
|
||||||
|
|
||||||
|
let g:NERDTreeMinimalMenu=1
|
||||||
|
|
||||||
" === NERDTree Git Plugin ===
|
" === NERDTree Git Plugin ===
|
||||||
" Prefixes for files with different git status
|
" Prefixes for files with different git status
|
||||||
let g:NERDTreeGitStatusIndicatorMapCustom = {
|
let g:NERDTreeGitStatusIndicatorMapCustom = {
|
||||||
|
@ -421,3 +426,6 @@ inoremap <expr> <S-Tab> coc#pum#visible() ? coc#pum#prev(1) : "\<S-Tab>"
|
||||||
|
|
||||||
" ======== Vim Gurl ======================
|
" ======== Vim Gurl ======================
|
||||||
let g:vimgurl_yank_register = '+' " copy to system buffer
|
let g:vimgurl_yank_register = '+' " copy to system buffer
|
||||||
|
|
||||||
|
" ======== GitHub Copilot ======================
|
||||||
|
" nmap <silent> gc :Copilot panel<CR>
|
||||||
|
|
Loading…
Reference in New Issue