Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

Simplified API #3

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Simplified API #3

wants to merge 5 commits into from

Conversation

hkupty
Copy link
Contributor

@hkupty hkupty commented Jul 20, 2018

This removes the indirection layer between neovim and client library. This
way tycho becomes a stateless layer, only abstracting the API.

It also comes with some runtime checks, which should make errors easier to
spot.

Based on #2

This removes the indirection layer between neovim and client library.
This way tycho becomes a stateless layer, only abstracting the API.

It also comes with some runtime checks, which should make errors easier to spot.
So it can be reused by other (command, autocmd..) abstractions.
It seems this won't be needed as well
@KillTheMule
Copy link

The three dots ... as an argument from loadfile aren't implemented, so it won't work this way. We can fake it for the time being. Just put local ns = pluginname at the top, it's not recommended to use them directly anyways, but destructure at the beginning.

@hkupty
Copy link
Contributor Author

hkupty commented Jul 20, 2018

Ok. I'll update the examples and docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants