summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/utils.lua
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-06-21 20:38:00 +0200
committerThomas Vigouroux <39092278+vigoux@users.noreply.github.com>2020-07-14 22:34:43 +0200
commit69cabc69be49bc37c8a9bbb7def1415504b489b2 (patch)
treecc4925d6ce00654c181a7cb4d2eef3dc488a324b /lua/nvim-treesitter/utils.lua
parentc42c38a8346dd9edda96477b774d3e086cd73650 (diff)
Add textobjects module
Diffstat (limited to 'lua/nvim-treesitter/utils.lua')
-rw-r--r--lua/nvim-treesitter/utils.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/utils.lua b/lua/nvim-treesitter/utils.lua
index c87cee2d..416326e4 100644
--- a/lua/nvim-treesitter/utils.lua
+++ b/lua/nvim-treesitter/utils.lua
@@ -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)