From 396280d3030685c6b7c4d962f24bb5171a735b47 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Sat, 11 Sep 2021 16:20:59 +0200 Subject: refactor(runtime): always use DIP_START when searching for runtime files Now remove the addition of "start/*" packages in 'packpath' as explicit items in 'runtimepath'. This avoids 'runtimepath' from becoming very long when using a lot of plugins as packages. To get the effective search path as a list, use |nvim_list_runtime_paths()| --- src/nvim/vim.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/vim.h') diff --git a/src/nvim/vim.h b/src/nvim/vim.h index d84979f6fe..f61f9a5e01 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -315,6 +315,7 @@ enum { FOLD_TEXT_LEN = 51 }; //!< buffer size for get_foldtext() #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 -- cgit