Skip to content

Commit bd81f47

Browse files
committed
Maven why do you hide your classpath in a bunch of garbage?
1 parent b9c1e04 commit bd81f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/classpath.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function! classpath#detect(...) abort
7979
if filereadable(root . '/pom.xml')
8080
let file = 'pom.xml'
8181
let cmd = 'mvn dependency:build-classpath'
82-
let pattern = '\%(^\|\n\)\zs[^[].\{-\}\ze\n'
82+
let pattern = '\%(^\|classpath:\n\)\zs[^[].\{-\}\ze\n'
8383
let base = escape(root.sep.'src'.sep.'*'.sep.'*', ', ') . ','
8484
let default = base . default
8585
break

0 commit comments

Comments
 (0)