diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-09-25 00:45:15 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2022-09-25 13:46:15 +0200 |
commit | 3169fc54a129f6dd1c0baf2d404e50381cf48e8f (patch) | |
tree | 3d5d03ca2b37983b4f022e84dca1aed18ba84510 /test/functional/treesitter/highlight_spec.lua | |
parent | 2a3cb0893b03aeff4d8c0b2116cbddda53bba5a2 (diff) | |
download | rneovim-3169fc54a129f6dd1c0baf2d404e50381cf48e8f.tar.gz rneovim-3169fc54a129f6dd1c0baf2d404e50381cf48e8f.tar.bz2 rneovim-3169fc54a129f6dd1c0baf2d404e50381cf48e8f.zip |
refactor(treesitter): rename x_position => x_pos
"pos" has a long precedent as "position" in vim, and there is no reason
to use a verbose name here.
Diffstat (limited to 'test/functional/treesitter/highlight_spec.lua')
-rw-r--r-- | test/functional/treesitter/highlight_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/treesitter/highlight_spec.lua b/test/functional/treesitter/highlight_spec.lua index 1684337c3c..ae3f42ff0a 100644 --- a/test/functional/treesitter/highlight_spec.lua +++ b/test/functional/treesitter/highlight_spec.lua @@ -607,7 +607,7 @@ describe('treesitter highlighting', function() eq({ {capture='Error', metadata = { priority='101' }}; {capture='type', metadata = { } }; - }, exec_lua [[ return vim.treesitter.get_captures_at_position(0, 0, 2) ]]) + }, exec_lua [[ return vim.treesitter.get_captures_at_pos(0, 0, 2) ]]) end) it("allows to use captures with dots (don't use fallback when specialization of foo exists)", function() |