From 97f8532e3d08db95f9874bec744145da3f2430ea Mon Sep 17 00:00:00 2001 From: michener Date: Mon, 17 Oct 2011 21:19:42 +0000 Subject: [PATCH] Add java.vim -- method calls git-svn-id: http://photonzero.com/dotfiles/trunk@111 23f722f6-122a-0410-8cef-c75bd312dd78 --- .vim/syntax/java.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .vim/syntax/java.vim diff --git a/.vim/syntax/java.vim b/.vim/syntax/java.vim new file mode 100644 index 0000000..8c33b12 --- /dev/null +++ b/.vim/syntax/java.vim @@ -0,0 +1,9 @@ +" Highlight Class and Function names +syn match javaCustomParen "(" contains=javaParenT +syn match javaCustomFunc "\w\+\s*(" contains=javaCustomParen +syn match javaCustomScope "::" +syn match javaCustomClass "\w\+\s*::" contains=cCustomScope + +hi def link javaCustomFunc Function +hi def link javaCustomClass Function +