mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
vim-patch:8.1.1684: profiling functionality is spread out
Problem: Profiling functionality is spread out.
Solution: Put profiling functionality in profiling.c. (Yegappan Lakshmanan,
closes vim/vim#4666)
fa55cfc69d
Move proftime_T to types.h for now to avoid recursive #include.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "nvim/lua/executor.h"
|
||||
#include "nvim/option.h"
|
||||
#include "nvim/os/os.h"
|
||||
#include "nvim/profile.h"
|
||||
#include "nvim/runtime.h"
|
||||
#include "nvim/vim.h"
|
||||
|
||||
@@ -21,6 +22,8 @@
|
||||
# include "runtime.c.generated.h"
|
||||
#endif
|
||||
|
||||
garray_T script_items = { 0, 0, sizeof(scriptitem_T), 4, NULL };
|
||||
|
||||
static bool runtime_search_path_valid = false;
|
||||
static int *runtime_search_path_ref = NULL;
|
||||
static RuntimeSearchPath runtime_search_path;
|
||||
|
Reference in New Issue
Block a user