fix(util): added space in msg when toggling

This commit is contained in:
Folke Lemaitre
2023-01-05 08:37:09 +01:00
parent 62b74280ab
commit 53631526ad

View File

@ -78,7 +78,7 @@ function M.toggle(option, silent)
vim.opt_local[option] = not vim.opt_local[option]:get()
if not silent then
vim.notify(
(vim.opt_local[option]:get() and "Enabled" or "Disabled") .. option,
(vim.opt_local[option]:get() and "Enabled" or "Disabled") .. " " .. option,
vim.log.levels.INFO,
{ title = "Option" }
)