buffer: Keep the shorter language setting names for the common operation (#43915)

cc
https://github.com/zed-industries/zed/pull/43888#issuecomment-3597265087

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth
2025-12-01 18:55:33 +01:00
committed by GitHub
parent 465536644c
commit 628c52a96a
54 changed files with 219 additions and 276 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ mod tests {
});
cx.new(|cx| {
let mut buffer = Buffer::local("", cx).with_language_immediate(language, cx);
let mut buffer = Buffer::local("", cx).with_language(language, cx);
let expect_indents_to =
|buffer: &mut Buffer, cx: &mut Context<Buffer>, input: &str, expected: &str| {