mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-01 00:24:59 +02:00
plugins/ui: move to by-name
This commit is contained in:
parent
2456370ab2
commit
91c6b62881
25 changed files with 0 additions and 13 deletions
|
@ -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.
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue