mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-12-02 09:27:18 +00:00
24 lines
626 B
Nix
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";
|
|
};
|
|
};
|
|
}
|