easy-dotnet

URL: https://github.com/GustavEikaas/easy-dotnet.nvim/

Maintainers: Gaetan Lepage

plugins.easy-dotnet.enable

Whether to enable easy-dotnet.nvim.

Type: boolean

Default: false

Example: true

Declared by:

plugins.easy-dotnet.package

The easy-dotnet.nvim package to use.

Type: package

Default: pkgs.vimPlugins.easy-dotnet-nvim

Declared by:

plugins.easy-dotnet.autoLoad

Whether to automatically load easy-dotnet.nvim when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by:

plugins.easy-dotnet.settings

Options provided to the require('easy-dotnet').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  test_runner = {
    enable_buffer_test_execution = true;
    viewmode = "float";
  };
  auto_bootstrap_namespace = true;
  terminal.__raw = ''
    function(path, action, args)
      local commands = {
        run = function()
          return string.format("dotnet run --project %s %s", path, args)
        end,
        test = function()
          return string.format("dotnet test %s %s", path, args)
        end,
        restore = function()
          return string.format("dotnet restore %s %s", path, args)
        end,
        build = function()
          return string.format("dotnet build %s %s", path, args)
        end,
      }

      local command = commands[action]() .. "\r"
      require("toggleterm").exec(command, nil, nil, nil, "float")
    end
  '';
  picker = "fzf";
}

Declared by: