-
-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf7e026
commit 99cb3fb
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ lib, ... }: | ||
lib.nixvim.neovim-plugin.mkNeovimPlugin { | ||
name = "dotnet"; | ||
originalName = "dotnet.nvim"; | ||
package = "dotnet-nvim"; | ||
|
||
maintainers = [ lib.maintainers.khaneliman ]; | ||
|
||
settingsOptions = { | ||
bootstrap = { | ||
auto_bootstrap = lib.nixvim.defaultNullOpts.mkBool true '' | ||
Automatically call "bootstrap" when creating a new file, adding a namespace and a class to the files. | ||
''; | ||
}; | ||
|
||
project_selection = { | ||
path_display = lib.nixvim.defaultNullOpts.mkStr "filename_first" '' | ||
Determines how file paths are displayed. All of Telescope's path_display options are supported. | ||
''; | ||
}; | ||
}; | ||
|
||
settingsExample = { | ||
bootstrap = { | ||
auto_bootstrap = false; | ||
}; | ||
project_selection = { | ||
path_display = "truncate"; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
empty = { | ||
plugins.dotnet.enable = true; | ||
}; | ||
|
||
default = { | ||
plugins.dotnet = { | ||
enable = true; | ||
|
||
settings = { | ||
bootstrap = { | ||
auto_bootstrap = true; | ||
}; | ||
project_selection = { | ||
path_display = "filename_first"; | ||
}; | ||
}; | ||
}; | ||
}; | ||
} |