feat: Add jump prev/next for function/conditional/class/loop
This commit is contained in:
parent
fbc9cb8b16
commit
404c40d8dc
1 changed files with 16 additions and 0 deletions
|
|
@ -86,6 +86,22 @@ return {
|
||||||
["aa"] = { query = "@attribute.outer" },
|
["aa"] = { query = "@attribute.outer" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
move = {
|
||||||
|
enable = true,
|
||||||
|
set_jumps = true,
|
||||||
|
goto_previous_start = {
|
||||||
|
["[f"] = "@function.outer",
|
||||||
|
["[i"] = "@conditional.outer",
|
||||||
|
["[c"] = "@class.outer",
|
||||||
|
["[l"] = "@loop.outer",
|
||||||
|
},
|
||||||
|
goto_next_start = {
|
||||||
|
["]f"] = "@function.outer",
|
||||||
|
["]i"] = "@conditional.outer",
|
||||||
|
["]c"] = "@class.outer",
|
||||||
|
["]l"] = "@loop.outer",
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue