From 1d8afdff801cf40887574a00a4c5d0fe30a5763b Mon Sep 17 00:00:00 2001 From: Keith Simmons Date: Mon, 11 Apr 2022 12:59:31 -0700 Subject: [PATCH] Set tsx default indent to 2 and remove js from extension list in tsx config.toml --- crates/zed/src/main.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs index 8633005899..f05660e0f2 100644 --- a/crates/zed/src/main.rs +++ b/crates/zed/src/main.rs @@ -62,6 +62,13 @@ fn main() { tab_size: Some(2), ..Default::default() }, + ) + .with_overrides( + "TSX", + settings::LanguageOverride { + tab_size: Some(2), + ..Default::default() + }, ); let settings_file = load_settings_file(&app, fs.clone());