mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-10-18 03:51:35 +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 nomodifiable
|
||||||
setlocal nomodified
|
setlocal nomodified
|
||||||
setlocal filetype=rst
|
setlocal filetype=rst
|
||||||
|
setlocal foldlevel=200 " do not fold in __doc__
|
||||||
|
|
||||||
if l:doc_lines > g:jedi#max_doc_height " max lines for plugin
|
if l:doc_lines > g:jedi#max_doc_height " max lines for plugin
|
||||||
let l:doc_lines = g:jedi#max_doc_height
|
let l:doc_lines = g:jedi#max_doc_height
|
||||||
|
|||||||
Reference in new issue
Block a user