]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(java): Tidy up the syntax file
authorAliaksei Budavei <0x000c70@gmail.com>
Wed, 31 Jul 2024 20:14:37 +0000 (22:14 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 31 Jul 2024 20:14:37 +0000 (22:14 +0200)
commit9aabcef1c8f61a7d4f2facf6a510ab6d4f2d52f3
treedfabbc7b78f9c1a04ccf276004395b68c8e36f9e
parent3749dff093d8c3ba0cd34cebf42bd4d3d93afe26
runtime(java): Tidy up the syntax file

- Prefix all global variables with "g:".
- Add spaces around each variable assignment operator.
- Remove extraneous whitespace characters.
- Remove a spurious _serializable_ Java keyword (since v1.1,
  java.io.Serializable and java.io.Externalizable interfaces
  provide an API for object serialization; see vim-6-0j).
- Normalise the syntax definition argument order by making
  _contained_ the first argument of each such definition.
- Normalise the argument tabulation for highlighting group
  definitions.

Reference:
https://web.archive.org/web/20010821025330/java.sun.com/docs/books/jls/first_edition/html/1.1Update.html

related: #15399

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/java.vim