mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 10:48:18 +00:00
Remove FEAT_CINDENT
C code indenting
This commit is contained in:
@@ -104,7 +104,6 @@
|
|||||||
#define FEAT_BROWSE
|
#define FEAT_BROWSE
|
||||||
#define FEAT_BROWSE_CMD
|
#define FEAT_BROWSE_CMD
|
||||||
#define FEAT_BYTEOFF
|
#define FEAT_BYTEOFF
|
||||||
#define FEAT_CINDENT
|
|
||||||
#define FEAT_CMDHIST
|
#define FEAT_CMDHIST
|
||||||
#define FEAT_CMDL_COMPL
|
#define FEAT_CMDL_COMPL
|
||||||
#define FEAT_CMDL_INFO
|
#define FEAT_CMDL_INFO
|
||||||
|
@@ -102,10 +102,7 @@ open_line (
|
|||||||
char_u *lead_flags; /* position in 'comments' for comment leader */
|
char_u *lead_flags; /* position in 'comments' for comment leader */
|
||||||
char_u *leader = NULL; /* copy of comment leader */
|
char_u *leader = NULL; /* copy of comment leader */
|
||||||
char_u *allocated = NULL; /* allocated memory */
|
char_u *allocated = NULL; /* allocated memory */
|
||||||
#if defined(FEAT_SMARTINDENT) || defined(FEAT_VREPLACE) || defined(FEAT_LISP) \
|
|
||||||
|| defined(FEAT_CINDENT) || defined(FEAT_COMMENTS)
|
|
||||||
char_u *p;
|
char_u *p;
|
||||||
#endif
|
|
||||||
int saved_char = NUL; /* init for GCC */
|
int saved_char = NUL; /* init for GCC */
|
||||||
pos_T *pos;
|
pos_T *pos;
|
||||||
int do_si = (!p_paste && curbuf->b_p_si
|
int do_si = (!p_paste && curbuf->b_p_si
|
||||||
|
@@ -3941,8 +3941,6 @@ static int is_one_char(char_u *pattern)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(FEAT_LISP) || defined(FEAT_CINDENT) || defined(FEAT_TEXTOBJ) \
|
|
||||||
|| defined(PROTO)
|
|
||||||
/*
|
/*
|
||||||
* return TRUE if line 'lnum' is empty or has white chars only.
|
* return TRUE if line 'lnum' is empty or has white chars only.
|
||||||
*/
|
*/
|
||||||
@@ -3953,7 +3951,6 @@ int linewhite(linenr_T lnum)
|
|||||||
p = skipwhite(ml_get(lnum));
|
p = skipwhite(ml_get(lnum));
|
||||||
return *p == NUL;
|
return *p == NUL;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Find identifiers or defines in included files.
|
* Find identifiers or defines in included files.
|
||||||
|
Reference in New Issue
Block a user