forked from aniani/vim
patch 9.0.1234: the code style has to be checked manually
Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems.
This commit is contained in:
@@ -161,7 +161,7 @@ search_regcomp(
|
||||
add_to_history(HIST_SEARCH, pat, TRUE, NUL);
|
||||
|
||||
if (used_pat)
|
||||
*used_pat = pat;
|
||||
*used_pat = pat;
|
||||
|
||||
vim_free(mr_pattern);
|
||||
#ifdef FEAT_RIGHTLEFT
|
||||
@@ -2641,7 +2641,7 @@ findmatchlimit(
|
||||
* (actually, we skip #\( et al)
|
||||
*/
|
||||
if (curbuf->b_p_lisp
|
||||
&& vim_strchr((char_u *)"(){}[]", c) != NULL
|
||||
&& vim_strchr((char_u *)"{}()[]", c) != NULL
|
||||
&& pos.col > 1
|
||||
&& check_prevcol(linep, pos.col, '\\', NULL)
|
||||
&& check_prevcol(linep, pos.col - 1, '#', NULL))
|
||||
|
Reference in New Issue
Block a user