feat(neovim): table mode plugin for markdown.

This commit is contained in:
CronyAkatsuki 2025-03-01 09:39:43 +01:00
parent a8b0585999
commit 2b8ff3ec0a

View File

@ -3,7 +3,17 @@
pkgs, pkgs,
lib, lib,
... ...
}: { }: let
markdown-table-mode = pkgs.vimUtils.buildVimPlugin {
name = "markdown-table-mode";
src = pkgs.fetchFromGitHub {
owner = "Kicamon";
repo = "markdown-table-mode.nvim";
rev = "fe207ea7cef615ccaf2c0f1257c58ffa0a50a9f5";
hash = "sha256-JGc5L+7/eSBww1HaMl0AVcIwEJF/RFqoVRpR3DnP6+E=";
};
};
in {
options = { options = {
crony.neovim.enable = lib.mkEnableOption "Enable neovim and apply a good config."; crony.neovim.enable = lib.mkEnableOption "Enable neovim and apply a good config.";
}; };
@ -244,6 +254,12 @@
require('telescope').load_extension('fzf') require('telescope').load_extension('fzf')
''; '';
}; };
markdown-table-mode-nvim = {
package = markdown-table-mode;
setup = ''
require('markdown-table-mode').setup()
'';
};
}; };
}; };
}; };