pmizio / typescript-tools.nvim

⚡ TypeScript integration NeoVim deserves ⚡
MIT License
1.26k stars 36 forks source link

fix: respect bufnr with codelens parser #246

Closed cstoku closed 2 weeks ago

cstoku commented 4 months ago

In textDocument/codeLens handler, get_parser has no argument, so it processes with the current buffer content regardless of the textDocument content.

Fixed to respect bufnr as well as convert_nodes_to_response.