Skip to content

Commit 9346c38

Browse files
committed
Fix broken codefmt#IsFormatterAvailable (:endfor without :for)
Fixes regression in #158 / 0ab5420.
1 parent a43392a commit 9346c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: autoload/codefmt.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ endfunction
134134
function! codefmt#IsFormatterAvailable() abort
135135
if !empty(get(b:, 'codefmt_formatter'))
136136
return 1
137-
endfor
137+
endif
138138
for l:formatter in s:registry.GetExtensions()
139139
if l:formatter.AppliesToBuffer() && s:IsAvailableSafe(l:formatter)
140140
return 1

0 commit comments

Comments
 (0)