aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vim.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-09-19 12:11:41 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2021-09-26 15:44:40 +0200
commitac3288d556965b0aaae03c59244278700eb598e8 (patch)
treef5593187d9173f066ddb65d5110f528fde980531 /src/nvim/vim.h
parentb3b02eb52943fdc8ba74af3b485e9d11655bc9c9 (diff)
downloadrneovim-ac3288d556965b0aaae03c59244278700eb598e8.tar.gz
rneovim-ac3288d556965b0aaae03c59244278700eb598e8.tar.bz2
rneovim-ac3288d556965b0aaae03c59244278700eb598e8.zip
fix(runtime): ordering of loading packages with user config
site packages must be sourced before user config NOTE: we only consider dirs exactly matching "after" to be an AFTER dir. vim8 considers all dirs like "foo/bar_after", "Xafter" etc, as an "after" dir in SOME codepaths not not in ALL codepaths.
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r--src/nvim/vim.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index f61f9a5e01..62536a0600 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -305,18 +305,6 @@ enum { FOLD_TEXT_LEN = 51 }; //!< buffer size for get_foldtext()
#include "nvim/buffer_defs.h" // buffer and windows
#include "nvim/ex_cmds_defs.h" // Ex command defines
-// Used for flags in do_in_path()
-#define DIP_ALL 0x01 // all matches, not just the first one
-#define DIP_DIR 0x02 // find directories instead of files
-#define DIP_ERR 0x04 // give an error message when none found
-#define DIP_START 0x08 // also use "start" directory in 'packpath'
-#define DIP_OPT 0x10 // also use "opt" directory in 'packpath'
-#define DIP_NORTP 0x20 // do not use 'runtimepath'
-#define DIP_NOAFTER 0x40 // skip "after" directories
-#define DIP_AFTER 0x80 // only use "after" directories
-#define DIP_LUA 0x100 // also use ".lua" files
-#define DIP_DIRFILE 0x200 // find both files and directories
-
// Lowest number used for window ID. Cannot have this many windows per tab.
#define LOWEST_WIN_ID 1000