mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 01:08:43 +02:00
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.
31 lines
794 B
Nix
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";
|
|
};
|
|
};
|
|
}
|