mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
vim-patch:30a8ad6: runtime(java): Document "g:java_space_errors" and "g:java_comment_strings"
closes: vim/vim#15399
30a8ad675d
Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>
This commit is contained in:
parent
2339bd894b
commit
d3019419e7
@ -1660,6 +1660,16 @@ actually appear in Javadoc comments. The variables to use are >
|
||||
:let g:java_vb = 1
|
||||
Note that these three variables are maintained in the HTML syntax file.
|
||||
|
||||
Numbers and strings can be recognized in non-Javadoc comments with >
|
||||
:let g:java_comment_strings = 1
|
||||
|
||||
Trailing whitespace characters or a run of space characters before a tab
|
||||
character can be marked as an error with >
|
||||
:let g:java_space_errors = 1
|
||||
but either kind of an error can be suppressed by also defining one of >
|
||||
:let g:java_no_trail_space_error = 1
|
||||
:let g:java_no_tab_space_error = 1
|
||||
|
||||
In order to highlight nested parens with different colors, define colors for
|
||||
`javaParen`, `javaParen1`, and `javaParen2`. For example, >
|
||||
:hi link javaParen Comment
|
||||
|
Loading…
Reference in New Issue
Block a user