comparison src/insexpand.c @ 16162:cd5c83115ec6 v8.1.1086

patch 8.1.1086: too many curly braces commit https://github.com/vim/vim/commit/abab0b0fdd6535969447b03a4fffc1947918cf6c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 30 18:47:01 2019 +0100 patch 8.1.1086: too many curly braces Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Mar 2019 19:00:07 +0100
parents 570a296aa0b4
children 56451a2677dc
comparison
equal deleted inserted replaced
16161:75fa84e2461b 16162:cd5c83115ec6
2604 // of matches is found when compl_pattern is empty 2604 // of matches is found when compl_pattern is empty
2605 if (find_tags(compl_pattern, &num_matches, &matches, 2605 if (find_tags(compl_pattern, &num_matches, &matches,
2606 TAG_REGEXP | TAG_NAMES | TAG_NOIC | TAG_INS_COMP 2606 TAG_REGEXP | TAG_NAMES | TAG_NOIC | TAG_INS_COMP
2607 | (ctrl_x_mode != CTRL_X_NORMAL ? TAG_VERBOSE : 0), 2607 | (ctrl_x_mode != CTRL_X_NORMAL ? TAG_VERBOSE : 0),
2608 TAG_MANY, curbuf->b_ffname) == OK && num_matches > 0) 2608 TAG_MANY, curbuf->b_ffname) == OK && num_matches > 0)
2609 {
2610 ins_compl_add_matches(num_matches, matches, p_ic); 2609 ins_compl_add_matches(num_matches, matches, p_ic);
2611 }
2612 p_ic = save_p_ic; 2610 p_ic = save_p_ic;
2613 break; 2611 break;
2614 2612
2615 case CTRL_X_FILES: 2613 case CTRL_X_FILES:
2616 if (expand_wildcards(1, &compl_pattern, &num_matches, &matches, 2614 if (expand_wildcards(1, &compl_pattern, &num_matches, &matches,