diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-08-10 22:32:08 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2021-08-10 22:32:08 +0200 |
commit | a177c7df093f573c4bcb7b422bd615ce239be367 (patch) | |
tree | 44ade4d8162efc2b18b0006afc58ef89b327be21 /src/nvim/ex_getln.c | |
parent | a2909aa35faf941a30b1496e74c278accc3fb15b (diff) | |
download | rneovim-a177c7df093f573c4bcb7b422bd615ce239be367.tar.gz rneovim-a177c7df093f573c4bcb7b422bd615ce239be367.tar.bz2 rneovim-a177c7df093f573c4bcb7b422bd615ce239be367.zip |
refactor(plines): remove implicit curwin plines() function
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 2b3d773ca4..af8a23f5cc 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -2593,7 +2593,7 @@ static void color_expr_cmdline(const CmdlineInfo *const colored_ccline, ColoredCmdline *const ret_ccline_colors) FUNC_ATTR_NONNULL_ALL { - ParserLine plines[] = { + ParserLine parser_lines[] = { { .data = (const char *)colored_ccline->cmdbuff, .size = STRLEN(colored_ccline->cmdbuff), @@ -2601,7 +2601,7 @@ static void color_expr_cmdline(const CmdlineInfo *const colored_ccline, }, { NULL, 0, false }, }; - ParserLine *plines_p = plines; + ParserLine *plines_p = parser_lines; ParserHighlight colors; kvi_init(colors); ParserState pstate; |