Skip to content

Conversation

@mglart
Copy link

@mglart mglart commented Jun 24, 2017

When a variable is declared starting with def or class the ]m and [m commands jump to wrong location.

i.e.:

def foo:
    default = 0 #  ]m would jump to here
    classic = 0 #  same here

Fix regex for finding python function and class definitions to not match 'def' and 'class' inside words.

def foo:
    def_ault = 0 #  ]m would jump to here
    class_ic = 0 #  same here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants