mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
2f2f434613
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: vim/vim#15740
|
||
---|---|---|
.. | ||
modula2/opt | ||
shared | ||
8th.vim | ||
a2ps.vim | ||
a65.vim | ||
aap.vim | ||
abap.vim | ||
abaqus.vim | ||
abc.vim | ||
abel.vim | ||
acedb.vim | ||
ada.vim | ||
aflex.vim | ||
ahdl.vim | ||
aidl.vim | ||
alsaconf.vim | ||
amiga.vim | ||
aml.vim | ||
ampl.vim | ||
ant.vim | ||
antlr4.vim | ||
antlr.vim | ||
apache.vim | ||
apachestyle.vim | ||
aptconf.vim | ||
arch.vim | ||
arduino.vim | ||
art.vim | ||
asciidoc.vim | ||
asm68k.vim | ||
asm.vim | ||
asmh8300.vim | ||
asn.vim | ||
aspperl.vim | ||
aspvbs.vim | ||
asterisk.vim | ||
asteriskvm.vim | ||
astro.vim | ||
asy.vim | ||
atlas.vim | ||
autodoc.vim | ||
autohotkey.vim | ||
autoit.vim | ||
automake.vim | ||
ave.vim | ||
avra.vim | ||
awk.vim | ||
ayacc.vim | ||
b.vim | ||
baan.vim | ||
bash.vim | ||
basic.vim | ||
bc.vim | ||
bdf.vim | ||
bib.vim | ||
bindzone.vim | ||
bitbake.vim | ||
blank.vim | ||
bsdl.vim | ||
bst.vim | ||
btm.vim | ||
bzl.vim | ||
bzr.vim | ||
c.vim | ||
cabal.vim | ||
cabalconfig.vim | ||
cabalproject.vim | ||
calendar.vim | ||
catalog.vim | ||
cdl.vim | ||
cdrdaoconf.vim | ||
cdrtoc.vim | ||
cf.vim | ||
cfg.vim | ||
cgdbrc.vim | ||
ch.vim | ||
chaiscript.vim | ||
change.vim | ||
changelog.vim | ||
chaskell.vim | ||
chatito.vim | ||
checkhealth.vim | ||
cheetah.vim | ||
chicken.vim | ||
chill.vim | ||
chordpro.vim | ||
chuck.vim | ||
cl.vim | ||
clean.vim | ||
clipper.vim | ||
clojure.vim | ||
cmake.vim | ||
cmakecache.vim | ||
cmod.vim | ||
cmusrc.vim | ||
cobol.vim | ||
coco.vim | ||
colortest.vim | ||
conaryrecipe.vim | ||
conf.vim | ||
config.vim | ||
confini.vim | ||
context.vim | ||
cpp.vim | ||
crm.vim | ||
crontab.vim | ||
cs.vim | ||
csc.vim | ||
csdl.vim | ||
csh.vim | ||
csp.vim | ||
css.vim | ||
csv.vim | ||
cterm.vim | ||
ctrlh.vim | ||
cucumber.vim | ||
cuda.vim | ||
cupl.vim | ||
cuplsim.vim | ||
cvs.vim | ||
cvsrc.vim | ||
cweb.vim | ||
cynlib.vim | ||
cynpp.vim | ||
d.vim | ||
dart.vim | ||
datascript.vim | ||
dcd.vim | ||
dcl.vim | ||
deb822sources.vim | ||
debchangelog.vim | ||
debcontrol.vim | ||
debcopyright.vim | ||
debsources.vim | ||
def.vim | ||
denyhosts.vim | ||
dep3patch.vim | ||
desc.vim | ||
desktop.vim | ||
dictconf.vim | ||
dictdconf.vim | ||
diff.vim | ||
dircolors.vim | ||
dirpager.vim | ||
diva.vim | ||
django.vim | ||
dns.vim | ||
dnsmasq.vim | ||
docbk.vim | ||
docbksgml.vim | ||
docbkxml.vim | ||
dockerfile.vim | ||
dosbatch.vim | ||
dosini.vim | ||
dot.vim | ||
doxygen.vim | ||
dracula.vim | ||
dsl.vim | ||
dtd.vim | ||
dtml.vim | ||
dtrace.vim | ||
dts.vim | ||
dune.vim | ||
dylan.vim | ||
dylanintr.vim | ||
dylanlid.vim | ||
ecd.vim | ||
edif.vim | ||
editorconfig.vim | ||
eiffel.vim | ||
elf.vim | ||
elinks.vim | ||
elm.vim | ||
elmfilt.vim | ||
erlang.vim | ||
eruby.vim | ||
esmtprc.vim | ||
esqlc.vim | ||
esterel.vim | ||
eterm.vim | ||
euphoria3.vim | ||
euphoria4.vim | ||
eviews.vim | ||
exim.vim | ||
expect.vim | ||
exports.vim | ||
falcon.vim | ||
fan.vim | ||
fasm.vim | ||
fdcc.vim | ||
fetchmail.vim | ||
fgl.vim | ||
fish.vim | ||
flexwiki.vim | ||
focexec.vim | ||
form.vim | ||
forth.vim | ||
fortran.vim | ||
foxpro.vim | ||
fpcmake.vim | ||
framescript.vim | ||
freebasic.vim | ||
fstab.vim | ||
fvwm2m4.vim | ||
fvwm.vim | ||
gdb.vim | ||
gdmo.vim | ||
gdresource.vim | ||
gdscript.vim | ||
gdshader.vim | ||
gedcom.vim | ||
gemtext.vim | ||
gift.vim | ||
git.vim | ||
gitattributes.vim | ||
gitcommit.vim | ||
gitconfig.vim | ||
gitignore.vim | ||
gitolite.vim | ||
gitrebase.vim | ||
gitsendemail.vim | ||
gkrellmrc.vim | ||
glsl.vim | ||
gnash.vim | ||
gnuplot.vim | ||
go.vim | ||
goaccess.vim | ||
godoc.vim | ||
gp.vim | ||
gpg.vim | ||
gprof.vim | ||
grads.vim | ||
gretl.vim | ||
groff.vim | ||
groovy.vim | ||
group.vim | ||
grub.vim | ||
gsp.vim | ||
gtkrc.vim | ||
gvpr.vim | ||
gyp.vim | ||
haml.vim | ||
hamster.vim | ||
hare.vim | ||
haredoc.vim | ||
haskell.vim | ||
haste.vim | ||
hastepreproc.vim | ||
hb.vim | ||
hcl.vim | ||
help_ru.vim | ||
help.vim | ||
hercules.vim | ||
hex.vim | ||
hgcommit.vim | ||
hitest.vim | ||
hlsplaylist.vim | ||
hog.vim | ||
hollywood.vim | ||
hostconf.vim | ||
hostsaccess.vim | ||
html.vim | ||
htmlangular.vim | ||
htmlcheetah.vim | ||
htmldjango.vim | ||
htmlm4.vim | ||
htmlos.vim | ||
i3config.vim | ||
ia64.vim | ||
ibasic.vim | ||
icemenu.vim | ||
icon.vim | ||
idl.vim | ||
idlang.vim | ||
indent.vim | ||
inform.vim | ||
initex.vim | ||
initng.vim | ||
inittab.vim | ||
ipfilter.vim | ||
ishd.vim | ||
iss.vim | ||
ist.vim | ||
j.vim | ||
jal.vim | ||
jam.vim | ||
jargon.vim | ||
java.vim | ||
javacc.vim | ||
javascript.vim | ||
javascriptreact.vim | ||
jess.vim | ||
jgraph.vim | ||
jinja.vim | ||
jj.vim | ||
jovial.vim | ||
jproperties.vim | ||
jq.vim | ||
json5.vim | ||
json.vim | ||
jsonc.vim | ||
jsp.vim | ||
julia.vim | ||
kconfig.vim | ||
kdl.vim | ||
kivy.vim | ||
kix.vim | ||
kotlin.vim | ||
krl.vim | ||
kscript.vim | ||
kwt.vim | ||
lace.vim | ||
latte.vim | ||
lc.vim | ||
ld.vim | ||
ldapconf.vim | ||
ldif.vim | ||
less.vim | ||
lex.vim | ||
lftp.vim | ||
lhaskell.vim | ||
libao.vim | ||
lifelines.vim | ||
lilo.vim | ||
limits.vim | ||
liquid.vim | ||
lisp.vim | ||
lite.vim | ||
litestep.vim | ||
livebook.vim | ||
loginaccess.vim | ||
logindefs.vim | ||
logtalk.vim | ||
lotos.vim | ||
lout.vim | ||
lpc.vim | ||
lprolog.vim | ||
lscript.vim | ||
lsl.vim | ||
lsp_markdown.vim | ||
lss.vim | ||
lua.vim | ||
luau.vim | ||
lynx.vim | ||
lyrics.vim | ||
m3build.vim | ||
m3quake.vim | ||
m4.vim | ||
mail.vim | ||
mailaliases.vim | ||
mailcap.vim | ||
make.vim | ||
mallard.vim | ||
man.vim | ||
manconf.vim | ||
manual.vim | ||
maple.vim | ||
markdown.vim | ||
masm.vim | ||
mason.vim | ||
master.vim | ||
matlab.vim | ||
maxima.vim | ||
mediawiki.vim | ||
mel.vim | ||
mermaid.vim | ||
meson.vim | ||
messages.vim | ||
mf.vim | ||
mgl.vim | ||
mgp.vim | ||
mib.vim | ||
mix.vim | ||
mma.vim | ||
mmix.vim | ||
mmp.vim | ||
modconf.vim | ||
model.vim | ||
modsim3.vim | ||
modula2.vim | ||
modula3.vim | ||
mojo.vim | ||
monk.vim | ||
moo.vim | ||
mp.vim | ||
mplayerconf.vim | ||
mrxvtrc.vim | ||
msidl.vim | ||
msmessages.vim | ||
msql.vim | ||
mupad.vim | ||
murphi.vim | ||
mush.vim | ||
muttrc.vim | ||
mysql.vim | ||
n1ql.vim | ||
named.vim | ||
nanorc.vim | ||
nasm.vim | ||
nastran.vim | ||
natural.vim | ||
ncf.vim | ||
neomuttrc.vim | ||
netrc.vim | ||
netrw.vim | ||
nginx.vim | ||
ninja.vim | ||
nix.vim | ||
nosyntax.vim | ||
nqc.vim | ||
nroff.vim | ||
nsis.vim | ||
obj.vim | ||
objc.vim | ||
objcpp.vim | ||
obse.vim | ||
ocaml.vim | ||
occam.vim | ||
odin.vim | ||
omnimark.vim | ||
ondir.vim | ||
opam.vim | ||
openroad.vim | ||
openscad.vim | ||
openvpn.vim | ||
opl.vim | ||
ora.vim | ||
pacmanlog.vim | ||
pamconf.vim | ||
pamenv.vim | ||
pandoc.vim | ||
papp.vim | ||
pascal.vim | ||
passwd.vim | ||
pbtxt.vim | ||
pcap.vim | ||
pccts.vim | ||
pdf.vim | ||
perl.vim | ||
pf.vim | ||
pfmain.vim | ||
php.vim | ||
phtml.vim | ||
pic.vim | ||
pike.vim | ||
pilrc.vim | ||
pine.vim | ||
pinfo.vim | ||
plaintex.vim | ||
pli.vim | ||
plm.vim | ||
plp.vim | ||
plsql.vim | ||
po.vim | ||
pod.vim | ||
poefilter.vim | ||
poke.vim | ||
postscr.vim | ||
pov.vim | ||
povini.vim | ||
ppd.vim | ||
ppwiz.vim | ||
prescribe.vim | ||
privoxy.vim | ||
procmail.vim | ||
progress.vim | ||
prolog.vim | ||
promela.vim | ||
proto.vim | ||
protocols.vim | ||
ps1.vim | ||
ps1xml.vim | ||
psf.vim | ||
psl.vim | ||
ptcap.vim | ||
purifylog.vim | ||
pymanifest.vim | ||
pyrex.vim | ||
python2.vim | ||
python.vim | ||
qb64.vim | ||
qf.vim | ||
qml.vim | ||
quake.vim | ||
quarto.vim | ||
query.lua | ||
r.vim | ||
racc.vim | ||
racket.vim | ||
radiance.vim | ||
raku.vim | ||
raml.vim | ||
rapid.vim | ||
rasi.vim | ||
ratpoison.vim | ||
rc.vim | ||
rcs.vim | ||
rcslog.vim | ||
readline.vim | ||
README.txt | ||
rebol.vim | ||
redif.vim | ||
registry.vim | ||
rego.vim | ||
remind.vim | ||
requirements.vim | ||
resolv.vim | ||
reva.vim | ||
rexx.vim | ||
rhelp.vim | ||
rib.vim | ||
rmd.vim | ||
rnc.vim | ||
rng.vim | ||
rnoweb.vim | ||
robots.vim | ||
routeros.vim | ||
rpcgen.vim | ||
rpl.vim | ||
rrst.vim | ||
rst.vim | ||
rtf.vim | ||
ruby.vim | ||
rust.vim | ||
salt.vim | ||
samba.vim | ||
sas.vim | ||
sass.vim | ||
sather.vim | ||
sbt.vim | ||
scala.vim | ||
scdoc.vim | ||
scheme.vim | ||
scilab.vim | ||
screen.vim | ||
scss.vim | ||
sd.vim | ||
sdc.vim | ||
sdl.vim | ||
sed.vim | ||
sendpr.vim | ||
sensors.vim | ||
services.vim | ||
setserial.vim | ||
sexplib.vim | ||
sgml.vim | ||
sgmldecl.vim | ||
sgmllnx.vim | ||
sh.vim | ||
shada.vim | ||
sicad.vim | ||
sieve.vim | ||
sil.vim | ||
simula.vim | ||
sinda.vim | ||
sindacmp.vim | ||
sindaout.vim | ||
sisu.vim | ||
skill.vim | ||
sl.vim | ||
slang.vim | ||
slice.vim | ||
slpconf.vim | ||
slpreg.vim | ||
slpspi.vim | ||
slrnrc.vim | ||
slrnsc.vim | ||
sm.vim | ||
smarty.vim | ||
smcl.vim | ||
smil.vim | ||
smith.vim | ||
sml.vim | ||
snnsnet.vim | ||
snnspat.vim | ||
snnsres.vim | ||
snobol4.vim | ||
solidity.vim | ||
spec.vim | ||
specman.vim | ||
spice.vim | ||
splint.vim | ||
spup.vim | ||
spyce.vim | ||
sql.vim | ||
sqlanywhere.vim | ||
sqlforms.vim | ||
sqlhana.vim | ||
sqlinformix.vim | ||
sqlj.vim | ||
sqloracle.vim | ||
sqr.vim | ||
squid.vim | ||
squirrel.vim | ||
srec.vim | ||
srt.vim | ||
ssa.vim | ||
sshconfig.vim | ||
sshdconfig.vim | ||
st.vim | ||
stata.vim | ||
stp.vim | ||
strace.vim | ||
structurizr.vim | ||
stylus.vim | ||
sudoers.vim | ||
svg.vim | ||
svn.vim | ||
swayconfig.vim | ||
swift.vim | ||
swiftgyb.vim | ||
swig.vim | ||
synload.vim | ||
syntax.vim | ||
sysctl.vim | ||
systemd.vim | ||
systemverilog.vim | ||
tads.vim | ||
tags.vim | ||
tak.vim | ||
takcmp.vim | ||
takout.vim | ||
tap.vim | ||
tar.vim | ||
taskdata.vim | ||
taskedit.vim | ||
tasm.vim | ||
tcl.vim | ||
tcsh.vim | ||
template.vim | ||
teraterm.vim | ||
terminfo.vim | ||
terraform.vim | ||
tex.vim | ||
texinfo.vim | ||
texmf.vim | ||
tf.vim | ||
thrift.vim | ||
tidy.vim | ||
tilde.vim | ||
tli.vim | ||
tmux.vim | ||
toml.vim | ||
tpp.vim | ||
trasys.vim | ||
treetop.vim | ||
trustees.vim | ||
tsalt.vim | ||
tsscl.vim | ||
tssgm.vim | ||
tssop.vim | ||
tsv.vim | ||
tt2.vim | ||
tt2html.vim | ||
tt2js.vim | ||
tutor.vim | ||
typescript.vim | ||
typescriptreact.vim | ||
typst.vim | ||
uc.vim | ||
uci.vim | ||
udevconf.vim | ||
udevperm.vim | ||
udevrules.vim | ||
uil.vim | ||
unison.vim | ||
updatedb.vim | ||
upstart.vim | ||
upstreamdat.vim | ||
upstreaminstalllog.vim | ||
upstreamlog.vim | ||
upstreamrpt.vim | ||
urlshortcut.vim | ||
usserverlog.vim | ||
usw2kagtlog.vim | ||
valgrind.vim | ||
vb.vim | ||
vdf.vim | ||
vera.vim | ||
verilog.vim | ||
verilogams.vim | ||
vgrindefs.vim | ||
vhdl.vim | ||
vim.vim | ||
viminfo.vim | ||
vimnormal.vim | ||
virata.vim | ||
vmasm.vim | ||
voscm.vim | ||
vrml.vim | ||
vroom.vim | ||
vsejcl.vim | ||
vue.vim | ||
wat.vim | ||
wdiff.vim | ||
wdl.vim | ||
web.vim | ||
webmacro.vim | ||
wget2.vim | ||
wget.vim | ||
whitespace.vim | ||
winbatch.vim | ||
wml.vim | ||
wsh.vim | ||
wsml.vim | ||
wvdial.vim | ||
xbl.vim | ||
xcompose.vim | ||
xdefaults.vim | ||
xf86conf.vim | ||
xhtml.vim | ||
xinetd.vim | ||
xkb.vim | ||
xmath.vim | ||
xml.vim | ||
xmodmap.vim | ||
xpm2.vim | ||
xpm.vim | ||
xquery.vim | ||
xs.vim | ||
xsd.vim | ||
xslt.vim | ||
xxd.vim | ||
yacc.vim | ||
yaml.vim | ||
z8a.vim | ||
zathurarc.vim | ||
zig.vim | ||
zimbu.vim | ||
zir.vim | ||
zserio.vim | ||
zsh.vim |
This directory contains Vim scripts for syntax highlighting. These scripts are not for a language, but are used by Vim itself: syntax.vim Used for the ":syntax on" command. Uses synload.vim. manual.vim Used for the ":syntax manual" command. Uses synload.vim. synload.vim Contains autocommands to load a language file when a certain file name (extension) is used. And sets up the Syntax menu for the GUI. nosyntax.vim Used for the ":syntax off" command. Undo the loading of synload.vim. The "shared" directory contains generated files and what is used by more than one syntax. A few special files: 2html.vim Converts any highlighted file to HTML (GUI only). colortest.vim Check for color names and actual color on screen. hitest.vim View the current highlight settings. whitespace.vim View Tabs and Spaces. If you want to write a syntax file, read the docs at ":help usr_44.txt". If you make a new syntax file which would be useful for others, please send it to the vim-dev mailing list <vim-dev@vim.org>. Include instructions for detecting the file type for this language, by file name extension or by checking a few lines in the file. And please write the file in a portable way, see ":help 44.12". If you have remarks about an existing file, send them to the maintainer of that file. Only when you get no response send a message to the vim-dev mailing list: <vim-dev@vim.org>. If you are the maintainer of a syntax file and make improvements, send the new version to the vim-dev mailing list: <vim-dev@vim.org> For further info see ":help syntax" in Vim.