nix-community.nixvim/plugins/by-name/dotnet/default.nix
Austin Horstman a7012e7864
treewide: originalName -> packPathName
We used to only think of it as the plugin repo's name, but we have been
needing to use it for the name of the plugin's packpath location.
2024-12-13 21:29:00 -06:00

31 lines
794 B
Nix

{ lib, ... }:
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "dotnet";
packPathName = "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";
};
};
}