nixos-configs/common/home/neovim/langs/markdown.nix
matt1432 69f6134563
All checks were successful
Discord / discord commits (push) Has been skipped
feat(nvim): setup basedpyright
2024-05-11 20:10:45 -04:00

37 lines
695 B
Nix

{
config,
pkgs,
lib,
vimplugin-easytables-src,
...
}: let
inherit (config.vars) neovimIde;
inherit (pkgs) vimPlugins;
buildPlugin = pname: src:
pkgs.vimUtils.buildVimPlugin {
inherit pname src;
version = src.shortRev;
};
in
lib.mkIf neovimIde {
programs = {
neovim = {
plugins = [
vimPlugins.markdown-preview-nvim
{
plugin = buildPlugin "easytables-nvim" vimplugin-easytables-src;
type = "lua";
config =
/*
lua
*/
''
require('easytables').setup();
'';
}
];
};
};
}