aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrelnod <mail@paul-schiffers.de>2017-04-25 20:45:59 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-04-25 20:45:59 +0200
commit22932d8ac22f6dba3b3df068c6932bf3ad478d92 (patch)
tree3b9395ba49ff386ea972d382c52b178c9cda08b2
parenta0acb2e19521298b3d80aa1cfaaef5f476218e01 (diff)
downloadrneovim-22932d8ac22f6dba3b3df068c6932bf3ad478d92.tar.gz
rneovim-22932d8ac22f6dba3b3df068c6932bf3ad478d92.tar.bz2
rneovim-22932d8ac22f6dba3b3df068c6932bf3ad478d92.zip
refactor/single-include (#6586)
-rw-r--r--src/nvim/CMakeLists.txt4
-rw-r--r--src/nvim/popupmnu.h2
-rw-r--r--src/nvim/quickfix.h3
-rw-r--r--src/nvim/regexp.h4
4 files changed, 9 insertions, 4 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index db5e62fd67..9e9e9b6026 100644
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -432,13 +432,9 @@ set(NO_SINGLE_CHECK_HEADERS
if_cscope_defs.h
misc2.h
msgpack_rpc/server.h
- option.h
os/shell.h
os_unix.h
os/win_defs.h
- popupmnu.h
- quickfix.h
- regexp.h
regexp_defs.h
sha256.h
sign_defs.h
diff --git a/src/nvim/popupmnu.h b/src/nvim/popupmnu.h
index 2b181f2c4a..7e1588dbdd 100644
--- a/src/nvim/popupmnu.h
+++ b/src/nvim/popupmnu.h
@@ -1,6 +1,8 @@
#ifndef NVIM_POPUPMNU_H
#define NVIM_POPUPMNU_H
+#include "nvim/types.h"
+
/// Used for popup menu items.
typedef struct {
char_u *pum_text; // main menu text
diff --git a/src/nvim/quickfix.h b/src/nvim/quickfix.h
index bb9c2c3193..fdeb8d1a2f 100644
--- a/src/nvim/quickfix.h
+++ b/src/nvim/quickfix.h
@@ -1,6 +1,9 @@
#ifndef NVIM_QUICKFIX_H
#define NVIM_QUICKFIX_H
+#include "nvim/types.h"
+#include "nvim/ex_cmds_defs.h"
+
/* flags for skip_vimgrep_pat() */
#define VGR_GLOBAL 1
#define VGR_NOJUMP 2
diff --git a/src/nvim/regexp.h b/src/nvim/regexp.h
index 37513d8c27..97595c4d29 100644
--- a/src/nvim/regexp.h
+++ b/src/nvim/regexp.h
@@ -1,6 +1,10 @@
#ifndef NVIM_REGEXP_H
#define NVIM_REGEXP_H
+#include "nvim/types.h"
+#include "nvim/buffer_defs.h"
+#include "nvim/regexp_defs.h"
+
/* Second argument for vim_regcomp(). */
#define RE_MAGIC 1 /* 'magic' option */
#define RE_STRING 2 /* match in string instead of buffer text */