Skip to content

Commit 798828f

Browse files
committed
Fix bug
1 parent 26ccac9 commit 798828f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cm_rhai_mode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ fn token(stream: codemirror::StringStream, state: &mut State) -> Result<Option<S
230230
*brace_counting -= 1;
231231
if *brace_counting == 0 {
232232
state.interpolated_str_brace_stack.pop();
233-
state.token_state.is_within_text_terminated_by = Some('`');
233+
state.token_state.is_within_text_terminated_by = Some("`".into());
234234
}
235235
}
236236
"bracket"

0 commit comments

Comments
 (0)