mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00

Introducing the concept of providers: co-processes that talk with the editor through the remote API and provide implementation for one or more core services. The `provider_register` function and it's API wrapper can be used by channels that want to self-register as a service provider. Some old builtin vim features will be re-implemented as providers. The `provider_has_feature` function is used to check if a provider implementing a certain feature is available(It will be called by the `has` vimscript function to check for features in a vim-compatible way) This implements the provider module without exposing any extension points, which will be done in future commits.
12 lines
206 B
C
12 lines
206 B
C
#ifndef NVIM_OS_PROVIDER_H
|
|
#define NVIM_OS_PROVIDER_H
|
|
|
|
#include "nvim/api/private/defs.h"
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "os/provider.h.generated.h"
|
|
#endif
|
|
|
|
#endif // NVIM_OS_PROVIDER_H
|
|
|