mirror of
https://github.com/neovim/neovim.git
synced 2025-10-18 07:41:51 +00:00

Namespaces is a lightweight concept that should be used to group objects for purposes of bulk operations and introspection. This is initially used for highlights and virtual text in buffers, and is planned to also be used for extended marks. There is no plan use them for privileges or isolation, neither to introduce nanespace-level options.
16 lines
335 B
C
16 lines
335 B
C
#ifndef NVIM_API_VIM_H
|
|
#define NVIM_API_VIM_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "nvim/api/private/defs.h"
|
|
#include "nvim/map.h"
|
|
|
|
EXTERN Map(String, handle_T) *namespace_ids INIT(= NULL);
|
|
EXTERN handle_T next_namespace_id INIT(= 1);
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "api/vim.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_API_VIM_H
|