aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/provider/python
Commit message (Collapse)AuthorAge
* refactor: create function for deferred loadingdundargoc2024-02-03
| | | | | | | | | | | | | | | | The benefit of this is that users only pay for what they use. If e.g. only `vim.lsp.buf_get_clients()` is called then they don't need to load all modules under `vim.lsp` which could lead to significant startuptime saving. Also `vim.lsp.module` is a bit nicer to user compared to `require("vim.lsp.module")`. This isn't used for some nested modules such as `filetype` as it breaks tests with error messages such as "attempt to index field 'detect'". It's not entirely certain the reason for this, but it is likely it is due to filetype being precompiled which would imply deferred loading isn't needed for performance reasons.
* fix(health): "attempt to concatenate nil"Justin M. Keyes2024-01-28
| | | | | | | | | | | | | Problem: If `neovim` module is not installed, python and ruby healthchecks fail: - ERROR Failed to run healthcheck for "provider.python" plugin. Exception: .../runtime/lua/provider/python/health.lua:348: attempt to concatenate local 'pyname' (a nil value) - ERROR Failed to run healthcheck for "provider.ruby" plugin. Exception: .../runtime/lua/provider/ruby/health.lua:25: attempt to index local 'host' (a nil value) Solution: Check for non-nil.
* refactor: rewrite python provider in luadundargoc2024-01-22
|
* fix(health): improve python executable check error handling (#26954)Barrett Ruth2024-01-10
| | | Credit to @wookayin for the fix.
* fix(health): correctly expand and resolve PYENV_ROOT (#26953)Barrett Ruth2024-01-10
|
* refactor(health): refactor provider healthchecksGregory Anders2024-01-01
* Prefer pure Lua functions over vim.fn * Split up provider healthchecks into separate modules to help manage complexity