Merge pull request #625 from blueyed/add-JediClearCache

Add JediClearCache command
This commit is contained in:
Dave Halter authored and GitHub committed 2016-10-24 10:19:28 +02:00
commit e66c2e12e6
2 files changed
+8

No files matched your search

+7
View File
@@ -267,6 +267,13 @@ function! jedi#py_import_completions(argl, cmdl, pos)
PythonJedi jedi_vim.py_import_completions()
endfun
function! jedi#clear_cache(bang)
PythonJedi jedi_vim.jedi.cache.clear_time_caches(True)
if a:bang
PythonJedi jedi_vim.jedi.parser.utils.ParserPickling.clear_cache()
endif
endfunction
" ------------------------------------------------------------------------
" show_documentation