cronex.nvim
cronex.nvim copied to clipboard
Hide square at beginning
Is there some way to hide the square at the beginning? I'd rather instead wanna show this clock:
I like that idea. I should make that configuration more accessible. But for now you can go with this (which is a bit of a hack but should work fine):
return {
"fabridamicelli/cronex.nvim",
config = function()
-- Initialize module (important to create namespace)
require("cronex").setup({})
-- Grab the namespace that Cronex uses for the explanations
local ns = vim.api.nvim_get_namespaces()["cronex"]
-- Override the config only for that namespace
vim.diagnostic.config({
virtual_text = {
prefix = ""
}
}, ns
)
end
}
It looks like this: