mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
refactor: eliminate cyclic includes
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "auto/config.h"
|
||||
#include "nvim/os/os_defs.h" // IWYU pragma: keep
|
||||
|
||||
// Some defines from the old feature.h
|
||||
#define SESSION_FILE "Session.vim"
|
||||
#define MAX_MSG_HIST_LEN 200
|
||||
#define SYS_OPTWIN_FILE "$VIMRUNTIME/optwin.vim"
|
||||
#define RUNTIME_DIRNAME "runtime"
|
||||
|
||||
#include "auto/config.h"
|
||||
|
||||
enum {
|
||||
/// length of a buffer to store a number in ASCII (64 bits binary + NUL)
|
||||
NUMBUFLEN = 65,
|
||||
@@ -56,8 +57,6 @@ typedef enum {
|
||||
kCdCauseAuto, ///< On 'autochdir'.
|
||||
} CdCause;
|
||||
|
||||
#include "nvim/os/os_defs.h" // IWYU pragma: keep
|
||||
|
||||
// return values for functions
|
||||
#if !(defined(OK) && (OK == 1))
|
||||
// OK already defined to 1 in MacOS X curses, skip this
|
||||
|
Reference in New Issue
Block a user