Skip to content

Commit 0cdf4e6

Browse files
committed
Simply change position for brackets position
Signed-off-by: worksofliam <[email protected]>
1 parent 083ba23 commit 0cdf4e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/language/providers/hoverProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const hoverProvider = languages.registerHoverProvider({ language: `sql` }
8787

8888
if (result) {
8989
if ('routine' in result) {
90-
const routineOffset = ref.tokens[ref.tokens.length-1].range.end+1;
90+
const routineOffset = ref.tokens[ref.tokens.length-1].range.end-1;
9191
const callableRef = statementAt.getCallableDetail(routineOffset, false);
9292
if (callableRef) {
9393
const { currentCount } = getPositionData(callableRef, routineOffset);

0 commit comments

Comments
 (0)