Skip to content
Snippets Groups Projects
Commit 646baaf6 authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

Disable python plugins, rely on coc-pyright

parent 0a4ae25b
No related branches found
No related tags found
No related merge requests found
...@@ -117,13 +117,13 @@ else ...@@ -117,13 +117,13 @@ else
" Python autopep8 " Python autopep8
"Plug 'tell-k/vim-autopep8' "Plug 'tell-k/vim-autopep8'
Plug 'nvie/vim-flake8' "Plug 'nvie/vim-flake8'
" Python indentation " Python indentation
Plug 'Vimjas/vim-python-pep8-indent' "Plug 'Vimjas/vim-python-pep8-indent'
"Python-mode "Python-mode
Plug 'python-mode/python-mode', { 'for': 'python', 'branch': 'develop' } "Plug 'python-mode/python-mode', { 'for': 'python', 'branch': 'develop' }
" Smart quotes suppor " Smart quotes suppor
Plug 'reedes/vim-textobj-quote' Plug 'reedes/vim-textobj-quote'
...@@ -668,13 +668,9 @@ let g:tex_conceal = "" ...@@ -668,13 +668,9 @@ let g:tex_conceal = ""
"let g:neocomplcache_disable_auto_complete = 1 "let g:neocomplcache_disable_auto_complete = 1
" Enable spell checking when opening .tex files " Enable spell checking when opening .tex files
autocmd FileType tex setlocal spell spelllang=sv,en "autocmd FileType tex setlocal spell spelllang=sv,en
autocmd BufRead COMMIT_EDITMSG setlocal spell spelllang=sv,en "autocmd BufRead COMMIT_EDITMSG setlocal spell spelllang=sv,en
autocmd BufNewFile,BufRead *.md,*.mkd,*.markdown set spell spelllang=sv,en "autocmd BufNewFile,BufRead *.md,*.mkd,*.markdown set spell spelllang=sv,en
"autocmd BufWritePre *.py :%s/\s\+$//e
"autocmd!
"au BufNewFile,BufRead *.tex setlocal spell spelllang=en_us
" For quick and easy vimrc editing " For quick and easy vimrc editing
map <leader>vm :vsp $MYVIMRC<CR> map <leader>vm :vsp $MYVIMRC<CR>
...@@ -956,7 +952,7 @@ xmap af <Plug>(coc-funcobj-a) ...@@ -956,7 +952,7 @@ xmap af <Plug>(coc-funcobj-a)
omap if <Plug>(coc-funcobj-i) omap if <Plug>(coc-funcobj-i)
omap af <Plug>(coc-funcobj-a) omap af <Plug>(coc-funcobj-a)
" Use <TAB> for select selections ranges, needs server support, like: coc-tsserver, coc-python " Use <TAB> for select selections ranges, needs server support, like: coc-tsserver, coc-pyright
nmap <silent> <TAB> <Plug>(coc-range-select) nmap <silent> <TAB> <Plug>(coc-range-select)
xmap <silent> <TAB> <Plug>(coc-range-select) xmap <silent> <TAB> <Plug>(coc-range-select)
...@@ -993,7 +989,7 @@ nnoremap <silent> <leader>p :<C-u>CocListResume<CR> ...@@ -993,7 +989,7 @@ nnoremap <silent> <leader>p :<C-u>CocListResume<CR>
" Rust Coc needs " Rust Coc needs
" :CocInstall coc-rust-analyzer coc-spell-checker coc-cspell-dicts coc-json coc-markdownlint coc-yaml coc-python coc-vimtex " :CocInstall coc-rust-analyzer coc-spell-checker coc-cspell-dicts coc-json coc-markdownlint coc-yaml coc-pyright coc-vimtex
" "
" For text linting to work via coc-diagnostic, install " For text linting to work via coc-diagnostic, install
" yay -S languagetool alex proselint write-good " yay -S languagetool alex proselint write-good
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment