Skip to content

Display only in specific language(s) #455

Closed Answered by lukas-reineke
mbalazy asked this question in Q&A
Discussion options

You must be logged in to vote

Ah sorry, I didn't read the question properly.
There is no option for this anymore, but you can make a simple hook to achieve the same.

local hooks = require "ibl.hooks"
hooks.register(hooks.type.ACTIVE, function(bufnr)
    return vim.tbl_contains(
        { "yaml", "html", "svelte" },
        vim.api.nvim_get_option_value("filetype", { buf = bufnr })
    )
end)

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@zer09
Comment options

@lukas-reineke
Comment options

@zer09
Comment options

@lukas-reineke
Comment options

Answer selected by lukas-reineke
@zer09
Comment options

@lukas-reineke
Comment options

@zer09
Comment options

@lukas-reineke
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants