plugins.lsp.servers.omnisharp.settings

The settings for this LSP.

Type: attribute set of anything

Default: { }

Example:

{
  callback = {
    __raw = ''
      function()
        print('nixvim')
      end
    '';
  };
  foo_bar = 42;
  hostname = "localhost:8080";
}

Declared by:

plugins.lsp.servers.omnisharp.settings.enableEditorConfigSupport

Enables support for reading code style, naming convention and analyzer settings from .editorconfig.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.lsp.servers.omnisharp.settings.enableImportCompletion

Enables support for showing unimported types and unimported extension methods in completion lists. When committed, the appropriate using directive will be added at the top of the current file. This option can have a negative impact on initial completion responsiveness, particularly for the first few completion sessions after opening a solution.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.lsp.servers.omnisharp.settings.enableMsBuildLoadProjectsOnDemand

If true, MSBuild project system will only load projects for files that were opened in the editor. This setting is useful for big C# codebases and allows for faster initialization of code navigation features only for projects that are relevant to code that is being edited. With this setting enabled OmniSharp may load fewer projects and may thus display incomplete reference lists for symbols.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.lsp.servers.omnisharp.settings.enableRoslynAnalyzers

If true, MSBuild project system will only load projects for files that were opened in the editor. This setting is useful for big C# codebases and allows for faster initialization of code navigation features only for projects that are relevant to code that is being edited. With this setting enabled OmniSharp may load fewer projects and may thus display incomplete reference lists for symbols.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.lsp.servers.omnisharp.settings.analyzeOpenDocumentsOnly

Only run analyzers against open files when ‘enableRoslynAnalyzers’ is true.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.lsp.servers.omnisharp.settings.organizeImportsOnFormat

Specifies whether ‘using’ directives should be grouped and sorted during document formatting.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.lsp.servers.omnisharp.settings.sdkIncludePrereleases

Specifies whether to include preview versions of the .NET SDK when determining which version to use for project loading.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by: