fix(nvim): properly get markview
state for toggling
This commit is contained in:
parent
84d3d2ac6d
commit
d28d7f3bad
@ -19,7 +19,7 @@ end, {
|
||||
|
||||
vim.keymap.set("n", "<leader>ft", function()
|
||||
vim.cmd("Markview toggle")
|
||||
local mview_state = markview.state.enabled and "Enabled" or "Disabled"
|
||||
local mview_state = markview.state.enable and "Enabled" or "Disabled"
|
||||
vim.notify(("Markview %s"):format(mview_state), vim.log.levels.INFO, { title = "Markview" })
|
||||
end, {
|
||||
buffer = true,
|
||||
|
Loading…
Reference in New Issue
Block a user