Hello. 

I have just discovered the matchit plugin and have been using it to navigate
some Oracle PL/SQL scripts. My issue is as follows.

If I have a script containing:

create or replace procedure foo
as
begin
            null ;
end ;

then by placing the cursor on the word begin and hitting % the cursor jumps
to the word end. Great, that’s what I want. But if the script is

create or replace procedure foo
as
begin
            null ;
end foo ;

i.e. it names the procedure after the closing end, then the above navigation
doesn’t work. I’m loathe to change b:match_words as it looks a bit hairy,
but if someone has already addressed this, or can suggest a workaround, I’d
be grateful.

Thanks.


Reply via email to