mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
refactor: format all C files under nvim/ #15977
* refactor: format all C files under nvim * refactor: disable formatting for Vim-owned files: * src/nvim/indent_c.c * src/nvim/regexp.c * src/nvim/regexp_nfa.c * src/nvim/testdir/samples/memfile_test.c
This commit is contained in:
@@ -43,9 +43,9 @@ typedef struct ml_chunksize {
|
||||
typedef struct memline {
|
||||
linenr_T ml_line_count; // number of lines in the buffer
|
||||
|
||||
memfile_T *ml_mfp; // pointer to associated memfile
|
||||
memfile_T *ml_mfp; // pointer to associated memfile
|
||||
|
||||
infoptr_T *ml_stack; // stack of pointer blocks (array of IPTRs)
|
||||
infoptr_T *ml_stack; // stack of pointer blocks (array of IPTRs)
|
||||
int ml_stack_top; // current top of ml_stack
|
||||
int ml_stack_size; // total number of entries in ml_stack
|
||||
|
||||
@@ -56,11 +56,11 @@ typedef struct memline {
|
||||
int ml_flags;
|
||||
|
||||
linenr_T ml_line_lnum; // line number of cached line, 0 if not valid
|
||||
char_u *ml_line_ptr; // pointer to cached line
|
||||
char_u *ml_line_ptr; // pointer to cached line
|
||||
size_t ml_line_offset; // cached byte offset of ml_line_lnum
|
||||
int ml_line_offset_ff; // fileformat of cached line
|
||||
|
||||
bhdr_T *ml_locked; // block used by last ml_get
|
||||
bhdr_T *ml_locked; // block used by last ml_get
|
||||
linenr_T ml_locked_low; // first line in ml_locked
|
||||
linenr_T ml_locked_high; // last line in ml_locked
|
||||
int ml_locked_lineadd; // number of lines inserted in ml_locked
|
||||
|
Reference in New Issue
Block a user