]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Add Java highlighting settings.
authorSimon Ruderich <simon@ruderich.org>
Tue, 20 Nov 2012 00:27:11 +0000 (01:27 +0100)
committerSimon Ruderich <simon@ruderich.org>
Tue, 20 Nov 2012 00:27:11 +0000 (01:27 +0100)
vimrc

diff --git a/vimrc b/vimrc
index 825aa4e33faab82ce710552c3e5b48cb1384ec51..f98c379a4c46e88918934908e69a4d0d563510ce 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -762,6 +762,8 @@ if has('syntax')
     let g:hs_highlight_boolean = 1
     let g:hs_highlight_types = 1
     let g:hs_highlight_more_types = 1
+    " Java.
+    let g:java_highlight_java_lang_ids = 1 " color java.lang.* identifiers
     " Perl.
     let g:perl_fold = 1
     let g:perl_fold_blocks = 1