Skip to content

Commit 83a6f73

Browse files
CopilotKaiser-Yang
andcommitted
Fix variable assignment order in treesitter example
Co-authored-by: Kaiser-Yang <58209855+Kaiser-Yang@users.noreply.github.com>
1 parent db5f07d commit 83a6f73

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ local repmove = require('repmove')
170170
local ts_repeat_move = require('nvim-treesitter.textobjects.repeatable_move')
171171

172172
-- Make treesitter motions repeatable
173-
local next_func, prev_func = repmove.make(
173+
local prev_func, next_func = repmove.make(
174174
ts_repeat_move.builtin_F,
175175
ts_repeat_move.builtin_f,
176176
',',
@@ -389,7 +389,7 @@ local repmove = require('repmove')
389389
local ts_repeat_move = require('nvim-treesitter.textobjects.repeatable_move')
390390

391391
-- 使 treesitter 移动可重复
392-
local next_func, prev_func = repmove.make(
392+
local prev_func, next_func = repmove.make(
393393
ts_repeat_move.builtin_F,
394394
ts_repeat_move.builtin_f,
395395
',',

0 commit comments

Comments
 (0)