You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In typescript files, in methods, when you hover opening curly brace for method body it is not highlighting pair brace and not jumping between them with %. Whats weird, that if I hover closing curly brace, it highlights opening as pair and jumps to it with % ( one-way-ticket ).
NVIM v0.10.2 with treesitter
Steps:
hover opening bracket in provided code snippet, press %
AR: Nothing happens
ER: cursor should jump on closing curly brace for current method
Minimal working example
Please provide a minimal working example, e.g.,
import{Page}from'@playwright/test';exportclassBasePage{constructor(publicpage: Page,publicurl=''){}publicasyncopen({ path, query }: {path?: string|number;query?: string}={}): Promise<void>{consturl=()=>{if(path&&query){return`${this.url}${path}?${query}`;}elseif(path){return`${this.url}${path}`;}elseif(this.url&&query){return`${this.url}?${query}`;}elseif(query){thrownewError(`Unable to attach query "${query}" to empty URL: "${this.url}"`);}else{returnthis.url;}};awaitthis.page.goto(url());awaitthis.waitFor();}publicasyncwaitFor(){}}
Explain the issue
In typescript files, in methods, when you hover opening curly brace for method body it is not highlighting pair brace and not jumping between them with
%
. Whats weird, that if I hover closing curly brace, it highlights opening as pair and jumps to it with%
( one-way-ticket ).NVIM v0.10.2 with treesitter
Steps:
%
AR: Nothing happens
ER: cursor should jump on closing curly brace for current method
Minimal working example
Please provide a minimal working example, e.g.,
Minimal vimrc file
Im using
lazy.nvim
with default setup,plugin
treesitter
REC-20241130002551.mp4
The text was updated successfully, but these errors were encountered: