@@ -232,15 +232,19 @@ pub fn temp_file_with_contents<S: AsRef<str>>(
232/// Generates a config with defaults more suitable for integration tests
232/// Generates a config with defaults more suitable for integration tests
233pub fn test_config() -> Config {
233pub fn test_config() -> Config {
234 merge_keys(Config {
234 merge_keys(Config {
235+ editor: test_editor_config(),
236+ ..Default::default()
235− editor: helix_view::editor::Config {
240+pub fn test_editor_config() -> helix_view::editor::Config {
241+ helix_view::editor::Config {
236− lsp: LspConfig {
242+ lsp: LspConfig {
237− enable: false,
243+ enable: false,
238− ..Default::default()
240 ..Default::default()
244 ..Default::default()
242 ..Default::default()
246 ..Default::default()
246/// Replaces all LF chars with the system's appropriate line feed
250/// Replaces all LF chars with the system's appropriate line feed
@@ -282,7 +286,7 @@ impl Default for AppBuilder {
282 fn default() -> Self {
286 fn default() -> Self {
284 args: Args::default(),
288 args: Args::default(),
285− config: Config::default(),
289+ config: test_config(),
286 syn_conf: test_syntax_conf(None),
290 syn_conf: test_syntax_conf(None),
287 input: None,
291 input: None,