Skip to content

Commit

Permalink
Update rename.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Aug 30, 2023
1 parent 1332b00 commit f69e45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/els/rename.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl<Checker: BuildRunnable, Parser: Parsable> Server<Checker, Parser> {
send_log(format!("rename request: {params:?}"))?;
let uri = NormalizedUrl::new(params.text_document_position.text_document.uri);
let pos = params.text_document_position.position;
if let Some(tok) = self.file_cache.get_token(&uri, pos) {
if let Some(tok) = self.file_cache.get_symbol(&uri, pos) {
// send_log(format!("token: {tok}"))?;
if let Some(vi) = self
.get_visitor(&uri)
Expand Down

0 comments on commit f69e45f

Please sign in to comment.