mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
feat(api): add lua C bindings for xdiff (#14536)
* feat(api): add lua C bindings for xdiff * chore: opt.hunk_lines -> opt.result_type opt.on_hunk now takes precedence over opt.result_type * chore: fix indents Fix indents * chore: change how priv is managed Assign priv NULL and unconditionally apply XFREE_CLEAR to it when finished.
This commit is contained in:
12
src/nvim/lua/xdiff.h
Normal file
12
src/nvim/lua/xdiff.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef NVIM_LUA_XDIFF_H
|
||||
#define NVIM_LUA_XDIFF_H
|
||||
|
||||
#include <lua.h>
|
||||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "lua/xdiff.h.generated.h"
|
||||
#endif
|
||||
|
||||
#endif // NVIM_LUA_XDIFF_H
|
Reference in New Issue
Block a user