question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jedi-vim startuptime with neovim

See original GitHub issue

Issue

I use neovim with jedi-vim. jedi-vim however has a massive effect on my startup time. My minimal vimrc is the following:

syntax on
filetype plugin indent on

call plug#begin('~/.config/nvim/plugged')
Plug 'davidhalter/jedi-vim', {'for': 'python'}
call plug#end()

I profiled the startuptime time.txt as you can see jedi-vim has an enormous impact of 1.6s. Is there anything I can do to accelerate this unbearable delay? Or is it at least possible to lazily load it? I am only using it’s refactor utilities and the awesome call signature preview. Can I maybe speed it up by disabling some functionality.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
blueyedcommented, Apr 12, 2017

I think it is related to Neovim’s Python setup. Try setting g:python3_host_prog explicitly, e.g. to some virtualenv for it (but be aware that Jedi does not use Python 3.6 when the virtualenv is 3.5 etc). Are you using Neovim master? Are you using Python 2/3?

0reactions
davidhaltercommented, Dec 27, 2020

There wasn’t ever an answer. I’m therefore closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Speeding Up Vim Startup Time - YouTube
Today we learn how to speed up our Vim or NeoVim startup time. ... Programming Books & Merch The Python Bible Book: ...
Read more >
nvim-startup: simple and instant startup time feedback : r/neovim
I am toying with the idea of making a plugin soon, so this will be a good example project for me to follow....
Read more >
Starting - Neovim docs
Note: You can use up to 10 "+" or "-c" arguments in a Vim command. ... slow-start If Vim takes a long time...
Read more >
vim-startuptime and 🖼️ vim‑win – Daniel's Assorted Musings
I recently implemented two Vim plugins (they also work on Neovim). vim-startuptime. vim-startuptime is a plugin for viewing Vim startup ...
Read more >
Vim/neoVim really slow startup
So i profiled it a bit using startuptime and below are the log files. 1st time startup times in msec clock self+sourced self:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found