mirror of
https://github.com/vim/vim
synced 2025-04-04 17:07:00 +02:00
Complement "g:java_ignore_javadoc" with "g:java_ignore_html" and "g:java_ignore_markdown" to allow selectively disabling the recognition of HTML and CommonMark respectively. (Note that this is not a preview feature.) ======================== LIMITATION ======================== According to the syntactical details of JEP 467: > Any leading whitespace and the three initial / characters > are removed from each line. > > The lines are shifted left, by removing leading whitespace > characters, until the non-blank line with the least > leading whitespace has no remaining leading whitespace. > > Additional leading whitespace and any trailing whitespace > in each line is preserved, because it may be significant. the following example: ------------------------------------------------------------ /// A summary sentence. /// A list: /// - Item A. /// - Item B. /// /// Some code span, starting here ` /// 1 + 2 ` and ending at the previous \`. ------------------------------------------------------------ should be interpreted as if it were written thus: ------------------------------------------------------------ ///A summary sentence. /// A list: /// - Item A. /// - Item B. /// /// Some code span, starting here ` /// 1 + 2 ` and ending at the previous \`. ------------------------------------------------------------ Since automatic line rewriting will not be pursued, parts of such comments having significant whitespace may be ‘wrongly’ highlighted. For convenience, a &fex function is defined to ‘correct’ it: g:javaformat#RemoveCommonMarkdownWhitespace() (:help ft-java-plugin). References: https://openjdk.org/jeps/467 https://spec.commonmark.org/0.31.2 closes: #15740 Co-authored-by: Tim Pope <code@tpope.net> Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org> |
||
---|---|---|
.. | ||
cargo | ||
dist | ||
rust | ||
xml | ||
ada.vim | ||
adacomplete.vim | ||
bitbake.vim | ||
cargo.vim | ||
ccomplete.vim | ||
clojurecomplete.vim | ||
context.vim | ||
contextcomplete.vim | ||
csscomplete.vim | ||
decada.vim | ||
freebasic.vim | ||
getscript.vim | ||
gnat.vim | ||
gzip.vim | ||
hare.vim | ||
haskellcomplete.vim | ||
hcl.vim | ||
htmlcomplete.vim | ||
javaformat.vim | ||
javascriptcomplete.vim | ||
modula2.vim | ||
netrw.vim | ||
netrw_gitignore.vim | ||
netrwFileHandlers.vim | ||
netrwSettings.vim | ||
paste.vim | ||
phpcomplete.vim | ||
python.vim | ||
python3complete.vim | ||
pythoncomplete.vim | ||
racket.vim | ||
README.txt | ||
RstFold.vim | ||
rubycomplete.vim | ||
rust.vim | ||
rustfmt.vim | ||
spellfile.vim | ||
sqlcomplete.vim | ||
syntaxcomplete.vim | ||
tar.vim | ||
tohtml.vim | ||
typeset.vim | ||
typst.vim | ||
vimball.vim | ||
xmlcomplete.vim | ||
xmlformat.vim | ||
zip.vim |
The autoload directory is for standard Vim autoload scripts. These are functions used by plugins and for general use. They will be loaded automatically when the function is invoked. See ":help autoload". gzip.vim for editing compressed files netrw*.vim browsing (remote) directories and editing remote files tar.vim browsing tar files zip.vim browsing zip files paste.vim common code for mswin.vim, menu.vim and macmap.vim spellfile.vim downloading of a missing spell file Omni completion files: ccomplete.vim C csscomplete.vim HTML / CSS htmlcomplete.vim HTML javascriptcomplete.vim Javascript phpcomplete.vim PHP pythoncomplete.vim Python rubycomplete.vim Ruby syntaxcomplete.vim from syntax highlighting xmlcomplete.vim XML (uses files in the xml directory)