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 is evaluated if this value is `1`.
''; '';
config_file_path = defaultNullOpts.mkNullable ( config_file_path = defaultNullOpts.mkNullable (with types; either str (listOf str)) [
with types; either str (listOf str) ] "Custom config file path or list of custom config file paths.";
) [ ] "Custom config file path or list of custom config file paths.";
}; };
settingsExample = { settingsExample = {

View file

@ -292,9 +292,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
inactive_winbar = mkEmptySectionOption "Winbar configuration used when inactive."; inactive_winbar = mkEmptySectionOption "Winbar configuration used when inactive.";
extensions = defaultNullOpts.mkListOf ( extensions = defaultNullOpts.mkListOf (with lib.types; either str (attrsOf anything)) [
with lib.types; either str (attrsOf anything) ] "List of enabled extensions.";
) [ ] "List of enabled extensions.";
}; };
settingsExample = { 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."; ignore_lsp = defaultNullOpts.mkListOf lib.types.str [ ] "Table of lsp clients to ignore by name.";
exclude_dirs = exclude_dirs = defaultNullOpts.mkListOf lib.types.str [
defaultNullOpts.mkListOf lib.types.str [ ] ] "Don't calculate root dir on specific directories.";
"Don't calculate root dir on specific directories.";
show_hidden = defaultNullOpts.mkBool false "Show hidden files in telescope."; show_hidden = defaultNullOpts.mkBool false "Show hidden files in telescope.";

View file

@ -19,9 +19,8 @@ with lib;
treesitterIntegration = { treesitterIntegration = {
enable = mkEnableOption "treesitter integration"; enable = mkEnableOption "treesitter integration";
disable = disable = helpers.defaultNullOpts.mkListOf types.str [
helpers.defaultNullOpts.mkListOf types.str [ ] ] "Languages for each to disable this module";
"Languages for each to disable this module";
disableVirtualText = helpers.defaultNullOpts.mkBool false '' disableVirtualText = helpers.defaultNullOpts.mkBool false ''
Do not use virtual text to highlight the virtual end of a block, for languages without 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."; group = defaultNullOpts.mkStr "+" "Symbol prepended to a group.";
ellipsis = defaultNullOpts.mkStr "" "Symbol used for overflow."; ellipsis = defaultNullOpts.mkStr "" "Symbol used for overflow.";
mappings = defaultNullOpts.mkBool true "Set to false to disable all mapping icons."; mappings = defaultNullOpts.mkBool true "Set to false to disable all mapping icons.";
rules = defaultNullOpts.mkNullable ( rules = defaultNullOpts.mkNullable (with types; either (listOf attrs) bool) [
with types; either (listOf attrs) bool ] "Icon rules. Set to false to disable all icons.";
) [ ] "Icon rules. Set to false to disable all icons.";
colors = defaultNullOpts.mkBool true '' colors = defaultNullOpts.mkBool true ''
Use the highlights from mini.icons. Use the highlights from mini.icons.

View file

@ -50,9 +50,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
"typst" "typst"
] "Filetypes for automatic heuristic mode triggers."; ] "Filetypes for automatic heuristic mode triggers.";
auto_set_mode_filetype_denylist = auto_set_mode_filetype_denylist = defaultNullOpts.mkListOf lib.types.str [
defaultNullOpts.mkListOf lib.types.str [ ] ] "Auto set mode filetype deny list";
"Auto set mode filetype deny list";
auto_set_mode_heuristically = defaultNullOpts.mkBool true '' auto_set_mode_heuristically = defaultNullOpts.mkBool true ''
If true, the plugin will set the hard or soft mode automatically when any file loads. 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 # This derivation creates a Nix file that describes the Nix module that needs to be instantiated
# #
# The create file is of the form: # The create file is of the form:
# #
# { # {
# "<rust-analyzer.option.name>" = { # "<rust-analyzer.option.name>" = {
# description = "<option description>"; # description = "<option description>";