diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-01-08 22:13:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-08 22:13:46 -0800 |
commit | b6276f5aee835a6d44b2957027c5399c976c6647 (patch) | |
tree | c8044004ed00a7747aa6cac94ce763300f6c7c41 /src/nvim/ex_getln.c | |
parent | 831fa45ad84e2f41730db3350289e660006139d6 (diff) | |
parent | 45759e44f9cff9deef1538933fad3e42f94d5930 (diff) | |
download | rneovim-b6276f5aee835a6d44b2957027c5399c976c6647.tar.gz rneovim-b6276f5aee835a6d44b2957027c5399c976c6647.tar.bz2 rneovim-b6276f5aee835a6d44b2957027c5399c976c6647.zip |
Merge #11691 from janlazo/vim-8.2.0099
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index c09a3c08ef..2578d1837a 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -2007,7 +2007,7 @@ getcmdline ( int firstc, long count, // only used for incremental search int indent, // indent for inside conditionals - bool do_concat // unused + bool do_concat FUNC_ATTR_UNUSED ) { // Be prepared for situations where cmdline can be invoked recursively. @@ -4715,8 +4715,7 @@ ExpandFromContext ( int free_pat = FALSE; int i; - /* for ":set path=" and ":set tags=" halve backslashes for escaped - * space */ + // for ":set path=" and ":set tags=" halve backslashes for escaped space if (xp->xp_backslash != XP_BS_NONE) { free_pat = TRUE; pat = vim_strsave(pat); @@ -4984,8 +4983,7 @@ static void expand_shellcmd(char_u *filepat, int *num_file, char_u ***file, int ret; bool did_curdir = false; - /* for ":set path=" and ":set tags=" halve backslashes for escaped - * space */ + // for ":set path=" and ":set tags=" halve backslashes for escaped space pat = vim_strsave(filepat); for (i = 0; pat[i]; ++i) if (pat[i] == '\\' && pat[i + 1] == ' ') |