vim-patch:055cca8: runtime(java): Reference a modern syntax item generator for type names (#34256)

And generalise the sourcing of "javaid.vim" for Java
buffers.

Resolves zzzyxwvut/java-vim#10.
closes: vim/vim#17411

055cca88c4

Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>
This commit is contained in:
zeertzjq
2025-06-01 21:33:32 +08:00
committed by GitHub
parent b77666e6f9
commit 84c7785546
2 changed files with 6 additions and 12 deletions

View File

@@ -3,7 +3,7 @@
" Maintainer: Aliaksei Budavei <0x000c70 AT gmail DOT com>
" Former Maintainer: Claudio Fleiner <claudio@fleiner.com>
" Repository: https://github.com/zzzyxwvut/java-vim.git
" Last Change: 2025 Apr 28
" Last Change: 2025 May 30
" Please check ":help java.vim" for comments on some of the options
" available.
@@ -301,9 +301,7 @@ if exists("g:java_highlight_all") || exists("g:java_highlight_java") || exists("
hi def link javaLangObject javaConstant
endif
if filereadable(expand("<sfile>:p:h") . "/javaid.vim")
source <sfile>:p:h/javaid.vim
endif
runtime syntax/javaid.vim
if exists("g:java_space_errors")
if !exists("g:java_no_trail_space_error")