vim-patch:8.2.1078: highlight and match functionality together in one file (#17805)

Problem:  Highlight and match functionality together in one file.
Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
          closes vim/vim#6352)

06cf97e714
This commit is contained in:
Lewis Russell 2022-03-22 22:31:50 +00:00 committed by GitHub
parent f63a52a0db
commit 7863e6b709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 1198 additions and 1172 deletions

View File

@ -39,6 +39,7 @@
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
#include "nvim/mark.h"
#include "nvim/match.h"
#include "nvim/math.h"
#include "nvim/memline.h"
#include "nvim/mouse.h"

View File

@ -44,6 +44,7 @@
#include "nvim/keymap.h"
#include "nvim/lua/executor.h"
#include "nvim/main.h"
#include "nvim/match.h"
#include "nvim/mark.h"
#include "nvim/mbyte.h"
#include "nvim/memline.h"

File diff suppressed because it is too large Load Diff

1181
src/nvim/match.c Normal file

File diff suppressed because it is too large Load Diff

12
src/nvim/match.h Normal file
View File

@ -0,0 +1,12 @@
#ifndef NVIM_MATCH_H
#define NVIM_MATCH_H
#include "nvim/buffer_defs.h"
#include "nvim/eval/funcs.h"
#include "nvim/ex_cmds_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "match.h.generated.h"
#endif
#endif // NVIM_MATCH_H

View File

@ -95,6 +95,7 @@
#include "nvim/lua/executor.h"
#include "nvim/main.h"
#include "nvim/mark.h"
#include "nvim/match.h"
#include "nvim/mbyte.h"
#include "nvim/memline.h"
#include "nvim/memory.h"

View File

@ -25,9 +25,9 @@
#include "nvim/getchar.h"
#include "nvim/globals.h"
#include "nvim/hashtab.h"
#include "nvim/highlight_group.h"
#include "nvim/main.h"
#include "nvim/mark.h"
#include "nvim/match.h"
#include "nvim/memline.h"
#include "nvim/memory.h"
#include "nvim/message.h"