LspServerConfig constructor

const LspServerConfig({
  1. required String name,
  2. required String command,
  3. List<String> args = const [],
  4. List<String> fileTypes = const [],
  5. List<String> rootMarkers = const [],
  6. Map<String, dynamic> initOptions = const {},
  7. Map<String, dynamic> settings = const {},
  8. bool disabled = false,
  9. String? languageId,
})

Creates an LspServerConfig.

Implementation

const LspServerConfig({
  required this.name,
  required this.command,
  this.args = const [],
  this.fileTypes = const [],
  this.rootMarkers = const [],
  this.initOptions = const {},
  this.settings = const {},
  this.disabled = false,
  this.languageId,
});