aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autoload.vim15
1 files changed, 15 insertions, 0 deletions
diff --git a/autoload.vim b/autoload.vim
index 95f9db0..706f450 100644
--- a/autoload.vim
+++ b/autoload.vim
@@ -335,6 +335,21 @@ if !exists('s:tagkinds')
highlight def link pythonMethodTag pythonFunction
+ " Java. {{{2
+
+ call easytags#define_tagkind({
+ \ 'filetype': 'java',
+ \ 'hlgroup': 'javaClass',
+ \ 'filter': 'get(v:val, "kind") ==# "c"'})
+
+ call easytags#define_tagkind({
+ \ 'filetype': 'java',
+ \ 'hlgroup': 'javaMethod',
+ \ 'filter': 'get(v:val, "kind") ==# "m"'})
+
+ highlight def link javaClass Identifier
+ highlight def link javaMethod Function
+
" Restore "cpoptions".
let &cpo = s:cpo_save
unlet s:cpo_save