From 5525f6369be8be067d6ec44dfbff9355b55aebeb Mon Sep 17 00:00:00 2001 From: Felix Delattre Date: Thu, 2 Nov 2023 19:08:30 +0000 Subject: [PATCH] Update .vimrc --- dot_vimrc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/dot_vimrc b/dot_vimrc index 691d3dd..f588444 100644 --- a/dot_vimrc +++ b/dot_vimrc @@ -166,10 +166,13 @@ call plug#begin('~/.vim/plugged') " Autocompletion Plug 'neoclide/coc.nvim', {'branch': 'release'} + " GitHub Copilot + Plug 'github/copilot.vim' + " === Python === " Python docstring generator - Plug 'heavenshell/vim-pydocstring' + Plug 'heavenshell/vim-pydocstring', { 'do': 'make install', 'for': 'python' } " Enhanced syntax highlightitng 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_lint_on_text_changed = 'never' let g:ale_linters = { -\ 'python': ['flake8', 'black', 'mypy'], +\ 'python': ['ruff', 'black', 'mypy'], \ 'md': ['mdl'], \ 'yaml': ['yamllint'], \ 'yml': ['yamllint'], @@ -369,6 +372,8 @@ call NERDTreeHighlightFile('xml', 15) call NERDTreeHighlightFile('yaml', 'magenta') call NERDTreeHighlightFile('yml', 'magenta') +let g:NERDTreeMinimalMenu=1 + " === NERDTree Git Plugin === " Prefixes for files with different git status let g:NERDTreeGitStatusIndicatorMapCustom = { @@ -421,3 +426,6 @@ inoremap coc#pum#visible() ? coc#pum#prev(1) : "\" " ======== Vim Gurl ====================== let g:vimgurl_yank_register = '+' " copy to system buffer + +" ======== GitHub Copilot ====================== +" nmap gc :Copilot panel