From 6b6c943661b7767232fd47dc8576c035007f88fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20=E9=87=91=E5=8F=AF=E6=98=8E?= Date: Fri, 27 Oct 2023 13:20:32 +0200 Subject: [PATCH] chore(ci): revert code and disable unused var linting error msg --- autoload/doge.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/doge.vim b/autoload/doge.vim index 495b71a6..50d606d0 100644 --- a/autoload/doge.vim +++ b/autoload/doge.vim @@ -131,7 +131,8 @@ function! doge#generate(arg) abort let l:Indent = function('doge#indent#add', [l:comment_indent]) " Indent the comment. - let l:comment = map(l:comment, { line -> l:Indent(line) }) + " vint: next-line -ProhibitUnusedVariable + let l:comment = map(l:comment, { index, line -> l:Indent(line) }) " Write the comment. call append(l:comment_lnum_insert_position, l:comment)