aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-08-11 17:38:36 +0200
committerGitHub <noreply@github.com>2021-08-11 17:38:36 +0200
commit7d2233fad007a3dd42481f8ffc01e69b57a17f9e (patch)
treea539fc5a49b000086de4a0ab7c6fbd49e8de9ab8 /src/nvim/ex_getln.c
parent2c60f7c99188e90739d83f3c131134b71cd37436 (diff)
parent28b5c73bf8b5cc92451a4030b4ffbbad6c56374b (diff)
downloadrneovim-7d2233fad007a3dd42481f8ffc01e69b57a17f9e.tar.gz
rneovim-7d2233fad007a3dd42481f8ffc01e69b57a17f9e.tar.bz2
rneovim-7d2233fad007a3dd42481f8ffc01e69b57a17f9e.zip
Merge pull request #15336 from bfredl/plines
refactor(plines): move "plines" (size of printed lines) family of function to own file
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c4
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;