aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Coleman <metrix1978@gmail.com>2014-05-28 06:12:00 -0500
committerBrandon Coleman <metrix1978@gmail.com>2014-06-12 01:20:36 -0500
commitebd412681ede21a9f759f2d0d1eff711b782ab29 (patch)
treee05e2bfa2dd5b8912a0c42309a5fa9c7d71aa1f3
parentbb53536d6e2a4ffedf5c4c4bb78bef2abdce19bd (diff)
downloadrneovim-ebd412681ede21a9f759f2d0d1eff711b782ab29.tar.gz
rneovim-ebd412681ede21a9f759f2d0d1eff711b782ab29.tar.bz2
rneovim-ebd412681ede21a9f759f2d0d1eff711b782ab29.zip
move values for find_pattern_in_path() to search.h
-rw-r--r--src/nvim/search.h11
-rw-r--r--src/nvim/vim.h11
2 files changed, 11 insertions, 11 deletions
diff --git a/src/nvim/search.h b/src/nvim/search.h
index 7dc45f307c..c608aa4a4c 100644
--- a/src/nvim/search.h
+++ b/src/nvim/search.h
@@ -1,6 +1,17 @@
#ifndef NVIM_SEARCH_H
#define NVIM_SEARCH_H
+/* Values for the find_pattern_in_path() function args 'type' and 'action': */
+#define FIND_ANY 1
+#define FIND_DEFINE 2
+#define CHECK_PATH 3
+
+#define ACTION_SHOW 1
+#define ACTION_GOTO 2
+#define ACTION_SPLIT 3
+#define ACTION_SHOW_ALL 4
+#define ACTION_EXPAND 5
+
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "search.h.generated.h"
#endif
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index b03cb97398..c9a499dbde 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -352,17 +352,6 @@ enum {
# define gen_expand_wildcards mch_expand_wildcards
#endif
-/* Values for the find_pattern_in_path() function args 'type' and 'action': */
-#define FIND_ANY 1
-#define FIND_DEFINE 2
-#define CHECK_PATH 3
-
-#define ACTION_SHOW 1
-#define ACTION_GOTO 2
-#define ACTION_SPLIT 3
-#define ACTION_SHOW_ALL 4
-# define ACTION_EXPAND 5
-
# define SST_MIN_ENTRIES 150 /* minimal size for state stack array */
# define SST_MAX_ENTRIES 1000 /* maximal size for state stack array */
# define SST_FIX_STATES 7 /* size of sst_stack[]. */