Skip to content

Commit c9f3a7b

Browse files
HussainQadriigorlfs
authored andcommitted
fix: guard readOnly dim highlight
1 parent e8199a2 commit c9f3a7b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lua/dap-view/util/hl.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ M.hl_from_variable = function(v)
4848

4949
if
5050
globals.HAS_0_12
51+
and hl
5152
and v.presentationHint
5253
and vim.tbl_contains(v.presentationHint.attributes or {}, "readOnly")
5354
then

0 commit comments

Comments
 (0)