Skip to content

Commit e680b36

Browse files
GaetanLepagenix-infra-bot
authored andcommitted
treewide: format with latest nixfmt
1 parent d55ca74 commit e680b36

File tree

7 files changed

+13
-19
lines changed

7 files changed

+13
-19
lines changed

plugins/by-name/lazygit/default.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ lib.nixvim.vim-plugin.mkVimPlugin {
4747
Config file path is evaluated if this value is `1`.
4848
'';
4949

50-
config_file_path = defaultNullOpts.mkNullable (
51-
with types; either str (listOf str)
52-
) [ ] "Custom config file path or list of custom config file paths.";
50+
config_file_path = defaultNullOpts.mkNullable (with types; either str (listOf str)) [
51+
] "Custom config file path or list of custom config file paths.";
5352
};
5453

5554
settingsExample = {

plugins/by-name/lualine/default.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
292292

293293
inactive_winbar = mkEmptySectionOption "Winbar configuration used when inactive.";
294294

295-
extensions = defaultNullOpts.mkListOf (
296-
with lib.types; either str (attrsOf anything)
297-
) [ ] "List of enabled extensions.";
295+
extensions = defaultNullOpts.mkListOf (with lib.types; either str (attrsOf anything)) [
296+
] "List of enabled extensions.";
298297
};
299298

300299
settingsExample = {

plugins/by-name/project-nvim/default.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
8181

8282
ignore_lsp = defaultNullOpts.mkListOf lib.types.str [ ] "Table of lsp clients to ignore by name.";
8383

84-
exclude_dirs =
85-
defaultNullOpts.mkListOf lib.types.str [ ]
86-
"Don't calculate root dir on specific directories.";
84+
exclude_dirs = defaultNullOpts.mkListOf lib.types.str [
85+
] "Don't calculate root dir on specific directories.";
8786

8887
show_hidden = defaultNullOpts.mkBool false "Show hidden files in telescope.";
8988

plugins/by-name/vim-matchup/default.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ with lib;
1919

2020
treesitterIntegration = {
2121
enable = mkEnableOption "treesitter integration";
22-
disable =
23-
helpers.defaultNullOpts.mkListOf types.str [ ]
24-
"Languages for each to disable this module";
22+
disable = helpers.defaultNullOpts.mkListOf types.str [
23+
] "Languages for each to disable this module";
2524

2625
disableVirtualText = helpers.defaultNullOpts.mkBool false ''
2726
Do not use virtual text to highlight the virtual end of a block, for languages without

plugins/by-name/which-key/default.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
467467
group = defaultNullOpts.mkStr "+" "Symbol prepended to a group.";
468468
ellipsis = defaultNullOpts.mkStr "…" "Symbol used for overflow.";
469469
mappings = defaultNullOpts.mkBool true "Set to false to disable all mapping icons.";
470-
rules = defaultNullOpts.mkNullable (
471-
with types; either (listOf attrs) bool
472-
) [ ] "Icon rules. Set to false to disable all icons.";
470+
rules = defaultNullOpts.mkNullable (with types; either (listOf attrs) bool) [
471+
] "Icon rules. Set to false to disable all icons.";
473472
colors = defaultNullOpts.mkBool true ''
474473
Use the highlights from mini.icons.
475474

plugins/by-name/wrapping/default.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
5050
"typst"
5151
] "Filetypes for automatic heuristic mode triggers.";
5252

53-
auto_set_mode_filetype_denylist =
54-
defaultNullOpts.mkListOf lib.types.str [ ]
55-
"Auto set mode filetype deny list";
53+
auto_set_mode_filetype_denylist = defaultNullOpts.mkListOf lib.types.str [
54+
] "Auto set mode filetype deny list";
5655

5756
auto_set_mode_heuristically = defaultNullOpts.mkBool true ''
5857
If true, the plugin will set the hard or soft mode automatically when any file loads.

update-scripts/rust-analyzer/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This derivation creates a Nix file that describes the Nix module that needs to be instantiated
33
#
44
# The create file is of the form:
5-
#
5+
#
66
# {
77
# "<rust-analyzer.option.name>" = {
88
# description = "<option description>";

0 commit comments

Comments
 (0)