File tree Expand file tree Collapse file tree 7 files changed +13
-19
lines changed
update-scripts/rust-analyzer Expand file tree Collapse file tree 7 files changed +13
-19
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,8 @@ lib.nixvim.vim-plugin.mkVimPlugin {
47
47
Config file path is evaluated if this value is `1`.
48
48
'' ;
49
49
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." ;
53
52
} ;
54
53
55
54
settingsExample = {
Original file line number Diff line number Diff line change @@ -292,9 +292,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
292
292
293
293
inactive_winbar = mkEmptySectionOption "Winbar configuration used when inactive." ;
294
294
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." ;
298
297
} ;
299
298
300
299
settingsExample = {
Original file line number Diff line number Diff line change @@ -81,9 +81,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
81
81
82
82
ignore_lsp = defaultNullOpts . mkListOf lib . types . str [ ] "Table of lsp clients to ignore by name." ;
83
83
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." ;
87
86
88
87
show_hidden = defaultNullOpts . mkBool false "Show hidden files in telescope." ;
89
88
Original file line number Diff line number Diff line change @@ -19,9 +19,8 @@ with lib;
19
19
20
20
treesitterIntegration = {
21
21
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" ;
25
24
26
25
disableVirtualText = helpers . defaultNullOpts . mkBool false ''
27
26
Do not use virtual text to highlight the virtual end of a block, for languages without
Original file line number Diff line number Diff line change @@ -467,9 +467,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
467
467
group = defaultNullOpts . mkStr "+" "Symbol prepended to a group." ;
468
468
ellipsis = defaultNullOpts . mkStr "…" "Symbol used for overflow." ;
469
469
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." ;
473
472
colors = defaultNullOpts . mkBool true ''
474
473
Use the highlights from mini.icons.
475
474
Original file line number Diff line number Diff line change @@ -50,9 +50,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
50
50
"typst"
51
51
] "Filetypes for automatic heuristic mode triggers." ;
52
52
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" ;
56
55
57
56
auto_set_mode_heuristically = defaultNullOpts . mkBool true ''
58
57
If true, the plugin will set the hard or soft mode automatically when any file loads.
Original file line number Diff line number Diff line change 2
2
# This derivation creates a Nix file that describes the Nix module that needs to be instantiated
3
3
#
4
4
# The create file is of the form:
5
- #
5
+ #
6
6
# {
7
7
# "<rust-analyzer.option.name>" = {
8
8
# description = "<option description>";
You can’t perform that action at this time.
0 commit comments