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 9f869e3 commit 9847fabCopy full SHA for 9847fab
autoload/classpath.vim
@@ -139,15 +139,15 @@ function! classpath#detect(...) abort
139
let match = matchstr(out, pattern)
140
if !v:shell_error && exists('out') && out !=# ''
141
let path = base . classpath#to_vim(match)
142
- call writefile([path], cache)
143
- return path
144
else
145
echohl WarningMSG
146
echomsg "Couldn't determine class path."
147
echohl NONE
148
echo out
149
- return default
+ let path = default
150
endif
+ call writefile([path], cache)
+ return path
151
152
endfunction
153
0 commit comments