diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-06-04 14:54:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-04 14:54:44 +0200 |
commit | 3adb8a10b157bc5c20ab1bdcbaa6f6aa9e36a5fc (patch) | |
tree | 471fa95580c6597a6bc1f922f9c401744e49de73 /src/nvim/types.h | |
parent | db415bde5f1e366fea09ad572cf37a84894d61d4 (diff) | |
parent | f5c56f03bb9ee25c3d931034497dc76a5591b770 (diff) | |
download | rneovim-3adb8a10b157bc5c20ab1bdcbaa6f6aa9e36a5fc.tar.gz rneovim-3adb8a10b157bc5c20ab1bdcbaa6f6aa9e36a5fc.tar.bz2 rneovim-3adb8a10b157bc5c20ab1bdcbaa6f6aa9e36a5fc.zip |
Merge pull request #9170 from bfredl/lua_cb
lua callbacks for nvim_buf_attach
Diffstat (limited to 'src/nvim/types.h')
-rw-r--r-- | src/nvim/types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/types.h b/src/nvim/types.h index f803b45e27..5bcc0c3e1b 100644 --- a/src/nvim/types.h +++ b/src/nvim/types.h @@ -16,6 +16,11 @@ typedef uint32_t u8char_T; // Opaque handle used by API clients to refer to various objects in vim typedef int handle_T; +// Opaque handle to a lua value. Must be free with `executor_free_luaref` when +// not needed anymore! LUA_NOREF represents missing reference, i e to indicate +// absent callback etc. +typedef int LuaRef; + typedef struct expand expand_T; #endif // NVIM_TYPES_H |