treewide: format with latest nixfmt

This commit is contained in:
Gaetan Lepage 2024-12-02 08:23:22 +01:00 committed by nix-infra-bot
parent d55ca74c05
commit e680b367c7
7 changed files with 13 additions and 19 deletions

View file

@ -47,9 +47,8 @@ lib.nixvim.vim-plugin.mkVimPlugin {
Config file path is evaluated if this value is `1`.
'';
config_file_path = defaultNullOpts.mkNullable (
with types; either str (listOf str)
) [ ] "Custom config file path or list of custom config file paths.";
config_file_path = defaultNullOpts.mkNullable (with types; either str (listOf str)) [
] "Custom config file path or list of custom config file paths.";
};
settingsExample = {

View file

@ -292,9 +292,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
inactive_winbar = mkEmptySectionOption "Winbar configuration used when inactive.";
extensions = defaultNullOpts.mkListOf (
with lib.types; either str (attrsOf anything)
) [ ] "List of enabled extensions.";
extensions = defaultNullOpts.mkListOf (with lib.types; either str (attrsOf anything)) [
] "List of enabled extensions.";
};
settingsExample = {

View file

@ -81,9 +81,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
ignore_lsp = defaultNullOpts.mkListOf lib.types.str [ ] "Table of lsp clients to ignore by name.";
exclude_dirs =
defaultNullOpts.mkListOf lib.types.str [ ]
"Don't calculate root dir on specific directories.";
exclude_dirs = defaultNullOpts.mkListOf lib.types.str [
] "Don't calculate root dir on specific directories.";
show_hidden = defaultNullOpts.mkBool false "Show hidden files in telescope.";

View file

@ -19,9 +19,8 @@ with lib;
treesitterIntegration = {
enable = mkEnableOption "treesitter integration";
disable =
helpers.defaultNullOpts.mkListOf types.str [ ]
"Languages for each to disable this module";
disable = helpers.defaultNullOpts.mkListOf types.str [
] "Languages for each to disable this module";
disableVirtualText = helpers.defaultNullOpts.mkBool false ''
Do not use virtual text to highlight the virtual end of a block, for languages without

View file

@ -467,9 +467,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
group = defaultNullOpts.mkStr "+" "Symbol prepended to a group.";
ellipsis = defaultNullOpts.mkStr "" "Symbol used for overflow.";
mappings = defaultNullOpts.mkBool true "Set to false to disable all mapping icons.";
rules = defaultNullOpts.mkNullable (
with types; either (listOf attrs) bool
) [ ] "Icon rules. Set to false to disable all icons.";
rules = defaultNullOpts.mkNullable (with types; either (listOf attrs) bool) [
] "Icon rules. Set to false to disable all icons.";
colors = defaultNullOpts.mkBool true ''
Use the highlights from mini.icons.

View file

@ -50,9 +50,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
"typst"
] "Filetypes for automatic heuristic mode triggers.";
auto_set_mode_filetype_denylist =
defaultNullOpts.mkListOf lib.types.str [ ]
"Auto set mode filetype deny list";
auto_set_mode_filetype_denylist = defaultNullOpts.mkListOf lib.types.str [
] "Auto set mode filetype deny list";
auto_set_mode_heuristically = defaultNullOpts.mkBool true ''
If true, the plugin will set the hard or soft mode automatically when any file loads.

View file

@ -2,7 +2,7 @@
# This derivation creates a Nix file that describes the Nix module that needs to be instantiated
#
# The create file is of the form:
#
#
# {
# "<rust-analyzer.option.name>" = {
# description = "<option description>";