mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
vim: move linenr_T and colnr_T to pos.h
Try to cut down vim.h's size. It's keeping us from testing more things.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
# define NVIM_VIM_H
|
||||
|
||||
#include "nvim/types.h"
|
||||
#include "nvim/pos.h" // for linenr_T, MAXCOL, etc...
|
||||
|
||||
/* Some defines from the old feature.h */
|
||||
#define SESSION_FILE "Session.vim"
|
||||
@@ -354,13 +355,8 @@ enum {
|
||||
#define PERROR(msg) \
|
||||
(void) emsg3((char_u *) "%s: %s", (char_u *)msg, (char_u *)strerror(errno))
|
||||
|
||||
typedef long linenr_T; /* line number type */
|
||||
typedef int colnr_T; /* column number type */
|
||||
typedef unsigned short disptick_T; /* display tick type */
|
||||
|
||||
#define MAXLNUM (0x7fffffffL) /* maximum (invalid) line number */
|
||||
#define MAXCOL (0x7fffffffL) /* maximum column number, 31 bits */
|
||||
|
||||
#define SHOWCMD_COLS 10 /* columns needed by shown command */
|
||||
#define STL_MAX_ITEM 80 /* max nr of %<flag> in statusline */
|
||||
|
||||
|
Reference in New Issue
Block a user