Skip to content

Commit

Permalink
TEST: reformat with latest nixfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon committed Nov 29, 2024
1 parent 0533100 commit bf736d8
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 19 deletions.
5 changes: 2 additions & 3 deletions plugins/by-name/lazygit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
5 changes: 2 additions & 3 deletions plugins/by-name/lualine/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
5 changes: 2 additions & 3 deletions plugins/by-name/project-nvim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.";

Expand Down
5 changes: 2 additions & 3 deletions plugins/by-name/vim-matchup/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions plugins/by-name/which-key/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 2 additions & 3 deletions plugins/by-name/wrapping/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion update-scripts/rust-analyzer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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>";
Expand Down

0 comments on commit bf736d8

Please sign in to comment.