mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-10-04 19:29:07 +08:00
Fix unwanted fold in __doc__
This commit is contained in:
1 parent
18af876d6b
commit
53358dc0fa
1 file changed
+1
@@ -373,6 +373,7 @@ function! jedi#show_documentation() abort
|
||||
setlocal nomodifiable
|
||||
setlocal nomodified
|
||||
setlocal filetype=rst
|
||||
setlocal foldlevel=200 " do not fold in __doc__
|
||||
|
||||
if l:doc_lines > g:jedi#max_doc_height " max lines for plugin
|
||||
let l:doc_lines = g:jedi#max_doc_height
|
||||
|
||||
Reference in new issue
Block a user