Skip to content

Conversation

@willothy
Copy link
Collaborator

@willothy willothy commented Jun 1, 2024

This will allow for integrations with things like nvim-spider. Not sure how I feel about my current API. Very WIP.

@tris203
Copy link
Owner

tris203 commented Jun 1, 2024

I'm not sure about this API design

I think that basically all these plugins do is reimplement the cls() algorithm

So I think we could just provide a method (metatable probably) to override that with a custom function if set

@willothy
Copy link
Collaborator Author

willothy commented Jun 1, 2024

I'm not sure about this API design

I think that basically all these plugins do is reimplement the cls() algorithm

So I think we could just provide a method (metatable probably) to override that with a custom function if set

Yeah I agree, I'll think about a better way to design this. This was mostly messing around with the idea.

@willothy willothy self-assigned this Jun 27, 2024
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