Skip to content

Commit ca3dc49

Browse files
committed
Skip onHover lookup for comments
1 parent 41fc005 commit ca3dc49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export default class BashServer {
143143

144144
this.logRequest({ request: 'onHover', params, word })
145145

146-
if (!word) {
146+
if (!word || word.startsWith('#')) {
147147
return null
148148
}
149149

0 commit comments

Comments
 (0)