-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrade to 3.8.3 config, an error occurs with old nightly Neovim versions #936
Comments
Not sure what the correct solution is, but you can temporary comment out:
to use the default indent options and prevent the error from showing up. |
same for |
I guess the faster version of cc @MariaSolOs |
Same here. |
did it cause by this commit #934 ? |
Same. For now just tagged previous version. return {
'lukas-reineke/indent-blankline.nvim',
tag = 'v3.8.2',
enabled = true,
main = 'ibl',
opts = {},
dependencies = {
{ 'HiPhish/rainbow-delimiters.nvim', lazy = true },
},
config = function(_)
local highlight = {
'RainbowRed',
'RainbowYellow',
'RainbowBlue',
'RainbowOrange',
'RainbowGreen',
'RainbowViolet',
'RainbowCyan',
'CursorColumn',
'WhiteSpace',
}
local hooks = require 'ibl.hooks'
hooks.register(hooks.type.HIGHLIGHT_SETUP, function()
vim.api.nvim_set_hl(0, 'RainbowRed', { fg = '#E06C75' })
vim.api.nvim_set_hl(0, 'RainbowYellow', { fg = '#E5C07B' })
vim.api.nvim_set_hl(0, 'RainbowBlue', { fg = '#61AFEF' })
vim.api.nvim_set_hl(0, 'RainbowOrange', { fg = '#D19A66' })
vim.api.nvim_set_hl(0, 'RainbowGreen', { fg = '#98C379' })
vim.api.nvim_set_hl(0, 'RainbowViolet', { fg = '#C678DD' })
vim.api.nvim_set_hl(0, 'RainbowCyan', { fg = '#56B6C2' })
end)
vim.g.rainbow_delimiters = { highlight = highlight }
require('ibl').setup {
indent = {
highlight = highlight,
char = '┊',
tab_char = '|',
},
scope = {
enabled = true,
show_start = false,
show_end = false,
highlight = highlight,
},
whitespace = {
remove_blankline_trail = false,
},
exclude = {
filetypes = {
'NvimTree',
'Trouble',
'dashboard',
'git',
'help',
'markdown',
'notify',
'packer',
'sagahover',
'terminal',
'undotree',
},
buftypes = { 'terminal', 'nofile', 'prompt', 'quickfix' },
},
}
end,
} |
Not to cloud the thread with 'me too!''s but adding the tag ala the quote is a tremendous temp fix till it's sorted! 🚀 |
Can't reproduce this problem with the current nightly version. When using nightly, make sure to update it frequently. |
Sorry for breaking you guys, but as @guilhas07, this shouldn't happen if you're using the tippy top of nightly! |
Thanks for clarifying. I understand it's not your problem, but because of other changes nix/NixOS users can't update to the latest nightly atm. |
My LazyVim installation is just the default behavior; no version, tag, etc. Whatever is going on shouldn't break default behavior. |
I mean your Neovim version, not |
@nifoc I didn't mean for my comment to sound as if "this isn't my problem", because it is. I didn't want to break anyone's setup but fix a deprecation in one of my favorite plugins. This should only happen if you have nvim 0.11 (something after the latest release) installed but you're not keeping up to date with the latest nightly. If you're using any nvim version after the latest stable, it should be what's on master. I do understand that this isn't always possible though, so I'll try to fix it later today after my day job. |
I personally don't mind to tag previous version until I will decide to rebuild my nightly. I'm just lazy today to do the build. :) So... no issue for me at least. |
@MariaSolOs It absolutely didn't, sorry if my comment came across as "passive aggressive" - it absolutely wasn't intended to be. I just wanted to add a comment for other Nix users that might come across this issue. The nightly overlay is currently stuck on a roughly two week old commit, because some changes in the way In no way do I expect you to find a workaround for this. "Normal" nightly users can just update to the latest commit and be done with it. |
Ok. So... on |
@nifoc thank you for the clarification. I also apologize if I was a bit aggressive with my reply. I truly apologize for disrupting people's workflows and I'll do my best to address the people having issues. Still glad to know that there's a workaround. |
We maybe should have waited a bit with this until places like Nix are up to date, sorry about that. I don't use Nix, I wasn't aware of this issue. But generally, only the latest nightly build is supported! If you are using nightly, I would always recommend to only update plugins and Neovim together. |
Ref: [After upgrade to 3.8.3 config, an error occurs with old nightly Neovim versions · Issue 936 · lukas-reineke/indent-blankline.nvim](lukas-reineke/indent-blankline.nvim#936)
@lukas-reineke I again apologize for causing all this trouble 😅 Perhaps it would be a good idea to pin this issue for a bit? I can also create a PR to |
It's not your fault, all good. |
Thank you for the discussion. I was able to resolve this issue. I'll wait for the nightly version update in Nix. @lukas-reineke Should I close this issue, or would it be better to keep it open? |
Let's keep it open until Nix is caught up with the nightly build. |
I was under the impression that the |
AUR |
I've been using Arch and the AUR for over a year and was today years old when this nuance finally clicked, with your very astute assistance. 😁 Thank you for bridging the gap in my understanding! Great repo by the way! <3 EDIT: JUST incase someone gets back here and makes it this far, I found this incredibly helpful plugin so I can stop worrying about any package manager to grab the latest nightly for me. Now I'm just a |
commented out some indent_blankline config, waiting for lukas-reineke/indent-blankline.nvim#936
Tagging `indent-blankline.nvim` to a specific version to avoid error: lukas-reineke/indent-blankline.nvim#936
Is this fixed yet? If not, is there a temporary fix for it? |
@muhammadzkralla
|
Looks like Nix has fixed their issue NixOS/nixpkgs#351423 Everyone should be able to update now, so I'll close this. TLDR for everyone seeing this later Only Neovim stable, and the latest Neovim nightly build are supported |
Problem
After upgraded to 3.8.3, this happens
Steps to reproduce
Expected behavior
"The settings worked well in v3.8.2, but an error occurs in v3.8.3."
Neovim version (nvim -v)
NVIM v0.11.0-nightly+852954f
The text was updated successfully, but these errors were encountered: