mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-12-23 20:52:18 +00:00
20 lines
332 B
Nix
20 lines
332 B
Nix
|
{
|
||
|
programs.nixvim = {
|
||
|
plugins.markdown-preview = {
|
||
|
enable = true;
|
||
|
|
||
|
settings = {
|
||
|
auto_close = 0;
|
||
|
theme = "dark";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
files."after/ftplugin/markdown.lua".keymaps = [
|
||
|
{
|
||
|
mode = "n";
|
||
|
key = "<leader>m";
|
||
|
action = ":MarkdownPreview<cr>";
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
}
|