nvim: add render-markdown and table-mode

This commit is contained in:
Kevin Baensch 2025-07-02 15:40:41 +02:00
parent d8336829ee
commit 25ddac36b8
Signed by: derped
SSH key fingerprint: SHA256:8/FSu/lmp3c1Z17Gml06JRIEHtDjhwdd7g6pBaHQWBc
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{
lib,
config,
pkgs,
...
}:
lib.mkIf (lib.elem "nvim::render-markdown" config.machine.pkgs) {
programs.nvim-lazy.lazyPlugins = [
{
dir = vPlug: vPlug.render-markdown-nvim;
dependencies = (
vPlug: with vPlug; [
nvim-web-devicons
"nvim-treesitter"
]
);
opts = {
completions = {
blink = {
enabled = (lib.elem "nvim::blink" config.machine.pkgs);
};
};
latex = {
converter = "${pkgs.python3Packages.pylatexenc}/bin/latex2text";
};
};
}
];
}