vim: move disptick_T from vim.h to syntax_defs.h

Make vim.h smaller, bit by bit.
This commit is contained in:
Nicolas Hillegeer 2014-07-06 17:36:31 +02:00
parent e288ddaee7
commit 0564f781ab
4 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,7 @@
#include "nvim/ex_eval.h"
#include "nvim/mbyte.h"
#include "nvim/menu.h"
#include "nvim/syntax_defs.h"
/*
* definition of global variables

View File

@ -42,6 +42,7 @@
#include "nvim/regexp.h"
#include "nvim/screen.h"
#include "nvim/strings.h"
#include "nvim/syntax_defs.h"
#include "nvim/term.h"
#include "nvim/ui.h"
#include "nvim/os/os.h"

View File

@ -9,6 +9,8 @@
# define SST_DIST 16 /* normal distance between entries */
# define SST_INVALID (synstate_T *)-1 /* invalid syn_state pointer */
typedef unsigned short disptick_T; /* display tick type */
/* struct passed to in_id_list() */
struct sp_syn {
int inc_tag; /* ":syn include" unique tag */

View File

@ -355,8 +355,6 @@ enum {
#define PERROR(msg) \
(void) emsg3((char_u *) "%s: %s", (char_u *)msg, (char_u *)strerror(errno))
typedef unsigned short disptick_T; /* display tick type */
#define SHOWCMD_COLS 10 /* columns needed by shown command */
#define STL_MAX_ITEM 80 /* max nr of %<flag> in statusline */