Skip to content

Commit

Permalink
fix: pydocstring is incompatible with vim 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangyinzuo committed Nov 7, 2023
1 parent dc0f323 commit d384804
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions root/.vim/vimrc.d/plugin.vim
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@ if !exists('g:vscode')
Plug 'pechorin/any-jump.vim'
Plug 'ojroques/vim-oscyank', {'branch': 'main'}
" vnoremap <leader>c :OSCYank<CR>

" require +job
Plug 'heavenshell/vim-pydocstring', { 'for': 'python' }
let g:pydocstring_doq_path = 'doq'
let g:pydocstring_formatter = 'numpy'
endif
if has('terminal')
source ~/.vim/vimrc.d/floaterm.vim
Expand All @@ -210,9 +215,6 @@ if !exists('g:vscode')
source ~/.vim/vimrc.d/cpp.vim
source ~/.vim/vimrc.d/golang.vim
source ~/.vim/vimrc.d/java.vim
Plug 'heavenshell/vim-pydocstring', { 'for': 'python' }
let g:pydocstring_doq_path = 'doq'
let g:pydocstring_formatter = 'numpy'

Plug 'lambdalisue/doctest.vim'
augroup doctest
Expand Down

0 comments on commit d384804

Please sign in to comment.