lukas-reineke/indent-blankline.nvim

scope show_end doesn't work

Closed this issue · 3 comments

Problem

image

Steps to reproduce

min.lua

local lazypath = "/tmp/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
    vim.fn.system { "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath }
end
vim.opt.rtp:prepend(lazypath)
vim.opt.termguicolors = true

require("lazy").setup ({
    {
        "lukas-reineke/indent-blankline.nvim",
        config = function()
            require("ibl").setup {}
        end,
    },
    -- uncomment this if the problem is related to scope
    {
        "nvim-treesitter/nvim-treesitter",
        build = ":TSUpdate",
        config = function()
            require("nvim-treesitter.configs").setup {
                ensure_installed = { "lua" }, -- change this to the language you use
            }
        end,
    },
}, { root = "/tmp/lazy" })

nvim --clean -u min.lua

Expected behavior

Last line of scope is underlined per documentation of show_end in :h ibl.config.scope

Neovim version (nvim -v)

NVIM v0.11.0-dev-1106+gf7e32fb6e6

Scope end is only shown when the indentation of the end is higher than that of the start.

For example
20241112_19h38m11s_grim

Is this documented somewhere?

The documentation can probably be better for this.