Is it possible to disable statuscolumn by default in ministarter. #1481
-
Contributing guidelines
Module(s)mini.starter QuestionHi echasnovski! Now I had two questions here :-
add("luukvbaal/statuscol.nvim")
require("statuscol").setup({
relculright = false,
bt_ignore = { "terminal", "\\[dap-repl-*\\]" },
ft_ignore = { "ministarter", "help" },
segments = {
{ text = { "%s" }, click = "v:lua.ScSa" },
{
text = { require("statuscol.builtin").lnumfunc },
click = "v:lua.ScLa",
},
{
text = { require("statuscol.builtin").foldfunc, " " },
click = "v:lua.ScFa",
},
},
})
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Use dedicated event to set the option locally. There is no
Yeah, it indeed might be a good idea. I was hesitant previously because it was a relatively new feature and 'mini.nvim' still supports Neovim 0.8 which doesn't have it implemented. |
Beta Was this translation helpful? Give feedback.
Use dedicated event to set the option locally. There is no
FileType
event triggered for 'ministarter' filetype for performance reasons (which is crucial as 'mini.starter' is loaded/executed during startup).Yeah, it indeed might be a good idea. I was hesitant previously because it was a relatively new feature and 'mini.…