refactor: move session functions to ex_session.c

This commit is contained in:
Justin M. Keyes
2020-01-27 01:10:23 -08:00
parent d3a9d75c04
commit 75e8562249
7 changed files with 1053 additions and 1000 deletions

View File

@@ -70,6 +70,7 @@
#include "nvim/regexp.h"
#include "nvim/screen.h"
#include "nvim/search.h"
#include "nvim/ex_session.h"
#include "nvim/sha256.h"
#include "nvim/sign.h"
#include "nvim/spell.h"

File diff suppressed because it is too large Load Diff

1034
src/nvim/ex_session.c Normal file

File diff suppressed because it is too large Load Diff

13
src/nvim/ex_session.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef NVIM_EX_SESSION_H
#define NVIM_EX_SESSION_H
#include <stdio.h>
#include "nvim/ex_cmds_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "ex_session.h.generated.h"
#endif
#endif // NVIM_EX_SESSION_H

View File

@@ -19,6 +19,7 @@
#include "nvim/diff.h"
#include "nvim/eval.h"
#include "nvim/ex_docmd.h"
#include "nvim/ex_session.h"
#include "nvim/func_attr.h"
#include "nvim/indent.h"
#include "nvim/buffer_updates.h"

View File

@@ -41,6 +41,7 @@
#include "nvim/option.h"
#include "nvim/regexp.h"
#include "nvim/screen.h"
#include "nvim/ex_session.h"
#include "nvim/state.h"
#include "nvim/strings.h"
#include "nvim/ui.h"

View File

@@ -66,6 +66,7 @@
#include "nvim/path.h"
#include "nvim/popupmnu.h"
#include "nvim/regexp.h"
#include "nvim/ex_session.h"
#include "nvim/screen.h"
#include "nvim/spell.h"
#include "nvim/spellfile.h"