treewide: Reformat with nixfmt

This commit is contained in:
traxys 2024-05-05 19:39:35 +02:00
parent c6281260dc
commit 62f32bfc71
459 changed files with 28139 additions and 26377 deletions

View file

@ -6,25 +6,25 @@
...
}:
with lib;
helpers.neovim-plugin.mkNeovimPlugin config {
name = "headlines";
originalName = "headlines.nvim";
defaultPackage = pkgs.vimPlugins.headlines-nvim;
helpers.neovim-plugin.mkNeovimPlugin config {
name = "headlines";
originalName = "headlines.nvim";
defaultPackage = pkgs.vimPlugins.headlines-nvim;
maintainers = [maintainers.GaetanLepage];
maintainers = [ maintainers.GaetanLepage ];
settingsExample = {
org.headline_highlights = false;
norg = {
headline_highlights = ["Headline"];
codeblock_highlight = false;
};
markdown.headline_highlights = ["Headline1"];
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.
'';
};
}
extraConfig = cfg: {
warnings = optional (!config.plugins.treesitter.enable) ''
Nixvim (plugins.headlines): headlines requires `plugins.treesitter` to be enabled with the relevant grammars installed.
'';
};
}