]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(java): Tidy up the documentation for "ft-java-syntax"
authorAliaksei Budavei <0x000c70@gmail.com>
Wed, 31 Jul 2024 20:13:25 +0000 (22:13 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 31 Jul 2024 20:13:25 +0000 (22:13 +0200)
commit3749dff093d8c3ba0cd34cebf42bd4d3d93afe26
tree0c56cf7b768164a11b48cde1a7d28ea061e809bc
parentd88ebcbd9ff6e67c2e1ff2abf95f1782aaeed9e4
runtime(java): Tidy up the documentation for "ft-java-syntax"

- Reword a few sentences and reformat a few paragraphs.
- Supply absent capitalisation and punctuation.
- Make listed highlighting groups and code stand out.
- Prefix all Java-related global variables with "g:".
- Add spaces around each variable assignment operator.
- Acknowledge that some Javadoc variables are maintained in
  the HTML syntax file.

Also, move the overridable _default_ HTML group links before
the HTML syntax file inclusion in order to implement the
documented diverged settings.

related: #15399

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