Comments (7)
rm ~/.config/nvim/init.lua
Hmm, python provider is supposed to only be loaded on demand, not with (really) empty config. You might have some plugin in your runtimepath which checks has("python3")
on startup. This can be disabled with nvim --clean +q
from neovim.
but I still think it's worth fixing the performance issue with calling python to check if pynvim is available so that it lowers startup time when using python plugins anyway.
such a check would just be an approximation. the only way to check if python can import a package is to invoke python and try to import the package. any external reimplementation of importlib/virtualenv/etc/etc is going to be out of date pretty much instantly given the frequent changes to the python tooling ecosystem.
Instead, a well-behaved python plugin should defer to check has("python3")
until it actually needs to know that, not haphazardly at neovim startup.
from neovim.
You might have some plugin in your runtimepath which checks
has("python3")
on startup.
you're right, it seems that the AUR package neovim-nightly-bin
which I use includes a bunch of vim plugins to runtimepath, including black.vim which triggers python provider, I may suggest them to fix it there. but I still think it's worth fixing the performance issue with calling python to check if pynvim is available so that it lowers startup time when using python plugins anyway.
from neovim.
Has been discussed many time before. The search doesn't happen unless your config triggers it.
from neovim.
it seems that the AUR package neovim-nightly-bin which I use includes a bunch of vim plugins to runtimepath
Wow. They should not do that. Please complain to them very loudly.
from neovim.
The search doesn't happen unless your config triggers it
the issue is not really that the search happens, the issue is that the search is much slower that it has to be
from neovim.
The search is the way it is for a reason, though: robustness (venv, pip, etc.).
from neovim.
Related Issues (20)
- Surprising behaviour of default 0.10 color scheme groups: `Added`, `Changed`, `Delimiter`, `Operator`, `Removed` and `@variable` HOT 12
- too many curl processes make OS broken HOT 1
- Can't nested use native vim.snippet HOT 2
- `BUILD.md` file mentions non-existent `stable` branch of repository HOT 2
- Display distortion when setting window width to 1 in diff mode with set number
- Different termcodes of `<M-]>` from string vs from input HOT 4
- Crash while opening large log file HOT 1
- Integrate tree-sitter parsers into the toplevel build system HOT 19
- Perl syntax highlighting of named sub signatures highlights as a possible error HOT 1
- initial file open sometimes replaces character under cursor with 'g' HOT 5
- LSP diagnostics not cleared on client stop for unattached buffers
- SHA256 sums for multiple dependencies in deps.txt are not stable HOT 14
- "Option 'commentstring' is empty" in .cpp files HOT 4
- stylus syntax file: Undefined variable: main_syntax HOT 1
- `synIDattr` returns GUI color names with `notermguicolors` HOT 7
- Escaped commas are not handled in options HOT 3
- Allow for inlay hints to be automatically disabled in insert mode HOT 1
- Default c/cpp commentstring HOT 21
- neovim 0.10.0 linux64 release tarball needs glibc 2.28/2.29 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neovim.