Skip to content

Commit 8903901

Browse files
committed
fix: escape container_id in Loaded Scopes window
1 parent f2b1153 commit 8903901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/grapple/container_content.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function ContainerContent:create_entry(entity, index)
150150

151151
local loaded_highlight
152152
if not entity.loaded then
153-
local col_start, col_end = assert(string.find(line, container_id))
153+
local col_start, col_end = assert(string.find(line, Util.escape(container_id)))
154154
loaded_highlight = {
155155
hl_group = "GrappleHint",
156156
line = index - 1,

0 commit comments

Comments
 (0)