-
Notifications
You must be signed in to change notification settings - Fork 115
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
Update highlights for IndentBlankline.v3 #152
Comments
This is what I think needs to happen in -- IndentBlankLine
hl(0, 'IblIndent', { fg = c.vscContext })
hl(0, 'IblScope', { fg = c.vscContextCurrent })
hl(0, 'IblWhitespace', { fg = c.vscContext }) Unfortunately, I also seem to hit lukas-reineke/indent-blankline.nvim#725 and have no clue how to fix that :/ The following snippet seems to work, but lukas-reineke/indent-blankline.nvim#725 (comment) actually seems the cleaner solution require('vscode').setup({
italic_comments = true,
underline_links = true,
})
require('vscode').load()
-- https://github.com/lukas-reineke/indent-blankline.nvim/issues/725
require("ibl").setup() |
This works for me as a temporary solution: local vscode = require 'vscode'
vscode.setup {}
vscode.load()
require("ibl").setup {
scope = {
show_start = false,
show_end = false,
highlight = { "IndentBlanklineContextChar" }
},
indent = { highlight = { "IndentBlanklineSpaceChar" } },
} |
That gives me the following error, you probably got lucky because of the order you load the plugins.
|
Sorry, forgot to include |
Sorry for late. Did they add new highlight group? What are the breaking changes? |
@Mofiqul the highlights seems to have changed, and there is also some issue with highlightgroups. The links in this thread point to the issues at hand. Thanks for looking into it :) ! |
Is there any update on this issue? Curious to know if this is still a problem others are facing. |
The problem is still here ... I fixed it using Lazy dependencies: {
"lukas-reineke/indent-blankline.nvim",
dependencies = "Mofiqul/vscode.nvim",
main = "ibl",
config = function()
require("ibl").setup({
indent = {
char = "│",
highlight = { "IndentBlanklineChar" }
},
scope = {
highlight = { "IndentBlanklineContextChar" }
},
})
end,
} |
IndentBlankline is now version 3, current highlights may not working properly
https://github.com/Mofiqul/vscode.nvim/blob/main/lua/vscode/theme.lua#L492
Please, consider to update themes to deps latest versions ❤️
The text was updated successfully, but these errors were encountered: