christoomey/vim-sort-motion

Unknown function: strcharpart

blitzcom opened this issue · 3 comments

Hi @christoomey, I have been using this plugin and is awesome.

Everything works fine but when I want to sort items inline (foo, bar, baz) I get an error Unknown function: strcharpart in vim 7.4.1689.

screenshot from 2018-03-02 19-46-52

Apparently, the way to fix this bug is changing strcharpart() to strpart().

Hey @K-eo, thanks for reporting. Mind opening a PR for the change?

@christoomey, PR on the way.

Closed by #14. Thanks @K-eo!