Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-tengler committed Oct 24, 2023
1 parent 0f686c4 commit d83c28e
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions compiler/crates/relay-lsp/src/folding_ranges/mod.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
use std::collections::VecDeque;
use std::path::Path;

use common::{Location, SourceLocationKey};
use common::Location;
use common::SourceLocationKey;
use extract_graphql::JavaScriptSourceFeature;
use graphql_syntax::{parse_executable_with_error_recovery, List, Selection};
use lsp_types::{
request::{FoldingRangeRequest, Request},
FoldingRange,
};
use std::collections::VecDeque;

use crate::{
location::transform_relay_location_to_lsp_location, GlobalState, LSPRuntimeError,
LSPRuntimeResult,
};
use graphql_syntax::parse_executable_with_error_recovery;
use graphql_syntax::List;
use graphql_syntax::Selection;
use lsp_types::request::FoldingRangeRequest;
use lsp_types::request::Request;
use lsp_types::FoldingRange;

use crate::location::transform_relay_location_to_lsp_location;
use crate::GlobalState;
use crate::LSPRuntimeError;
use crate::LSPRuntimeResult;

/// Resolve a [`FoldingRangeRequest`] request to folding ranges
pub fn on_get_folding_ranges(
Expand Down

0 comments on commit d83c28e

Please sign in to comment.