From cd17fd0d277df30459610d0a1e89bb5310b0b4ea Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Sun, 24 Mar 2024 14:17:09 +0100 Subject: [PATCH] change the markdown preview command to lua --- modules/tui/neovim.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/tui/neovim.nix b/modules/tui/neovim.nix index 087ca4a9e..8b904664b 100644 --- a/modules/tui/neovim.nix +++ b/modules/tui/neovim.nix @@ -66,7 +66,8 @@ in { key = "v"; } { - action = ":MarkdownPreviewToggle"; + action = "vim.cmd.MarkdownPreviewToggle"; + lua = true; key = "m"; } ];