Skip to content

Commit e0f7e59

Browse files
committed
fix: inlay hints
1 parent c917f07 commit e0f7e59

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/cm/lsp/inlayHints.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -295,23 +295,16 @@ const styles = EditorView.baseTheme({
295295
padding: "0 3px",
296296
margin: "0 2px",
297297
verticalAlign: "baseline",
298-
cursor: "default",
299-
userSelect: "none",
298+
pointerEvents: "none",
300299
},
301300
"&light .cm-inlay-hint": {
302301
color: "#6a737d",
303302
backgroundColor: "rgba(27, 31, 35, 0.05)",
304303
},
305-
"&light .cm-inlay-hint:hover": {
306-
backgroundColor: "rgba(27, 31, 35, 0.1)",
307-
},
308304
"&dark .cm-inlay-hint": {
309305
color: "#6a9955",
310306
backgroundColor: "rgba(255, 255, 255, 0.05)",
311307
},
312-
"&dark .cm-inlay-hint:hover": {
313-
backgroundColor: "rgba(255, 255, 255, 0.1)",
314-
},
315308
".cm-inlay-hint-pl": { marginLeft: "4px" },
316309
".cm-inlay-hint-pr": { marginRight: "4px" },
317310
});

0 commit comments

Comments
 (0)