Using Lua, something I’m missing is the option to jump between parent and enclosing functions / ifs / loops, as I currently can with brackets/parenthesis (Ctrl+M):
How can I do that?
Using Lua, something I’m missing is the option to jump between parent and enclosing functions / ifs / loops, as I currently can with brackets/parenthesis (Ctrl+M):
How can I do that?
https://packagecontrol.io/packages/BracketHighlighter will allow you to define arbitrary brackets.
There is some support for Lua already in it. Granted, for the for
case it jumps between do
and end
, not for
and end
. Keep in mind I don’t use Lua, so I don’t recall why we are doing this from do
, but . You can always modify the Lua extension for BH to do things differently: