nvf/modules/plugins/notes/quarto/quarto.nix
2024-10-23 16:08:35 +02:00

24 lines
626 B
Nix

{
config,
lib,
pkgs,
...
}: let
inherit (lib.options) mkEnableOption;
inherit (lib.nvim.types) mkGrammarOption mkPluginSetupOption;
in {
options.vim.notes.quarto-nvim = {
enable = mkEnableOption ''
Quarto-nvim, which provides tools for working on Quarto manuscripts in Neovim.
'';
setupOpts = mkPluginSetupOption "quarto-nvim" {};
treesitter = {
enable = mkEnableOption "Quarto treesitter" // {default = config.vim.languages.enableTreesitter;};
quartoPackage = mkGrammarOption pkgs "markdown";
quartoInlinePackage = mkGrammarOption pkgs "markdown-inline";
};
};
}