LspServerConfig constructor

const LspServerConfig({
  1. required String name,
  2. required String command,
  3. List<String> args = const [],
  4. required Map<String, String> extensionToLanguage,
  5. Map<String, String> env = const {},
  6. String? workspaceFolder,
  7. Map<String, dynamic>? initializationOptions,
  8. int maxRestarts = 3,
})

Implementation

const LspServerConfig({
  required this.name,
  required this.command,
  this.args = const [],
  required this.extensionToLanguage,
  this.env = const {},
  this.workspaceFolder,
  this.initializationOptions,
  this.maxRestarts = 3,
});