Comments (2)
I should be clear that I don't expect you support a version of Neovim that is two years old, just a suggestion of how I can use an older version of Lazy. I cannot update Neovim, I don't have permissions for this computer. I'm stuck with what I have and I'm trying to get my tools to work as well as they can on an old version.
from lazy.nvim.
Not sure if the maintainer will support this, but you can fix this error by changing these lines to the following
local normal, has_bg
if vim.fn.has("nvim-0.9.0") == 0 then
normal = vim.api.nvim_get_hl_by_name("Normal", true)
has_bg = normal and normal.background ~= nil
else
normal = vim.api.nvim_get_hl(0, { name = "Normal" })
has_bg = normal and normal.bg ~= nil
end
@folke Should I make a PR about this or is it something you're not willing to support? The docs do say in the requirements that Neovim should be >=0.8.0, but I'm not sure how you'd like to move forward.
Edit: Did it anyway, feel free to simply reject if you decide you're not willing to support so old Neovim versions from now on.
from lazy.nvim.
Related Issues (20)
- bug: attempt to index field 'uv' (a nil value) HOT 4
- bug: autocmds are triggered multiple times HOT 1
- bug: `lazy.core.util.norm` resolves `~` path differently from Neovim HOT 5
- feature: an easier method to update all lazy.nvim plugins in the shell HOT 2
- bug: checkhealth problem
- bug: default colorscheme is overriden by Lazy HOT 4
- LSP and DAP synchronization problems HOT 1
- bug: lazy-lock.json should be stored in `vim.fn.stdpath("data")` by default HOT 2
- bug: Unhelpful error when trying to install a plugging that does not exist HOT 2
- bug: Neovim with Lazy.nvim crashes/quits on Alpine Linux & armv6l HOT 1
- How to load cmp sources lazily HOT 4
- feature: Allow for multiple URLs as fallback HOT 3
- bug: priority should prevent internally required packages to call .config HOT 17
- feature: open repo URL with keymap HOT 2
- bug: Continuous pressing to delete characters makes neovim very slow HOT 2
- feature: Some way to disable keys in the LazyKeysSpec HOT 1
- bug: unable to use sync, update, clean options. HOT 4
- bug: strange handling of config while opening multiple files via `-o` and nvim-treesitter highlight enabled HOT 3
- bug: the version v0.9.0 not `vim.uv` api. HOT 1
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 lazy.nvim.