diff options
author | James McCoy <jamessan@jamessan.com> | 2019-04-08 08:02:44 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2019-04-08 08:02:44 -0400 |
commit | 61eff5d23826e423e29bc21de09e181921028c7c (patch) | |
tree | 40f3c708a690ba264b0cec98912fd4c0bd15452f /src/nvim/option.c | |
parent | 6572c995fb5a3b7dc41f077e0434810e6679f96d (diff) | |
download | rneovim-61eff5d23826e423e29bc21de09e181921028c7c.tar.gz rneovim-61eff5d23826e423e29bc21de09e181921028c7c.tar.bz2 rneovim-61eff5d23826e423e29bc21de09e181921028c7c.zip |
lint
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 026d8e2121..bfb1de096d 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -2495,10 +2495,8 @@ static bool valid_filetype(char_u *val) return true; } -/* - * Handle string options that need some action to perform when changed. - * Returns NULL for success, or an error message for an error. - */ +/// Handle string options that need some action to perform when changed. +/// Returns NULL for success, or an error message for an error. static char_u * did_set_string_option( int opt_idx, // index in options[] table @@ -3387,18 +3385,15 @@ ambw_end: 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) { return *(const int *)a - *(const int *)b; } -/* - * Handle setting 'colorcolumn' or 'textwidth' in window "wp". - * Returns error message, NULL if it's OK. - */ +/// Handle setting 'colorcolumn' or 'textwidth' in window "wp". +/// +/// @return error message, NULL if it's OK. char_u *check_colorcolumn(win_T *wp) { char_u *s; |