mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
Add textobjects module
This commit is contained in:
parent
c42c38a834
commit
69cabc69be
9 changed files with 216 additions and 27 deletions
|
|
@ -46,7 +46,7 @@ end
|
|||
|
||||
-- Gets a property at path
|
||||
-- @param tbl the table to access
|
||||
-- @param path the '.' seperated path
|
||||
-- @param path the '.' separated path
|
||||
-- @returns the value at path or nil
|
||||
function M.get_at_path(tbl, path)
|
||||
local segments = vim.split(path, '.', true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue