From 92b408d793e380455f32c5557a4a251e542f7956 Mon Sep 17 00:00:00 2001 From: argshook <argshook@gmail.com> Date: Thu, 2 Mar 2017 02:36:02 +0200 Subject: [PATCH] fix: b:magit_current_commit_msg is a list maybe i shouldn't refactor vimscript without knowing it --- plugin/magit.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/magit.vim b/plugin/magit.vim index cf741fc..2054abf 100644 --- a/plugin/magit.vim +++ b/plugin/magit.vim @@ -202,7 +202,7 @@ function! s:mg_get_commit_section() let output += commit_msg endif if ( !empty(b:magit_current_commit_msg) ) - let output += [b:magit_current_commit_msg] + let output += b:magit_current_commit_msg endif let output += ['', ''] endif -- GitLab