public IRazorLanguageServerTarget CreateLanguageServer(JsonRpc jsonRpc, IRazorCapabilitiesProvider razorCapabilitiesProvider) { var capabilitiesProvider = new RazorCapabilitiesProvider(razorCapabilitiesProvider); var languageServer = _languageServerFactory.Create(jsonRpc, capabilitiesProvider, NoOpLspLogger.Instance); return(new RazorLanguageServerTargetWrapper(languageServer)); }
public RazorCapabilitiesProvider(IRazorCapabilitiesProvider razorCapabilitiesProvider) { _razorCapabilitiesProvider = razorCapabilitiesProvider; }