Don't look up Compojure's GET with javadoc

Closes #21.
This commit is contained in:
Tim Pope 2012-12-29 11:26:24 -05:00
parent 9551798f7d
commit 23ecbe5649

View File

@ -863,7 +863,7 @@ endfunction
function! s:K() function! s:K()
let word = expand('<cword>') let word = expand('<cword>')
let java_candidate = matchstr(word, '^\%(\w\+\.\)*\u\w*\ze\%(\.\|\/\w\+\)\=$') let java_candidate = matchstr(word, '^\%(\w\+\.\)*\u\l\w*\ze\%(\.\|\/\w\+\)\=$')
if java_candidate !=# '' if java_candidate !=# ''
return 'Javadoc '.java_candidate return 'Javadoc '.java_candidate
else else