luukvbaal / statuscol.nvim

Status column plugin that provides a configurable 'statuscolumn' and click handlers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`ft_ignore` not work with filetype="alpha"

leonasdev opened this issue · comments

commented

I found that statuscol.nvim will caused alpha.nvim is not centered, so I add "alpha" to ft_ignore, but seems no effect.

only alpha.nvim:
image

alpha.nvim + statuscol.nvim + ft_ignore={"alpha"}:
image

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,
  },

Sorry for the late response. Can you share a minimal alpha + statuscol config that shows the issue? I can't reproduce.

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. 👌