plugins/ui: move to by-name

This commit is contained in:
Matt Sturgeon 2024-09-04 17:42:49 +01:00
parent 2456370ab2
commit 91c6b62881
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
25 changed files with 0 additions and 13 deletions

View file

@ -1,29 +0,0 @@
{
lib,
helpers,
config,
...
}:
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "headlines";
originalName = "headlines.nvim";
package = "headlines-nvim";
maintainers = [ maintainers.GaetanLepage ];
settingsExample = {
org.headline_highlights = false;
norg = {
headline_highlights = [ "Headline" ];
codeblock_highlight = false;
};
markdown.headline_highlights = [ "Headline1" ];
};
extraConfig = cfg: {
warnings = optional (!config.plugins.treesitter.enable) ''
Nixvim (plugins.headlines): headlines requires `plugins.treesitter` to be enabled with the relevant grammars installed.
'';
};
}