mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
refactor: remove vim.h from more headers (#26244)
This commit is contained in:
parent
a03bd2b878
commit
acf5252879
@ -2,11 +2,13 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "klib/kvec.h"
|
||||
#include "nvim/api/private/defs.h"
|
||||
#include "nvim/api/private/dispatch.h"
|
||||
#include "nvim/decoration.h"
|
||||
#include "nvim/eval/typval_defs.h"
|
||||
#include "nvim/ex_eval_defs.h"
|
||||
#include "nvim/getchar.h"
|
||||
#include "nvim/gettext.h"
|
||||
@ -14,7 +16,7 @@
|
||||
#include "nvim/macros.h"
|
||||
#include "nvim/map.h"
|
||||
#include "nvim/memory.h"
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/message.h"
|
||||
|
||||
#define OBJECT_OBJ(o) o
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "nvim/eval/typval.h"
|
||||
#include "nvim/eval/typval_defs.h"
|
||||
#include "nvim/garray_defs.h"
|
||||
#include "nvim/vim.h"
|
||||
|
||||
/// Convert Vimscript value to msgpack string
|
||||
///
|
||||
|
@ -17,6 +17,10 @@
|
||||
# include <sanitizer/ubsan_interface.h>
|
||||
#endif
|
||||
|
||||
// uncrustify:off
|
||||
#include "nvim/vim.h"
|
||||
// uncrustify:on
|
||||
|
||||
#include "nvim/arglist.h"
|
||||
#include "nvim/ascii.h"
|
||||
#include "nvim/autocmd.h"
|
||||
@ -82,7 +86,6 @@
|
||||
#include "nvim/ui_client.h"
|
||||
#include "nvim/ui_compositor.h"
|
||||
#include "nvim/version.h"
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/window.h"
|
||||
#ifdef MSWIN
|
||||
# include "nvim/os/os_win_console.h"
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "nvim/event/process.h"
|
||||
#include "nvim/event/socket.h"
|
||||
#include "nvim/map.h"
|
||||
#include "nvim/vim.h"
|
||||
|
||||
typedef struct Channel Channel;
|
||||
typedef struct Unpacker Unpacker;
|
||||
|
Loading…
Reference in New Issue
Block a user