Skip to content

Commit c8569df

Browse files
committed
fix(service): remove redundant comments around formatting capability check (#8209)
1 parent e56ec00 commit c8569df

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crates/biome_service/src/workspace.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ impl FeaturesSupported {
147147
/// Adds the features that are enabled in `capabilities` to this result.
148148
#[inline]
149149
pub fn with_capabilities(mut self, capabilities: &Capabilities) -> Self {
150-
// Fix for #8209: Check if ANY formatting capability exists, not just format()
151-
// This ensures that files with format_range/format_on_type support are recognized
152150
if capabilities.formatter.format.is_some()
153151
|| capabilities.formatter.format_range.is_some()
154152
|| capabilities.formatter.format_on_type.is_some()

0 commit comments

Comments
 (0)