Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

Commit 1cbafdc

Browse files
committed
Add selection to action activators
1 parent 38a1aa7 commit 1cbafdc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/main.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class HLSLanguageClient extends AutoLanguageClient {
5454
UPI.TEventRangeType.context,
5555
UPI.TEventRangeType.keyboard,
5656
UPI.TEventRangeType.mouse,
57+
UPI.TEventRangeType.selection,
5758
],
5859
handler: async (editor, range, type) => {
5960
const msgs = getRelevantMessages(editor, range)

0 commit comments

Comments
 (0)