about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-24 09:49:25 +0000
committerbors <bors@rust-lang.org>2024-09-24 09:49:25 +0000
commit622c701c0979d9397cb30cec851991ae164968e0 (patch)
treec0c23c554d52ab4d5829aa959a4ca6fe2c405846
parent5bc2e652a75faf5e94420b72860ed8fcdd523fb6 (diff)
parentf049f5fe165507e70cc065db5fe7635ec329aad0 (diff)
downloadrust-622c701c0979d9397cb30cec851991ae164968e0.tar.gz
rust-622c701c0979d9397cb30cec851991ae164968e0.zip
Auto merge of #18175 - Wilfred:completion_marker, r=Veykril
internal: Make COMPLETION_MARKER more explicitly r-a

If a user ever sees the completion marker, it's confusing to see text about IntelliJ. Use a string that's more explicitly about completion for rust-analyzer.
-rw-r--r--src/tools/rust-analyzer/crates/ide-completion/src/context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/ide-completion/src/context.rs b/src/tools/rust-analyzer/crates/ide-completion/src/context.rs
index 72a57915169..192f1b43fac 100644
--- a/src/tools/rust-analyzer/crates/ide-completion/src/context.rs
+++ b/src/tools/rust-analyzer/crates/ide-completion/src/context.rs
@@ -26,7 +26,7 @@ use crate::{
     CompletionConfig,
 };
 
-const COMPLETION_MARKER: &str = "intellijRulezz";
+const COMPLETION_MARKER: &str = "raCompletionMarker";
 
 #[derive(Copy, Clone, Debug, PartialEq, Eq)]
 pub(crate) enum PatternRefutability {