dotfiles/home/modules/tui/neovim/plugins/md-preview.nix

19 lines
313 B
Nix
Raw Normal View History

2024-12-05 03:11:13 +00:00
{
programs.nixvim = {
plugins.markdown-preview = {
enable = true;
settings = {
auto_close = 0;
theme = "dark";
};
};
2024-12-20 01:30:06 +00:00
files."after/ftplugin/markdown.lua".keymaps = [{
mode = "n";
key = "<leader>m";
action = ":MarkdownPreview<cr>";
}];
2024-12-05 03:11:13 +00:00
};
2024-12-20 01:30:06 +00:00
}