From fccb1491480ec49aede8747454eaf88c0afd431d Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 5 Sep 2014 13:10:21 -0400 Subject: [PATCH] Recognize nested classes in K Closes #176. --- plugin/fireplace.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fireplace.vim b/plugin/fireplace.vim index 8d425aa..858186d 100644 --- a/plugin/fireplace.vim +++ b/plugin/fireplace.vim @@ -1393,7 +1393,7 @@ endfunction function! s:K() abort let word = expand('') - let java_candidate = matchstr(word, '^\%(\w\+\.\)*\u\l\w*\ze\%(\.\|\/\w\+\)\=$') + let java_candidate = matchstr(word, '^\%(\w\+\.\)*\u\l[[:alnum:]$]*\ze\%(\.\|\/\w\+\)\=$') if java_candidate !=# '' return 'Javadoc '.java_candidate else