mirror of
https://github.com/neovim/neovim.git
synced 2026-01-06 19:39:53 +10:00
docs: misc (#30177)
Co-authored-by: Christian Clason <c.clason@uni-graz.at> Co-authored-by: Riley Bruins <ribru17@hotmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
@@ -261,7 +261,7 @@ end
|
||||
---@param row integer Position row
|
||||
---@param col integer Position column
|
||||
---
|
||||
---@return {capture: string, lang: string, metadata: table}[]
|
||||
---@return {capture: string, lang: string, metadata: vim.treesitter.query.TSMetadata}[]
|
||||
function M.get_captures_at_pos(bufnr, row, col)
|
||||
if bufnr == 0 then
|
||||
bufnr = api.nvim_get_current_buf()
|
||||
|
||||
Reference in New Issue
Block a user