nixos-configs/common/home/neovim/langs/markdown.nix
matt1432 8deffb3adb
All checks were successful
Discord / discord commits (push) Has been skipped
feat(nvim): coc -> lspconfig
2024-05-08 23:04:16 -04:00

36 lines
694 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();
'';
}
];
};
};
}