Skip to content

Commit 99cb3fb

Browse files
committed
plugins/dotnet: init
1 parent cf7e026 commit 99cb3fb

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

plugins/by-name/dotnet/default.nix

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{ lib, ... }:
2+
lib.nixvim.neovim-plugin.mkNeovimPlugin {
3+
name = "dotnet";
4+
originalName = "dotnet.nvim";
5+
package = "dotnet-nvim";
6+
7+
maintainers = [ lib.maintainers.khaneliman ];
8+
9+
settingsOptions = {
10+
bootstrap = {
11+
auto_bootstrap = lib.nixvim.defaultNullOpts.mkBool true ''
12+
Automatically call "bootstrap" when creating a new file, adding a namespace and a class to the files.
13+
'';
14+
};
15+
16+
project_selection = {
17+
path_display = lib.nixvim.defaultNullOpts.mkStr "filename_first" ''
18+
Determines how file paths are displayed. All of Telescope's path_display options are supported.
19+
'';
20+
};
21+
};
22+
23+
settingsExample = {
24+
bootstrap = {
25+
auto_bootstrap = false;
26+
};
27+
project_selection = {
28+
path_display = "truncate";
29+
};
30+
};
31+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
empty = {
3+
plugins.dotnet.enable = true;
4+
};
5+
6+
default = {
7+
plugins.dotnet = {
8+
enable = true;
9+
10+
settings = {
11+
bootstrap = {
12+
auto_bootstrap = true;
13+
};
14+
project_selection = {
15+
path_display = "filename_first";
16+
};
17+
};
18+
};
19+
};
20+
}

0 commit comments

Comments
 (0)