mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
lint
This commit is contained in:
parent
6572c995fb
commit
61eff5d238
@ -2495,10 +2495,8 @@ static bool valid_filetype(char_u *val)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/// Handle string options that need some action to perform when changed.
|
||||||
* Handle string options that need some action to perform when changed.
|
/// Returns NULL for success, or an error message for an error.
|
||||||
* Returns NULL for success, or an error message for an error.
|
|
||||||
*/
|
|
||||||
static char_u *
|
static char_u *
|
||||||
did_set_string_option(
|
did_set_string_option(
|
||||||
int opt_idx, // index in options[] table
|
int opt_idx, // index in options[] table
|
||||||
@ -3387,18 +3385,15 @@ ambw_end:
|
|||||||
return errmsg;
|
return errmsg;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/// Simple int comparison function for use with qsort()
|
||||||
* Simple int comparison function for use with qsort()
|
|
||||||
*/
|
|
||||||
static int int_cmp(const void *a, const void *b)
|
static int int_cmp(const void *a, const void *b)
|
||||||
{
|
{
|
||||||
return *(const int *)a - *(const int *)b;
|
return *(const int *)a - *(const int *)b;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/// Handle setting 'colorcolumn' or 'textwidth' in window "wp".
|
||||||
* Handle setting 'colorcolumn' or 'textwidth' in window "wp".
|
///
|
||||||
* Returns error message, NULL if it's OK.
|
/// @return error message, NULL if it's OK.
|
||||||
*/
|
|
||||||
char_u *check_colorcolumn(win_T *wp)
|
char_u *check_colorcolumn(win_T *wp)
|
||||||
{
|
{
|
||||||
char_u *s;
|
char_u *s;
|
||||||
|
Loading…
Reference in New Issue
Block a user