Skip to content

Commit

Permalink
chore(ci): revert code and disable unused var linting error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Oct 27, 2023
1 parent 95a439c commit 6b6c943
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autoload/doge.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6b6c943

Please sign in to comment.