`ft_ignore` not work with filetype="alpha"
leonasdev opened this issue · comments
Leon commented
I found that statuscol.nvim
will caused alpha.nvim
is not centered, so I add "alpha" to ft_ignore
, but seems no effect.
alpha.nvim
+ statuscol.nvim
+ ft_ignore={"alpha"}
:
config:
{
"luukvbaal/statuscol.nvim",
config = function()
local builtin = require("statuscol.builtin")
require("statuscol").setup({
ft_ignore = { "alpha", "neo-tree" },
segments = {
{ sign = { name = { "Diagnostic" } } },
{ sign = { name = { "Dap.*" } } },
{ text = { builtin.lnumfunc }, click = "v:lua.ScLa" },
{ sign = { name = { "GitSigns.*" } } },
},
})
end,
},
luukvbaal commented
Sorry for the late response. Can you share a minimal alpha + statuscol config that shows the issue? I can't reproduce.
Leon commented
Sorry for the late response. Can you share a minimal alpha + statuscol config that shows the issue? I can't reproduce.
Turn out it's because I set dashboard.config.opts.noautocmd = true
for alpha.nvim
, set it to false
fix the issue. 👌