vim-patch:8.2.0674: some source files are too big (#19959)

Problem:    Some source files are too big.
Solution:   Move text formatting functions to a new file. (Yegappan
            Lakshmanan, closes vim/vim#6021)
11abd09521

Cherry-pick set_can_cindent() from patch 8.1.2062.
Cherry-pick global old_indent from patch 8.2.2127.
This commit is contained in:
zeertzjq
2022-08-26 22:37:20 +08:00
committed by GitHub
parent 2ecb4076df
commit 0b72e23bf1
11 changed files with 1176 additions and 1159 deletions

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

@@ -0,0 +1,12 @@
#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
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "textformat.h.generated.h"
#endif
#endif // NVIM_TEXTFORMAT_H