mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
treewide: format with latest nixfmt
This commit is contained in:
parent
8ca97758af
commit
667b2a5f7a
7 changed files with 13 additions and 19 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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.";
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue