about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilfred Hughes <wilfred@meta.com>2024-09-23 17:04:04 -0400
committerWilfred Hughes <wilfred@meta.com>2024-09-23 17:04:04 -0400
commitf049f5fe165507e70cc065db5fe7635ec329aad0 (patch)
tree4f4b0b9d3d0f170bf538b8a3f40b82a59245e16d
parentf75aebe7e7ccd56b4ac7932a872428c979360e1c (diff)
downloadrust-f049f5fe165507e70cc065db5fe7635ec329aad0.tar.gz
rust-f049f5fe165507e70cc065db5fe7635ec329aad0.zip
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 {