Add textobjects module

This commit is contained in:
Stephan Seitz 2020-06-21 20:38:00 +02:00 committed by Thomas Vigouroux
parent c42c38a834
commit 69cabc69be
9 changed files with 216 additions and 27 deletions

View file

@ -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)