change the markdown preview command to lua

This commit is contained in:
jacekpoz 2024-03-24 14:17:09 +01:00
parent ad7800a121
commit cd17fd0d27
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -66,7 +66,8 @@ in {
key = "<leader>v";
}
{
action = ":MarkdownPreviewToggle<CR>";
action = "vim.cmd.MarkdownPreviewToggle";
lua = true;
key = "<leader>m";
}
];