diff --git a/lua/plugins/roslyn.lua b/lua/plugins/roslyn.lua index 6b6795e..eefdb1d 100644 --- a/lua/plugins/roslyn.lua +++ b/lua/plugins/roslyn.lua @@ -8,5 +8,21 @@ return { -- ignore_sln = function(sln) -- return string.match(sln, 'Contactify.sln') ~= nil -- end, + config = { + settings = { + ['csharp|inlay_hints'] = { + csharp_enable_inlay_hints_for_implicit_variable_types = true, + csharp_enable_inlay_hints_for_types = true, + csharp_enable_inlay_hints_for_parameters = true, + }, + ['csharp|background_analysis'] = { + background_analysis_dotnet_analyzer_diagnostics_scope = 'openFiles', + background_analysis_dotnet_compiler_diagnostics_scope = 'openFiles', + }, + ['csharp|completion'] = { + dotnet_show_completion_items_from_unimported_namespaces = true, + }, + }, + }, }, }