tsql.nvim/lua/tsql/token_select.lua

25 lines
369 B
Lua
Raw Normal View History

2023-05-30 04:39:15 +00:00
local M = {}
---@class FileLoc
---@field
M.FileLoc = {
}
---@class QNode
M.QNode = {}
---@class TSQuery
---@field find_nodes fun(self: TSQuery, bufs: QBuf[]): TSNode[]
M.TSQuery = {}
---@param treesitter_q string Treesitter DSL for query
---TODO: some examples of `treesitter_q` here
---
---@return TSQuery
function M.from_ts_scm(treesitter_q)
end
return M