diff --git a/dotfiles/vim/vimrc b/dotfiles/vim/vimrc index 5280f73..1a301b3 100644 --- a/dotfiles/vim/vimrc +++ b/dotfiles/vim/vimrc @@ -36,7 +36,6 @@ call plug#begin('~/.vim/plugged') " AUTOCOMPLETION, FORMATTING AND LINTING " Main autocompletion -"Plug 'ycm-core/YouCompleteMe' Plug 'neoclide/coc.nvim', { 'branch': 'release' } "Auto close parens and such Plug 'Townk/vim-autoclose' @@ -107,12 +106,6 @@ let g:pymode_lint_ignore = ["E203"] let g:coc_global_extensions = [ 'coc-powershell', 'coc-python', 'coc-json', 'coc-html', 'coc-css', 'coc-vimtex' ] -"let g:ycm_extra_conf_globlist = ['!~/*'] " is overwritten in autogroups for c -"let g:ycm_autoclose_preview_window_after_insertion = 1 - -" in normal mode run YCM's GoTo subcommand -"nnoremap gd :YcmCompleter GoTo - let NERDTreeIgnore=['^__pycache__$', '\.pyc', '\~$'] " ignore files in NERDTree " in normal mode open NERDTree @@ -212,10 +205,6 @@ augroup configgroup autocmd FileType python nnoremap :Black autocmd FileType html,htmldjango,python,tex,plaintex,yaml setlocal foldmethod=indent autocmd FileType python setlocal colorcolumn=80 - "autocmd FileType python let g:ycm_python_interpreter_path = '' - "autocmd FileType python let g:ycm_python_sys_path = [] - "autocmd FileType python let g:ycm_extra_conf_vim_data = ['g:ycm_python_interpreter_path', 'g:ycm_python_sys_path'] - "autocmd FileType python let g:ycm_global_ycm_extra_conf = '~/.global_extra_conf.py' autocmd BufEnter Makefile,*.asm setlocal noexpandtab tabstop=6 shiftwidth=6 softtabstop=0 autocmd BufEnter *.sh setlocal shiftwidth=2 tabstop=2 softtabstop=2 foldlevel=0 foldmethod=marker