refactor: share language IDs with indentation configuration
This commit is contained in:
+1
-1
@@ -8994,7 +8994,7 @@ impl Editor {
|
||||
let width = if self.language_tab_spaces.is_empty() {
|
||||
self.tab_spaces
|
||||
} else {
|
||||
crate::syntax::language_name(
|
||||
crate::syntax::language_id(
|
||||
self.active.path.as_deref(),
|
||||
self.active.lines.first().map(String::as_str),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user