mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
vim-patch:8.2.0660: the search.c file is a bit big (#19963)
Problem: The search.c file is a bit big.
Solution: Split off the text object code to a separate file. (Yegappan
Lakshmanan, closes vim/vim#6007)
ed8ce057b7
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
#include "nvim/syntax.h"
|
||||
#include "nvim/terminal.h"
|
||||
#include "nvim/textformat.h"
|
||||
#include "nvim/textobject.h"
|
||||
#include "nvim/ui.h"
|
||||
#include "nvim/undo.h"
|
||||
#include "nvim/vim.h"
|
||||
|
@@ -33,9 +33,9 @@
|
||||
#include "nvim/os/time.h"
|
||||
#include "nvim/path.h"
|
||||
#include "nvim/quickfix.h"
|
||||
#include "nvim/search.h"
|
||||
#include "nvim/sign.h"
|
||||
#include "nvim/strings.h"
|
||||
#include "nvim/textobject.h"
|
||||
#include "nvim/ui.h"
|
||||
#include "nvim/vim.h"
|
||||
|
||||
|
@@ -66,6 +66,7 @@
|
||||
#include "nvim/syntax.h"
|
||||
#include "nvim/tag.h"
|
||||
#include "nvim/textformat.h"
|
||||
#include "nvim/textobject.h"
|
||||
#include "nvim/ui.h"
|
||||
#include "nvim/undo.h"
|
||||
#include "nvim/vim.h"
|
||||
|
1802
src/nvim/search.c
1802
src/nvim/search.c
File diff suppressed because it is too large
Load Diff
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "nvim/ascii.h"
|
||||
#include "nvim/change.h"
|
||||
#include "nvim/charset.h"
|
||||
#include "nvim/cursor.h"
|
||||
@@ -15,14 +16,18 @@
|
||||
#include "nvim/globals.h"
|
||||
#include "nvim/indent.h"
|
||||
#include "nvim/indent_c.h"
|
||||
#include "nvim/mbyte.h"
|
||||
#include "nvim/memline.h"
|
||||
#include "nvim/move.h"
|
||||
#include "nvim/normal.h"
|
||||
#include "nvim/ops.h"
|
||||
#include "nvim/option.h"
|
||||
#include "nvim/os/input.h"
|
||||
#include "nvim/pos.h"
|
||||
#include "nvim/search.h"
|
||||
#include "nvim/strings.h"
|
||||
#include "nvim/textformat.h"
|
||||
#include "nvim/textobject.h"
|
||||
#include "nvim/undo.h"
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/window.h"
|
||||
|
@@ -1,8 +1,6 @@
|
||||
#ifndef NVIM_TEXTFORMAT_H
|
||||
#define NVIM_TEXTFORMAT_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "nvim/normal.h" // for oparg_T
|
||||
#include "nvim/pos.h" // for linenr_T
|
||||
|
||||
|
1742
src/nvim/textobject.c
Normal file
1742
src/nvim/textobject.c
Normal file
File diff suppressed because it is too large
Load Diff
11
src/nvim/textobject.h
Normal file
11
src/nvim/textobject.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef NVIM_TEXTOBJECT_H
|
||||
#define NVIM_TEXTOBJECT_H
|
||||
|
||||
#include "nvim/normal.h" // for oparg_T
|
||||
#include "nvim/pos.h" // for linenr_T
|
||||
#include "nvim/vim.h" // for Direction
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "textobject.h.generated.h"
|
||||
#endif
|
||||
#endif // NVIM_TEXTOBJECT_H
|
Reference in New Issue
Block a user