mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim: move disptick_T from vim.h to syntax_defs.h
Make vim.h smaller, bit by bit.
This commit is contained in:
parent
e288ddaee7
commit
0564f781ab
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user