Use lua generator in place of ex_cmds_defs header trick

Closes #788
Fixes #379
Ref #549
This commit is contained in:
ZyX
2014-06-14 00:31:55 +04:00
parent bbefc73c55
commit 3becb5fd21
7 changed files with 2770 additions and 1135 deletions

View File

@@ -1,6 +1,8 @@
#ifndef NVIM_EX_DOCMD_H
#define NVIM_EX_DOCMD_H
#include "nvim/ex_cmds_defs.h"
/* flags for do_cmdline() */
#define DOCMD_VERBOSE 0x01 /* included command in error message */
#define DOCMD_NOWAIT 0x02 /* don't call wait_return() and friends */
@@ -17,8 +19,6 @@
#define EXMODE_NORMAL 1
#define EXMODE_VIM 2
typedef char_u *(*LineGetter)(int, void *, int);
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "ex_docmd.h.generated.h"
#endif