We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0817773 commit 6b69f02Copy full SHA for 6b69f02
autoload/codefmt/ktfmt.vim
@@ -57,14 +57,14 @@ function! codefmt#ktfmt#GetFormatter() abort
57
" command is executable and doesn't look like 'java' so assume yes
58
let s:cmdAvailable[l:joined] = 1
59
endif
60
+ return s:cmdAvailable[l:joined]
61
else
62
if l:cmd[0] =~# ','
63
call maktaba#error#Warn(
64
\ 'ktfmt_executable is a string "%s" but looks like a list. '
65
\ . 'Try not quoting the comma-separated value',
66
\ l:cmd[0])
67
- return s:cmdAvailable[l:joined]
68
" don't cache unavailability, in case user installs the command
69
return 0
70
0 commit comments