Closed Isrothy closed 1 year ago
Thank you for your plugin However, on version v3, I find that indent guides are missing in empty blocks in c++
#include <iostream> int main() { if (1 == 2) { } return 0; }
My configuration is
"lukas-reineke/indent-blankline.nvim", branch = "v3", event = { "BufReadPre", "BufNewFile" }, config = function() local hooks = require("ibl.hooks") hooks.register(hooks.type.SCOPE_HIGHLIGHT, hooks.builtin.scope_highlight_from_extmark) require("ibl").setup({ indent = { char = "▎", tab_char = "▎", char_blankline = "▎", context_char = "▎", priority = 12, smart_indent_cap = true, }, whitespace = { -- highlight = { "Whitespace", "NonText" }, remove_blankline_trail = false, }, scope = { enabled = true, show_start = true, show_end = true, highlight = { "RainbowDelimiterRed", "RainbowDelimiterYellow", "RainbowDelimiterBlue", "RainbowDelimiterOrange", "RainbowDelimiterGreen", "RainbowDelimiterViolet", "RainbowDelimiterCyan", }, }, }) end,
I pushed a fix, please check
Fixed! Thank you!
Thank you for your plugin However, on version v3, I find that indent guides are missing in empty blocks in c++
My configuration is