Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dashes as separators #16

Closed
wants to merge 2 commits into from
Closed

Add support for dashes as separators #16

wants to merge 2 commits into from

Conversation

pianohacker
Copy link

Based on the work of @bkzl.

@Julian
Copy link
Owner

Julian commented Nov 17, 2018

Hey! Thanks.

Would have loved to do this as part of #7 (i.e. via a new API).

As is, given I don't think I'll get any time to do #7 myself, it's possibly ok to merge as-is, will have a look and leave a comment or two.

Appreciated!

call search(join(left_boundaries, '\|'), 'bce')
let start_position = getpos('.')

let orig_iskeyword=&l:iskeyword
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks suspicious to me.

I don't know that I'm thinking clearly enough, but I'd expect this to be done outside of this plugin entirely -- i.e., I'd expect this plugin to rely on a properly set iskeyword for the filetype that it's operating on, so if that ftplugin uses dashes, then we rely on that.

Perhaps you're doing this just to satisfy the test case you wrote (which by the way thanks!, well done on those)

@Julian Julian closed this Oct 11, 2019
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.

3 participants