Skip to content

string-inflection-get-current-word is not mode aware #40

@johannes-mueller

Description

@johannes-mueller

When editing a python file like

fooBar-barFoo
         ^---- cursor position

and calling string-inflection-python-style-cycle the result is

foo_bar_bar_foo

and not the expected

fooBar-bar_foo

Probably the mode aware (symbol-at-point) function should be used to determine the current word.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions