Compare commits
383 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e6549d2fb | ||
|
|
23627722d3 | ||
|
|
92feeaffc2 | ||
|
|
7e27411007 | ||
|
|
a03647acc3 | ||
|
|
38bea30f53 | ||
|
|
65672ae118 | ||
|
|
00b470052b | ||
|
|
0bca4a0018 | ||
|
|
cea3dac76e | ||
|
|
9042bd8b09 | ||
|
|
377372ed5b | ||
|
|
6b9492e299 | ||
|
|
4e28631f91 | ||
|
|
49cdd629a3 | ||
|
|
ea9964a36f | ||
|
|
ec97edcbb9 | ||
|
|
1d4fcfe551 | ||
|
|
e75fde6b04 | ||
|
|
18ab6c3392 | ||
|
|
3746887997 | ||
|
|
59df9ad68b | ||
|
|
fe583b1e59 | ||
|
|
632b38b45f | ||
|
|
0630080bbd | ||
|
|
21064ebcd6 | ||
|
|
ff6f0d5c38 | ||
|
|
cc944b1452 | ||
|
|
5e13315778 | ||
|
|
cb69dc3510 | ||
|
|
6fdb628082 | ||
|
|
63210c214a | ||
|
|
615202bd0e | ||
|
|
ec14924368 | ||
|
|
f01bee1bc0 | ||
|
|
fbd72d2d47 | ||
|
|
ef07a7651e | ||
|
|
379df7c1db | ||
|
|
3ffc5bc6b8 | ||
|
|
955652f6df | ||
|
|
18d0d29b42 | ||
|
|
5872bcb6e8 | ||
|
|
2afe381a35 | ||
|
|
b42703a662 | ||
|
|
2f05ad162e | ||
|
|
38ce1a7ac8 | ||
|
|
71cbe8e17a | ||
|
|
b501108986 | ||
|
|
ec497574fc | ||
|
|
82f19734bf | ||
|
|
062bb6b909 | ||
|
|
a185a31fc0 | ||
|
|
535e8f5941 | ||
|
|
0f61943eb7 | ||
|
|
5eb9cb53d6 | ||
|
|
0378f07fba | ||
|
|
ffba4e952b | ||
|
|
e5437c5427 | ||
|
|
d8bf87c9fb | ||
|
|
df12e39b8b | ||
|
|
3afc9f2556 | ||
|
|
17dca3cb97 | ||
|
|
323dda1484 | ||
|
|
74da0ee0a2 | ||
|
|
549f8c0b4e | ||
|
|
a8f7f92b56 | ||
|
|
b077b58809 | ||
|
|
9a775b4a2a | ||
|
|
fa831102c3 | ||
|
|
2a71b54d35 | ||
|
|
d2e1c83962 | ||
|
|
7349c5160a | ||
|
|
a02fe3480f | ||
|
|
1760331ae3 | ||
|
|
2025af165e | ||
|
|
c1c3b83816 | ||
|
|
1c97b5c0c0 | ||
|
|
ec54af4e26 | ||
|
|
a40e1687e7 | ||
|
|
0f28791b21 | ||
|
|
e4a450a87b | ||
|
|
9ed53752df | ||
|
|
fa920da283 | ||
|
|
1ec115c92c | ||
|
|
5a68cdf149 | ||
|
|
b52e7ac7c6 | ||
|
|
34b9a15c37 | ||
|
|
ca7c9b1b59 | ||
|
|
f6869212c9 | ||
|
|
61e984e212 | ||
|
|
c23fc36476 | ||
|
|
d33518522a | ||
|
|
f48558e10a | ||
|
|
ff0baca865 | ||
|
|
e06f2b498c | ||
|
|
6863084d3b | ||
|
|
4e043b1fc7 | ||
|
|
3f7855a612 | ||
|
|
563e6440bf | ||
|
|
0280c0b9af | ||
|
|
1c8e233cb8 | ||
|
|
668971958c | ||
|
|
588f20dece | ||
|
|
2103a56eab | ||
|
|
620f011694 | ||
|
|
5dd41d4b63 | ||
|
|
1e5d66408e | ||
|
|
ca2eca7c79 | ||
|
|
3ee25965e4 | ||
|
|
0d0b3b1951 | ||
|
|
5b4d1fcbf0 | ||
|
|
4e26a9aab6 | ||
|
|
c089c3816b | ||
|
|
abfa13ebe9 | ||
|
|
b39b240c38 | ||
|
|
0fb375aae6 | ||
|
|
eec0c2b3a4 | ||
|
|
9cc95aa0d8 | ||
|
|
4f3480c943 | ||
|
|
926c3f45a2 | ||
|
|
fda700cb04 | ||
|
|
72314bb85f | ||
|
|
7bed263c34 | ||
|
|
110dd905dd | ||
|
|
8ceb99001b | ||
|
|
fcaeb3d42b | ||
|
|
ffd6d31cb2 | ||
|
|
a9058440b7 | ||
|
|
c4ffeddfe5 | ||
|
|
d1c3ef1f47 | ||
|
|
5c23343770 | ||
|
|
b9efc72c24 | ||
|
|
c6754de5dd | ||
|
|
cf40409e7d | ||
|
|
64c6bfd8ee | ||
|
|
2bad26fe2c | ||
|
|
4e7727dd88 | ||
|
|
075ad70474 | ||
|
|
a555069b7d | ||
|
|
8c14e79737 | ||
|
|
813a538bb3 | ||
|
|
2e31065a65 | ||
|
|
e214692718 | ||
|
|
00624a2fa0 | ||
|
|
40ed6711bd | ||
|
|
2b0882fa65 | ||
|
|
df63da98d8 | ||
|
|
3770574e4a | ||
|
|
26c11c5688 | ||
|
|
8750e3cf81 | ||
|
|
4e5c3cf07b | ||
|
|
6b36645f07 | ||
|
|
a5218a7330 | ||
|
|
567cae2630 | ||
|
|
cb0c113ddc | ||
|
|
69866449dd | ||
|
|
d2c977bb7c | ||
|
|
596a9f29c8 | ||
|
|
aabca259fa | ||
|
|
e670d17342 | ||
|
|
6701abfb52 | ||
|
|
22cbc8a4e1 | ||
|
|
22a97fc241 | ||
|
|
ab4f27e2a8 | ||
|
|
6ffe084e6e | ||
|
|
cc6be3e755 | ||
|
|
6bf131888a | ||
|
|
73b2d3790c | ||
|
|
060623e4a3 | ||
|
|
58f9befca1 | ||
|
|
ac63787734 | ||
|
|
cb0b99f067 | ||
|
|
25aabc2b8e | ||
|
|
67abf1592c | ||
|
|
bb800a7907 | ||
|
|
bc8f79d36a | ||
|
|
30c762d99a | ||
|
|
2076463e38 | ||
|
|
9588666360 | ||
|
|
2dd613f57b | ||
|
|
4ae16d721a | ||
|
|
fdbadea4b6 | ||
|
|
424da590e4 | ||
|
|
2c133f6c1a | ||
|
|
9358b8d993 | ||
|
|
305127f9f2 | ||
|
|
1b08d2cd07 | ||
|
|
5994329667 | ||
|
|
6cd2d1df92 | ||
|
|
2c5240ec8b | ||
|
|
521fb7e143 | ||
|
|
f1952d9fa8 | ||
|
|
4f9074b96c | ||
|
|
bee966d3fe | ||
|
|
cb5e7a2026 | ||
|
|
8f0fe20ff1 | ||
|
|
03042a2753 | ||
|
|
4b0018feca | ||
|
|
20a94f44b3 | ||
|
|
ca48202b6f | ||
|
|
7fbbd7fdc6 | ||
|
|
6a650bf696 | ||
|
|
1fc47c2c9b | ||
|
|
d56f15caf6 | ||
|
|
4d62a2f443 | ||
|
|
2a94e98792 | ||
|
|
caee7956a2 | ||
|
|
3570631dc6 | ||
|
|
3d37231437 | ||
|
|
da4e433dc3 | ||
|
|
b2a4c110a5 | ||
|
|
6709816f78 | ||
|
|
4f174f0de9 | ||
|
|
cd8a3eaf53 | ||
|
|
08b1c61e8b | ||
|
|
57f9ce1a09 | ||
|
|
b23c1fc596 | ||
|
|
15d270019e | ||
|
|
5a53925a6e | ||
|
|
ce3b0136c6 | ||
|
|
2f54c13292 | ||
|
|
33c1da7ff4 | ||
|
|
deba02ddd4 | ||
|
|
2b358adde0 | ||
|
|
ef9e3f8924 | ||
|
|
1858e2b22a | ||
|
|
1b1c9f272d | ||
|
|
2b89afd5eb | ||
|
|
43cb8e1c3b | ||
|
|
1bf1bf569b | ||
|
|
a390e984db | ||
|
|
171c50e0b0 | ||
|
|
8ebdbc9e6d | ||
|
|
c1c177a47b | ||
|
|
feaccd2395 | ||
|
|
87ca5e86fa | ||
|
|
ec3cebbd2b | ||
|
|
4bca4897a1 | ||
|
|
daef8c7437 | ||
|
|
650dcfc8d1 | ||
|
|
b0221819f3 | ||
|
|
7b7cda67a1 | ||
|
|
c229a6ac07 | ||
|
|
10407df7a9 | ||
|
|
6b89dd6a72 | ||
|
|
67ec655383 | ||
|
|
9198c1f2b1 | ||
|
|
5f5131d775 | ||
|
|
a56f02d824 | ||
|
|
c4a4038603 | ||
|
|
1c14030aff | ||
|
|
3932072ab4 | ||
|
|
b731800522 | ||
|
|
5985879e3c | ||
|
|
50f3ec2898 | ||
|
|
7d254dbc2d | ||
|
|
c038427d2a | ||
|
|
ae9021a840 | ||
|
|
84394f2be4 | ||
|
|
a5a1534753 | ||
|
|
fea96c00e5 | ||
|
|
0ab500dede | ||
|
|
a36acb7ac4 | ||
|
|
3ec6c1fe3b | ||
|
|
d3e277f279 | ||
|
|
47416d1a74 | ||
|
|
d4802ec485 | ||
|
|
ac709e2fc0 | ||
|
|
d5dc58aeed | ||
|
|
a8c664a042 | ||
|
|
c6944913f0 | ||
|
|
00b55370b3 | ||
|
|
e08bfef88b | ||
|
|
198734897e | ||
|
|
ba75507c62 | ||
|
|
c59c1e0d88 | ||
|
|
d7b616d0ad | ||
|
|
982ef16059 | ||
|
|
2b126a6892 | ||
|
|
436f39390f | ||
|
|
a0e1f06f04 | ||
|
|
0672595fd5 | ||
|
|
5036e69852 | ||
|
|
96952b2e98 | ||
|
|
c290009e99 | ||
|
|
8079917447 | ||
|
|
5a33ce2a66 | ||
|
|
6e6386716f | ||
|
|
2e3cd52fa0 | ||
|
|
f3eac695bf | ||
|
|
209ec90b9b | ||
|
|
396058acd0 | ||
|
|
8f4fb007e4 | ||
|
|
5a679b2263 | ||
|
|
215c3261a2 | ||
|
|
dbf749bd5a | ||
|
|
f5a94d5165 | ||
|
|
3c81f47a05 | ||
|
|
d7ae263af8 | ||
|
|
47510f3d65 | ||
|
|
1ace49fb98 | ||
|
|
5d03525cde | ||
|
|
de3295dd0c | ||
|
|
ae3cfa47d3 | ||
|
|
989426be6e | ||
|
|
bd734c3bea | ||
|
|
ba9aed4497 | ||
|
|
b583eda703 | ||
|
|
cd6ee69358 | ||
|
|
5ae6f9985e | ||
|
|
7687238e1b | ||
|
|
0f058d1320 | ||
|
|
2bbd0d30ee | ||
|
|
29bb67f1be | ||
|
|
69fb5afb3b | ||
|
|
dd75fcfbdf | ||
|
|
1ea428883f | ||
|
|
4c8da025ef | ||
|
|
c97b3febc8 | ||
|
|
a634b92b96 | ||
|
|
f8da324619 | ||
|
|
4a82bdfaa8 | ||
|
|
41e6f7d6ba | ||
|
|
54844857fd | ||
|
|
b07b9dc4da | ||
|
|
e467189022 | ||
|
|
f4ee1cb74b | ||
|
|
b56cef0be0 | ||
|
|
d4afbdd071 | ||
|
|
7879bc5c13 | ||
|
|
1e33cd72b6 | ||
|
|
b852305dbf | ||
|
|
75b277d35c | ||
|
|
9771b2a67f | ||
|
|
1087b8c29a | ||
|
|
2a281ccca0 | ||
|
|
e6c9aa5e6a | ||
|
|
85f4521808 | ||
|
|
580c1fcb4a | ||
|
|
27e12c7669 | ||
|
|
fa145f2009 | ||
|
|
26e8f7b0ab | ||
|
|
a991ce9c08 | ||
|
|
ac9c6d5c78 | ||
|
|
9960ebcace | ||
|
|
20d161ace3 | ||
|
|
290b887e8c | ||
|
|
ea746f9e86 | ||
|
|
0e95841004 | ||
|
|
f449825ae2 | ||
|
|
9b259f520e | ||
|
|
d615a3122a | ||
|
|
d2f4800099 | ||
|
|
da5da654de | ||
|
|
c661e11e9c | ||
|
|
b5a0719cb7 | ||
|
|
b6d01f131c | ||
|
|
9a00e7c7cf | ||
|
|
85ff0c1912 | ||
|
|
8e5f26ec6a | ||
|
|
4dbb2669e9 | ||
|
|
64885645e7 | ||
|
|
0583491277 | ||
|
|
119fdd9293 | ||
|
|
317468aace | ||
|
|
3d90f71b76 | ||
|
|
fe7b20a1a3 | ||
|
|
b9a974df9e | ||
|
|
b74ebfc6bf | ||
|
|
b043ff34c1 | ||
|
|
2dfc22908e | ||
|
|
3f168ec8ae | ||
|
|
993b17569b | ||
|
|
12a0d999b1 | ||
|
|
cd39b69b02 | ||
|
|
20f48d5b2d | ||
|
|
ba77bbb5c7 | ||
|
|
b32064fedb | ||
|
|
6d11347260 | ||
|
|
4a1ad55564 | ||
|
|
f59cbefd0a | ||
|
|
7086b3e76a | ||
|
|
3bd7fa12e1 |
@@ -29,7 +29,6 @@ environment:
|
||||
# disabled
|
||||
# - FEATURE: TINY
|
||||
# - FEATURE: NORMAL
|
||||
# - FEATURE: BIG
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
46
.cirrus.yml
46
.cirrus.yml
@@ -1,23 +1,23 @@
|
||||
#env:
|
||||
# CIRRUS_CLONE_DEPTH: 3
|
||||
# FEATURES: huge
|
||||
#
|
||||
#freebsd_task:
|
||||
# name: FreeBSD
|
||||
# matrix:
|
||||
# - name: FreeBSD 14.0
|
||||
# freebsd_instance:
|
||||
# image_family: freebsd-14-0
|
||||
# timeout_in: 20m
|
||||
# install_script:
|
||||
# - pkg install -y gettext
|
||||
# build_script:
|
||||
# - NPROC=$(getconf _NPROCESSORS_ONLN)
|
||||
# - ./configure --with-features=${FEATURES}
|
||||
# - make -j${NPROC}
|
||||
# test_script:
|
||||
# - src/vim --version
|
||||
# # run tests as user "cirrus" instead of root
|
||||
# - pw useradd cirrus -m
|
||||
# - chown -R cirrus:cirrus .
|
||||
# - sudo -u cirrus make test
|
||||
env:
|
||||
CIRRUS_CLONE_DEPTH: 3
|
||||
FEATURES: huge
|
||||
|
||||
freebsd_task:
|
||||
name: FreeBSD
|
||||
matrix:
|
||||
- name: FreeBSD 14.0
|
||||
freebsd_instance:
|
||||
image_family: freebsd-14-0
|
||||
timeout_in: 20m
|
||||
install_script:
|
||||
- pkg install -y gettext
|
||||
build_script:
|
||||
- NPROC=$(getconf _NPROCESSORS_ONLN)
|
||||
- ./configure --with-features=${FEATURES}
|
||||
- make -j${NPROC}
|
||||
test_script:
|
||||
- src/vim --version
|
||||
# run tests as user "cirrus" instead of root
|
||||
- pw useradd cirrus -m
|
||||
- chown -R cirrus:cirrus .
|
||||
- sudo -u cirrus make test
|
||||
|
||||
@@ -5,6 +5,8 @@ coverage:
|
||||
default:
|
||||
threshold: 0.05%
|
||||
|
||||
comment: false
|
||||
|
||||
# Files not run by tests
|
||||
ignore:
|
||||
- "src/dosinst.c"
|
||||
|
||||
18
.github/CODEOWNERS
vendored
18
.github/CODEOWNERS
vendored
@@ -23,6 +23,7 @@ runtime/autoload/tar.vim @cecamp
|
||||
runtime/autoload/vimball.vim @cecamp
|
||||
runtime/autoload/xmlformat.vim @chrisbra
|
||||
runtime/autoload/zip.vim @cecamp
|
||||
runtime/autoload/dist/json.vim @habamax
|
||||
runtime/colors/blue.vim @habamax @romainl @neutaaaaan
|
||||
runtime/colors/darkblue.vim @habamax @romainl @neutaaaaan
|
||||
runtime/colors/default.vim @habamax @romainl @neutaaaaan
|
||||
@@ -124,6 +125,9 @@ runtime/ftplugin/cs.vim @nickspoons
|
||||
runtime/ftplugin/csh.vim @dkearns
|
||||
runtime/ftplugin/css.vim @dkearns
|
||||
runtime/ftplugin/cucumber.vim @tpope
|
||||
runtime/ftplugin/debchangelog.vim @jamessan
|
||||
runtime/ftplugin/debcontrol.vim @jamessan
|
||||
runtime/ftplugin/debsources.vim @jamessan
|
||||
runtime/ftplugin/desktop.vim @e-kwsm
|
||||
runtime/ftplugin/dosbatch.vim @mrdubya
|
||||
runtime/ftplugin/eiffel.vim @dkearns
|
||||
@@ -163,6 +167,8 @@ runtime/ftplugin/ishd.vim @dkearns
|
||||
runtime/ftplugin/j.vim @glts
|
||||
runtime/ftplugin/javascript.vim @dkearns
|
||||
runtime/ftplugin/javascriptreact.vim @dkearns
|
||||
runtime/ftplugin/json.vim @dbarnett
|
||||
runtime/ftplugin/json5.vim @dkearns
|
||||
runtime/ftplugin/jsonc.vim @izhakjakov
|
||||
runtime/ftplugin/julia.vim @carlobaldassi
|
||||
runtime/ftplugin/kconfig.vim @chrisbra
|
||||
@@ -219,6 +225,7 @@ runtime/ftplugin/spec.vim @ignatenkobrain
|
||||
runtime/ftplugin/ssa.vim @ObserverOfTime
|
||||
runtime/ftplugin/swayconfig.vim @jamespeapen
|
||||
runtime/ftplugin/systemverilog.vim @Kocha
|
||||
runtime/ftplugin/swig.vim @jmarrec
|
||||
runtime/ftplugin/tap.vim @petdance
|
||||
runtime/ftplugin/tcsh.vim @dkearns
|
||||
runtime/ftplugin/tidy.vim @dkearns
|
||||
@@ -232,6 +239,7 @@ runtime/ftplugin/vdf.vim @ObserverOfTime
|
||||
runtime/ftplugin/wast.vim @rhysd
|
||||
runtime/ftplugin/wget.vim @dkearns
|
||||
runtime/ftplugin/wget2.vim @dkearns
|
||||
runtime/ftplugin/xcompose.vim @ObserverOfTime
|
||||
runtime/ftplugin/xml.vim @chrisbra
|
||||
runtime/ftplugin/xs.vim @petdance
|
||||
runtime/ftplugin/zsh.vim @chrisbra
|
||||
@@ -355,6 +363,12 @@ runtime/syntax/d.vim @JesseKPhillips
|
||||
runtime/syntax/dart.vim @pr3d4t0r
|
||||
runtime/syntax/datascript.vim @dpelle
|
||||
runtime/syntax/dcl.vim @cecamp
|
||||
runtime/syntax/deb822sources.vim @jamessan
|
||||
runtime/syntax/debchangelog.vim @jamessan
|
||||
runtime/syntax/debcontrol.vim @jamessan
|
||||
runtime/syntax/debcopyright.vim @jamessan
|
||||
runtime/syntax/debsources.vim @jamessan
|
||||
runtime/syntax/dep3patch.vim @jamessan
|
||||
runtime/syntax/desktop.vim @e-kwsm
|
||||
runtime/syntax/dosbatch.vim @mrdubya
|
||||
runtime/syntax/dosini.vim @xuhdev
|
||||
@@ -437,6 +451,7 @@ runtime/syntax/nix.vim @equill
|
||||
runtime/syntax/nroff.vim @jmarshall
|
||||
runtime/syntax/nsis.vim @k-takata
|
||||
runtime/syntax/openvpn.vim @ObserverOfTime
|
||||
runtime/syntax/pacmanlog.vim @rpigott
|
||||
runtime/syntax/pascal.vim @dkearns
|
||||
runtime/syntax/pbtxt.vim @lakshayg
|
||||
runtime/syntax/pdf.vim @tpope
|
||||
@@ -477,6 +492,7 @@ runtime/syntax/scss.vim @tpope
|
||||
runtime/syntax/sdoc.vim @gpanders
|
||||
runtime/syntax/sed.vim @dkearns
|
||||
runtime/syntax/sh.vim @cecamp
|
||||
runtime/syntax/shared/debversions.vim @jamessan
|
||||
runtime/syntax/sm.vim @cecamp
|
||||
runtime/syntax/solidity.vim @cothi
|
||||
runtime/syntax/spec.vim @ignatenkobrain
|
||||
@@ -489,6 +505,7 @@ runtime/syntax/sshdconfig.vim @Jakuje
|
||||
runtime/syntax/sudoers.vim @e-kwsm
|
||||
runtime/syntax/svn.vim @hdima
|
||||
runtime/syntax/swayconfig.vim @jamespeapen
|
||||
runtime/syntax/swig.vim @jmarrec
|
||||
runtime/syntax/systemverilog.vim @Kocha
|
||||
runtime/syntax/tags.vim @cecamp
|
||||
runtime/syntax/tap.vim @petdance
|
||||
@@ -513,6 +530,7 @@ runtime/syntax/wdl.vim @zenmatic
|
||||
runtime/syntax/wget.vim @dkearns
|
||||
runtime/syntax/wget2.vim @dkearns
|
||||
runtime/syntax/xbl.vim @dkearns
|
||||
runtime/syntax/xcompose.vim @ObserverOfTime
|
||||
runtime/syntax/xmath.vim @cecamp
|
||||
runtime/syntax/xml.vim @chrisbra
|
||||
runtime/syntax/xs.vim @petdance
|
||||
|
||||
8
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
8
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -9,10 +9,10 @@ body:
|
||||
value: |
|
||||
Thanks for reporting issues of Vim!
|
||||
|
||||
If you want to report a security issue, instead of reporting it here
|
||||
you can alternatively disclose it on
|
||||
[huntr.dev](https://huntr.dev/bounties/disclose/?utm_campaign=vim%2Fvim&utm_medium=social&utm_source=github&target=https%3A%2F%2Fgithub.com%2Fvim%2Fvim).
|
||||
They have rewards in the form of money, swag and CVEs.
|
||||
If you want to report a security issue, instead of reporting it here publicly,
|
||||
please disclose it privately via mail to vim-security@googlegroups.com.
|
||||
(It's a private list read only by the maintainers,
|
||||
but anybody can post, after moderation.)
|
||||
|
||||
To make it easier for us to help you please enter detailed information below.
|
||||
- type: textarea
|
||||
|
||||
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
@@ -4,3 +4,5 @@ updates:
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
commit-message:
|
||||
prefix: "CI"
|
||||
|
||||
171
.github/labeler.yml
vendored
171
.github/labeler.yml
vendored
@@ -1,60 +1,155 @@
|
||||
# list of labels and minimatch globs to match to apply the label.
|
||||
|
||||
CI:
|
||||
- any: ['.cirrus.yml']
|
||||
- any: ['.github/dependabot.yml']
|
||||
- any: ['.github/labeler.yml']
|
||||
- any: ['.github/workflows/*']
|
||||
- any: ['.appveyor.yml']
|
||||
- any: ['.codecov.yml']
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- '.cirrus.yml'
|
||||
- '.github/dependabot.yml'
|
||||
- '.github/labeler.yml'
|
||||
- '.github/workflows/*'
|
||||
- '.appveyor.yml'
|
||||
- '.codecov.yml'
|
||||
|
||||
documentation:
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-all-files:
|
||||
- '*/doc/*'
|
||||
|
||||
translation:
|
||||
- any: ['src/po/*.po']
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'src/po/*.po'
|
||||
|
||||
if_lua:
|
||||
- any: ['src/if_lua.c']
|
||||
- any: ['src/proto/if_lua.pro']
|
||||
- any: ['runtime/doc/if_lua.txt']
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'src/if_lua.c'
|
||||
- 'src/proto/if_lua.pro'
|
||||
- 'runtime/doc/if_lua.txt'
|
||||
|
||||
if_mzscheme:
|
||||
- any: ['src/if_mzsch.c']
|
||||
- any: ['src/if_mzsch.h']
|
||||
- any: ['src/proto/if_mzsch.pro']
|
||||
- any: ['runtime/doc/if_mzsch.txt']
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'src/if_mzsch.c'
|
||||
- 'src/if_mzsch.h'
|
||||
- 'src/proto/if_mzsch.pro'
|
||||
- 'runtime/doc/if_mzsch.txt'
|
||||
|
||||
if_perl:
|
||||
- any: ['src/if_perl.xs']
|
||||
- any: ['src/if_perlsfio.c']
|
||||
- any: ['src/proto/if_perl.pro']
|
||||
- any: ['src/proto/if_perlsfio.pro']
|
||||
- any: ['runtime/doc/if_perl.txt']
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'src/if_perl.xs'
|
||||
- 'src/if_perlsfio.c'
|
||||
- 'src/proto/if_perl.pro'
|
||||
- 'src/proto/if_perlsfio.pro'
|
||||
- 'runtime/doc/if_perl.txt'
|
||||
|
||||
if_python:
|
||||
- any: ['src/if_py_both.h']
|
||||
- any: ['runtime/doc/if_pyth.txt']
|
||||
- any: ['src/if_python.c']
|
||||
- any: ['src/if_python3.c']
|
||||
- any: ['src/proto/if_python.pro']
|
||||
- any: ['src/proto/if_python3.pro']
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'src/if_py_both.h'
|
||||
- 'runtime/doc/if_pyth.txt'
|
||||
- 'src/if_python.c'
|
||||
- 'src/if_python3.c'
|
||||
- 'src/proto/if_python.pro'
|
||||
- 'src/proto/if_python3.pro'
|
||||
|
||||
if_ruby:
|
||||
- any: ['src/if_ruby.c']
|
||||
- any: ['src/proto/if_ruby.pro']
|
||||
- any: ['runtime/doc/if_ruby.txt']
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'src/if_ruby.c'
|
||||
- 'src/proto/if_ruby.pro'
|
||||
- 'runtime/doc/if_ruby.txt'
|
||||
|
||||
if_tcl:
|
||||
- any: ['src/if_tcl.c']
|
||||
- any: ['src/proto/if_tcl.pro']
|
||||
- any: ['runtime/doc/if_tcl.txt']
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'src/if_tcl.c'
|
||||
- 'src/proto/if_tcl.pro'
|
||||
- 'runtime/doc/if_tcl.txt'
|
||||
|
||||
installer:
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'nsis/**'
|
||||
- 'src/dosinst.*'
|
||||
- 'src/uninstall.c'
|
||||
|
||||
platform-mac:
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'src/INSTALLmac.txt'
|
||||
- 'src/os_mac*'
|
||||
- 'src/proto/os_mac*'
|
||||
|
||||
platform-windows:
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'nsis/**'
|
||||
- 'src/*.bat'
|
||||
- 'src/*.bmp'
|
||||
- 'src/*.ico'
|
||||
- 'src/GvimExt/*'
|
||||
- 'src/INSTALLpc.txt'
|
||||
- 'src/Make_cyg*.mak'
|
||||
- 'src/Make_ming.mak'
|
||||
- 'src/Make_mvc.mak'
|
||||
- 'src/dosinst.*'
|
||||
- 'src/gui_dwrite.*'
|
||||
- 'src/gui_w32*'
|
||||
- 'src/if_ole.*'
|
||||
- 'src/iid_ole.c'
|
||||
- 'src/os_mswin*'
|
||||
- 'src/os_w32*'
|
||||
- 'src/os_win32.*'
|
||||
- 'src/proto/gui_w32.pro'
|
||||
- 'src/proto/os_mswin.pro'
|
||||
- 'src/proto/os_win32.pro'
|
||||
- 'src/proto/winclip.pro'
|
||||
- 'src/uninstall.c'
|
||||
- 'src/vim.manifest'
|
||||
- 'src/vim.rc'
|
||||
- 'src/vimrun.c'
|
||||
- 'src/winclip.c'
|
||||
- 'src/xpm/**'
|
||||
- 'src/xpm_w32.*'
|
||||
|
||||
runtime:
|
||||
- any: ['runtime/ftplugin']
|
||||
- any: ['runtime/syntax']
|
||||
- any: ['runtime/indent']
|
||||
- any: ['runtime/pack/dist/opt/termdebug/plugin/termdebug.vim']
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'runtime/ftplugin'
|
||||
- 'runtime/syntax'
|
||||
- 'runtime/indent'
|
||||
- 'runtime/pack/dist/opt/termdebug/plugin/termdebug.vim'
|
||||
|
||||
termdebug: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
|
||||
termdebug:
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'runtime/pack/dist/opt/termdebug/plugin/termdebug.vim'
|
||||
|
||||
plugin-netrw:
|
||||
- any: ['runtime/plugin/netrwPlugin.vim']
|
||||
- any: ['runtime/autoload/netrw*']
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'runtime/plugin/netrwPlugin.vim'
|
||||
- 'runtime/autoload/netrw*'
|
||||
|
||||
xxd:
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'src/xxd/*'
|
||||
|
||||
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -81,6 +81,12 @@ jobs:
|
||||
- name: Checkout repository from github
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check Filelist (for packaging)
|
||||
run: |
|
||||
# If any files in the repository are not listed in Filelist this will
|
||||
# exit with an error code and list the missing entries.
|
||||
make -f ci/unlisted.make
|
||||
|
||||
- run: sudo dpkg --add-architecture i386
|
||||
if: matrix.architecture == 'i386'
|
||||
|
||||
@@ -114,7 +120,7 @@ jobs:
|
||||
libattr1-dev
|
||||
)
|
||||
fi
|
||||
sudo apt-get update && sudo apt-get install -y "${PKGS[@]}"
|
||||
sudo apt-get update && sudo apt-get upgrade && sudo apt-get install -y "${PKGS[@]}"
|
||||
|
||||
- name: Install gcc-${{ env.GCC_VER }}
|
||||
if: matrix.compiler == 'gcc'
|
||||
|
||||
6
.github/workflows/codeql-analysis.yml
vendored
6
.github/workflows/codeql-analysis.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v2
|
||||
uses: github/codeql-action/autobuild@v3
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
@@ -73,4 +73,4 @@ jobs:
|
||||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
uses: github/codeql-action/analyze@v3
|
||||
|
||||
4
.github/workflows/label.yml
vendored
4
.github/workflows/label.yml
vendored
@@ -17,8 +17,6 @@ jobs:
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/labeler@v4
|
||||
- uses: actions/labeler@v5
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
configuration-path: .github/labeler.yml
|
||||
sync-labels: ''
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
# Contributing to Vim
|
||||
|
||||
Patches are welcome in whatever form.
|
||||
Discussions about patches happen on the vim-dev maillist.
|
||||
Discussions about patches happen on the [vim-dev][0] mailing list.
|
||||
If you create a pull request on GitHub it will be
|
||||
forwarded to the vim-dev maillist. You can also send your patch there
|
||||
directly. In that case an attachment with a unified diff format is preferred.
|
||||
Information about the maillist can be found [on the Vim website].
|
||||
|
||||
[on the Vim website]: http://www.vim.org/maillist.php#vim-dev
|
||||
forwarded to the vim-dev mailing list. You can also send your patch there
|
||||
directly (but please note, the initial posting is subject to moderation).
|
||||
In that case an attachment with a unified diff format is preferred.
|
||||
Information about the mailing list can be found [on the Vim website][0]
|
||||
|
||||
A pull request has the advantage that it will trigger the Continuous
|
||||
Integration tests, you will be warned of problems (you can ignore the coverage
|
||||
@@ -22,31 +21,27 @@ Contributions will be distributed with Vim under the Vim license. Providing a
|
||||
change to be included implies that you agree with this and your contribution
|
||||
does not cause us trouble with trademarks or patents. There is no CLA to sign.
|
||||
|
||||
|
||||
# Reporting issues
|
||||
|
||||
We use GitHub issues, but that is not a requirement. Writing to the Vim
|
||||
maillist is also fine.
|
||||
mailing list is also fine.
|
||||
|
||||
Please use the GitHub issues only for actual issues. If you are not 100% sure
|
||||
that your problem is a Vim issue, please first discuss this on the Vim user
|
||||
maillist. Try reproducing the problem without any of your plugins or settings:
|
||||
mailing list. Try reproducing the problem without any of your plugins or settings:
|
||||
|
||||
vim --clean
|
||||
|
||||
If you report an issue, please describe exactly how to reproduce it.
|
||||
For example, don't say "insert some text" but say what you did exactly:
|
||||
"ahere is some text<Esc>".
|
||||
`ahere is some text<Esc>`.
|
||||
Ideally, the steps you list can be used to write a test to verify the problem
|
||||
is fixed.
|
||||
|
||||
Feel free to report even the smallest problem, also typos in the documentation.
|
||||
|
||||
You can find known issues in the todo file: ":help todo".
|
||||
Or open [the todo file] on GitHub to see the latest version.
|
||||
|
||||
[the todo file]: https://github.com/vim/vim/blob/master/runtime/doc/todo.txt
|
||||
|
||||
You can find known issues in the todo file: `:help todo`.
|
||||
Or open [the todo file][todo list] on GitHub to see the latest version.
|
||||
|
||||
# Syntax, indent and other runtime files
|
||||
|
||||
@@ -57,11 +52,10 @@ If you find a problem with one of these files or have a suggestion for
|
||||
improvement, please first try to contact the maintainer directly.
|
||||
Look in the header of the file for the name and email address.
|
||||
|
||||
The maintainer will take care of issues and send updates to Bram for
|
||||
The maintainer will take care of issues and send updates to the Vim project for
|
||||
distribution with Vim.
|
||||
|
||||
If the maintainer does not respond, contact the vim-dev maillist.
|
||||
|
||||
If the maintainer does not respond, contact the [vim-dev][0] mailing list.
|
||||
|
||||
# Translations
|
||||
|
||||
@@ -77,8 +71,28 @@ can be translated:
|
||||
The help files can be translated and made available separately.
|
||||
See https://www.vim.org/translations.php for examples.
|
||||
|
||||
# How do I contribute to the project?
|
||||
|
||||
Please have a look at the following [discussion][6], which should give you some
|
||||
ideas. Please also check the [develop.txt][7] helpfile for the recommended
|
||||
style. Often it's also beneficial to check the surrounding code for the style
|
||||
being used.
|
||||
|
||||
# I have a question
|
||||
|
||||
If you have some question on the style guide, please contact the [vim-dev][0]
|
||||
mailing list. For other questions please use the [Vi Stack Exchange][8] website, the
|
||||
[vim-use][9] mailing list or make use of the [discussion][10] feature here at github.
|
||||
|
||||
[todo list]: https://github.com/vim/vim/blob/master/runtime/doc/todo.txt
|
||||
[0]: http://www.vim.org/maillist.php#vim-dev
|
||||
[1]: https://github.com/vim/vim/blob/master/src/po/README.txt
|
||||
[2]: https://github.com/vim/vim/blob/master/runtime/lang/README.txt
|
||||
[3]: https://github.com/vim/vim/blob/master/runtime/tutor/README.txt
|
||||
[4]: https://github.com/vim/vim/blob/master/runtime/doc/vim.1
|
||||
[5]: https://github.com/vim/vim/blob/master/nsis/lang/english.nsi
|
||||
[6]: https://github.com/vim/vim/discussions/13087
|
||||
[7]: https://github.com/vim/vim/blob/master/runtime/doc/develop.txt
|
||||
[8]: https://vi.stackexchange.com
|
||||
[9]: http://www.vim.org/maillist.php#vim-use
|
||||
[10]: https://github.com/vim/vim/discussions
|
||||
|
||||
35
Filelist
35
Filelist
@@ -213,6 +213,7 @@ SRC_ALL = \
|
||||
src/testdir/dumps/*.dump \
|
||||
src/testdir/dumps/*.vim \
|
||||
src/testdir/samples/*.txt \
|
||||
src/testdir/samples/*.vim \
|
||||
src/testdir/samples/test000 \
|
||||
src/testdir/color_ramp.vim \
|
||||
src/testdir/silent.wav \
|
||||
@@ -698,6 +699,7 @@ RT_ALL = \
|
||||
runtime/doc/*.pl \
|
||||
runtime/doc/*.txt \
|
||||
runtime/doc/Makefile \
|
||||
runtime/doc/Make_all.mak \
|
||||
runtime/doc/doctags.c \
|
||||
runtime/doc/doctags.vim \
|
||||
runtime/doc/test_urls.vim \
|
||||
@@ -756,6 +758,17 @@ RT_ALL = \
|
||||
runtime/pack/dist/opt/dvorak/dvorak/enable.vim \
|
||||
runtime/pack/dist/opt/dvorak/dvorak/disable.vim \
|
||||
runtime/pack/dist/opt/editexisting/plugin/editexisting.vim \
|
||||
runtime/pack/dist/opt/editorconfig/.editorconfig \
|
||||
runtime/pack/dist/opt/editorconfig/CONTRIBUTORS \
|
||||
runtime/pack/dist/opt/editorconfig/LICENSE* \
|
||||
runtime/pack/dist/opt/editorconfig/mkzip.sh \
|
||||
runtime/pack/dist/opt/editorconfig/README.md \
|
||||
runtime/pack/dist/opt/editorconfig/autoload/*.vim \
|
||||
runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/*.vim \
|
||||
runtime/pack/dist/opt/editorconfig/doc/tags \
|
||||
runtime/pack/dist/opt/editorconfig/doc/editorconfig.txt \
|
||||
runtime/pack/dist/opt/editorconfig/ftdetect/editorconfig.vim \
|
||||
runtime/pack/dist/opt/editorconfig/plugin/editorconfig.vim \
|
||||
runtime/pack/dist/opt/justify/plugin/justify.vim \
|
||||
runtime/pack/dist/opt/matchit/plugin/matchit.vim \
|
||||
runtime/pack/dist/opt/matchit/doc/matchit.txt \
|
||||
@@ -781,7 +794,9 @@ RT_SCRIPTS = \
|
||||
runtime/makemenu.vim \
|
||||
runtime/autoload/*.vim \
|
||||
runtime/autoload/README.txt \
|
||||
runtime/autoload/cargo/*.vim \
|
||||
runtime/autoload/dist/*.vim \
|
||||
runtime/autoload/rust/*.vim \
|
||||
runtime/autoload/xml/*.vim \
|
||||
runtime/autoload/zig/*.vim \
|
||||
runtime/colors/*.vim \
|
||||
@@ -846,6 +861,8 @@ RT_AMI_DOS = \
|
||||
# DOS runtime (also in the extra archive)
|
||||
RT_DOS = \
|
||||
README_dos.txt \
|
||||
runtime/doc/Make_mvc.mak \
|
||||
runtime/tutor/Make_mvc.mak \
|
||||
vimtutor.bat \
|
||||
|
||||
# DOS runtime without CR-LF translation (also in the extra archive)
|
||||
@@ -952,6 +969,7 @@ IN_README_DIR = \
|
||||
README_bindos.txt \
|
||||
README_dos.txt \
|
||||
README_extra.txt \
|
||||
README_haiku.txt \
|
||||
README_mac.txt \
|
||||
README_ole.txt \
|
||||
README_os2.txt \
|
||||
@@ -988,11 +1006,13 @@ LANG_GEN = \
|
||||
runtime/doc/*-tr.UTF-8.1 \
|
||||
runtime/lang/README.txt \
|
||||
runtime/lang/Makefile \
|
||||
runtime/lang/Make_all.mak \
|
||||
runtime/lang/menu_*.vim \
|
||||
runtime/keymap/README.txt \
|
||||
runtime/keymap/*.vim \
|
||||
runtime/tutor/README.*.txt \
|
||||
runtime/tutor/Makefile \
|
||||
runtime/tutor/Make_all.mak \
|
||||
runtime/tutor/tutor.utf-8 \
|
||||
runtime/tutor/tutor.?? \
|
||||
runtime/tutor/tutor.??.utf-8 \
|
||||
@@ -1047,10 +1067,25 @@ LANG_SRC = \
|
||||
src/po/vim.desktop.in \
|
||||
src/po/gvim.desktop.in \
|
||||
src/po/sjiscorr.c \
|
||||
src/po/big5corr.c \
|
||||
src/po/*.po \
|
||||
|
||||
# the language files for the Win32 lang archive
|
||||
LANG_DOS = \
|
||||
src/po/*.mo \
|
||||
runtime/lang/Make_mvc.mak \
|
||||
|
||||
# Files in the repository that are deliberately not listed above, and will thus
|
||||
# be excluded from distribution tarballs and the like.
|
||||
# This excludes them from the CI check for unlisted files.
|
||||
IGNORE = \
|
||||
.appveyor.yml \
|
||||
.github/FUNDING.yml \
|
||||
.github/labeler.yml \
|
||||
.github/workflows/label.yml \
|
||||
SECURITY.md \
|
||||
ci/unlisted.make \
|
||||
src/libvterm/CODE-MAP \
|
||||
runtime/syntax/testdir/input/html_html \
|
||||
|
||||
# vim: set ft=make:
|
||||
|
||||
@@ -46,7 +46,7 @@ Change to the vim directory and do:
|
||||
|
||||
$ export CC=cc
|
||||
$ export _CC_CCMODE=1
|
||||
$./configure --with-features=big --without-x --enable-gui=no
|
||||
$./configure --with-features=normal --without-x --enable-gui=no
|
||||
$ cd src
|
||||
$ make
|
||||
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
|
||||
## Reporting a vulnerability
|
||||
|
||||
If you want to report a security issue, please use [huntr.dev](https://huntr.dev/bounties/disclose?target=https%3A%2F%2Fgithub.com%2Fvim%2Fvim) to privately disclose the issue to us.
|
||||
They also have rewards in the form of money, swag and CVEs.
|
||||
If you want to report a security issue, please privately disclose the issue to the vim-security mailing list
|
||||
vim-security@googlegroups.com
|
||||
|
||||
This is a private list, read only by the maintainers, but anybody can post, after moderation.
|
||||
|
||||
**Please don't publicly disclose the issue until it has been addressed by us.**
|
||||
|
||||
49
ci/unlisted.make
Normal file
49
ci/unlisted.make
Normal file
@@ -0,0 +1,49 @@
|
||||
# vim: ft=make
|
||||
SHELL = /bin/bash
|
||||
|
||||
# List all files that are tracked in git but not listed in Filelist.
|
||||
# Exit code is 2 ("Make encountered an error") if any such files exist.
|
||||
|
||||
# Filelist is a Makefile that defines many variables, so we use Make itself to
|
||||
# query which variables it defines, then expand them all by wrapping each name
|
||||
# in $(...), importing Filelist and using $(eval).
|
||||
|
||||
include Filelist
|
||||
$(eval all_patterns := $(shell \
|
||||
make -f Filelist --question --print-data-base --no-builtin-rules \
|
||||
--no-builtin-variables 2>/dev/null \
|
||||
| sed -nre \
|
||||
'/^# makefile .from \x27Filelist\x27,/ { \
|
||||
n; \
|
||||
s/ = .*//; \
|
||||
T; \
|
||||
s/.*/$$(\0)/; \
|
||||
p; \
|
||||
}'))
|
||||
|
||||
# In Makefile's `prepeare` target, all the IN_README_DIR files are moved from
|
||||
# READMEdir to the root, so add those files in their Git-tracked location:
|
||||
all_patterns := $(all_patterns) \
|
||||
$(foreach readme, $(IN_README_DIR), READMEdir/$(readme))
|
||||
|
||||
# The result 'all_patterns' is a list of patterns (globs), which we expand with
|
||||
# wildcard to get actual filenames. Note this means Filelist can list a file
|
||||
# that does not exist, and it will be omitted at this step.
|
||||
listed_files := $(wildcard $(all_patterns))
|
||||
|
||||
# Default target to actually run the comparison:
|
||||
.PHONY: check
|
||||
check:
|
||||
@# There are too many files to list on the command line, so we write
|
||||
@# that to a temporary file, one per line.
|
||||
$(file > Filelist-listed-files)
|
||||
$(foreach filename, $(listed_files),\
|
||||
$(file >> Filelist-listed-files,$(filename)))
|
||||
@# Compare the sorted lists. Delete that temporary file on both
|
||||
@# success and failure, but exit with diff's exit code.
|
||||
diff -u0 --label files-in-git <(git ls-files | sort) \
|
||||
--label Filelist <(sort --unique Filelist-listed-files); \
|
||||
RV=$$?; \
|
||||
rm Filelist-listed-files; \
|
||||
(($$RV != 0)) && echo "Add files to the right variable in Filelist."; \
|
||||
exit $$RV
|
||||
@@ -3,7 +3,7 @@ vim9script
|
||||
# Language: ConTeXt typesetting engine
|
||||
# Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
|
||||
# Former Maintainers: Nikolai Weibull <now@bitwi.se>
|
||||
# Latest Revision: 2022 Sep 19
|
||||
# Latest Revision: 2023 Dec 26
|
||||
|
||||
# Typesetting {{{
|
||||
import autoload './typeset.vim'
|
||||
|
||||
18
runtime/autoload/dist/ft.vim
vendored
18
runtime/autoload/dist/ft.vim
vendored
@@ -590,23 +590,27 @@ export def FTprogress_cweb()
|
||||
endif
|
||||
enddef
|
||||
|
||||
export def FTprogress_asm()
|
||||
# These include the leading '%' sign
|
||||
var ft_swig_keywords = '^\s*%\%(addmethods\|apply\|beginfile\|clear\|constant\|define\|echo\|enddef\|endoffile\|extend\|feature\|fragment\|ignore\|import\|importfile\|include\|includefile\|inline\|insert\|keyword\|module\|name\|namewarn\|native\|newobject\|parms\|pragma\|rename\|template\|typedef\|typemap\|types\|varargs\|warn\)'
|
||||
# This is the start/end of a block that is copied literally to the processor file (C/C++)
|
||||
var ft_swig_verbatim_block_start = '^\s*%{'
|
||||
|
||||
export def FTi()
|
||||
if exists("g:filetype_i")
|
||||
exe "setf " .. g:filetype_i
|
||||
return
|
||||
endif
|
||||
# This function checks for an assembly comment the first ten lines.
|
||||
# This function checks for an assembly comment or a SWIG keyword or verbatim block in the first 50 lines.
|
||||
# If not found, assume Progress.
|
||||
var lnum = 1
|
||||
while lnum <= 10 && lnum < line('$')
|
||||
while lnum <= 50 && lnum < line('$')
|
||||
var line = getline(lnum)
|
||||
if line =~ '^\s*;' || line =~ '^\*'
|
||||
FTasm()
|
||||
return
|
||||
elseif line !~ '^\s*$' || line =~ '^/\*'
|
||||
# Not an empty line: Doesn't look like valid assembly code.
|
||||
# Or it looks like a Progress /* comment
|
||||
break
|
||||
elseif line =~ ft_swig_keywords || line =~ ft_swig_verbatim_block_start
|
||||
setf swig
|
||||
return
|
||||
endif
|
||||
lnum += 1
|
||||
endwhile
|
||||
|
||||
182
runtime/autoload/dist/json.vim
vendored
Normal file
182
runtime/autoload/dist/json.vim
vendored
Normal file
@@ -0,0 +1,182 @@
|
||||
vim9script
|
||||
|
||||
# Maintainer: Maxim Kim <habamax@gmail.com>
|
||||
# Last update: 2023-12-10
|
||||
#
|
||||
# Set of functions to format/beautify JSON data structures.
|
||||
#
|
||||
# Could be used to reformat a minified json in a buffer (put it into ~/.vim/ftplugin/json.vim):
|
||||
# import autoload 'dist/json.vim'
|
||||
# setl formatexpr=json.FormatExpr()
|
||||
#
|
||||
# Or to get a formatted string out of vim's dict/list/string:
|
||||
# vim9script
|
||||
# import autoload 'dist/json.vim'
|
||||
# echo json.Format({
|
||||
# "widget": { "debug": "on", "window": { "title": "Sample \"Konfabulator\" Widget",
|
||||
# "name": "main_window", "width": 500, "height": 500
|
||||
# },
|
||||
# "image": { "src": "Images/Sun.png", "name": "sun1", "hOffset": 250,
|
||||
# "vOffset": 250, "alignment": "center" },
|
||||
# "text": { "data": "Click Here", "size": 36, "style": "bold", "name": "text1",
|
||||
# "hOffset": 250, "vOffset": 100, "alignment": "center",
|
||||
# "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;" } }
|
||||
# })
|
||||
#
|
||||
# Should output:
|
||||
# {
|
||||
# "widget": {
|
||||
# "debug": "on",
|
||||
# "window": {
|
||||
# "title": "Sample \"Konfabulator\" Widget",
|
||||
# "name": "main_window",
|
||||
# "width": 500,
|
||||
# "height": 500
|
||||
# },
|
||||
# "image": {
|
||||
# "src": "Images/Sun.png",
|
||||
# "name": "sun1",
|
||||
# "hOffset": 250,
|
||||
# "vOffset": 250,
|
||||
# "alignment": "center"
|
||||
# },
|
||||
# "text": {
|
||||
# "data": "Click Here",
|
||||
# "size": 36,
|
||||
# "style": "bold",
|
||||
# "name": "text1",
|
||||
# "hOffset": 250,
|
||||
# "vOffset": 100,
|
||||
# "alignment": "center",
|
||||
# "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;"
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# NOTE: order of `key: value` pairs is not kept.
|
||||
#
|
||||
# You can also use a JSON string instead of vim's dict/list to maintain order:
|
||||
# echo json.Format('{"hello": 1, "world": 2}')
|
||||
# {
|
||||
# "hello": 1,
|
||||
# "world": 2
|
||||
# }
|
||||
|
||||
|
||||
# To be able to reformat with `gq` add following to `~/.vim/ftplugin/json.vim`:
|
||||
# import autoload 'dist/json.vim'
|
||||
# setl formatexpr=json.FormatExpr()
|
||||
export def FormatExpr(): number
|
||||
FormatRange(v:lnum, v:lnum + v:count - 1)
|
||||
return 0
|
||||
enddef
|
||||
|
||||
|
||||
# import autoload 'dist/json.vim'
|
||||
# command -range=% JSONFormat json.FormatRange(<line1>, <line2>)
|
||||
export def FormatRange(line1: number, line2: number)
|
||||
var indent_base = matchstr(getline(line1), '^\s*')
|
||||
var indent = &expandtab ? repeat(' ', &shiftwidth) : "\t"
|
||||
|
||||
var [l1, l2] = line1 > line2 ? [line2, line1] : [line1, line2]
|
||||
|
||||
var json_src = getline(l1, l2)->join()
|
||||
var json_fmt = Format(json_src, {use_tabs: !&et, indent: &sw, indent_base: indent_base})->split("\n")
|
||||
|
||||
exe $":{l1},{l2}d"
|
||||
|
||||
if line('$') == 1 && getline(1) == ''
|
||||
setline(l1, json_fmt[0])
|
||||
append(l1, json_fmt[1 : ])
|
||||
else
|
||||
append(l1 - 1, json_fmt)
|
||||
endif
|
||||
enddef
|
||||
|
||||
|
||||
# Format JSON string or dict/list as JSON
|
||||
# import autoload 'dist/json.vim'
|
||||
# echo json.Format('{"hello": "world"}', {use_tabs: false, indent: 2, indent_base: 0})
|
||||
|
||||
# {
|
||||
# "hello": "world"
|
||||
# }
|
||||
|
||||
# echo json.Format({'hello': 'world'}, {use_tabs: false, indent: 2, indent_base: 0})
|
||||
# {
|
||||
# "hello": "world"
|
||||
# }
|
||||
#
|
||||
# Note, when `obj` is dict, order of the `key: value` pairs might be different:
|
||||
# echo json.Format({'hello': 1, 'world': 2})
|
||||
# {
|
||||
# "world": 2,
|
||||
# "hello": 1
|
||||
# }
|
||||
export def Format(obj: any, params: dict<any> = {}): string
|
||||
var obj_str = ''
|
||||
if type(obj) == v:t_string
|
||||
obj_str = obj
|
||||
else
|
||||
obj_str = json_encode(obj)
|
||||
endif
|
||||
|
||||
var indent_lvl = 0
|
||||
var indent_base = get(params, "indent_base", "")
|
||||
var indent = get(params, "use_tabs", false) ? "\t" : repeat(' ', get(params, "indent", 2))
|
||||
var json_line = indent_base
|
||||
var json = ""
|
||||
var state = ""
|
||||
for char in obj_str
|
||||
if state == ""
|
||||
if char =~ '[{\[]'
|
||||
json_line ..= char
|
||||
json ..= json_line .. "\n"
|
||||
indent_lvl += 1
|
||||
json_line = indent_base .. repeat(indent, indent_lvl)
|
||||
elseif char =~ '[}\]]'
|
||||
if json_line !~ '^\s*$'
|
||||
json ..= json_line .. "\n"
|
||||
indent_lvl -= 1
|
||||
if indent_lvl < 0
|
||||
json_line = strpart(indent_base, -indent_lvl * len(indent))
|
||||
else
|
||||
json_line = indent_base .. repeat(indent, indent_lvl)
|
||||
endif
|
||||
elseif json =~ '[{\[]\n$'
|
||||
json = json[ : -2]
|
||||
json_line = substitute(json_line, '^\s*', '', '')
|
||||
indent_lvl -= 1
|
||||
endif
|
||||
json_line ..= char
|
||||
elseif char == ':'
|
||||
json_line ..= char .. ' '
|
||||
elseif char == '"'
|
||||
json_line ..= char
|
||||
state = 'QUOTE'
|
||||
elseif char == ','
|
||||
json_line ..= char
|
||||
json ..= json_line .. "\n"
|
||||
json_line = indent_base .. repeat(indent, indent_lvl)
|
||||
elseif char !~ '\s'
|
||||
json_line ..= char
|
||||
endif
|
||||
elseif state == "QUOTE"
|
||||
json_line ..= char
|
||||
if char == '\'
|
||||
state = "ESCAPE"
|
||||
elseif char == '"'
|
||||
state = ""
|
||||
endif
|
||||
elseif state == "ESCAPE"
|
||||
state = "QUOTE"
|
||||
json_line ..= char
|
||||
else
|
||||
json_line ..= char
|
||||
endif
|
||||
endfor
|
||||
if json_line !~ '^\s*$'
|
||||
json ..= json_line .. "\n"
|
||||
endif
|
||||
return json
|
||||
enddef
|
||||
14
runtime/autoload/dist/script.vim
vendored
14
runtime/autoload/dist/script.vim
vendored
@@ -217,6 +217,18 @@ export def Exe2filetype(name: string, line1: string): string
|
||||
elseif name =~ '^\%(rexx\|regina\)\>'
|
||||
return 'rexx'
|
||||
|
||||
# Janet
|
||||
elseif name =~ '^janet\>'
|
||||
return 'janet'
|
||||
|
||||
# Dart
|
||||
elseif name =~ '^dart\>'
|
||||
return 'dart'
|
||||
|
||||
# Execline (s6)
|
||||
elseif name =~ '^execlineb\>'
|
||||
return 'execline'
|
||||
|
||||
endif
|
||||
|
||||
return ''
|
||||
@@ -361,7 +373,7 @@ def DetectFromText(line1: string)
|
||||
|
||||
# Strace
|
||||
# inaccurate fast match first, then use accurate slow match
|
||||
elseif (line1 =~ 'execve(' && line1 =~ '^[0-9:.]* *execve(')
|
||||
elseif (line1 =~ 'execve(' && line1 =~ '^[0-9:. ]*execve(')
|
||||
|| line1 =~ '^__libc_start_main'
|
||||
setl ft=strace
|
||||
|
||||
|
||||
32
runtime/autoload/dist/vim.vim
vendored
Normal file
32
runtime/autoload/dist/vim.vim
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
" Vim runtime support library,
|
||||
" runs the vim9 script version or legacy script version
|
||||
" on demand (mostly for Neovim compatability)
|
||||
"
|
||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
" Last Change: 2023 Nov 04
|
||||
|
||||
|
||||
" enable the zip and gzip plugin by default, if not set
|
||||
if !exists('g:zip_exec')
|
||||
let g:zip_exec = 1
|
||||
endif
|
||||
|
||||
if !exists('g:gzip_exec')
|
||||
let g:gzip_exec = 1
|
||||
endif
|
||||
|
||||
if !has('vim9script')
|
||||
function dist#vim#IsSafeExecutable(filetype, executable)
|
||||
let cwd = getcwd()
|
||||
return get(g:, a:filetype .. '_exec', get(g:, 'plugin_exec', 0)) &&
|
||||
\ (fnamemodify(exepath(a:executable), ':p:h') !=# cwd
|
||||
\ || (split($PATH, has('win32') ? ';' : ':')->index(cwd) != -1 &&
|
||||
\ cwd != '.'))
|
||||
endfunction
|
||||
|
||||
finish
|
||||
endif
|
||||
|
||||
def dist#vim#IsSafeExecutable(filetype: string, executable: string): bool
|
||||
return dist#vim9#IsSafeExecutable(filetype, executable)
|
||||
enddef
|
||||
17
runtime/autoload/dist/vim9.vim
vendored
Normal file
17
runtime/autoload/dist/vim9.vim
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
vim9script
|
||||
|
||||
# Vim runtime support library
|
||||
#
|
||||
# Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
# Last Change: 2023 Oct 25
|
||||
|
||||
export def IsSafeExecutable(filetype: string, executable: string): bool
|
||||
var cwd = getcwd()
|
||||
return get(g:, filetype .. '_exec', get(g:, 'plugin_exec', 0))
|
||||
&& (fnamemodify(exepath(executable), ':p:h') !=# cwd
|
||||
|| (split($PATH, has('win32') ? ';' : ':')->index(cwd) != -1
|
||||
&& cwd != '.'))
|
||||
enddef
|
||||
|
||||
# Uncomment this line to check for compilation errors early
|
||||
# defcompile
|
||||
@@ -11,10 +11,7 @@ fun s:check(cmd)
|
||||
let name = substitute(a:cmd, '\(\S*\).*', '\1', '')
|
||||
if !exists("s:have_" . name)
|
||||
" safety check, don't execute anything from the current directory
|
||||
let s:tmp_cwd = getcwd()
|
||||
let f = (fnamemodify(exepath(name), ":p:h") !=# s:tmp_cwd
|
||||
\ || (index(split($PATH,has("win32")? ';' : ':'), s:tmp_cwd) != -1 && s:tmp_cwd != '.'))
|
||||
unlet s:tmp_cwd
|
||||
let f = dist#vim#IsSafeExecutable('gzip', name)
|
||||
if !f
|
||||
echoerr "Warning: NOT executing " .. name .. " from current directory!"
|
||||
endif
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
" netrw.vim: Handles file transfer and remote directory listing across
|
||||
" AUTOLOAD SECTION
|
||||
" Date: May 03, 2023
|
||||
" Version: 173
|
||||
" Version: 173a
|
||||
" Last Change:
|
||||
" 2023 Nov 21 by Vim Project: ignore wildignore when expanding $COMSPEC (v173a)
|
||||
" 2023 Nov 22 by Vim Project: fix handling of very long filename on longlist style (v173a)
|
||||
" Maintainer: Charles E Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
|
||||
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
||||
" Copyright: Copyright (C) 2016 Charles E. Campbell {{{1
|
||||
@@ -400,7 +403,7 @@ if !exists("g:netrw_localcopycmd")
|
||||
if g:netrw_cygwin
|
||||
let g:netrw_localcopycmd= "cp"
|
||||
else
|
||||
let g:netrw_localcopycmd = expand("$COMSPEC")
|
||||
let g:netrw_localcopycmd = expand("$COMSPEC", v:true)
|
||||
let g:netrw_localcopycmdopt= " /c copy"
|
||||
endif
|
||||
elseif has("unix") || has("macunix")
|
||||
@@ -415,7 +418,7 @@ if !exists("g:netrw_localcopydircmd")
|
||||
let g:netrw_localcopydircmd = "cp"
|
||||
let g:netrw_localcopydircmdopt= " -R"
|
||||
else
|
||||
let g:netrw_localcopydircmd = expand("$COMSPEC")
|
||||
let g:netrw_localcopydircmd = expand("$COMSPEC", v:true)
|
||||
let g:netrw_localcopydircmdopt= " /c xcopy /e /c /h /i /k"
|
||||
endif
|
||||
elseif has("unix")
|
||||
@@ -436,7 +439,7 @@ if has("win32") || has("win95") || has("win64") || has("win16")
|
||||
if g:netrw_cygwin
|
||||
call s:NetrwInit("g:netrw_localmkdir","mkdir")
|
||||
else
|
||||
let g:netrw_localmkdir = expand("$COMSPEC")
|
||||
let g:netrw_localmkdir = expand("$COMSPEC", v:true)
|
||||
let g:netrw_localmkdiropt= " /c mkdir"
|
||||
endif
|
||||
else
|
||||
@@ -452,7 +455,7 @@ if !exists("g:netrw_localmovecmd")
|
||||
if g:netrw_cygwin
|
||||
let g:netrw_localmovecmd= "mv"
|
||||
else
|
||||
let g:netrw_localmovecmd = expand("$COMSPEC")
|
||||
let g:netrw_localmovecmd = expand("$COMSPEC", v:true)
|
||||
let g:netrw_localmovecmdopt= " /c move"
|
||||
endif
|
||||
elseif has("unix") || has("macunix")
|
||||
@@ -1166,7 +1169,6 @@ fun! netrw#Explore(indx,dosplit,style,...)
|
||||
2match none
|
||||
if exists("s:explore_match") | unlet s:explore_match | endif
|
||||
if exists("s:explore_prvdir") | unlet s:explore_prvdir | endif
|
||||
echo " "
|
||||
" call Decho("cleared explore match list",'~'.expand("<slnum>"))
|
||||
endif
|
||||
|
||||
@@ -1961,7 +1963,7 @@ endfun
|
||||
" Doing this means that netrw will not come up as having changed a
|
||||
" setting last when it really didn't actually change it.
|
||||
"
|
||||
" Used by s:NetrwOptionsRestore() to restore each netrw-senstive setting
|
||||
" Used by s:NetrwOptionsRestore() to restore each netrw-sensitive setting
|
||||
" keepvars are set up by s:NetrwOptionsSave
|
||||
fun! s:NetrwRestoreSetting(keepvar,setting)
|
||||
""" call Dfunc("s:NetrwRestoreSetting(a:keepvar<".a:keepvar."> a:setting<".a:setting.">)")
|
||||
@@ -3516,6 +3518,11 @@ fun! s:NetrwBookHistHandler(chg,curdir)
|
||||
echo "bookmarked the current directory"
|
||||
endif
|
||||
|
||||
try
|
||||
call s:NetrwBookHistSave()
|
||||
catch
|
||||
endtry
|
||||
|
||||
elseif a:chg == 1
|
||||
" change to the bookmarked directory
|
||||
" call Decho("(user: <".v:count."gb>) change to the bookmarked directory",'~'.expand("<slnum>"))
|
||||
@@ -3660,6 +3667,11 @@ fun! s:NetrwBookHistHandler(chg,curdir)
|
||||
" call Decho("g:netrw_bookmarklist=".string(g:netrw_bookmarklist),'~'.expand("<slnum>"))
|
||||
endif
|
||||
" call Decho("resulting g:netrw_bookmarklist=".string(g:netrw_bookmarklist),'~'.expand("<slnum>"))
|
||||
|
||||
try
|
||||
call s:NetrwBookHistSave()
|
||||
catch
|
||||
endtry
|
||||
endif
|
||||
call s:NetrwBookmarkMenu()
|
||||
call s:NetrwTgtMenu()
|
||||
@@ -5303,7 +5315,8 @@ fun! s:NetrwBrowseUpDir(islocal)
|
||||
endif
|
||||
call s:RestorePosn(s:netrw_posn)
|
||||
let curdir= substitute(curdir,'^.*[\/]','','')
|
||||
call search('\<'.curdir.'/','wc')
|
||||
let curdir= '\<'. escape(curdir, '~'). '/'
|
||||
call search(curdir,'wc')
|
||||
endif
|
||||
" call Dret("s:NetrwBrowseUpDir")
|
||||
endfun
|
||||
@@ -5552,7 +5565,7 @@ fun! netrw#BrowseX(fname,remote)
|
||||
" cleanup: remove temporary file,
|
||||
" delete current buffer if success with handler,
|
||||
" return to prior buffer (directory listing)
|
||||
" Feb 12, 2008: had to de-activiate removal of
|
||||
" Feb 12, 2008: had to de-activate removal of
|
||||
" temporary file because it wasn't getting seen.
|
||||
" if remote == 1 && fname != a:fname
|
||||
"" call Decho("deleting temporary file<".fname.">",'~'.expand("<slnum>"))
|
||||
@@ -5720,8 +5733,6 @@ fun! s:NetrwClearExplore()
|
||||
if exists("w:netrw_explore_list") |unlet w:netrw_explore_list |endif
|
||||
if exists("w:netrw_explore_bufnr") |unlet w:netrw_explore_bufnr |endif
|
||||
" redraw!
|
||||
echo " "
|
||||
echo " "
|
||||
" call Dret("s:NetrwClearExplore")
|
||||
endfun
|
||||
|
||||
@@ -7382,8 +7393,7 @@ fun! s:NetrwMarkFileDiff(islocal)
|
||||
exe "NetrwKeepj e ".fnameescape(fname)
|
||||
diffthis
|
||||
elseif cnt == 2 || cnt == 3
|
||||
vsplit
|
||||
wincmd l
|
||||
below vsplit
|
||||
" call Decho("diffthis: ".fname,'~'.expand("<slnum>"))
|
||||
exe "NetrwKeepj e ".fnameescape(fname)
|
||||
diffthis
|
||||
@@ -10371,7 +10381,7 @@ fun! s:NetrwRemoteListing()
|
||||
let w:netrw_bannercnt= s:bannercnt
|
||||
endif
|
||||
if !exists("w:netrw_bannercnt") && exists("b:bannercnt")
|
||||
let w:netrw_bannercnt= s:bannercnt
|
||||
let w:netrw_bannercnt= b:bannercnt
|
||||
endif
|
||||
|
||||
call s:RemotePathAnalysis(b:netrw_curdir)
|
||||
@@ -10953,6 +10963,10 @@ fun! s:LocalBrowseRefresh()
|
||||
" call Dret("s:LocalBrowseRefresh : don't refresh when focus not on netrw window")
|
||||
return
|
||||
endif
|
||||
if !empty(getcmdwintype())
|
||||
" cannot move away from cmdline window, see :h E11
|
||||
return
|
||||
endif
|
||||
if exists("s:netrw_events") && s:netrw_events == 1
|
||||
" s:LocalFastBrowser gets called (indirectly) from a
|
||||
let s:netrw_events= 2
|
||||
@@ -11179,16 +11193,16 @@ fun! s:LocalListing()
|
||||
" call Decho("pfile <".pfile.">",'~'.expand("<slnum>"))
|
||||
|
||||
if w:netrw_liststyle == s:LONGLIST
|
||||
let longfile= printf("%-".g:netrw_maxfilenamelen."S",pfile)
|
||||
let sz = getfsize(filename)
|
||||
let szlen = 15 - (strdisplaywidth(longfile) - g:netrw_maxfilenamelen)
|
||||
let szlen = (szlen > 0) ? szlen : 0
|
||||
let fsz = printf("%".szlen."S",sz)
|
||||
|
||||
if g:netrw_sizestyle =~# "[hH]"
|
||||
let sz= s:NetrwHumanReadable(sz)
|
||||
endif
|
||||
let longfile= printf("%-".g:netrw_maxfilenamelen."S",pfile)
|
||||
let pfile = longfile." ".sz." ".strftime(g:netrw_timefmt,getftime(filename))
|
||||
let fsz = printf("%".szlen."S",sz)
|
||||
let pfile = longfile." ".fsz." ".strftime(g:netrw_timefmt,getftime(filename))
|
||||
" call Decho("longlist support: sz=".sz." fsz=".fsz,'~'.expand("<slnum>"))
|
||||
endif
|
||||
|
||||
@@ -11198,7 +11212,7 @@ fun! s:LocalListing()
|
||||
" call Decho("implementing g:netrw_sort_by=".g:netrw_sort_by." (time)")
|
||||
" call Decho("getftime(".filename.")=".getftime(filename),'~'.expand("<slnum>"))
|
||||
let t = getftime(filename)
|
||||
let ft = strpart("000000000000000000",1,18-strlen(t)).t
|
||||
let ft = printf("%018d",t)
|
||||
" call Decho("exe NetrwKeepj put ='".ft.'/'.pfile."'",'~'.expand("<slnum>"))
|
||||
let ftpfile= ft.'/'.pfile
|
||||
sil! NetrwKeepj put=ftpfile
|
||||
@@ -11208,10 +11222,7 @@ fun! s:LocalListing()
|
||||
" call Decho("implementing g:netrw_sort_by=".g:netrw_sort_by." (size)")
|
||||
" call Decho("getfsize(".filename.")=".getfsize(filename),'~'.expand("<slnum>"))
|
||||
let sz = getfsize(filename)
|
||||
if g:netrw_sizestyle =~# "[hH]"
|
||||
let sz= s:NetrwHumanReadable(sz)
|
||||
endif
|
||||
let fsz = strpart("000000000000000000",1,18-strlen(sz)).sz
|
||||
let fsz = printf("%018d",sz)
|
||||
" call Decho("exe NetrwKeepj put ='".fsz.'/'.filename."'",'~'.expand("<slnum>"))
|
||||
let fszpfile= fsz.'/'.pfile
|
||||
sil! NetrwKeepj put =fszpfile
|
||||
@@ -11268,6 +11279,10 @@ endfun
|
||||
fun! s:NetrwLocalRename(path) range
|
||||
" call Dfunc("NetrwLocalRename(path<".a:path.">)")
|
||||
|
||||
if !exists("w:netrw_bannercnt")
|
||||
let w:netrw_bannercnt= b:netrw_bannercnt
|
||||
endif
|
||||
|
||||
" preparation for removing multiple files/directories
|
||||
let ykeep = @@
|
||||
let ctr = a:firstline
|
||||
@@ -11369,6 +11384,10 @@ fun! s:NetrwLocalRm(path) range
|
||||
" call Dfunc("s:NetrwLocalRm(path<".a:path.">)")
|
||||
" call Decho("firstline=".a:firstline." lastline=".a:lastline,'~'.expand("<slnum>"))
|
||||
|
||||
if !exists("w:netrw_bannercnt")
|
||||
let w:netrw_bannercnt= b:netrw_bannercnt
|
||||
endif
|
||||
|
||||
" preparation for removing multiple files/directories
|
||||
let ykeep = @@
|
||||
let ret = 0
|
||||
@@ -12044,9 +12063,9 @@ fun! s:NetrwBufRemover(bufid)
|
||||
" call Decho("buf#".a:bufid." has name <".bufname(a:bufid).">","~".expand("<slnum>"))
|
||||
" call Decho("buf#".a:bufid." has winid#".bufwinid(a:bufid),"~".expand("<slnum>"))
|
||||
|
||||
if a:bufid > 1 && !buflisted(a:bufid) && bufname(a:bufid) == "" && bufwinid(a:bufid) == -1
|
||||
if a:bufid > 1 && !buflisted(a:bufid) && bufloaded(a:bufid) && bufname(a:bufid) == "" && bufwinid(a:bufid) == -1
|
||||
" call Decho("(s:NetrwBufRemover) removing buffer#".a:bufid,"~".expand("<slnum>"))
|
||||
exe "bd! ".a:bufid
|
||||
exe "sil! bd! ".a:bufid
|
||||
endif
|
||||
|
||||
" call Dret("s:NetrwBufRemover")
|
||||
|
||||
@@ -2907,7 +2907,7 @@ endfor
|
||||
" builtin class information
|
||||
let g:php_builtin_object_functions = {}
|
||||
|
||||
" When completing for 'everyting imaginable' (no class context, not a
|
||||
" When completing for 'everything imaginable' (no class context, not a
|
||||
" variable) we need a list of built-in classes in a format of {'classname':''}
|
||||
" for performance reasons we precompile this too
|
||||
let g:php_builtin_classnames = {}
|
||||
|
||||
213
runtime/autoload/racket.vim
Normal file
213
runtime/autoload/racket.vim
Normal file
@@ -0,0 +1,213 @@
|
||||
" Maintainer: D. Ben Knoble <ben.knoble+github@gmail.com>
|
||||
" URL: https://github.com/benknoble/vim-racket
|
||||
" Last Change: 2023 Sep 22
|
||||
vim9script
|
||||
|
||||
def MakePatternFromLiterals(xs: list<string>): string
|
||||
return printf('\V%s', xs->mapnew((_, v) => escape(v, '\'))->join('\|'))
|
||||
enddef
|
||||
|
||||
const openers = ['(', '[', '{']
|
||||
const closers = {'(': ')', '[': ']', '{': '}'}
|
||||
const brackets_pattern: string = closers->items()->flattennew()->MakePatternFromLiterals()
|
||||
|
||||
# transliterated from a modified copy of src/indent.c
|
||||
|
||||
export def Indent(): number
|
||||
if InHerestring(v:lnum)
|
||||
return -1
|
||||
endif
|
||||
# Indent from first column to avoid odd results from nested forms.
|
||||
cursor(v:lnum, 1)
|
||||
const bracket = FindBracket()
|
||||
if bracket == null_dict || !bracket.found
|
||||
return -1
|
||||
endif
|
||||
|
||||
# assert_report(printf('{lnum: %d, str: %s, found: %s, line: %d, column: %d}',
|
||||
# v:lnum, getline(bracket.line)[bracket.column - 1], bracket.found, bracket.line, bracket.column))
|
||||
# N.B. Column =/= Line Index; Columns start at 1
|
||||
const amount: number = bracket.column
|
||||
const line = getline(bracket.line)
|
||||
|
||||
const lw = Lispword(line[bracket.column :])
|
||||
if !IsForFold(lw) # skip: see comments about for/fold special case below
|
||||
# "Extra trick"
|
||||
var current = prevnonblank(v:lnum - 1)
|
||||
while current > bracket.line
|
||||
cursor(current, 1)
|
||||
if getline(current) !~# '^\s*;' && synID(current, 1, 0)->synIDattr('name') !~? 'string' && FindBracket() == bracket
|
||||
return indent(current)
|
||||
endif
|
||||
current = prevnonblank(current - 1)
|
||||
endwhile
|
||||
cursor(v:lnum, 1)
|
||||
endif
|
||||
|
||||
if index(openers, line[bracket.column - 1]) >= 0 && !empty(lw)
|
||||
# Special case for/fold &co. The iterator clause (2nd form) is indented
|
||||
# under the accumulator clause (1st form). Everything else is standard.
|
||||
const start_of_first_form = match(line[bracket.column :], MakePatternFromLiterals(openers))
|
||||
# assert_report(printf('{line: %s}', line))
|
||||
# assert_report(printf('{start: %s}', start_of_first_form >= 0 ? line[bracket.column + start_of_first_form :] : '<NULL>'))
|
||||
if IsForFold(lw) && IsSecondForm(bracket.line, bracket.column, v:lnum) && start_of_first_form >= 0
|
||||
return amount + start_of_first_form
|
||||
else
|
||||
# Lispword, but not for/fold second form (or first form couldn't be
|
||||
# found): indent like define or lambda.
|
||||
# 2 extra indent, but subtract 1 for columns starting at 1.
|
||||
# Current vim9 doesn't constant fold "x + 2 - 1", so write "x + 1"
|
||||
return amount + 1
|
||||
endif
|
||||
else
|
||||
# assert_report(printf('{line: %s}', line[bracket.column :]))
|
||||
return amount + IndentForContinuation(bracket.line, bracket.column, line[bracket.column :])
|
||||
endif
|
||||
enddef
|
||||
|
||||
def InHerestring(start: number): bool
|
||||
return synID(start, col([start, '$']) - 1, 0)->synIDattr('name') =~? 'herestring'
|
||||
enddef
|
||||
|
||||
def FindBracket(): dict<any>
|
||||
const paren = FindMatch('(', ')')
|
||||
const square = FindMatch('\[', ']')
|
||||
const curly = FindMatch('{', '}')
|
||||
return null_dict
|
||||
->MatchMax(paren)
|
||||
->MatchMax(square)
|
||||
->MatchMax(curly)
|
||||
enddef
|
||||
|
||||
def Lispword(line: string): string
|
||||
# assume keyword on same line as opener
|
||||
const word: string = matchstr(line, '^\s*\k\+\>')->trim()
|
||||
# assert_report(printf('line: %s; word: %s', line, word))
|
||||
# assert_report(&l:lispwords->split(',')->index(word) >= 0 ? 't' : 'f')
|
||||
return &l:lispwords->split(',')->index(word) >= 0 ? word : ''
|
||||
enddef
|
||||
|
||||
# line contains everything on line_nr after column
|
||||
def IndentForContinuation(line_nr: number, column: number, line: string): number
|
||||
const end = len(line)
|
||||
var indent = match(line, '[^[:space:]]')
|
||||
# first word is a string or some other literal (or maybe a form); assume that
|
||||
# the current line is outside such a thing
|
||||
if indent < end && ['"', '#']->index(line[indent]) >= 0
|
||||
return indent
|
||||
endif
|
||||
if indent < end && ["'", '`']->index(line[indent]) >= 0
|
||||
# could be a form or a word. Advance one and see.
|
||||
++indent
|
||||
endif
|
||||
if indent < end && ['(', '[', '{']->index(line[indent]) >= 0
|
||||
# there's a form; assume outside, but need to skip it to see if any others
|
||||
cursor(line_nr, column + indent + 1)
|
||||
# assert_report(getline(line_nr)[column + indent :])
|
||||
normal! %
|
||||
const [_, matched_line, matched_col, _, _] = getcursorcharpos()
|
||||
if line_nr != matched_line || matched_col == column + indent + 1
|
||||
return indent
|
||||
endif
|
||||
indent = matched_col - column
|
||||
endif
|
||||
var in_delim: bool
|
||||
var quoted: bool
|
||||
while indent < end && (line[indent] !~# '\s' || in_delim || quoted)
|
||||
if line[indent] == '\' && !in_delim
|
||||
quoted = true
|
||||
else
|
||||
quoted = false
|
||||
endif
|
||||
if line[indent] == '|' && !quoted
|
||||
in_delim = !in_delim
|
||||
endif
|
||||
++indent
|
||||
endwhile
|
||||
# not handling newlines in first words
|
||||
if quoted || in_delim
|
||||
return 0
|
||||
endif
|
||||
# no other word on this line
|
||||
if indent == end
|
||||
return 0
|
||||
endif
|
||||
# find beginning of next word
|
||||
indent += match(line[indent :], '[^[:space:]]')
|
||||
return indent
|
||||
enddef
|
||||
|
||||
def FindMatch(start: string, end: string): dict<any>
|
||||
# TODO too slow…
|
||||
# could try replicating C? might have false positives. Or make "100"
|
||||
# configurable number: for amounts of indent bodies, we're still fast enough…
|
||||
const [linenr, column] = searchpairpos(start, '', end, 'bnzW',
|
||||
() =>
|
||||
synID(line('.'), col('.'), 0)->synIDattr('name') =~? 'char\|string\|comment',
|
||||
line('.') > 100 ? line('.') - 100 : 0)
|
||||
if linenr > 0 && column > 0
|
||||
return {found: true, line: linenr, column: column}
|
||||
else
|
||||
return {found: false, line: linenr, column: column}
|
||||
endif
|
||||
enddef
|
||||
|
||||
def MatchMax(left: dict<any>, right: dict<any>): dict<any>
|
||||
if left == null_dict || !left.found
|
||||
return right
|
||||
endif
|
||||
if right == null_dict || !right.found
|
||||
return left
|
||||
endif
|
||||
# left and right non-null, both found
|
||||
return PosLT(left, right) ? right : left
|
||||
enddef
|
||||
|
||||
def PosLT(left: dict<any>, right: dict<any>): bool
|
||||
return left.line != right.line
|
||||
\ ? left.line < right.line
|
||||
\ : (left.column != right.column && left.column < right.column)
|
||||
enddef
|
||||
|
||||
def IsForFold(word: string): bool
|
||||
return ['for/fold', 'for/foldr', 'for*/fold', 'for*/foldr']->index(word) >= 0
|
||||
enddef
|
||||
|
||||
def IsSecondForm(blnum: number, bcol: number, vlnum: number): bool
|
||||
var forms_seen: number # "top-level" (inside for/fold) counter only
|
||||
var [lnum, col] = [blnum, bcol + 1]
|
||||
cursor(lnum, col)
|
||||
var stack: list<string> = []
|
||||
|
||||
while lnum <= vlnum
|
||||
const found = search(brackets_pattern, '', vlnum, 0, () =>
|
||||
synID(line('.'), col('.'), 0)->synIDattr('name') =~? 'char\|string\|comment')
|
||||
if found <= 0
|
||||
break
|
||||
endif
|
||||
const pos = getcursorcharpos()
|
||||
lnum = pos[1]
|
||||
col = pos[2]
|
||||
var current_char = getline(lnum)[col - 1]
|
||||
# assert_report(printf('search: %d, %d: %s', lnum, col, current_char))
|
||||
# assert_report(printf('forms seen post-search: %d', forms_seen))
|
||||
if index(openers, current_char) >= 0
|
||||
insert(stack, current_char)
|
||||
elseif !empty(stack) && current_char ==# closers[stack[0]]
|
||||
stack = stack[1 :]
|
||||
if empty(stack)
|
||||
++forms_seen
|
||||
endif
|
||||
else
|
||||
# parse failure of some kind: not an opener or not the correct closer
|
||||
return false
|
||||
endif
|
||||
# assert_report(printf('forms seen pre-check: %d', forms_seen))
|
||||
if forms_seen > 2
|
||||
return false
|
||||
endif
|
||||
endwhile
|
||||
|
||||
# assert_report(printf('forms seen pre-return: %d', forms_seen))
|
||||
return forms_seen == 2 || (forms_seen == 1 && !empty(stack))
|
||||
enddef
|
||||
@@ -25,7 +25,7 @@ function! rustfmt#DetectVersion()
|
||||
silent let s:rustfmt_help = system(g:rustfmt_command . " --help")
|
||||
let s:rustfmt_unstable_features = s:rustfmt_help =~# "--unstable-features"
|
||||
|
||||
" Build a comparable rustfmt version varible out of its `--version` output:
|
||||
" Build a comparable rustfmt version variable out of its `--version` output:
|
||||
silent let l:rustfmt_version_full = system(g:rustfmt_command . " --version")
|
||||
let l:rustfmt_version_list = matchlist(l:rustfmt_version_full,
|
||||
\ '\vrustfmt ([0-9]+[.][0-9]+[.][0-9]+)')
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" tar.vim: Handles browsing tarfiles
|
||||
" AUTOLOAD PORTION
|
||||
" Date: Jan 07, 2020
|
||||
" Version: 32
|
||||
" Date: Nov 14, 2023
|
||||
" Version: 32b (with modifications from the Vim Project)
|
||||
" Maintainer: Charles E Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
|
||||
" License: Vim License (see vim's :help license)
|
||||
"
|
||||
@@ -22,7 +22,7 @@
|
||||
if &cp || exists("g:loaded_tar")
|
||||
finish
|
||||
endif
|
||||
let g:loaded_tar= "v32"
|
||||
let g:loaded_tar= "v32a"
|
||||
if v:version < 702
|
||||
echohl WarningMsg
|
||||
echo "***warning*** this version of tar needs vim 7.2"
|
||||
@@ -208,18 +208,24 @@ fun! tar#Browse(tarfile)
|
||||
" call Dret("tar#Browse : a:tarfile<".a:tarfile.">")
|
||||
return
|
||||
endif
|
||||
if line("$") == curlast || ( line("$") == (curlast + 1) && getline("$") =~# '\c\%(warning\|error\|inappropriate\|unrecognized\)')
|
||||
redraw!
|
||||
echohl WarningMsg | echo "***warning*** (tar#Browse) ".a:tarfile." doesn't appear to be a tar file" | echohl None
|
||||
keepj sil! %d
|
||||
let eikeep= &ei
|
||||
set ei=BufReadCmd,FileReadCmd
|
||||
exe "r ".fnameescape(a:tarfile)
|
||||
let &ei= eikeep
|
||||
keepj sil! 1d
|
||||
" call Dret("tar#Browse : a:tarfile<".a:tarfile.">")
|
||||
return
|
||||
endif
|
||||
"
|
||||
" The following should not be neccessary, since in case of errors the
|
||||
" previous if statement should have caught the problem (because tar exited
|
||||
" with a non-zero exit code).
|
||||
" if line("$") == curlast || ( line("$") == (curlast + 1) &&
|
||||
" \ getline("$") =~# '\c\<\%(warning\|error\|inappropriate\|unrecognized\)\>' &&
|
||||
" \ getline("$") =~ '\s' )
|
||||
" redraw!
|
||||
" echohl WarningMsg | echo "***warning*** (tar#Browse) ".a:tarfile." doesn't appear to be a tar file" | echohl None
|
||||
" keepj sil! %d
|
||||
" let eikeep= &ei
|
||||
" set ei=BufReadCmd,FileReadCmd
|
||||
" exe "r ".fnameescape(a:tarfile)
|
||||
" let &ei= eikeep
|
||||
" keepj sil! 1d
|
||||
" call Dret("tar#Browse : a:tarfile<".a:tarfile.">")
|
||||
" return
|
||||
" endif
|
||||
|
||||
" set up maps supported for tar
|
||||
setlocal noma nomod ro
|
||||
|
||||
@@ -97,7 +97,7 @@ enddef
|
||||
|
||||
# Public interface {{{
|
||||
# When a TeX document is split into several source files, each source file
|
||||
# may contain a "magic line" specifiying the "root" file, e.g.:
|
||||
# may contain a "magic line" specifying the "root" file, e.g.:
|
||||
#
|
||||
# % !TEX root = main.tex
|
||||
#
|
||||
|
||||
@@ -57,14 +57,10 @@ if !exists("g:zip_extractcmd")
|
||||
let g:zip_extractcmd= g:zip_unzipcmd
|
||||
endif
|
||||
|
||||
let s:tmp_cwd = getcwd()
|
||||
if (fnamemodify(exepath(g:zip_unzipcmd), ":p:h") ==# getcwd()
|
||||
\ && (index(split($PATH,has("win32")? ';' : ':'), s:tmp_cwd) == -1 || s:tmp_cwd == '.'))
|
||||
unlet s:tmp_cwd
|
||||
if !dist#vim#IsSafeExecutable('zip', g:zip_unzipcmd)
|
||||
echoerr "Warning: NOT executing " .. g:zip_unzipcmd .. " from current directory!"
|
||||
finish
|
||||
endif
|
||||
unlet s:tmp_cwd
|
||||
|
||||
" ----------------
|
||||
" Functions: {{{1
|
||||
|
||||
@@ -111,11 +111,11 @@ please check the following items:
|
||||
- Do not use hard coded escape sequences, these will not work in other
|
||||
terminals. Always use #RRGGBB for the GUI.
|
||||
|
||||
- When targetting 8-16 colors terminals, don't count on "darkblue" to be blue
|
||||
- When targeting 8-16 colors terminals, don't count on "darkblue" to be blue
|
||||
and dark, or on "2" to be even vaguely reddish. Names are more portable
|
||||
than numbers, though.
|
||||
|
||||
- When targetting 256 colors terminals, prefer colors 16-255 to colors 0-15
|
||||
- When targeting 256 colors terminals, prefer colors 16-255 to colors 0-15
|
||||
for the same reason.
|
||||
|
||||
- Typographic attributes (bold, italic, underline, reverse, etc.) are not
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Original maintainer Steven Vertigan <steven@vertigan.wattle.id.au>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 02 Sep 2022 09:41:44 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:33
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'blue'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#000000', '#cd0000', '#00cd00', '#cdcd00', '#0000ee', '#cd00cd', '#00cdcd', '#e5e5e5', '#7f7f7f', '#ff0000', '#00ff00', '#ffff00', '#5c5cff', '#ff00ff', '#00ffff', '#ffffff']
|
||||
@@ -583,4 +583,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Original author Bohdan Vlasyuk <bohdan@vstu.edu.ua>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 02 Sep 2022 09:40:36 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:33
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'darkblue'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#000000', '#8b0000', '#90f020', '#ffa500', '#00008b', '#8b008b', '#008b8b', '#c0c0c0', '#808080', '#ffa0a0', '#90f020', '#ffff60', '#0030ff', '#ff00ff', '#90fff0', '#ffffff']
|
||||
@@ -467,4 +467,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Original maintainer David Schweikert <david@schweikert.ch>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Sun 04 Sep 2022 09:31:26 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:34
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=light
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'delek'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#ffffff', '#0000ff', '#00cd00', '#cd00cd', '#008b8b', '#0000ff', '#ff1493', '#bcbcbc', '#ee0000', '#0000ff', '#00cd00', '#cd00cd', '#008b8b', '#0000ff', '#ff1493', '#000000']
|
||||
@@ -408,4 +408,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Original maintainer Hans Fugal <hans@fugal.net>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 02 Sep 2022 09:39:21 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:34
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'desert'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#7f7f8c', '#cd5c5c', '#9acd32', '#bdb76b', '#75a0ff', '#eeee00', '#cd853f', '#666666', '#8a7f7f', '#ff0000', '#89fb98', '#f0e68c', '#6dceeb', '#ffde9b', '#ffa0a0', '#c2bfa5']
|
||||
@@ -397,4 +397,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -3,16 +3,16 @@
|
||||
" Maintainer: original maintainer Ron Aaron <ron@ronware.org>
|
||||
" Website: https://www.github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 02 Sep 2022 09:44:22 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:35
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'elflord'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
hi! link Terminal Normal
|
||||
hi! link Boolean Constant
|
||||
@@ -446,4 +446,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Original maintainer Steven Vertigan <steven@vertigan.wattle.id.au>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Sun 04 Sep 2022 09:48:34 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:35
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'evening'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#000000', '#cd0000', '#00cd00', '#cdcd00', '#0087ff', '#cd00cd', '#00cdcd', '#e5e5e5', '#7f7f7f', '#ff0000', '#00ff00', '#ffff00', '#5c5cff', '#ff00ff', '#00ffff', '#ffffff']
|
||||
@@ -528,4 +528,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Maxim Kim <habamax@gmail.com>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 24 Mar 2023 20:28:06 AEDT
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:35
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'habamax'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#1c1c1c', '#d75f5f', '#87af87', '#afaf87', '#5f87af', '#af87af', '#5f8787', '#9e9e9e', '#767676', '#d7875f', '#afd7af', '#d7d787', '#87afd7', '#d7afd7', '#87afaf', '#bcbcbc']
|
||||
@@ -465,4 +465,4 @@ endif
|
||||
" Color: white #dadada 253 white
|
||||
" Term colors: color00 color01 color02 color03 color04 color05 color06 color07
|
||||
" Term colors: color08 color09 color10 color11 color12 color13 color14 color15
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Original maintainer Shian Lee.
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Sun 04 Sep 2022 09:50:04 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:36
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'industry'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#303030', '#870000', '#5fd75f', '#afaf00', '#87afff', '#af00af', '#00afaf', '#6c6c6c', '#444444', '#ff0000', '#00ff00', '#ffff00', '#005fff', '#ff00ff', '#00ffff', '#ffffff']
|
||||
@@ -409,4 +409,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -3,16 +3,16 @@
|
||||
" Maintainer: original maintainer Ron Aaron <ron@ronware.org>
|
||||
" Website: https://www.github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 02 Sep 2022 09:23:56 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:36
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'koehler'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
hi! link Terminal Normal
|
||||
hi! link Boolean Constant
|
||||
@@ -423,4 +423,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,20 +4,36 @@
|
||||
" Maintainer: Maxim Kim <habamax@gmail.com>
|
||||
" Website: https://www.github.com/vim/colorschemes
|
||||
" License: Vim License (see `:help license`)
|
||||
" Last Updated: Sun 26 Mar 2023 23:04:18 AEDT
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:37
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'lunaperche'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
hi! link helpVim Title
|
||||
hi! link helpHeader Title
|
||||
hi! link helpHyperTextJump Underlined
|
||||
hi! link fugitiveSymbolicRef PreProc
|
||||
hi! link fugitiveHeading Statement
|
||||
hi! link fugitiveStagedHeading Statement
|
||||
hi! link fugitiveUnstagedHeading Statement
|
||||
hi! link fugitiveUntrackedHeading Statement
|
||||
hi! link fugitiveStagedModifier PreProc
|
||||
hi! link fugitiveUnstagedModifier PreProc
|
||||
hi! link fugitiveHash Constant
|
||||
hi! link diffFile PreProc
|
||||
hi! link markdownHeadingDelimiter Special
|
||||
hi! link rstSectionDelimiter Statement
|
||||
hi! link rstDirective PreProc
|
||||
hi! link rstHyperlinkReference Special
|
||||
hi! link rstFieldName Constant
|
||||
hi! link rstDelimiter Special
|
||||
hi! link rstInterpretedText Special
|
||||
hi! link rstCodeBlock Normal
|
||||
hi! link rstLiteralBlock rstCodeBlock
|
||||
hi! link markdownUrl String
|
||||
hi! link colortemplateKey Statement
|
||||
hi! link xmlTagName Statement
|
||||
@@ -118,10 +134,10 @@ if &background ==# 'dark'
|
||||
hi WildMenu guifg=#000000 guibg=#ffd787 gui=bold cterm=bold
|
||||
hi debugPC guifg=#5f87af guibg=NONE gui=reverse cterm=reverse
|
||||
hi debugBreakpoint guifg=#5fafaf guibg=NONE gui=reverse cterm=reverse
|
||||
hi Cursor guifg=NONE guibg=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi Cursor guifg=#000000 guibg=#ffffff gui=NONE cterm=NONE
|
||||
hi lCursor guifg=#ff5fff guibg=#000000 gui=reverse cterm=reverse
|
||||
hi Visual guifg=#ffffff guibg=#005f87 gui=NONE cterm=NONE
|
||||
hi MatchParen guifg=#c5e7c5 guibg=#000000 gui=reverse cterm=reverse
|
||||
hi MatchParen guifg=#ff00af guibg=NONE gui=bold cterm=bold
|
||||
hi VisualNOS guifg=#000000 guibg=#5fafaf gui=NONE cterm=NONE
|
||||
hi CursorLine guifg=NONE guibg=#262626 gui=NONE cterm=NONE
|
||||
hi CursorColumn guifg=NONE guibg=#262626 gui=NONE cterm=NONE
|
||||
@@ -208,10 +224,10 @@ else
|
||||
hi WildMenu guifg=#000000 guibg=#ffd787 gui=bold cterm=bold
|
||||
hi debugPC guifg=#005fd7 guibg=NONE gui=reverse cterm=reverse
|
||||
hi debugBreakpoint guifg=#005f5f guibg=NONE gui=reverse cterm=reverse
|
||||
hi Cursor guifg=NONE guibg=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi Cursor guifg=#ffffff guibg=#000000 gui=NONE cterm=NONE
|
||||
hi lCursor guifg=#ff00ff guibg=#000000 gui=reverse cterm=reverse
|
||||
hi Visual guifg=#ffffff guibg=#5f87af gui=NONE cterm=NONE
|
||||
hi MatchParen guifg=NONE guibg=#c5e7c5 gui=NONE cterm=NONE
|
||||
hi MatchParen guifg=#ff00af guibg=NONE gui=bold cterm=bold
|
||||
hi VisualNOS guifg=#ffffff guibg=#008787 gui=NONE cterm=NONE
|
||||
hi CursorLine guifg=NONE guibg=#eeeeee gui=NONE cterm=NONE
|
||||
hi CursorColumn guifg=NONE guibg=#eeeeee gui=NONE cterm=NONE
|
||||
@@ -262,8 +278,24 @@ if s:t_Co >= 256
|
||||
hi! link helpVim Title
|
||||
hi! link helpHeader Title
|
||||
hi! link helpHyperTextJump Underlined
|
||||
hi! link fugitiveSymbolicRef PreProc
|
||||
hi! link fugitiveHeading Statement
|
||||
hi! link fugitiveStagedHeading Statement
|
||||
hi! link fugitiveUnstagedHeading Statement
|
||||
hi! link fugitiveUntrackedHeading Statement
|
||||
hi! link fugitiveStagedModifier PreProc
|
||||
hi! link fugitiveUnstagedModifier PreProc
|
||||
hi! link fugitiveHash Constant
|
||||
hi! link diffFile PreProc
|
||||
hi! link markdownHeadingDelimiter Special
|
||||
hi! link rstSectionDelimiter Statement
|
||||
hi! link rstDirective PreProc
|
||||
hi! link rstHyperlinkReference Special
|
||||
hi! link rstFieldName Constant
|
||||
hi! link rstDelimiter Special
|
||||
hi! link rstInterpretedText Special
|
||||
hi! link rstCodeBlock Normal
|
||||
hi! link rstLiteralBlock rstCodeBlock
|
||||
hi! link markdownUrl String
|
||||
hi! link colortemplateKey Statement
|
||||
hi! link xmlTagName Statement
|
||||
@@ -362,7 +394,7 @@ if s:t_Co >= 256
|
||||
hi debugPC ctermfg=67 ctermbg=NONE cterm=reverse
|
||||
hi debugBreakpoint ctermfg=73 ctermbg=NONE cterm=reverse
|
||||
hi Visual ctermfg=231 ctermbg=24 cterm=NONE
|
||||
hi MatchParen ctermfg=30 ctermbg=16 cterm=reverse
|
||||
hi MatchParen ctermfg=199 ctermbg=NONE cterm=bold
|
||||
hi VisualNOS ctermfg=16 ctermbg=73 cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=235 cterm=NONE
|
||||
hi CursorColumn ctermfg=NONE ctermbg=235 cterm=NONE
|
||||
@@ -447,7 +479,7 @@ if s:t_Co >= 256
|
||||
hi debugPC ctermfg=26 ctermbg=NONE cterm=reverse
|
||||
hi debugBreakpoint ctermfg=23 ctermbg=NONE cterm=reverse
|
||||
hi Visual ctermfg=231 ctermbg=67 cterm=NONE
|
||||
hi MatchParen ctermfg=30 ctermbg=231 cterm=reverse
|
||||
hi MatchParen ctermfg=199 ctermbg=NONE cterm=bold
|
||||
hi VisualNOS ctermfg=231 ctermbg=30 cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=255 cterm=NONE
|
||||
hi CursorColumn ctermfg=NONE ctermbg=255 cterm=NONE
|
||||
@@ -537,8 +569,7 @@ if s:t_Co >= 16
|
||||
hi WildMenu ctermfg=black ctermbg=yellow cterm=bold
|
||||
hi debugPC ctermfg=darkblue ctermbg=NONE cterm=reverse
|
||||
hi debugBreakpoint ctermfg=darkcyan ctermbg=NONE cterm=reverse
|
||||
hi Visual ctermfg=white ctermbg=darkblue cterm=NONE
|
||||
hi MatchParen ctermfg=darkcyan ctermbg=black cterm=reverse
|
||||
hi MatchParen ctermfg=NONE ctermbg=NONE cterm=bold,underline
|
||||
hi VisualNOS ctermfg=black ctermbg=darkcyan cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi CursorColumn ctermfg=black ctermbg=yellow cterm=NONE
|
||||
@@ -623,7 +654,7 @@ if s:t_Co >= 16
|
||||
hi debugPC ctermfg=darkblue ctermbg=NONE cterm=reverse
|
||||
hi debugBreakpoint ctermfg=darkcyan ctermbg=NONE cterm=reverse
|
||||
hi Visual ctermfg=white ctermbg=darkblue cterm=NONE
|
||||
hi MatchParen ctermfg=darkcyan ctermbg=white cterm=reverse
|
||||
hi MatchParen ctermfg=NONE ctermbg=NONE cterm=bold,underline
|
||||
hi VisualNOS ctermfg=black ctermbg=cyan cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi CursorColumn ctermfg=black ctermbg=yellow cterm=NONE
|
||||
@@ -714,7 +745,7 @@ if s:t_Co >= 8
|
||||
hi debugPC ctermfg=darkblue ctermbg=NONE cterm=reverse
|
||||
hi debugBreakpoint ctermfg=darkcyan ctermbg=NONE cterm=reverse
|
||||
hi Visual ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi MatchParen ctermfg=darkcyan ctermbg=black cterm=reverse
|
||||
hi MatchParen ctermfg=magenta ctermbg=NONE cterm=bold
|
||||
hi VisualNOS ctermfg=black ctermbg=darkcyan cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi CursorColumn ctermfg=black ctermbg=darkyellow cterm=NONE
|
||||
@@ -781,7 +812,7 @@ if s:t_Co >= 8
|
||||
hi debugPC ctermfg=darkblue ctermbg=NONE cterm=reverse
|
||||
hi debugBreakpoint ctermfg=darkcyan ctermbg=NONE cterm=reverse
|
||||
hi Visual ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi MatchParen ctermfg=darkcyan ctermbg=grey cterm=reverse
|
||||
hi MatchParen ctermfg=magenta ctermbg=NONE cterm=bold
|
||||
hi VisualNOS ctermfg=black ctermbg=darkcyan cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi CursorColumn ctermfg=black ctermbg=darkyellow cterm=NONE
|
||||
@@ -906,7 +937,7 @@ endif
|
||||
" Color: colorC #FFFFFF 231 white
|
||||
" Color: colorlC #FF5FFF 207 magenta
|
||||
" Color: colorV #005F87 24 darkblue
|
||||
" Color: colorMP #C5E7C5 30 darkcyan
|
||||
" Color: colorMP #ff00af 199 magenta
|
||||
" Color: colorPMenuSel #4e4e4e 239 darkcyan
|
||||
" Color: colorDim #878787 102 grey
|
||||
" Color: diffAdd #875f87 96 darkmagenta
|
||||
@@ -941,7 +972,7 @@ endif
|
||||
" Color: colorC #000000 16 black
|
||||
" Color: colorlC #FF00FF 201 magenta
|
||||
" Color: colorV #5F87AF 67 darkblue
|
||||
" Color: colorMP #C5E7C5 30 darkcyan
|
||||
" Color: colorMP #ff00af 199 magenta
|
||||
" Color: colorPMenuSel #C6C6C6 251 darkcyan
|
||||
" Color: colorDim #626262 241 darkgrey
|
||||
" Color: diffAdd #D7AFD7 182 darkmagenta
|
||||
@@ -952,4 +983,4 @@ endif
|
||||
" Term colors: color00 color01 color02 color03 color04 color05 color06 color07
|
||||
" Term colors: color08 color09 color10 color11 color12 color13 color14 color15
|
||||
" Background: any
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Original maintainer Bram Moolenaar <Bram@vim.org>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 02 Sep 2022 09:46:24 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:37
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=light
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'morning'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#e4e4e4', '#a52a2a', '#ff00ff', '#6a0dad', '#008787', '#2e8b57', '#6a5acd', '#bcbcbc', '#0000ff', '#a52a2a', '#ff00ff', '#6a0dad', '#008787', '#2e8b57', '#6a5acd', '#000000']
|
||||
@@ -400,4 +400,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Original maintainer Ron Aaron <ron@ronware.org>.
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 02 Sep 2022 09:47:20 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:38
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'murphy'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#303030', '#ffa700', '#005f00', '#ffd7af', '#87afff', '#ffafaf', '#00afaf', '#bcbcbc', '#444444', '#ff0000', '#00875f', '#ffff00', '#005fff', '#ff00ff', '#00ffff', '#ffffff']
|
||||
@@ -394,4 +394,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -3,16 +3,16 @@
|
||||
" Maintainer: Original maintainerRon Aaron <ron@ronware.org>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Wed 14 Sep 2022 19:05:27 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:38
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'pablo'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#000000', '#cd0000', '#00cd00', '#cdcd00', '#0000ee', '#cd00cd', '#00cdcd', '#e5e5e5', '#7f7f7f', '#ff0000', '#00ff00', '#ffff00', '#5c5cff', '#ff00ff', '#00ffff', '#ffffff']
|
||||
@@ -427,4 +427,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Original maintainer David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 02 Sep 2022 09:50:02 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:39
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=light
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'peachpuff'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#ffdab9', '#a52a2a', '#c00058', '#cd00cd', '#008b8b', '#2e8b57', '#6a5acd', '#737373', '#406090', '#a52a2a', '#c00058', '#cd00cd', '#008b8b', '#2e8b57', '#6a5acd', '#000000']
|
||||
@@ -405,4 +405,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
" Maintainer: Maxence Weynans <neutaaaaan@gmail.com>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Vim License (see `:help license`)`
|
||||
" Last Updated: Wed 15 Mar 2023 06:45:06 PM CET
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:39
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'quiet'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
hi! link Terminal Normal
|
||||
hi! link StatusLineTerm StatusLine
|
||||
@@ -742,4 +742,4 @@ endif
|
||||
" Term colors: light0 light1 light2 light3 light4 light5 light6 light7
|
||||
" Term colors: light8 light9 light10 light11 light12 light13 light14 light15
|
||||
" Background: any
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
" Maintainer: Maxim Kim <habamax@gmail.com>, ported from gruvbox8 of Lifepillar <lifepillar@lifepillar.me>
|
||||
" Website: https://www.github.com/vim/colorschemes
|
||||
" License: Vim License (see `:help license`)
|
||||
" Last Updated: Sun 12 Mar 2023 15:14:04 AEDT
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:40
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'retrobox'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
hi! link CursorColumn CursorLine
|
||||
hi! link StatusLineTerm StatusLine
|
||||
@@ -61,7 +61,7 @@ if &background ==# 'dark'
|
||||
hi WildMenu guifg=#83a598 guibg=#504945 gui=bold cterm=bold
|
||||
hi EndOfBuffer guifg=#504945 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Conceal guifg=#83a598 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Cursor guifg=NONE guibg=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi Cursor guifg=#1c1c1c guibg=#fbf1c7 gui=NONE cterm=NONE
|
||||
hi DiffAdd guifg=#b8bb26 guibg=#1c1c1c gui=reverse cterm=reverse
|
||||
hi DiffChange guifg=#8ec07c guibg=#1c1c1c gui=reverse cterm=reverse
|
||||
hi DiffDelete guifg=#fb4934 guibg=#1c1c1c gui=reverse cterm=reverse
|
||||
@@ -112,7 +112,7 @@ if &background ==# 'dark'
|
||||
hi Type guifg=#fabd2f guibg=NONE gui=NONE cterm=NONE
|
||||
hi Typedef guifg=#fabd2f guibg=NONE gui=NONE cterm=NONE
|
||||
hi Underlined guifg=#83a598 guibg=NONE gui=underline cterm=underline
|
||||
hi CursorIM guifg=NONE guibg=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi CursorIM guifg=#1c1c1c guibg=#fbf1c7 gui=NONE cterm=NONE
|
||||
else
|
||||
" Light background
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
@@ -152,7 +152,7 @@ else
|
||||
hi WildMenu guifg=#076678 guibg=#e5d4b1 gui=bold cterm=bold
|
||||
hi EndOfBuffer guifg=#e5d4b1 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Conceal guifg=#076678 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Cursor guifg=NONE guibg=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi Cursor guifg=#fbf1c7 guibg=#282828 gui=NONE cterm=NONE
|
||||
hi DiffAdd guifg=#79740e guibg=#fbf1c7 gui=reverse cterm=reverse
|
||||
hi DiffChange guifg=#427b58 guibg=#fbf1c7 gui=reverse cterm=reverse
|
||||
hi DiffDelete guifg=#9d0006 guibg=#fbf1c7 gui=reverse cterm=reverse
|
||||
@@ -203,7 +203,7 @@ else
|
||||
hi Type guifg=#b57614 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Typedef guifg=#b57614 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Underlined guifg=#076678 guibg=NONE gui=underline cterm=underline
|
||||
hi CursorIM guifg=NONE guibg=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi CursorIM guifg=#fbf1c7 guibg=#282828 gui=NONE cterm=NONE
|
||||
endif
|
||||
|
||||
if s:t_Co >= 256
|
||||
@@ -242,7 +242,7 @@ if s:t_Co >= 256
|
||||
hi WildMenu ctermfg=109 ctermbg=239 cterm=bold
|
||||
hi EndOfBuffer ctermfg=239 ctermbg=NONE cterm=NONE
|
||||
hi Conceal ctermfg=109 ctermbg=NONE cterm=NONE
|
||||
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi Cursor ctermfg=234 ctermbg=230 cterm=NONE
|
||||
hi DiffAdd ctermfg=142 ctermbg=234 cterm=reverse
|
||||
hi DiffChange ctermfg=107 ctermbg=234 cterm=reverse
|
||||
hi DiffDelete ctermfg=203 ctermbg=234 cterm=reverse
|
||||
@@ -293,7 +293,7 @@ if s:t_Co >= 256
|
||||
hi Type ctermfg=214 ctermbg=NONE cterm=NONE
|
||||
hi Typedef ctermfg=214 ctermbg=NONE cterm=NONE
|
||||
hi Underlined ctermfg=109 ctermbg=NONE cterm=underline
|
||||
hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi CursorIM ctermfg=234 ctermbg=230 cterm=NONE
|
||||
else
|
||||
" Light background
|
||||
hi Normal ctermfg=237 ctermbg=230 cterm=NONE
|
||||
@@ -330,7 +330,7 @@ if s:t_Co >= 256
|
||||
hi WildMenu ctermfg=23 ctermbg=188 cterm=bold
|
||||
hi EndOfBuffer ctermfg=188 ctermbg=NONE cterm=NONE
|
||||
hi Conceal ctermfg=23 ctermbg=NONE cterm=NONE
|
||||
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi Cursor ctermfg=230 ctermbg=235 cterm=NONE
|
||||
hi DiffAdd ctermfg=64 ctermbg=230 cterm=reverse
|
||||
hi DiffChange ctermfg=29 ctermbg=230 cterm=reverse
|
||||
hi DiffDelete ctermfg=124 ctermbg=230 cterm=reverse
|
||||
@@ -381,7 +381,7 @@ if s:t_Co >= 256
|
||||
hi Type ctermfg=172 ctermbg=NONE cterm=NONE
|
||||
hi Typedef ctermfg=172 ctermbg=NONE cterm=NONE
|
||||
hi Underlined ctermfg=23 ctermbg=NONE cterm=underline
|
||||
hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi CursorIM ctermfg=230 ctermbg=235 cterm=NONE
|
||||
endif
|
||||
unlet s:t_Co
|
||||
finish
|
||||
@@ -423,7 +423,7 @@ if s:t_Co >= 16
|
||||
hi WildMenu ctermfg=White ctermbg=Black cterm=bold
|
||||
hi EndOfBuffer ctermfg=DarkGray ctermbg=NONE cterm=NONE
|
||||
hi Conceal ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi Cursor ctermfg=Black ctermbg=White cterm=NONE
|
||||
hi DiffAdd ctermfg=Green ctermbg=Black cterm=reverse
|
||||
hi DiffChange ctermfg=Cyan ctermbg=Black cterm=reverse
|
||||
hi DiffDelete ctermfg=Red ctermbg=Black cterm=reverse
|
||||
@@ -474,7 +474,7 @@ if s:t_Co >= 16
|
||||
hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Typedef ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Underlined ctermfg=Blue ctermbg=NONE cterm=underline
|
||||
hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi CursorIM ctermfg=Black ctermbg=White cterm=NONE
|
||||
else
|
||||
" Light background
|
||||
hi Normal ctermfg=Black ctermbg=White cterm=NONE
|
||||
@@ -511,7 +511,7 @@ if s:t_Co >= 16
|
||||
hi WildMenu ctermfg=Black ctermbg=White cterm=bold
|
||||
hi EndOfBuffer ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Conceal ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi Cursor ctermfg=White ctermbg=DarkGray cterm=NONE
|
||||
hi DiffAdd ctermfg=Green ctermbg=White cterm=reverse
|
||||
hi DiffChange ctermfg=Cyan ctermbg=White cterm=reverse
|
||||
hi DiffDelete ctermfg=Red ctermbg=White cterm=reverse
|
||||
@@ -562,7 +562,7 @@ if s:t_Co >= 16
|
||||
hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Typedef ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Underlined ctermfg=Blue ctermbg=NONE cterm=underline
|
||||
hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi CursorIM ctermfg=White ctermbg=DarkGray cterm=NONE
|
||||
endif
|
||||
unlet s:t_Co
|
||||
finish
|
||||
@@ -604,7 +604,7 @@ if s:t_Co >= 8
|
||||
hi WildMenu ctermfg=Blue ctermbg=DarkGray cterm=bold
|
||||
hi EndOfBuffer ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Conceal ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi Cursor ctermfg=Black ctermbg=White cterm=NONE
|
||||
hi DiffAdd ctermfg=Green ctermbg=Black cterm=reverse
|
||||
hi DiffChange ctermfg=Cyan ctermbg=Black cterm=reverse
|
||||
hi DiffDelete ctermfg=Red ctermbg=Black cterm=reverse
|
||||
@@ -655,7 +655,7 @@ if s:t_Co >= 8
|
||||
hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Typedef ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Underlined ctermfg=Blue ctermbg=NONE cterm=underline
|
||||
hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi CursorIM ctermfg=Black ctermbg=White cterm=NONE
|
||||
else
|
||||
" Light background
|
||||
hi Normal ctermfg=Black ctermbg=Grey cterm=NONE
|
||||
@@ -692,7 +692,7 @@ if s:t_Co >= 8
|
||||
hi WildMenu ctermfg=Blue ctermbg=Grey cterm=bold
|
||||
hi EndOfBuffer ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Conceal ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi Cursor ctermfg=White ctermbg=DarkGray cterm=NONE
|
||||
hi DiffAdd ctermfg=Green ctermbg=White cterm=reverse
|
||||
hi DiffChange ctermfg=Cyan ctermbg=White cterm=reverse
|
||||
hi DiffDelete ctermfg=Red ctermbg=White cterm=reverse
|
||||
@@ -743,7 +743,7 @@ if s:t_Co >= 8
|
||||
hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Typedef ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Underlined ctermfg=Blue ctermbg=NONE cterm=underline
|
||||
hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse
|
||||
hi CursorIM ctermfg=White ctermbg=DarkGray cterm=NONE
|
||||
endif
|
||||
unlet s:t_Co
|
||||
finish
|
||||
@@ -871,4 +871,4 @@ endif
|
||||
" Term colors: fg1 neutralred neutralgreen neutralyellow neutralblue neutralpurple neutralaqua fg4
|
||||
" Term colors: grey red green yellow blue purple aqua bg0
|
||||
" Background: any
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -3,16 +3,16 @@
|
||||
" Maintainer: original maintainer Ron Aaron <ron@ronware.org>
|
||||
" Website: https://www.github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 02 Sep 2022 09:50:56 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:41
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'ron'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
hi! link Terminal Normal
|
||||
hi! link Boolean Constant
|
||||
@@ -441,4 +441,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Original maintainer is Yasuhiro Matsumoto <mattn@mail.goo.ne.jp>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 02 Sep 2022 09:51:42 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:41
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=light
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'shine'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#000000', '#8b0000', '#006400', '#ffff00', '#00008b', '#6a0dad', '#008b8b', '#dadada', '#767676', '#ffafaf', '#90ee90', '#ffff60', '#add8e6', '#ff00ff', '#00ffff', '#ffffff']
|
||||
@@ -413,4 +413,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Original maintainer Ralph Amissah <ralph@amissah.com>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 02 Sep 2022 09:52:25 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:41
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'slate'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#000000', '#cd0000', '#00cd00', '#cdcd00', '#0000ee', '#cd00cd', '#00cdcd', '#e5e5e5', '#7f7f7f', '#ff0000', '#00ff00', '#ffff00', '#5c5cff', '#ff00ff', '#00ffff', '#ffffff']
|
||||
@@ -428,4 +428,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Maxence Weynans <neutaaaaan@gmail.com>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Vim License (see `:help license`)`
|
||||
" Last Updated: Wed 15 Mar 2023 05:40:19 PM CET
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:42
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'sorbet'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
hi! link Terminal Normal
|
||||
hi! link StatusLineTerm StatusLine
|
||||
@@ -441,4 +441,4 @@ endif
|
||||
" Color: errorred #ff5f5f 203 red
|
||||
" Term colors: dark0 dark1 dark2 dark3 dark4 dark5 dark6 dark7
|
||||
" Term colors: dark8 dark9 dark10 dark11 dark12 dark13 dark14 dark15
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Original maintainer Thorsten Maerz <info@netztorte.de>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 02 Sep 2022 09:53:21 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:42
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'torte'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#000000', '#cd0000', '#00cd00', '#cdcd00', '#0000ee', '#cd00cd', '#00cdcd', '#e5e5e5', '#7f7f7f', '#ff0000', '#00ff00', '#ffff00', '#5c5cff', '#ff00ff', '#00ffff', '#ffffff']
|
||||
@@ -420,4 +420,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
" Maintainer: Maxim Kim <habamax@gmail.com>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Sun 12 Mar 2023 18:46:06 AEDT
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:43
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'wildcharm'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
hi! link Terminal Normal
|
||||
hi! link StatuslineTerm Statusline
|
||||
@@ -51,8 +51,8 @@ if &background ==# 'dark'
|
||||
hi PmenuExtra guifg=#767676 guibg=#303030 gui=NONE cterm=NONE
|
||||
hi PmenuExtraSel guifg=#000000 guibg=#ffaf00 gui=NONE cterm=NONE
|
||||
hi SignColumn guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Error guifg=#ffffff guibg=#d7005f gui=NONE cterm=NONE
|
||||
hi ErrorMsg guifg=#ffffff guibg=#d7005f gui=NONE cterm=NONE
|
||||
hi Error guifg=#d7005f guibg=#ffffff gui=reverse cterm=reverse
|
||||
hi ErrorMsg guifg=#d7005f guibg=#ffffff gui=reverse cterm=reverse
|
||||
hi ModeMsg guifg=NONE guibg=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi MoreMsg guifg=#00d75f guibg=NONE gui=NONE cterm=NONE
|
||||
hi Question guifg=#ff87ff guibg=NONE gui=NONE cterm=NONE
|
||||
@@ -63,9 +63,9 @@ if &background ==# 'dark'
|
||||
hi WildMenu guifg=#000000 guibg=#ffaf00 gui=NONE cterm=NONE
|
||||
hi debugPC guifg=#0087d7 guibg=NONE gui=reverse cterm=reverse
|
||||
hi debugBreakpoint guifg=#00afaf guibg=NONE gui=reverse cterm=reverse
|
||||
hi Cursor guifg=#ffffff guibg=#000000 gui=reverse cterm=reverse
|
||||
hi lCursor guifg=#ff5fff guibg=#000000 gui=reverse cterm=reverse
|
||||
hi Visual guifg=#000000 guibg=#0087d7 gui=NONE cterm=NONE
|
||||
hi Cursor guifg=#000000 guibg=#ffffff gui=NONE cterm=NONE
|
||||
hi lCursor guifg=#000000 guibg=#ff5fff gui=NONE cterm=NONE
|
||||
hi Visual guifg=#0087d7 guibg=#000000 gui=reverse cterm=reverse
|
||||
hi VisualNOS guifg=#000000 guibg=#00afff gui=NONE cterm=NONE
|
||||
hi CursorLine guifg=NONE guibg=#262626 gui=NONE cterm=NONE
|
||||
hi CursorColumn guifg=NONE guibg=#262626 gui=NONE cterm=NONE
|
||||
@@ -125,8 +125,8 @@ else
|
||||
hi PmenuExtra guifg=#808080 guibg=#e4e4e4 gui=NONE cterm=NONE
|
||||
hi PmenuExtraSel guifg=#ffffff guibg=#d78700 gui=NONE cterm=NONE
|
||||
hi SignColumn guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Error guifg=#ffffff guibg=#d70000 gui=NONE cterm=NONE
|
||||
hi ErrorMsg guifg=#ffffff guibg=#d70000 gui=NONE cterm=NONE
|
||||
hi Error guifg=#d70000 guibg=#ffffff gui=reverse cterm=reverse
|
||||
hi ErrorMsg guifg=#d70000 guibg=#ffffff gui=reverse cterm=reverse
|
||||
hi ModeMsg guifg=NONE guibg=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi MoreMsg guifg=#008700 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Question guifg=#870087 guibg=NONE gui=NONE cterm=NONE
|
||||
@@ -137,9 +137,9 @@ else
|
||||
hi WildMenu guifg=#ffffff guibg=#d78700 gui=NONE cterm=NONE
|
||||
hi debugPC guifg=#005faf guibg=NONE gui=reverse cterm=reverse
|
||||
hi debugBreakpoint guifg=#008787 guibg=NONE gui=reverse cterm=reverse
|
||||
hi Cursor guifg=#000000 guibg=#ffffff gui=reverse cterm=reverse
|
||||
hi lCursor guifg=#ff00ff guibg=#000000 gui=reverse cterm=reverse
|
||||
hi Visual guifg=#ffffff guibg=#0087d7 gui=NONE cterm=NONE
|
||||
hi Cursor guifg=#ffffff guibg=#000000 gui=NONE cterm=NONE
|
||||
hi lCursor guifg=#000000 guibg=#ff00ff gui=NONE cterm=NONE
|
||||
hi Visual guifg=#0087d7 guibg=#ffffff gui=reverse cterm=reverse
|
||||
hi VisualNOS guifg=#ffffff guibg=#005faf gui=NONE cterm=NONE
|
||||
hi CursorLine guifg=NONE guibg=#eeeeee gui=NONE cterm=NONE
|
||||
hi CursorColumn guifg=NONE guibg=#eeeeee gui=NONE cterm=NONE
|
||||
@@ -207,8 +207,8 @@ if s:t_Co >= 256
|
||||
hi PmenuExtra ctermfg=243 ctermbg=236 cterm=NONE
|
||||
hi PmenuExtraSel ctermfg=16 ctermbg=214 cterm=NONE
|
||||
hi SignColumn ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Error ctermfg=231 ctermbg=161 cterm=NONE
|
||||
hi ErrorMsg ctermfg=231 ctermbg=161 cterm=NONE
|
||||
hi Error ctermfg=161 ctermbg=231 cterm=reverse
|
||||
hi ErrorMsg ctermfg=161 ctermbg=231 cterm=reverse
|
||||
hi ModeMsg ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi MoreMsg ctermfg=41 ctermbg=NONE cterm=NONE
|
||||
hi Question ctermfg=213 ctermbg=NONE cterm=NONE
|
||||
@@ -219,7 +219,7 @@ if s:t_Co >= 256
|
||||
hi WildMenu ctermfg=16 ctermbg=214 cterm=NONE
|
||||
hi debugPC ctermfg=32 ctermbg=NONE cterm=reverse
|
||||
hi debugBreakpoint ctermfg=37 ctermbg=NONE cterm=reverse
|
||||
hi Visual ctermfg=16 ctermbg=32 cterm=NONE
|
||||
hi Visual ctermfg=32 ctermbg=16 cterm=reverse
|
||||
hi VisualNOS ctermfg=16 ctermbg=39 cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=235 cterm=NONE
|
||||
hi CursorColumn ctermfg=NONE ctermbg=235 cterm=NONE
|
||||
@@ -276,8 +276,8 @@ if s:t_Co >= 256
|
||||
hi PmenuExtra ctermfg=240 ctermbg=254 cterm=NONE
|
||||
hi PmenuExtraSel ctermfg=231 ctermbg=172 cterm=NONE
|
||||
hi SignColumn ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Error ctermfg=231 ctermbg=160 cterm=NONE
|
||||
hi ErrorMsg ctermfg=231 ctermbg=160 cterm=NONE
|
||||
hi Error ctermfg=160 ctermbg=231 cterm=reverse
|
||||
hi ErrorMsg ctermfg=160 ctermbg=231 cterm=reverse
|
||||
hi ModeMsg ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi MoreMsg ctermfg=28 ctermbg=NONE cterm=NONE
|
||||
hi Question ctermfg=90 ctermbg=NONE cterm=NONE
|
||||
@@ -288,7 +288,7 @@ if s:t_Co >= 256
|
||||
hi WildMenu ctermfg=231 ctermbg=172 cterm=NONE
|
||||
hi debugPC ctermfg=25 ctermbg=NONE cterm=reverse
|
||||
hi debugBreakpoint ctermfg=30 ctermbg=NONE cterm=reverse
|
||||
hi Visual ctermfg=231 ctermbg=32 cterm=NONE
|
||||
hi Visual ctermfg=32 ctermbg=231 cterm=reverse
|
||||
hi VisualNOS ctermfg=231 ctermbg=25 cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=255 cterm=NONE
|
||||
hi CursorColumn ctermfg=NONE ctermbg=255 cterm=NONE
|
||||
@@ -350,8 +350,8 @@ if s:t_Co >= 16
|
||||
hi PmenuExtra ctermfg=darkgrey ctermbg=grey cterm=NONE
|
||||
hi PmenuExtraSel ctermfg=black ctermbg=darkyellow cterm=NONE
|
||||
hi SignColumn ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Error ctermfg=white ctermbg=darkred cterm=NONE
|
||||
hi ErrorMsg ctermfg=white ctermbg=darkred cterm=NONE
|
||||
hi Error ctermfg=darkred ctermbg=white cterm=reverse
|
||||
hi ErrorMsg ctermfg=darkred ctermbg=white cterm=reverse
|
||||
hi ModeMsg ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi MoreMsg ctermfg=green ctermbg=NONE cterm=NONE
|
||||
hi Question ctermfg=magenta ctermbg=NONE cterm=NONE
|
||||
@@ -362,7 +362,7 @@ if s:t_Co >= 16
|
||||
hi WildMenu ctermfg=black ctermbg=yellow cterm=NONE
|
||||
hi debugPC ctermfg=darkblue ctermbg=NONE cterm=reverse
|
||||
hi debugBreakpoint ctermfg=darkcyan ctermbg=NONE cterm=reverse
|
||||
hi Visual ctermfg=black ctermbg=darkblue cterm=NONE
|
||||
hi Visual ctermfg=darkblue ctermbg=black cterm=reverse
|
||||
hi VisualNOS ctermfg=black ctermbg=blue cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi CursorColumn ctermfg=black ctermbg=yellow cterm=NONE
|
||||
@@ -419,8 +419,8 @@ if s:t_Co >= 16
|
||||
hi PmenuExtra ctermfg=darkgrey ctermbg=grey cterm=NONE
|
||||
hi PmenuExtraSel ctermfg=black ctermbg=darkyellow cterm=NONE
|
||||
hi SignColumn ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Error ctermfg=white ctermbg=red cterm=NONE
|
||||
hi ErrorMsg ctermfg=white ctermbg=red cterm=NONE
|
||||
hi Error ctermfg=red ctermbg=white cterm=reverse
|
||||
hi ErrorMsg ctermfg=red ctermbg=white cterm=reverse
|
||||
hi ModeMsg ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi MoreMsg ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
hi Question ctermfg=darkmagenta ctermbg=NONE cterm=NONE
|
||||
@@ -431,7 +431,7 @@ if s:t_Co >= 16
|
||||
hi WildMenu ctermfg=white ctermbg=yellow cterm=NONE
|
||||
hi debugPC ctermfg=darkblue ctermbg=NONE cterm=reverse
|
||||
hi debugBreakpoint ctermfg=darkcyan ctermbg=NONE cterm=reverse
|
||||
hi Visual ctermfg=white ctermbg=blue cterm=NONE
|
||||
hi Visual ctermfg=blue ctermbg=white cterm=reverse
|
||||
hi VisualNOS ctermfg=white ctermbg=darkblue cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi CursorColumn ctermfg=black ctermbg=yellow cterm=NONE
|
||||
@@ -505,7 +505,7 @@ if s:t_Co >= 8
|
||||
hi WildMenu ctermfg=black ctermbg=darkyellow cterm=NONE
|
||||
hi debugPC ctermfg=darkblue ctermbg=NONE cterm=reverse
|
||||
hi debugBreakpoint ctermfg=darkcyan ctermbg=NONE cterm=reverse
|
||||
hi Visual ctermfg=black ctermbg=darkblue cterm=NONE
|
||||
hi Visual ctermfg=darkblue ctermbg=black cterm=reverse
|
||||
hi MatchParen ctermfg=NONE ctermbg=NONE cterm=bold,underline
|
||||
hi VisualNOS ctermfg=black ctermbg=darkblue cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
@@ -572,7 +572,7 @@ if s:t_Co >= 8
|
||||
hi WildMenu ctermfg=black ctermbg=darkyellow cterm=NONE
|
||||
hi debugPC ctermfg=darkblue ctermbg=NONE cterm=reverse
|
||||
hi debugBreakpoint ctermfg=darkcyan ctermbg=NONE cterm=reverse
|
||||
hi Visual ctermfg=grey ctermbg=darkblue cterm=NONE
|
||||
hi Visual ctermfg=darkblue ctermbg=grey cterm=reverse
|
||||
hi MatchParen ctermfg=NONE ctermbg=NONE cterm=bold,underline
|
||||
hi VisualNOS ctermfg=black ctermbg=darkblue cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
@@ -750,4 +750,4 @@ endif
|
||||
" Term colors: color00 color01 color02 color03 color04 color05 color06 color07
|
||||
" Term colors: color08 color09 color10 color11 color12 color13 color14 color15
|
||||
" Background: any
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Sun Mar 12 17:21:15 2023
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:43
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'zaibatsu'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !empty(&t_Co) && &t_Co > 1 ? &t_Co : 1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#0e0024', '#d7005f', '#00af5f', '#ffaf00', '#5f5fff', '#d700ff', '#00afff', '#d7d5db', '#878092', '#ff5faf', '#00d700', '#ffd700', '#8787ff', '#ff87ff', '#00ffff', '#ffffff']
|
||||
@@ -560,4 +560,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
" Maintainer: Original maintainer Ron Aaron <ron@ronware.org>
|
||||
" Website: https://github.com/vim/colorschemes
|
||||
" License: Same as Vim
|
||||
" Last Updated: Fri 02 Sep 2022 09:54:15 MSK
|
||||
" Last Updated: Fri 15 Dec 2023 20:05:44
|
||||
|
||||
" Generated by Colortemplate v2.2.0
|
||||
" Generated by Colortemplate v2.2.3
|
||||
|
||||
set background=light
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'zellner'
|
||||
|
||||
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ?? 0) : -1
|
||||
let s:t_Co = has('gui_running') ? -1 : (&t_Co ?? 0)
|
||||
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
let g:terminal_ansi_colors = ['#ffffff', '#a52a2a', '#ff00ff', '#a020f0', '#0000ff', '#0000ff', '#ff00ff', '#a9a9a9', '#ff0000', '#a52a2a', '#ff00ff', '#a020f0', '#0000ff', '#0000ff', '#ff00ff', '#000000']
|
||||
@@ -408,4 +408,4 @@ endif
|
||||
" Color: fgDiffB #000000 16 black
|
||||
" Color: bgDiffC8 #5F87AF 67 darkblue
|
||||
" Color: bgDiffD8 #AF5FAF 133 darkmagenta
|
||||
" vim: et ts=2 sw=2
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
|
||||
@@ -3,7 +3,7 @@ vim9script
|
||||
# Language: ConTeXt typesetting engine
|
||||
# Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
|
||||
# Former Maintainers: Nikolai Weibull <now@bitwi.se>
|
||||
# Latest Revision: 2022 Aug 12
|
||||
# Latest Revision: 2023 Dec 26
|
||||
|
||||
if exists("g:current_compiler")
|
||||
finish
|
||||
|
||||
338
runtime/doc/Make_all.mak
Normal file
338
runtime/doc/Make_all.mak
Normal file
@@ -0,0 +1,338 @@
|
||||
# Makefile with common components
|
||||
|
||||
DOCS = \
|
||||
arabic.txt \
|
||||
autocmd.txt \
|
||||
builtin.txt \
|
||||
change.txt \
|
||||
channel.txt \
|
||||
cmdline.txt \
|
||||
debug.txt \
|
||||
debugger.txt \
|
||||
develop.txt \
|
||||
diff.txt \
|
||||
digraph.txt \
|
||||
editing.txt \
|
||||
eval.txt \
|
||||
farsi.txt \
|
||||
filetype.txt \
|
||||
fold.txt \
|
||||
ft_ada.txt \
|
||||
ft_context.txt \
|
||||
ft_mp.txt \
|
||||
ft_ps1.txt \
|
||||
ft_raku.txt \
|
||||
ft_rust.txt \
|
||||
ft_sql.txt \
|
||||
gui.txt \
|
||||
gui_w32.txt \
|
||||
gui_x11.txt \
|
||||
hangulin.txt \
|
||||
hebrew.txt \
|
||||
help.txt \
|
||||
helphelp.txt \
|
||||
howto.txt \
|
||||
if_cscop.txt \
|
||||
if_lua.txt \
|
||||
if_mzsch.txt \
|
||||
if_ole.txt \
|
||||
if_perl.txt \
|
||||
if_pyth.txt \
|
||||
if_ruby.txt \
|
||||
if_sniff.txt \
|
||||
if_tcl.txt \
|
||||
indent.txt \
|
||||
index.txt \
|
||||
insert.txt \
|
||||
intro.txt \
|
||||
map.txt \
|
||||
mbyte.txt \
|
||||
message.txt \
|
||||
mlang.txt \
|
||||
motion.txt \
|
||||
netbeans.txt \
|
||||
options.txt \
|
||||
os_390.txt \
|
||||
os_amiga.txt \
|
||||
os_beos.txt \
|
||||
os_dos.txt \
|
||||
os_haiku.txt \
|
||||
os_mac.txt \
|
||||
os_mint.txt \
|
||||
os_msdos.txt \
|
||||
os_os2.txt \
|
||||
os_qnx.txt \
|
||||
os_risc.txt \
|
||||
os_unix.txt \
|
||||
os_vms.txt \
|
||||
os_win32.txt \
|
||||
pattern.txt \
|
||||
pi_getscript.txt \
|
||||
pi_gzip.txt \
|
||||
pi_logipat.txt \
|
||||
pi_netrw.txt \
|
||||
pi_paren.txt \
|
||||
pi_spec.txt \
|
||||
pi_tar.txt \
|
||||
pi_vimball.txt \
|
||||
pi_zip.txt \
|
||||
popup.txt \
|
||||
print.txt \
|
||||
quickfix.txt \
|
||||
quickref.txt \
|
||||
quotes.txt \
|
||||
recover.txt \
|
||||
remote.txt \
|
||||
repeat.txt \
|
||||
rileft.txt \
|
||||
russian.txt \
|
||||
scroll.txt \
|
||||
sign.txt \
|
||||
spell.txt \
|
||||
sponsor.txt \
|
||||
starting.txt \
|
||||
syntax.txt \
|
||||
tabpage.txt \
|
||||
tagsrch.txt \
|
||||
term.txt \
|
||||
terminal.txt \
|
||||
testing.txt \
|
||||
textprop.txt \
|
||||
tips.txt \
|
||||
todo.txt \
|
||||
uganda.txt \
|
||||
undo.txt \
|
||||
userfunc.txt \
|
||||
usr_01.txt \
|
||||
usr_02.txt \
|
||||
usr_03.txt \
|
||||
usr_04.txt \
|
||||
usr_05.txt \
|
||||
usr_06.txt \
|
||||
usr_07.txt \
|
||||
usr_08.txt \
|
||||
usr_09.txt \
|
||||
usr_10.txt \
|
||||
usr_11.txt \
|
||||
usr_12.txt \
|
||||
usr_20.txt \
|
||||
usr_21.txt \
|
||||
usr_22.txt \
|
||||
usr_23.txt \
|
||||
usr_24.txt \
|
||||
usr_25.txt \
|
||||
usr_26.txt \
|
||||
usr_27.txt \
|
||||
usr_28.txt \
|
||||
usr_29.txt \
|
||||
usr_30.txt \
|
||||
usr_31.txt \
|
||||
usr_32.txt \
|
||||
usr_40.txt \
|
||||
usr_41.txt \
|
||||
usr_42.txt \
|
||||
usr_43.txt \
|
||||
usr_44.txt \
|
||||
usr_45.txt \
|
||||
usr_50.txt \
|
||||
usr_51.txt \
|
||||
usr_52.txt \
|
||||
usr_90.txt \
|
||||
usr_toc.txt \
|
||||
various.txt \
|
||||
version4.txt \
|
||||
version5.txt \
|
||||
version6.txt \
|
||||
version7.txt \
|
||||
version8.txt \
|
||||
version9.txt \
|
||||
vi_diff.txt \
|
||||
vim9.txt \
|
||||
vim9class.txt \
|
||||
visual.txt \
|
||||
windows.txt \
|
||||
workshop.txt
|
||||
|
||||
HTMLS = \
|
||||
arabic.html \
|
||||
autocmd.html \
|
||||
builtin.html \
|
||||
change.html \
|
||||
channel.html \
|
||||
cmdline.html \
|
||||
debug.html \
|
||||
debugger.html \
|
||||
develop.html \
|
||||
diff.html \
|
||||
digraph.html \
|
||||
editing.html \
|
||||
eval.html \
|
||||
farsi.html \
|
||||
filetype.html \
|
||||
fold.html \
|
||||
ft_ada.html \
|
||||
ft_context.html \
|
||||
ft_mp.html \
|
||||
ft_ps1.html \
|
||||
ft_raku.html \
|
||||
ft_rust.html \
|
||||
ft_sql.html \
|
||||
gui.html \
|
||||
gui_w32.html \
|
||||
gui_x11.html \
|
||||
hangulin.html \
|
||||
hebrew.html \
|
||||
helphelp.html \
|
||||
howto.html \
|
||||
if_cscop.html \
|
||||
if_lua.html \
|
||||
if_mzsch.html \
|
||||
if_ole.html \
|
||||
if_perl.html \
|
||||
if_pyth.html \
|
||||
if_ruby.html \
|
||||
if_sniff.html \
|
||||
if_tcl.html \
|
||||
indent.html \
|
||||
index.html \
|
||||
insert.html \
|
||||
intro.html \
|
||||
map.html \
|
||||
mbyte.html \
|
||||
message.html \
|
||||
mlang.html \
|
||||
motion.html \
|
||||
netbeans.html \
|
||||
options.html \
|
||||
os_390.html \
|
||||
os_amiga.html \
|
||||
os_beos.html \
|
||||
os_dos.html \
|
||||
os_haiku.html \
|
||||
os_mac.html \
|
||||
os_mint.html \
|
||||
os_msdos.html \
|
||||
os_os2.html \
|
||||
os_qnx.html \
|
||||
os_risc.html \
|
||||
os_unix.html \
|
||||
os_vms.html \
|
||||
os_win32.html \
|
||||
pattern.html \
|
||||
pi_getscript.html \
|
||||
pi_gzip.html \
|
||||
pi_logipat.html \
|
||||
pi_netrw.html \
|
||||
pi_paren.html \
|
||||
pi_spec.html \
|
||||
pi_tar.html \
|
||||
pi_vimball.html \
|
||||
pi_zip.html \
|
||||
popup.html \
|
||||
print.html \
|
||||
quickfix.html \
|
||||
quickref.html \
|
||||
quotes.html \
|
||||
recover.html \
|
||||
remote.html \
|
||||
repeat.html \
|
||||
rileft.html \
|
||||
russian.html \
|
||||
scroll.html \
|
||||
sign.html \
|
||||
spell.html \
|
||||
sponsor.html \
|
||||
starting.html \
|
||||
syntax.html \
|
||||
tabpage.html \
|
||||
tagsrch.html \
|
||||
term.html \
|
||||
terminal.html \
|
||||
testing.html \
|
||||
textprop.html \
|
||||
tips.html \
|
||||
todo.html \
|
||||
uganda.html \
|
||||
undo.html \
|
||||
userfunc.html \
|
||||
usr_01.html \
|
||||
usr_02.html \
|
||||
usr_03.html \
|
||||
usr_04.html \
|
||||
usr_05.html \
|
||||
usr_06.html \
|
||||
usr_07.html \
|
||||
usr_08.html \
|
||||
usr_09.html \
|
||||
usr_10.html \
|
||||
usr_11.html \
|
||||
usr_12.html \
|
||||
usr_20.html \
|
||||
usr_21.html \
|
||||
usr_22.html \
|
||||
usr_23.html \
|
||||
usr_24.html \
|
||||
usr_25.html \
|
||||
usr_26.html \
|
||||
usr_27.html \
|
||||
usr_28.html \
|
||||
usr_29.html \
|
||||
usr_30.html \
|
||||
usr_31.html \
|
||||
usr_32.html \
|
||||
usr_40.html \
|
||||
usr_41.html \
|
||||
usr_42.html \
|
||||
usr_43.html \
|
||||
usr_44.html \
|
||||
usr_45.html \
|
||||
usr_50.html \
|
||||
usr_51.html \
|
||||
usr_52.html \
|
||||
usr_90.html \
|
||||
usr_toc.html \
|
||||
various.html \
|
||||
version4.html \
|
||||
version5.html \
|
||||
version6.html \
|
||||
version7.html \
|
||||
version8.html \
|
||||
version9.html \
|
||||
vi_diff.html \
|
||||
vimindex.html \
|
||||
vim9.html \
|
||||
vim9class.html \
|
||||
visual.html \
|
||||
windows.html \
|
||||
workshop.html
|
||||
|
||||
CONVERTED = \
|
||||
vim-da.UTF-8.1 \
|
||||
vimdiff-da.UTF-8.1 \
|
||||
vimtutor-da.UTF-8.1 \
|
||||
vim-de.UTF-8.1 \
|
||||
vim-fr.UTF-8.1 \
|
||||
evim-fr.UTF-8.1 \
|
||||
vimdiff-fr.UTF-8.1 \
|
||||
vimtutor-fr.UTF-8.1 \
|
||||
xxd-fr.UTF-8.1 \
|
||||
vim-it.UTF-8.1 \
|
||||
evim-it.UTF-8.1 \
|
||||
vimdiff-it.UTF-8.1 \
|
||||
vimtutor-it.UTF-8.1 \
|
||||
xxd-it.UTF-8.1 \
|
||||
vim-pl.UTF-8.1 \
|
||||
evim-pl.UTF-8.1 \
|
||||
vimdiff-pl.UTF-8.1 \
|
||||
vimtutor-pl.UTF-8.1 \
|
||||
xxd-pl.UTF-8.1 \
|
||||
vim-ru.UTF-8.1 \
|
||||
evim-ru.UTF-8.1 \
|
||||
vimdiff-ru.UTF-8.1 \
|
||||
vimtutor-ru.UTF-8.1 \
|
||||
xxd-ru.UTF-8.1 \
|
||||
vim-tr.UTF-8.1 \
|
||||
evim-tr.UTF-8.1 \
|
||||
vimdiff-tr.UTF-8.1 \
|
||||
vimtutor-tr.UTF-8.1
|
||||
|
||||
490
runtime/doc/Make_mvc.mak
Normal file
490
runtime/doc/Make_mvc.mak
Normal file
@@ -0,0 +1,490 @@
|
||||
#
|
||||
# Makefile for the Vim documentation on Windows
|
||||
#
|
||||
# 17.11.23, Restorer, <restorer@mail2k.ru>
|
||||
|
||||
# Common components
|
||||
!INCLUDE Make_all.mak
|
||||
|
||||
|
||||
# TODO: to think about what to use instead of awk. PowerShell?
|
||||
#AWK =
|
||||
|
||||
# Correct the following line for the where executeable file vim is installed.
|
||||
# Please do not put the path in quotes.
|
||||
VIMEXE = D:\Programs\Vim\vim90\vim.exe
|
||||
|
||||
# Correct the following line for the directory where iconv installed.
|
||||
# Please do not put the path in quotes.
|
||||
ICONV_PATH = D:\Programs\GetText\bin
|
||||
|
||||
# In case some package like GnuWin32, UnixUtils
|
||||
# or something similar is installed on the system.
|
||||
# If the "touch" program is installed on the system, but it is not registered
|
||||
# in the %PATH% environment variable, then specify the full path to this file.
|
||||
!IF EXIST ("touch.exe")
|
||||
TOUCH = "touch.exe" %1
|
||||
!ELSE
|
||||
TOUCH = if exist %1 ( copy /b %1+,, ) else ( type nul >%1 )
|
||||
!ENDIF
|
||||
|
||||
# In case some package like GnuWin32, UnixUtils, gettext
|
||||
# or something similar is installed on the system.
|
||||
# If the "iconv" program is installed on the system, but it is not registered
|
||||
# in the %PATH% environment variable, then specify the full path to this file.
|
||||
!IF EXIST ("iconv.exe")
|
||||
ICONV = "iconv.exe"
|
||||
!ELSEIF EXIST ("$(ICONV_PATH)\iconv.exe")
|
||||
ICONV = "$(ICONV_PATH)\iconv.exe"
|
||||
!ENDIF
|
||||
|
||||
RM = del /q
|
||||
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .c .o .txt .html
|
||||
|
||||
|
||||
all : tags perlhtml $(CONVERTED)
|
||||
|
||||
# Use "doctags" to generate the tags file. Only works for English!
|
||||
tags : doctags $(DOCS)
|
||||
doctags.exe $(DOCS) | sort /L C /O tags
|
||||
powershell -nologo -noprofile -Command \
|
||||
"(Get-Content -Raw tags | Get-Unique | % {$$_ -replace \"`r\", \"\"}) \
|
||||
| New-Item -Force -Path . -ItemType file -Name tags"
|
||||
|
||||
doctags : doctags.c
|
||||
$(CC) doctags.c
|
||||
|
||||
|
||||
# Use Vim to generate the tags file. Can only be used when Vim has been
|
||||
# compiled and installed. Supports multiple languages.
|
||||
vimtags : $(DOCS)
|
||||
@"$(VIMEXE)" --clean -esX -V1 -u doctags.vim
|
||||
|
||||
|
||||
uganda.nsis.txt : uganda.???
|
||||
!@powershell -nologo -noprofile -Command \
|
||||
$$ext=(Get-Item $?).Extension; (Get-Content $? ^| \
|
||||
% {$$_ -replace '\s*\*[-a-zA-Z0-9.]*\*', '' -replace 'vim:tw=78:.*', ''}) \
|
||||
^| Set-Content $*$$ext
|
||||
!@powershell -nologo -noprofile -Command \
|
||||
$$ext=(Get-Item $?).Extension; \
|
||||
(Get-Content -Raw $(@B)$$ext).Trim() -replace '(\r\n){3,}', '$$1$$1' \
|
||||
^| Set-Content $(@B)$$ext
|
||||
|
||||
|
||||
# TODO:
|
||||
#html: noerrors tags $(HTMLS)
|
||||
# if exist errors.log (more errors.log)
|
||||
|
||||
# TODO:
|
||||
#noerrors:
|
||||
# $(RM) errors.log
|
||||
|
||||
# TODO:
|
||||
#.txt.html:
|
||||
|
||||
|
||||
# TODO:
|
||||
#index.html: help.txt
|
||||
|
||||
|
||||
# TODO:
|
||||
#vimindex.html: index.txt
|
||||
|
||||
|
||||
# TODO:
|
||||
#tags.ref tags.html: tags
|
||||
|
||||
# Perl version of .txt to .html conversion.
|
||||
# There can't be two rules to produce a .html from a .txt file.
|
||||
# Just run over all .txt files each time one changes. It's fast anyway.
|
||||
perlhtml : tags $(DOCS)
|
||||
vim2html.pl tags $(DOCS)
|
||||
|
||||
# Check URLs in the help with "curl" or "powershell".
|
||||
test_urls :
|
||||
"$(VIMEXE)" -S test_urls.vim
|
||||
|
||||
clean :
|
||||
$(RM) doctags.exe doctags.obj
|
||||
$(RM) *.html vim-stylesheet.css
|
||||
|
||||
|
||||
arabic.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
farsi.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
hebrew.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
russian.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
gui_w32.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
if_ole.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_390.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_amiga.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_beos.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_dos.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_haiku.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_mac.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_mint.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_msdos.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_os2.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_qnx.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_risc.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_win32.txt :
|
||||
<<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
convert-all : $(CONVERTED)
|
||||
!IF [powershell -nologo -noprofile "exit $$psversiontable.psversion.major"] == 2
|
||||
!ERROR The program "PowerShell" version 3.0 or higher is required to work
|
||||
!ENDIF
|
||||
|
||||
vim-da.UTF-8.1 : vim-da.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vimdiff-da.UTF-8.1 : vimdiff-da.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vimtutor-da.UTF-8.1 : vimtutor-da.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vim-de.UTF-8.1 : vim-de.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
evim-fr.UTF-8.1 : evim-fr.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vim-fr.UTF-8.1 : vim-fr.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vimdiff-fr.UTF-8.1 : vimdiff-fr.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vimtutor-fr.UTF-8.1 : vimtutor-fr.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t utf-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
xxd-fr.UTF-8.1 : xxd-fr.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
evim-it.UTF-8.1 : evim-it.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vim-it.UTF-8.1 : vim-it.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vimdiff-it.UTF-8.1 : vimdiff-it.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vimtutor-it.UTF-8.1 : vimtutor-it.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
xxd-it.UTF-8.1 : xxd-it.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
evim-pl.UTF-8.1 : evim-pl.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vim-pl.UTF-8.1 : vim-pl.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vimdiff-pl.UTF-8.1 : vimdiff-pl.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vimtutor-pl.UTF-8.1 : vimtutor-pl.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
xxd-pl.UTF-8.1 : xxd-pl.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
evim-ru.UTF-8.1 : evim-ru.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f KOI8-R -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vim-ru.UTF-8.1 : vim-ru.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f KOI8-R -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vimdiff-ru.UTF-8.1 : vimdiff-ru.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f KOI8-R -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vimtutor-ru.UTF-8.1 : vimtutor-ru.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f KOI8-R -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
xxd-ru.UTF-8.1 : xxd-ru.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f KOI8-R -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
evim-tr.UTF-8.1 : evim-tr.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vim-tr.UTF-8.1 : vim-tr.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vimdiff-tr.UTF-8.1 : vimdiff-tr.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
vimtutor-tr.UTF-8.1 : vimtutor-tr.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
powershell -nologo -noprofile -Command \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0 ft=make:
|
||||
@@ -13,337 +13,8 @@ VIMEXE = vim
|
||||
# AWK, used for "make html". Comment this out if the include gives problems.
|
||||
include ../../src/auto/config.mk
|
||||
|
||||
DOCS = \
|
||||
arabic.txt \
|
||||
autocmd.txt \
|
||||
builtin.txt \
|
||||
change.txt \
|
||||
channel.txt \
|
||||
cmdline.txt \
|
||||
debug.txt \
|
||||
debugger.txt \
|
||||
develop.txt \
|
||||
diff.txt \
|
||||
digraph.txt \
|
||||
editing.txt \
|
||||
eval.txt \
|
||||
farsi.txt \
|
||||
filetype.txt \
|
||||
fold.txt \
|
||||
ft_ada.txt \
|
||||
ft_context.txt \
|
||||
ft_mp.txt \
|
||||
ft_ps1.txt \
|
||||
ft_raku.txt \
|
||||
ft_rust.txt \
|
||||
ft_sql.txt \
|
||||
gui.txt \
|
||||
gui_w32.txt \
|
||||
gui_x11.txt \
|
||||
hangulin.txt \
|
||||
hebrew.txt \
|
||||
help.txt \
|
||||
helphelp.txt \
|
||||
howto.txt \
|
||||
if_cscop.txt \
|
||||
if_lua.txt \
|
||||
if_mzsch.txt \
|
||||
if_ole.txt \
|
||||
if_perl.txt \
|
||||
if_pyth.txt \
|
||||
if_ruby.txt \
|
||||
if_sniff.txt \
|
||||
if_tcl.txt \
|
||||
indent.txt \
|
||||
index.txt \
|
||||
insert.txt \
|
||||
intro.txt \
|
||||
map.txt \
|
||||
mbyte.txt \
|
||||
message.txt \
|
||||
mlang.txt \
|
||||
motion.txt \
|
||||
netbeans.txt \
|
||||
options.txt \
|
||||
os_390.txt \
|
||||
os_amiga.txt \
|
||||
os_beos.txt \
|
||||
os_dos.txt \
|
||||
os_haiku.txt \
|
||||
os_mac.txt \
|
||||
os_mint.txt \
|
||||
os_msdos.txt \
|
||||
os_os2.txt \
|
||||
os_qnx.txt \
|
||||
os_risc.txt \
|
||||
os_unix.txt \
|
||||
os_vms.txt \
|
||||
os_win32.txt \
|
||||
pattern.txt \
|
||||
pi_getscript.txt \
|
||||
pi_gzip.txt \
|
||||
pi_logipat.txt \
|
||||
pi_netrw.txt \
|
||||
pi_paren.txt \
|
||||
pi_spec.txt \
|
||||
pi_tar.txt \
|
||||
pi_vimball.txt \
|
||||
pi_zip.txt \
|
||||
popup.txt \
|
||||
print.txt \
|
||||
quickfix.txt \
|
||||
quickref.txt \
|
||||
quotes.txt \
|
||||
recover.txt \
|
||||
remote.txt \
|
||||
repeat.txt \
|
||||
rileft.txt \
|
||||
russian.txt \
|
||||
scroll.txt \
|
||||
sign.txt \
|
||||
spell.txt \
|
||||
sponsor.txt \
|
||||
starting.txt \
|
||||
syntax.txt \
|
||||
tabpage.txt \
|
||||
tagsrch.txt \
|
||||
term.txt \
|
||||
terminal.txt \
|
||||
testing.txt \
|
||||
textprop.txt \
|
||||
tips.txt \
|
||||
todo.txt \
|
||||
uganda.txt \
|
||||
undo.txt \
|
||||
userfunc.txt \
|
||||
usr_01.txt \
|
||||
usr_02.txt \
|
||||
usr_03.txt \
|
||||
usr_04.txt \
|
||||
usr_05.txt \
|
||||
usr_06.txt \
|
||||
usr_07.txt \
|
||||
usr_08.txt \
|
||||
usr_09.txt \
|
||||
usr_10.txt \
|
||||
usr_11.txt \
|
||||
usr_12.txt \
|
||||
usr_20.txt \
|
||||
usr_21.txt \
|
||||
usr_22.txt \
|
||||
usr_23.txt \
|
||||
usr_24.txt \
|
||||
usr_25.txt \
|
||||
usr_26.txt \
|
||||
usr_27.txt \
|
||||
usr_28.txt \
|
||||
usr_29.txt \
|
||||
usr_30.txt \
|
||||
usr_31.txt \
|
||||
usr_32.txt \
|
||||
usr_40.txt \
|
||||
usr_41.txt \
|
||||
usr_42.txt \
|
||||
usr_43.txt \
|
||||
usr_44.txt \
|
||||
usr_45.txt \
|
||||
usr_50.txt \
|
||||
usr_51.txt \
|
||||
usr_52.txt \
|
||||
usr_90.txt \
|
||||
usr_toc.txt \
|
||||
various.txt \
|
||||
version4.txt \
|
||||
version5.txt \
|
||||
version6.txt \
|
||||
version7.txt \
|
||||
version8.txt \
|
||||
version9.txt \
|
||||
vi_diff.txt \
|
||||
vim9.txt \
|
||||
vim9class.txt \
|
||||
visual.txt \
|
||||
windows.txt \
|
||||
workshop.txt
|
||||
|
||||
HTMLS = \
|
||||
arabic.html \
|
||||
autocmd.html \
|
||||
builtin.html \
|
||||
change.html \
|
||||
channel.html \
|
||||
cmdline.html \
|
||||
debug.html \
|
||||
debugger.html \
|
||||
develop.html \
|
||||
diff.html \
|
||||
digraph.html \
|
||||
editing.html \
|
||||
eval.html \
|
||||
farsi.html \
|
||||
filetype.html \
|
||||
fold.html \
|
||||
ft_ada.html \
|
||||
ft_context.html \
|
||||
ft_mp.html \
|
||||
ft_ps1.html \
|
||||
ft_raku.html \
|
||||
ft_rust.html \
|
||||
ft_sql.html \
|
||||
gui.html \
|
||||
gui_w32.html \
|
||||
gui_x11.html \
|
||||
hangulin.html \
|
||||
hebrew.html \
|
||||
helphelp.html \
|
||||
howto.html \
|
||||
if_cscop.html \
|
||||
if_lua.html \
|
||||
if_mzsch.html \
|
||||
if_ole.html \
|
||||
if_perl.html \
|
||||
if_pyth.html \
|
||||
if_ruby.html \
|
||||
if_sniff.html \
|
||||
if_tcl.html \
|
||||
indent.html \
|
||||
index.html \
|
||||
insert.html \
|
||||
intro.html \
|
||||
map.html \
|
||||
mbyte.html \
|
||||
message.html \
|
||||
mlang.html \
|
||||
motion.html \
|
||||
netbeans.html \
|
||||
options.html \
|
||||
os_390.html \
|
||||
os_amiga.html \
|
||||
os_beos.html \
|
||||
os_dos.html \
|
||||
os_haiku.html \
|
||||
os_mac.html \
|
||||
os_mint.html \
|
||||
os_msdos.html \
|
||||
os_os2.html \
|
||||
os_qnx.html \
|
||||
os_risc.html \
|
||||
os_unix.html \
|
||||
os_vms.html \
|
||||
os_win32.html \
|
||||
pattern.html \
|
||||
pi_getscript.html \
|
||||
pi_gzip.html \
|
||||
pi_logipat.html \
|
||||
pi_netrw.html \
|
||||
pi_paren.html \
|
||||
pi_spec.html \
|
||||
pi_tar.html \
|
||||
pi_vimball.html \
|
||||
pi_zip.html \
|
||||
popup.html \
|
||||
print.html \
|
||||
quickfix.html \
|
||||
quickref.html \
|
||||
quotes.html \
|
||||
recover.html \
|
||||
remote.html \
|
||||
repeat.html \
|
||||
rileft.html \
|
||||
russian.html \
|
||||
scroll.html \
|
||||
sign.html \
|
||||
spell.html \
|
||||
sponsor.html \
|
||||
starting.html \
|
||||
syntax.html \
|
||||
tabpage.html \
|
||||
tagsrch.html \
|
||||
term.html \
|
||||
terminal.html \
|
||||
testing.html \
|
||||
textprop.html \
|
||||
tips.html \
|
||||
todo.html \
|
||||
uganda.html \
|
||||
undo.html \
|
||||
userfunc.html \
|
||||
usr_01.html \
|
||||
usr_02.html \
|
||||
usr_03.html \
|
||||
usr_04.html \
|
||||
usr_05.html \
|
||||
usr_06.html \
|
||||
usr_07.html \
|
||||
usr_08.html \
|
||||
usr_09.html \
|
||||
usr_10.html \
|
||||
usr_11.html \
|
||||
usr_12.html \
|
||||
usr_20.html \
|
||||
usr_21.html \
|
||||
usr_22.html \
|
||||
usr_23.html \
|
||||
usr_24.html \
|
||||
usr_25.html \
|
||||
usr_26.html \
|
||||
usr_27.html \
|
||||
usr_28.html \
|
||||
usr_29.html \
|
||||
usr_30.html \
|
||||
usr_31.html \
|
||||
usr_32.html \
|
||||
usr_40.html \
|
||||
usr_41.html \
|
||||
usr_42.html \
|
||||
usr_43.html \
|
||||
usr_44.html \
|
||||
usr_45.html \
|
||||
usr_50.html \
|
||||
usr_51.html \
|
||||
usr_52.html \
|
||||
usr_90.html \
|
||||
usr_toc.html \
|
||||
various.html \
|
||||
version4.html \
|
||||
version5.html \
|
||||
version6.html \
|
||||
version7.html \
|
||||
version8.html \
|
||||
version9.html \
|
||||
vi_diff.html \
|
||||
vimindex.html \
|
||||
vim9.html \
|
||||
vim9class.html \
|
||||
visual.html \
|
||||
windows.html \
|
||||
workshop.html
|
||||
|
||||
CONVERTED = \
|
||||
vim-fr.UTF-8.1 \
|
||||
evim-fr.UTF-8.1 \
|
||||
vimdiff-fr.UTF-8.1 \
|
||||
vimtutor-fr.UTF-8.1 \
|
||||
xxd-fr.UTF-8.1 \
|
||||
vim-it.UTF-8.1 \
|
||||
evim-it.UTF-8.1 \
|
||||
vimdiff-it.UTF-8.1 \
|
||||
vimtutor-it.UTF-8.1 \
|
||||
xxd-it.UTF-8.1 \
|
||||
vim-pl.UTF-8.1 \
|
||||
evim-pl.UTF-8.1 \
|
||||
vimdiff-pl.UTF-8.1 \
|
||||
vimtutor-pl.UTF-8.1 \
|
||||
xxd-pl.UTF-8.1 \
|
||||
vim-ru.UTF-8.1 \
|
||||
evim-ru.UTF-8.1 \
|
||||
vimdiff-ru.UTF-8.1 \
|
||||
vimtutor-ru.UTF-8.1 \
|
||||
xxd-ru.UTF-8.1 \
|
||||
vim-tr.UTF-8.1 \
|
||||
evim-tr.UTF-8.1 \
|
||||
vimdiff-tr.UTF-8.1 \
|
||||
vimtutor-tr.UTF-8.1
|
||||
# Common components
|
||||
include Make_all.mak
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .txt .html
|
||||
@@ -476,6 +147,18 @@ os_win32.txt:
|
||||
|
||||
# Note that $< works with GNU make while $> works for BSD make.
|
||||
# Is there a solution that works for both??
|
||||
vim-da.UTF-8.1: vim-da.1
|
||||
iconv -f latin1 -t utf-8 $< >$@
|
||||
|
||||
vimdiff-da.UTF-8.1: vimdiff-da.1
|
||||
iconv -f latin1 -t utf-8 $< >$@
|
||||
|
||||
vimtutor-da.UTF-8.1: vimtutor-da.1
|
||||
iconv -f latin1 -t utf-8 $< >$@
|
||||
|
||||
vim-de.UTF-8.1: vim-de.1
|
||||
iconv -f latin1 -t utf-8 $< >$@
|
||||
|
||||
vim-fr.UTF-8.1: vim-fr.1
|
||||
iconv -f latin1 -t utf-8 $< >$@
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*builtin.txt* For Vim version 9.0. Last change: 2023 Sep 27
|
||||
*builtin.txt* For Vim version 9.0. Last change: 2023 Dec 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1855,7 +1855,7 @@ cosh({expr}) *cosh()*
|
||||
Compute()->cosh()
|
||||
|
||||
|
||||
count({comp}, {expr} [, {ic} [, {start}]]) *count()*
|
||||
count({comp}, {expr} [, {ic} [, {start}]]) *count()* *E706*
|
||||
Return the number of times an item with value {expr} appears
|
||||
in |String|, |List| or |Dictionary| {comp}.
|
||||
|
||||
@@ -3928,6 +3928,8 @@ getmousepos() *getmousepos()*
|
||||
wincol column inside "winid"
|
||||
line text line inside "winid"
|
||||
column text column inside "winid"
|
||||
coladd offset (in screen columns) from the
|
||||
start of the clicked char
|
||||
All numbers are 1-based.
|
||||
|
||||
If not over a window, e.g. when in the command line, then only
|
||||
@@ -4006,8 +4008,8 @@ getqflist([{what}]) *getqflist()*
|
||||
text description of the error
|
||||
type type of the error, 'E', '1', etc.
|
||||
valid |TRUE|: recognized error message
|
||||
user_data
|
||||
custom data associated with the item, can be
|
||||
user_data
|
||||
custom data associated with the item, can be
|
||||
any type.
|
||||
|
||||
When there is no error list or it's empty, an empty list is
|
||||
@@ -4199,7 +4201,7 @@ getscriptinfo([{opts}]) *getscriptinfo()*
|
||||
Note that this is a copy, the value of
|
||||
script-local variables cannot be changed using
|
||||
this dictionary.
|
||||
version Vimscript version (|scriptversion|)
|
||||
version Vim script version (|scriptversion|)
|
||||
|
||||
Examples: >
|
||||
:echo getscriptinfo({'name': 'myscript'})
|
||||
@@ -5052,14 +5054,16 @@ insert({object}, {item} [, {idx}]) *insert()*
|
||||
|
||||
Can also be used as a |method|: >
|
||||
mylist->insert(item)
|
||||
|
||||
instanceof({object}, {class}) *instanceof()*
|
||||
The result is a Number, which is |TRUE| when the {object} argument is a
|
||||
direct or indirect instance of a |Class| specified by {class}.
|
||||
When {class} is a |List| the function returns |TRUE| when {object} is an
|
||||
instance of any of the specified classes.
|
||||
<
|
||||
*instanceof()* *E614* *E616* *E693*
|
||||
instanceof({object}, {class})
|
||||
The result is a Number, which is |TRUE| when the {object}
|
||||
argument is a direct or indirect instance of a |Class|,
|
||||
|Interface|, or class |:type| alias specified by {class}.
|
||||
If {class} is varargs, the function returns |TRUE| when
|
||||
{object} is an instance of any of the specified classes.
|
||||
Example: >
|
||||
instanceof(animal, [Dog, Cat])
|
||||
instanceof(animal, Dog, Cat)
|
||||
|
||||
< Can also be used as a |method|: >
|
||||
myobj->instanceof(mytype)
|
||||
@@ -5159,8 +5163,12 @@ items({dict}) *items()*
|
||||
for [key, value] in items(mydict)
|
||||
echo key .. ': ' .. value
|
||||
endfor
|
||||
<
|
||||
A List or a String argument is also supported. In these
|
||||
cases, items() returns a List with the index and the value at
|
||||
the index.
|
||||
|
||||
< Can also be used as a |method|: >
|
||||
Can also be used as a |method|: >
|
||||
mydict->items()
|
||||
|
||||
job_ functions are documented here: |job-functions-details|
|
||||
@@ -6409,7 +6417,9 @@ mode([expr]) Return a string that indicates the current mode.
|
||||
Rvx Virtual Replace mode |i_CTRL-X| completion
|
||||
c Command-line editing
|
||||
ct Command-line editing via Terminal-Job mode
|
||||
cr Command-line editing overstrike mode |c_<Insert>|
|
||||
cv Vim Ex mode |gQ|
|
||||
cvr Vim Ex mode while in overstrike mode |c_<Insert>|
|
||||
ce Normal Ex mode |Q|
|
||||
r Hit-enter prompt
|
||||
rm The -- more -- prompt
|
||||
@@ -6682,13 +6692,12 @@ printf({fmt}, {expr1} ...) *printf()*
|
||||
< This limits the length of the text used from "line" to
|
||||
"width" bytes.
|
||||
|
||||
If the argument to be formatted is specified using a posional
|
||||
argument specifier, and a '*' is used to indicate that a
|
||||
number argument is to be used to specify the width or
|
||||
If the argument to be formatted is specified using a
|
||||
positional argument specifier, and a '*' is used to indicate
|
||||
that a number argument is to be used to specify the width or
|
||||
precision, the argument(s) to be used must also be specified
|
||||
using a {n$} positional argument specifier. See |printf-$|.
|
||||
|
||||
|
||||
The conversion specifiers and their meanings are:
|
||||
|
||||
*printf-d* *printf-b* *printf-B* *printf-o*
|
||||
@@ -6790,96 +6799,104 @@ printf({fmt}, {expr1} ...) *printf()*
|
||||
having a different word order, positional arguments may be
|
||||
used to indicate this. For instance: >
|
||||
|
||||
#, c-format
|
||||
msgid "%s returning %s"
|
||||
msgstr "waarde %2$s komt terug van %1$s"
|
||||
#, c-format
|
||||
msgid "%s returning %s"
|
||||
msgstr "waarde %2$s komt terug van %1$s"
|
||||
<
|
||||
In this example, the sentence has its 2 string arguments reversed
|
||||
in the output. >
|
||||
In this example, the sentence has its 2 string arguments
|
||||
reversed in the output. >
|
||||
|
||||
echo printf(
|
||||
"In The Netherlands, vim's creator's name is: %1$s %2$s",
|
||||
"Bram", "Moolenaar")
|
||||
< In The Netherlands, vim's creator's name is: Bram Moolenaar >
|
||||
echo printf(
|
||||
"In The Netherlands, vim's creator's name is: %1$s %2$s",
|
||||
"Bram", "Moolenaar")
|
||||
< In The Netherlands, vim's creator's name is: Bram Moolenaar >
|
||||
|
||||
echo printf(
|
||||
"In Belgium, vim's creator's name is: %2$s %1$s",
|
||||
"Bram", "Moolenaar")
|
||||
< In Belgium, vim's creator's name is: Moolenaar Bram
|
||||
echo printf(
|
||||
"In Belgium, vim's creator's name is: %2$s %1$s",
|
||||
"Bram", "Moolenaar")
|
||||
< In Belgium, vim's creator's name is: Moolenaar Bram
|
||||
|
||||
Width (and precision) can be specified using the '*' specifier.
|
||||
In this case, you must specify the field width position in the
|
||||
argument list. >
|
||||
|
||||
echo printf("%1$*2$.*3$d", 1, 2, 3)
|
||||
< 001 >
|
||||
echo printf("%2$*3$.*1$d", 1, 2, 3)
|
||||
< 2 >
|
||||
echo printf("%3$*1$.*2$d", 1, 2, 3)
|
||||
< 03 >
|
||||
echo printf("%1$*2$.*3$g", 1.4142, 2, 3)
|
||||
< 1.414
|
||||
echo printf("%1$*2$.*3$d", 1, 2, 3)
|
||||
< 001 >
|
||||
echo printf("%2$*3$.*1$d", 1, 2, 3)
|
||||
< 2 >
|
||||
echo printf("%3$*1$.*2$d", 1, 2, 3)
|
||||
< 03 >
|
||||
echo printf("%1$*2$.*3$g", 1.4142, 2, 3)
|
||||
< 1.414
|
||||
|
||||
You can mix specifying the width and/or precision directly
|
||||
and via positional arguments: >
|
||||
|
||||
echo printf("%1$4.*2$f", 1.4142135, 6)
|
||||
< 1.414214 >
|
||||
echo printf("%1$*2$.4f", 1.4142135, 6)
|
||||
< 1.4142 >
|
||||
echo printf("%1$*2$.*3$f", 1.4142135, 6, 2)
|
||||
< 1.41
|
||||
echo printf("%1$4.*2$f", 1.4142135, 6)
|
||||
< 1.414214 >
|
||||
echo printf("%1$*2$.4f", 1.4142135, 6)
|
||||
< 1.4142 >
|
||||
echo printf("%1$*2$.*3$f", 1.4142135, 6, 2)
|
||||
< 1.41
|
||||
|
||||
*E1500*
|
||||
You cannot mix positional and non-positional arguments: >
|
||||
echo printf("%s%1$s", "One", "Two")
|
||||
< E1500: Cannot mix positional and non-positional
|
||||
arguments: %s%1$s
|
||||
echo printf("%s%1$s", "One", "Two")
|
||||
< E1500: Cannot mix positional and non-positional arguments:
|
||||
%s%1$s
|
||||
|
||||
*E1501*
|
||||
You cannot skip a positional argument in a format string: >
|
||||
echo printf("%3$s%1$s", "One", "Two", "Three")
|
||||
< E1501: format argument 2 unused in $-style
|
||||
format: %3$s%1$s
|
||||
echo printf("%3$s%1$s", "One", "Two", "Three")
|
||||
< E1501: format argument 2 unused in $-style format:
|
||||
%3$s%1$s
|
||||
|
||||
*E1502*
|
||||
You can re-use a [field-width] (or [precision]) argument: >
|
||||
echo printf("%1$d at width %2$d is: %01$*2$d", 1, 2)
|
||||
< 1 at width 2 is: 01
|
||||
echo printf("%1$d at width %2$d is: %01$*2$d", 1, 2)
|
||||
< 1 at width 2 is: 01
|
||||
|
||||
However, you can't use it as a different type: >
|
||||
echo printf("%1$d at width %2$ld is: %01$*2$d", 1, 2)
|
||||
< E1502: Positional argument 2 used as field
|
||||
width reused as different type: long int/int
|
||||
echo printf("%1$d at width %2$ld is: %01$*2$d", 1, 2)
|
||||
< E1502: Positional argument 2 used as field width reused as
|
||||
different type: long int/int
|
||||
|
||||
*E1503*
|
||||
When a positional argument is used, but not the correct number
|
||||
or arguments is given, an error is raised: >
|
||||
echo printf("%1$d at width %2$d is: %01$*2$.*3$d", 1, 2)
|
||||
< E1503: Positional argument 3 out of bounds:
|
||||
%1$d at width %2$d is: %01$*2$.*3$d
|
||||
echo printf("%1$d at width %2$d is: %01$*2$.*3$d", 1, 2)
|
||||
< E1503: Positional argument 3 out of bounds: %1$d at width
|
||||
%2$d is: %01$*2$.*3$d
|
||||
|
||||
Only the first error is reported: >
|
||||
echo printf("%01$*2$.*3$d %4$d", 1, 2)
|
||||
< E1503: Positional argument 3 out of bounds:
|
||||
%01$*2$.*3$d %4$d
|
||||
echo printf("%01$*2$.*3$d %4$d", 1, 2)
|
||||
< E1503: Positional argument 3 out of bounds: %01$*2$.*3$d
|
||||
%4$d
|
||||
|
||||
*E1504*
|
||||
A positional argument can be used more than once: >
|
||||
echo printf("%1$s %2$s %1$s", "One", "Two")
|
||||
< One Two One
|
||||
echo printf("%1$s %2$s %1$s", "One", "Two")
|
||||
< One Two One
|
||||
|
||||
However, you can't use a different type the second time: >
|
||||
echo printf("%1$s %2$s %1$d", "One", "Two")
|
||||
< E1504: Positional argument 1 type used
|
||||
inconsistently: int/string
|
||||
echo printf("%1$s %2$s %1$d", "One", "Two")
|
||||
< E1504: Positional argument 1 type used inconsistently:
|
||||
int/string
|
||||
|
||||
*E1505*
|
||||
Various other errors that lead to a format string being
|
||||
wrongly formatted lead to: >
|
||||
echo printf("%1$d at width %2$d is: %01$*2$.3$d", 1, 2)
|
||||
< E1505: Invalid format specifier:
|
||||
%1$d at width %2$d is: %01$*2$.3$d
|
||||
echo printf("%1$d at width %2$d is: %01$*2$.3$d", 1, 2)
|
||||
< E1505: Invalid format specifier: %1$d at width %2$d is:
|
||||
%01$*2$.3$d
|
||||
|
||||
*E1507*
|
||||
This internal error indicates that the logic to parse a
|
||||
positional format argument ran into a problem that couldn't be
|
||||
otherwise reported. Please file a bug against Vim if you run
|
||||
into this, copying the exact format string and parameters that
|
||||
were used.
|
||||
|
||||
|
||||
prompt_getprompt({buf}) *prompt_getprompt()*
|
||||
Returns the effective prompt text for buffer {buf}. {buf} can
|
||||
@@ -10108,9 +10125,9 @@ trim({text} [, {mask} [, {dir}]]) *trim()*
|
||||
Return {text} as a String where any character in {mask} is
|
||||
removed from the beginning and/or end of {text}.
|
||||
|
||||
If {mask} is not given, {mask} is all characters up to 0x20,
|
||||
which includes Tab, space, NL and CR, plus the non-breaking
|
||||
space character 0xa0.
|
||||
If {mask} is not given, or is an empty string, {mask} is all
|
||||
characters up to 0x20, which includes Tab, space, NL and CR,
|
||||
plus the non-breaking space character 0xa0.
|
||||
|
||||
The optional {dir} argument specifies where to remove the
|
||||
characters:
|
||||
@@ -10166,8 +10183,9 @@ type({expr}) The result is a Number representing the type of {expr}.
|
||||
Job: 8 |v:t_job|
|
||||
Channel: 9 |v:t_channel|
|
||||
Blob: 10 |v:t_blob|
|
||||
Class 12 |v:t_class|
|
||||
Object 13 |v:t_object|
|
||||
Class: 12 |v:t_class|
|
||||
Object: 13 |v:t_object|
|
||||
Typealias: 14 |v:t_typealias|
|
||||
For backward compatibility, this method can be used: >
|
||||
:if type(myvar) == type(0)
|
||||
:if type(myvar) == type("")
|
||||
@@ -10367,6 +10385,8 @@ virtcol2col({winid}, {lnum}, {col}) *virtcol2col()*
|
||||
character in window {winid} at buffer line {lnum} and virtual
|
||||
column {col}.
|
||||
|
||||
If buffer line {lnum} is an empty line, 0 is returned.
|
||||
|
||||
If {col} is greater than the last virtual column in line
|
||||
{lnum}, then the byte index of the character at the last
|
||||
virtual column is returned.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*change.txt* For Vim version 9.0. Last change: 2023 Sep 19
|
||||
*change.txt* For Vim version 9.0. Last change: 2023 Dec 19
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -452,9 +452,12 @@ octal number.
|
||||
Note that when 'nrformats' includes "octal", decimal numbers with leading
|
||||
zeros cause mistakes, because they can be confused with octal numbers.
|
||||
|
||||
Note similarly, when 'nrformats' includes "bin", binary numbers with a leading
|
||||
'0x' or '0X' can be interpreted as hexadecimal rather than binary since '0b'
|
||||
are valid hexadecimal digits.
|
||||
Note similarly, when 'nrformats' includes both "bin" and "hex", binary numbers
|
||||
with a leading '0x' or '0X' can be interpreted as hexadecimal rather than
|
||||
binary since '0b' are valid hexadecimal digits. CTRL-A on "0x0b11" results in
|
||||
"0x0b12", not "0x0b100".
|
||||
When 'nrformats' includes "bin" and doesn't include "hex", CTRL-A on "0b11" in
|
||||
"0x0b11" results in "0x0b100".
|
||||
|
||||
When the number under the cursor is too big to fit into 32 or 64 bit
|
||||
(depending on how Vim was build), it will be rounded off to the nearest number
|
||||
@@ -516,7 +519,7 @@ SHIFTING LINES LEFT OR RIGHT *shift-left-right*
|
||||
lines to [indent] (default 0).
|
||||
|
||||
*:>*
|
||||
:[range]> [flags] Shift {count} [range] lines one 'shiftwidth' right.
|
||||
:[range]> [flags] Shift [range] lines one 'shiftwidth' right.
|
||||
Repeat '>' for shifting multiple 'shiftwidth's.
|
||||
See |ex-flags| for [flags].
|
||||
|
||||
@@ -644,9 +647,9 @@ For other systems the tmpnam() library function is used.
|
||||
current line only. When [count] is given, replace in
|
||||
[count] lines, starting with the last line in [range].
|
||||
When [range] is omitted start in the current line.
|
||||
*E939*
|
||||
[count] must be a positive number. Also see
|
||||
|cmdline-ranges|.
|
||||
*E939* *E1510*
|
||||
[count] must be a positive number (max 2147483647)
|
||||
Also see |cmdline-ranges|.
|
||||
|
||||
See |:s_flags| for [flags].
|
||||
The delimiter doesn't need to be /, see
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*cmdline.txt* For Vim version 9.0. Last change: 2023 May 20
|
||||
*cmdline.txt* For Vim version 9.0. Last change: 2023 Dec 09
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -90,9 +90,11 @@ CTRL-SHIFT-Q Works just like CTRL-V, unless |modifyOtherKeys| is active,
|
||||
In the GUI the |key-notation| is inserted without simplifying.
|
||||
|
||||
*c_<Left>* *c_Left*
|
||||
<Left> cursor left
|
||||
<Left> cursor left. See 'wildmenu' for behavior during wildmenu
|
||||
completion mode.
|
||||
*c_<Right>* *c_Right*
|
||||
<Right> cursor right
|
||||
<Right> cursor right. See 'wildmenu' for behavior during wildmenu
|
||||
completion mode.
|
||||
*c_<S-Left>*
|
||||
<S-Left> or <C-Left> *c_<C-Left>*
|
||||
cursor one WORD left
|
||||
@@ -102,7 +104,8 @@ CTRL-SHIFT-Q Works just like CTRL-V, unless |modifyOtherKeys| is active,
|
||||
CTRL-B or <Home> *c_CTRL-B* *c_<Home>* *c_Home*
|
||||
cursor to beginning of command-line
|
||||
CTRL-E or <End> *c_CTRL-E* *c_<End>* *c_End*
|
||||
cursor to end of command-line
|
||||
cursor to end of command-line. See 'wildmenu' for behavior
|
||||
during wildmenu completion mode.
|
||||
|
||||
*c_<LeftMouse>*
|
||||
<LeftMouse> Move the cursor to the position of the mouse click.
|
||||
@@ -237,6 +240,7 @@ CTRL-\ e {expr} *c_CTRL-\_e*
|
||||
CTRL-Y When there is a modeless selection, copy the selection into
|
||||
the clipboard. |modeless-selection|
|
||||
If there is no selection CTRL-Y is inserted as a character.
|
||||
See 'wildmenu' for behavior during wildmenu completion mode.
|
||||
|
||||
CTRL-M or CTRL-J *c_CTRL-M* *c_CTRL-J* *c_<NL>* *c_<CR>* *c_CR*
|
||||
<CR> or <NL> start entered command
|
||||
@@ -252,12 +256,14 @@ CTRL-C quit command-line without executing
|
||||
|
||||
*c_<Up>* *c_Up*
|
||||
<Up> recall older command-line from history, whose beginning
|
||||
matches the current command-line (see below).
|
||||
matches the current command-line (see below). See 'wildmenu'
|
||||
for behavior during wildmenu completion mode.
|
||||
{not available when compiled without the |+cmdline_hist|
|
||||
feature}
|
||||
*c_<Down>* *c_Down*
|
||||
<Down> recall more recent command-line from history, whose beginning
|
||||
matches the current command-line (see below).
|
||||
matches the current command-line (see below). See 'wildmenu'
|
||||
for behavior during wildmenu completion mode.
|
||||
{not available when compiled without the |+cmdline_hist|
|
||||
feature}
|
||||
|
||||
@@ -356,6 +362,7 @@ terminals)
|
||||
A positive number represents the absolute index of an entry
|
||||
as it is given in the first column of a :history listing.
|
||||
This number remains fixed even if other entries are deleted.
|
||||
(see |E1510|)
|
||||
|
||||
A negative number means the relative position of an entry,
|
||||
counted from the newest entry (which has index -1) backwards.
|
||||
@@ -381,6 +388,7 @@ When editing the command-line, a few commands can be used to complete the
|
||||
word before the cursor. This is available for:
|
||||
|
||||
- Command names: At the start of the command-line.
|
||||
- |++opt| values.
|
||||
- Tags: Only after the ":tag" command.
|
||||
- File names: Only after a command that accepts a file name or a setting for
|
||||
an option that can be set to a file name. This is called file name
|
||||
@@ -455,19 +463,23 @@ CTRL-T When 'incsearch' is set, entering a search pattern for "/" or
|
||||
keyboard T is above G.
|
||||
|
||||
The 'wildchar' option defaults to <Tab> (CTRL-E when in Vi compatible mode; in
|
||||
a previous version <Esc> was used). In the pattern standard wildcards '*' and
|
||||
'?' are accepted when matching file names. '*' matches any string, '?'
|
||||
matches exactly one character.
|
||||
a previous version <Esc> was used). In the pattern standard |wildcards| are
|
||||
accepted when matching file names.
|
||||
|
||||
When repeating 'wildchar' or CTRL-N you cycle through the matches, eventually
|
||||
ending up back to what was typed. If the first match is not what you wanted,
|
||||
you can use <S-Tab> or CTRL-P to go straight back to what you typed.
|
||||
|
||||
The 'wildignorecase' option can be set to ignore case in filenames.
|
||||
|
||||
The 'wildmenu' option can be set to show the matches just above the command
|
||||
line.
|
||||
|
||||
The 'wildoptions' option provides additional configuration to use a popup menu
|
||||
for 'wildmenu', and to use fuzzy matching.
|
||||
|
||||
The 'wildignorecase' option can be set to ignore case in filenames. For
|
||||
completing other texts (e.g. command names), the 'ignorecase' option is used
|
||||
instead (fuzzy matching always ignores case, however).
|
||||
|
||||
If you like tcsh's autolist completion, you can use this mapping:
|
||||
:cnoremap X <C-L><C-D>
|
||||
(Where X is the command key to use, <C-L> is CTRL-L and <C-D> is CTRL-D)
|
||||
@@ -788,7 +800,7 @@ An example for subtracting (which isn't very useful): >
|
||||
On this text:
|
||||
1 one ~
|
||||
2 two ~
|
||||
3 three FOLDED~
|
||||
3 three FOLDED ~
|
||||
4 four FOLDED ~
|
||||
5 five FOLDED ~
|
||||
6 six FOLDED ~
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*digraph.txt* For Vim version 9.0. Last change: 2023 Mar 21
|
||||
*digraph.txt* For Vim version 9.0. Last change: 2023 Oct 20
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -174,6 +174,13 @@ ROUBLE
|
||||
The rouble sign was added in 2014 as 0x20bd. Vim supports the digraphs =R and
|
||||
=P for this. Note that R= and P= are other characters.
|
||||
|
||||
QUADRUPLE PRIME
|
||||
|
||||
The quadruple prime using the digraph 4' was added in 2023. Although it is
|
||||
not part of RFC 1345, it supplements the existing digraph implementation as
|
||||
there already exist digraphs for PRIME, DOUBLE PRIME and TRIPLE PRIME using
|
||||
the 1', 2' and 3' digraphs.
|
||||
|
||||
*digraph-table*
|
||||
char digraph hex dec official name ~
|
||||
^@ NU 0x00 0 NULL (NUL)
|
||||
@@ -931,6 +938,7 @@ char digraph hex dec official name ~
|
||||
′ 1' 2032 8242 PRIME
|
||||
″ 2' 2033 8243 DOUBLE PRIME
|
||||
‴ 3' 2034 8244 TRIPLE PRIME
|
||||
⁗ 4' 2057 8279 QUADRUPLE PRIME
|
||||
‵ 1" 2035 8245 REVERSED PRIME
|
||||
‶ 2" 2036 8246 REVERSED DOUBLE PRIME
|
||||
‷ 3" 2037 8247 REVERSED TRIPLE PRIME
|
||||
|
||||
@@ -386,8 +386,8 @@ is to use "path\[[]abc]", this matches the file "path\[abc]".
|
||||
|
||||
*starstar-wildcard*
|
||||
Expanding "**" is possible on Unix, Win32, macOS and a few other systems (but
|
||||
it may depend on your 'shell' setting. It's known to work correctly for zsh; for
|
||||
bash this requires at least bash version >= 4.X).
|
||||
it may depend on your 'shell' setting on Unix and macOS. It's known to work
|
||||
correctly for zsh; for bash this requires at least bash version >= 4.X).
|
||||
This allows searching a directory tree. This goes up to 100 directories deep.
|
||||
Note there are some commands where this works slightly differently, see
|
||||
|file-searching|.
|
||||
@@ -1097,8 +1097,8 @@ will get the ACL info of the original file.
|
||||
The ACL info is also used to check if a file is read-only (when opening the
|
||||
file).
|
||||
|
||||
*xattr* *E1506* *E1507* *E1508* *E1509*
|
||||
xattr stands for Extended Attributes It is an advanced way to save metadata
|
||||
*xattr* *E1506* *E1508* *E1509*
|
||||
xattr stands for Extended Attributes. It is an advanced way to save metadata
|
||||
alongside the file in the filesystem. It depends on the actual filesystem
|
||||
being used and Vim supports it only on a Linux system.
|
||||
Vim attempts to preserve the extended attribute info when writing a file.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 9.0. Last change: 2023 Jun 01
|
||||
*eval.txt* For Vim version 9.0. Last change: 2023 Dec 09
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -36,6 +36,7 @@ a remark is given.
|
||||
11. No +eval feature |no-eval-feature|
|
||||
12. The sandbox |eval-sandbox|
|
||||
13. Textlock |textlock|
|
||||
14. Vim script library |vim-script-library|
|
||||
|
||||
Testing support is documented in |testing.txt|.
|
||||
Profiling is documented at |profiling|.
|
||||
@@ -878,7 +879,8 @@ Expression syntax summary, from least to most significant:
|
||||
expr5 isnot expr5 different |List|, |Dictionary| or |Blob|
|
||||
instance
|
||||
|
||||
|expr5| expr6 << expr6 bitwise left shift
|
||||
|expr5| expr6
|
||||
expr6 << expr6 bitwise left shift
|
||||
expr6 >> expr6 bitwise right shift
|
||||
|
||||
|expr6| expr7
|
||||
@@ -2424,7 +2426,7 @@ v:progpath Contains the command with which Vim was invoked, in a form
|
||||
".exe" is not added to v:progpath.
|
||||
Read-only.
|
||||
|
||||
*v:python3_version* *python3-version-variable*
|
||||
*v:python3_version* *python3-version-variable*
|
||||
v:python3_version
|
||||
Version of Python 3 that Vim was built against. When
|
||||
Python is loaded dynamically (|python-dynamic|), this version
|
||||
@@ -2556,6 +2558,8 @@ v:t_blob Value of |Blob| type. Read-only. See: |type()|
|
||||
v:t_class Value of |class| type. Read-only. See: |type()|
|
||||
*v:t_object* *t_object-variable*
|
||||
v:t_object Value of |object| type. Read-only. See: |type()|
|
||||
*v:t_typealias* *t_typealias-variable*
|
||||
v:t_typealias Value of |typealias| type. Read-only. See: |type()|
|
||||
|
||||
*v:termresponse* *termresponse-variable*
|
||||
v:termresponse The escape sequence returned by the terminal for the |t_RV|
|
||||
@@ -3128,6 +3132,10 @@ text...
|
||||
< You may want to make a copy of a list to avoid this.
|
||||
See |deepcopy()|.
|
||||
|
||||
*E1391* *E1392*
|
||||
Locking and unlocking object and class variables is
|
||||
currently NOT supported.
|
||||
|
||||
|
||||
:unlo[ckvar][!] [depth] {name} ... *:unlockvar* *:unlo* *E1246*
|
||||
Unlock the internal variable {name}. Does the
|
||||
@@ -4797,5 +4805,37 @@ This is not allowed when the textlock is active:
|
||||
- closing a window or quitting Vim
|
||||
- etc.
|
||||
|
||||
==============================================================================
|
||||
14. Vim script library *vim-script-library*
|
||||
|
||||
Vim comes bundled with a Vim script library, that can be used by runtime,
|
||||
script authors. Currently, it only includes very few functions, but it may
|
||||
grow over time.
|
||||
|
||||
The functions are available as |Vim9-script| as well as using legacy Vim
|
||||
script (to be used for non Vim 9.0 versions and Neovim).
|
||||
|
||||
*dist#vim* *dist#vim9*
|
||||
The functions make use of the autoloaded prefix "dist#vim" (for legacy Vim
|
||||
script and Neovim) and "dist#vim9" for Vim9 script.
|
||||
|
||||
The following functions are available:
|
||||
|
||||
dist#vim#IsSafeExecutable(filetype, executable) ~
|
||||
dist#vim9#IsSafeExecutable(filetype:string, executable:string): bool ~
|
||||
|
||||
This function takes a filetype and an executable and checks whether it is safe
|
||||
to execute the given executable. For security reasons users may not want to
|
||||
have Vim execute random executables or may have forbidden to do so for
|
||||
specific filetypes by setting the "<filetype>_exec" variable (|plugin_exec|).
|
||||
|
||||
It returns |true| or |false| to indicate whether the plugin should run the given
|
||||
executable. It takes the following arguments:
|
||||
|
||||
argument type ~
|
||||
|
||||
filetype string
|
||||
executable string
|
||||
|
||||
|
||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*filetype.txt* For Vim version 9.0. Last change: 2023 Sep 11
|
||||
*filetype.txt* For Vim version 9.0. Last change: 2023 Dec 23
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -433,7 +433,7 @@ So to enable this only for ruby, set the following variable: >
|
||||
:let g:ruby_exec = 1
|
||||
|
||||
If both, the global `plugin_exec` and the `<filetype>_exec` specific variable
|
||||
are set, the filetpe specific variable should have precedent.
|
||||
are set, the filetype specific variable should have precedent.
|
||||
|
||||
AWK *ft-awk-plugin*
|
||||
|
||||
@@ -567,8 +567,9 @@ FORTRAN *ft-fortran-plugin*
|
||||
Options:
|
||||
'expandtab' is switched on to avoid tabs as required by the Fortran
|
||||
standards unless the user has set fortran_have_tabs in .vimrc.
|
||||
'textwidth' is set to 72 for fixed source format as required by the
|
||||
Fortran standards and to 80 for free source format.
|
||||
'textwidth' is set to 80 for fixed source format whereas it is set to 132
|
||||
for free source format. Setting the fortran_extended_line_length
|
||||
variable increases the width to 132 for fixed source format.
|
||||
'formatoptions' is set to break code and comment lines and to preserve long
|
||||
lines. You can format comments with |gq|.
|
||||
For further discussion of fortran_have_tabs and the method used for the
|
||||
@@ -609,6 +610,18 @@ The mapping can be disabled with: >
|
||||
let g:no_gprof_maps = 1
|
||||
|
||||
|
||||
JSON-FORMAT *ft-json-plugin*
|
||||
|
||||
JSON filetype can be extended to use 'formatexpr' and "json.FormatExpr()"
|
||||
function for json formatting (using |gq|).
|
||||
|
||||
Add following lines to $HOME/.vim/ftplugin/json.vim: >
|
||||
|
||||
vim9script
|
||||
import autoload 'dist/json.vim'
|
||||
setl formatexpr=json.FormatExpr()
|
||||
|
||||
|
||||
MAIL *ft-mail-plugin*
|
||||
|
||||
Options:
|
||||
@@ -766,6 +779,14 @@ To enable this behavior, set the following variable in your vimrc: >
|
||||
let g:rst_style = 1
|
||||
|
||||
|
||||
RNOWEB *ft-rnoweb-plugin*
|
||||
|
||||
The 'formatexpr' option is set dynamically with different values for R code
|
||||
and for LaTeX code. If you prefer that 'formatexpr' is not set, add to your
|
||||
|vimrc|: >
|
||||
let rnw_dynamic_comments = 0
|
||||
|
||||
|
||||
RPM SPEC *ft-spec-plugin*
|
||||
|
||||
Since the text for this plugin is rather long it has been put in a separate
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*ft_context.txt* For Vim version 9.0. Last change: 2022 Sep 27
|
||||
*ft_context.txt* For Vim version 9.0. Last change: 2023 Dec 26
|
||||
|
||||
This is the documentation for the ConTeXt filetype plugin.
|
||||
|
||||
@@ -103,13 +103,13 @@ Stop all the ConTeXt jobs currently running in the background.
|
||||
Settings ~
|
||||
*'b:context_ignore_makefile'*
|
||||
*'g:context_ignore_makefile'*
|
||||
`:make` can be used to (synchronously) typeset a document. If a Makefile exists
|
||||
|make| can be used to (synchronously) typeset a document. If a Makefile exists
|
||||
and this option is not set, standard `make` is used. If this option is set,
|
||||
`mtxrun` is invoked instead, even if a Makefile exists.
|
||||
>
|
||||
g:context_ignore_makefile = 0
|
||||
<
|
||||
NOTE: before using `:make`, set the working directory of the buffer to the
|
||||
NOTE: before using |make|, set the working directory of the buffer to the
|
||||
directory of the file to be typeset.
|
||||
|
||||
*'g:context_extra_options'*
|
||||
|
||||
@@ -394,17 +394,25 @@ highlighting. So do these:
|
||||
|
||||
You can find the details in $VIMRUNTIME/syntax/help.vim
|
||||
|
||||
*inclusion*
|
||||
Vim is for everybody, no matter race, gender or anything. Some people make a
|
||||
big deal about using "he" or "his" when referring to the user, thinking it
|
||||
means we assume the user is male. That is not the case, it's just a habit of
|
||||
writing help text, which quite often is many years old. Also, a lot of the
|
||||
text is written by contributors for whom English is not their first language.
|
||||
We do not make any assumptions about the gender of the user, no matter how the
|
||||
text is phrased. Some people have suggested using "they", but that is not
|
||||
regular English. We do not want to spend much time on this discussion. The
|
||||
goal is that the reader understands how Vim works, the exact wording is
|
||||
|
||||
GENDER NEUTRAL LANGUAGE
|
||||
|
||||
*gender-neutral* *inclusion*
|
||||
Vim is for everybody, no matter race, gender or anything. For new or updated
|
||||
help text, gender neutral language is recommended. Some of the help text is
|
||||
many years old and there is no need to change it. We do not make any
|
||||
assumptions about the gender of the user, no matter how the text is phrased.
|
||||
The goal is that the reader understands how Vim works, the exact wording is
|
||||
secondary.
|
||||
|
||||
Many online technical style guides include sections about gender neutral
|
||||
language. Here are a few: >
|
||||
|
||||
https://developers.google.com/style/pronouns
|
||||
https://techwhirl.com/gender-neutral-technical-writing/
|
||||
https://www.skillsyouneed.com/write/gender-neutral-language.html
|
||||
https://ualr.edu/writingcenter/avoid-sexist-language/
|
||||
<
|
||||
Note: gender neutral language does not require using singular "they".
|
||||
|
||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*if_ole.txt* For Vim version 9.0. Last change: 2022 Oct 08
|
||||
*if_ole.txt* For Vim version 9.0. Last change: 2023 Nov 19
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Paul Moore
|
||||
@@ -59,7 +59,7 @@ Vim exposes four methods for use by clients.
|
||||
SendKeys(keys) Execute a series of keys.
|
||||
|
||||
This method takes a single parameter, which is a string of keystrokes. These
|
||||
keystrokes are executed exactly as if they had been types in at the keyboard.
|
||||
keystrokes are executed exactly as if they had been typed in at the keyboard.
|
||||
Special keys can be given using their <..> names, as for the right hand side
|
||||
of a mapping. Note: Execution of the Ex "normal" command is not supported -
|
||||
see below |ole-normal|.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*if_pyth.txt* For Vim version 9.0. Last change: 2022 Feb 22
|
||||
*if_pyth.txt* For Vim version 9.0. Last change: 2023 Oct 25
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Paul Moore
|
||||
@@ -524,7 +524,7 @@ The range object methods are:
|
||||
|
||||
Range object type is available using "Range" attribute of vim module.
|
||||
|
||||
Example (assume r is the current range):
|
||||
Example (assume r is the current range): >
|
||||
# Send all lines in a range to the default printer
|
||||
vim.command("%d,%dhardcopy!" % (r.start+1,r.end+1))
|
||||
|
||||
@@ -754,8 +754,10 @@ you can use Vim without this file.
|
||||
MS-Windows ~
|
||||
|
||||
To use the Python interface the Python DLL must be in your search path. In a
|
||||
console window type "path" to see what directories are used. The 'pythondll'
|
||||
or 'pythonthreedll' option can be also used to specify the Python DLL.
|
||||
console window type "path" to see what directories are used. If the DLL is
|
||||
not found in your search path, Vim will check the registry to find the path
|
||||
where Python is installed. The 'pythondll' or 'pythonthreedll' option can be
|
||||
also used to specify the Python DLL.
|
||||
|
||||
The name of the DLL should match the Python version Vim was compiled with.
|
||||
Currently the name for Python 2 is "python27.dll", that is for Python 2.7.
|
||||
@@ -782,6 +784,8 @@ and failures. With Stable ABI, this restriction is relaxed, and any Python 3
|
||||
library with version of at least |v:python3_version| will work. See
|
||||
|has-python| for how to check if Stable ABI is supported, or see if version
|
||||
output includes |+python3/dyn-stable|.
|
||||
On MS-Windows, 'pythonthreedll' will be set to "python3.dll". When searching
|
||||
the DLL from the registry, Vim will search the latest version of Python.
|
||||
|
||||
==============================================================================
|
||||
10. Python 3 *python3*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*indent.txt* For Vim version 9.0. Last change: 2022 Oct 10
|
||||
*indent.txt* For Vim version 9.0. Last change: 2023 Dec 23
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -715,26 +715,25 @@ FORTRAN *ft-fortran-indent*
|
||||
Block if, select case, where, and forall constructs are indented. So are
|
||||
type, interface, associate, block, and enum constructs. The indenting of
|
||||
subroutines, functions, modules, and program blocks is optional. Comments,
|
||||
labelled statements and continuation lines are indented if the Fortran is in
|
||||
labeled statements, and continuation lines are indented if the Fortran is in
|
||||
free source form, whereas they are not indented if the Fortran is in fixed
|
||||
source form because of the left margin requirements. Hence manual indent
|
||||
corrections will be necessary for labelled statements and continuation lines
|
||||
corrections will be necessary for labeled statements and continuation lines
|
||||
when fixed source form is being used. For further discussion of the method
|
||||
used for the detection of source format see |ft-fortran-syntax|.
|
||||
|
||||
Do loops ~
|
||||
All do loops are left unindented by default. Do loops can be unstructured in
|
||||
Fortran with (possibly multiple) loops ending on a labelled executable
|
||||
Fortran with (possibly multiple) loops ending on a labeled executable
|
||||
statement of almost arbitrary type. Correct indentation requires
|
||||
compiler-quality parsing. Old code with do loops ending on labelled statements
|
||||
of arbitrary type can be indented with elaborate programs such as Tidy
|
||||
(http://www.unb.ca/chem/ajit/f_tidy.htm). Structured do/continue loops are
|
||||
also left unindented because continue statements are also used for purposes
|
||||
other than ending a do loop. Programs such as Tidy can convert structured
|
||||
do/continue loops to the do/enddo form. Do loops of the do/enddo variety can
|
||||
be indented. If you use only structured loops of the do/enddo form, you should
|
||||
declare this by setting the fortran_do_enddo variable in your .vimrc as
|
||||
follows >
|
||||
compiler-quality parsing. Old code with do loops ending on labeled statements
|
||||
of arbitrary type can be indented with elaborate programs such as Tidy.
|
||||
Structured do/continue loops are also left unindented because continue
|
||||
statements are used for purposes other than ending a do loop. Programs such
|
||||
as Tidy can convert structured do/continue loops to the do/enddo form. Do
|
||||
loops of the do/enddo variety can be indented. If you use only structured
|
||||
loops of the do/enddo form, you should declare this by setting the
|
||||
fortran_do_enddo variable in your .vimrc as follows >
|
||||
|
||||
let fortran_do_enddo=1
|
||||
|
||||
@@ -748,15 +747,14 @@ to get do loops indented in .f90 files and left alone in Fortran files with
|
||||
other extensions such as .for.
|
||||
|
||||
Program units ~
|
||||
The indenting of program units (subroutines, functions, modules, and program
|
||||
blocks) is enabled by default but can be suppressed if a lighter, screen-width
|
||||
preserving indent style is desired. To suppress the indenting of program
|
||||
units for all fortran files set the global fortran_indent_less variable in
|
||||
your .vimrc as follows >
|
||||
Indenting of program units (subroutines, functions, modules, and program
|
||||
blocks) can be increased by setting the variable fortran_indent_more and can
|
||||
be decreased by setting the variable fortran_indent_less. These variables
|
||||
can be set for all fortran files in your .vimrc as follows >
|
||||
|
||||
let fortran_indent_less=1
|
||||
|
||||
A finer level of suppression can be achieved by setting the corresponding
|
||||
A finer level of control can be achieved by setting the corresponding
|
||||
buffer-local variable as follows >
|
||||
|
||||
let b:fortran_indent_less=1
|
||||
@@ -1042,8 +1040,8 @@ r_indent_comment_column, as in the example below:
|
||||
let r_indent_comment_column = 30
|
||||
<
|
||||
Any code after a line that ends with "<-" is indented. Emacs/ESS does not
|
||||
indent the code if it is a top level function. If you prefer that the
|
||||
Vim-R-plugin behaves like Emacs/ESS in this regard, put in your |vimrc|:
|
||||
indent the code if it is a top-level function. If you prefer a behavior like
|
||||
Emacs/ESS one in this regard, put in your |vimrc|:
|
||||
>
|
||||
let r_indent_ess_compatible = 1
|
||||
<
|
||||
@@ -1236,7 +1234,7 @@ variable. It supports 3 keys, `line_continuation`, `more_in_bracket_block`,
|
||||
and `searchpair_timeout`.
|
||||
`line_continuation` expects a number which will be added to the indent level of
|
||||
a continuation line starting with a backslash, and defaults to
|
||||
`shiftwidth() * 3`. It also accepts a string, which is evaluated at runtime.
|
||||
`shiftwidth() * 3` . It also accepts a string, which is evaluated at runtime.
|
||||
`more_in_bracket_block` expects a boolean value; when on, an extra
|
||||
`shiftwidth()` is added inside blocks surrounded with brackets. It defaults to
|
||||
`v:false`.
|
||||
@@ -1244,14 +1242,14 @@ a continuation line starting with a backslash, and defaults to
|
||||
a timeout. Increasing the value might give more accurate results, but also
|
||||
causes the indentation to take more time. It defaults to 100 (milliseconds).
|
||||
|
||||
Example of configuration:
|
||||
Example of configuration: >
|
||||
|
||||
let g:vim_indent = #{
|
||||
\ line_continuation: shiftwidth() * 3,
|
||||
\ more_in_bracket_block: v:false,
|
||||
\ searchpair_timeout: 100,
|
||||
\ }
|
||||
|
||||
<
|
||||
*g:vim_indent_cont*
|
||||
This variable is equivalent to `g:vim_indent.line_continuation`.
|
||||
It's supported for backward compatibility.
|
||||
|
||||
@@ -1112,6 +1112,22 @@ tag command action in Command-line editing mode ~
|
||||
|c_<Insert>| <Insert> toggle insert/overstrike mode
|
||||
|c_<LeftMouse>| <LeftMouse> cursor at mouse click
|
||||
|
||||
commands in wildmenu mode (see 'wildmenu')
|
||||
|
||||
<Up> move up to parent / select the previous match
|
||||
<Down> move down to submenu / select the next match
|
||||
<Left> select the previous match / move up to parent
|
||||
<Right> select the next match / move down to submenu
|
||||
<CR> move into submenu when doing menu completion
|
||||
CTRL-E stop completion and go back to original text
|
||||
CTRL-Y accept selected match and stop completion
|
||||
other stop completion and insert the typed character
|
||||
|
||||
commands in wildmenu mode with 'wildoptions' set to "pum"
|
||||
|
||||
<PageUp> select a match several entries back
|
||||
<PageDown> select a match several entries forward
|
||||
|
||||
==============================================================================
|
||||
5. Terminal-Job mode *terminal-job-index*
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*intro.txt* For Vim version 9.0. Last change: 2023 Aug 15
|
||||
*intro.txt* For Vim version 9.0. Last change: 2023 Nov 18
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -43,7 +43,8 @@ document, there is a separate document for each supported system, see
|
||||
|
||||
*pronounce*
|
||||
Vim is pronounced as one word, like Jim, not vi-ai-em. It's written with a
|
||||
capital, since it's a name, again like Jim.
|
||||
capital, since it's a name, again like Jim. The GUI version of Vim is written
|
||||
"gVim" (or "GVim" when at the beginning of a sentence).
|
||||
|
||||
This manual is a reference for all the Vim commands and options. This is not
|
||||
an introduction to the use of Vi or Vim, it gets a bit complicated here and
|
||||
@@ -97,12 +98,14 @@ There are several mailing lists for Vim:
|
||||
<vim-mac@vim.org> *vim-mac* *vim_mac*
|
||||
For discussions about using and improving the Macintosh version of
|
||||
Vim.
|
||||
<vim-security@googlegroups.com> *vim-security*
|
||||
This list is for (privately) discussing security relevant issues of Vim.
|
||||
|
||||
See http://www.vim.org/maillist.php for the latest information.
|
||||
|
||||
NOTE:
|
||||
- Anyone can see the archive, e.g. on Google groups. Search this if you have
|
||||
questions.
|
||||
questions, except for the vim-security list.
|
||||
- You can only send messages to these lists if you have subscribed!
|
||||
- The first message is moderated, thus it may take a few hours to show up.
|
||||
- You need to send the messages from the same location as where you subscribed
|
||||
@@ -184,7 +187,7 @@ introduce Y2K problems, but those are not really part of Vim itself.
|
||||
==============================================================================
|
||||
3. Credits *credits* *author*
|
||||
|
||||
Most of Vim was created by Bram Moolenaar <Bram@vim.org> |Bram-Moolenaar|
|
||||
Most of Vim was created by Bram Moolenaar <Bram@vim.org> |Bram-Moolenaar|.
|
||||
|
||||
Parts of the documentation come from several Vi manuals, written by:
|
||||
W.N. Joy
|
||||
@@ -217,7 +220,8 @@ Vim would never have become what it is now, without the help of these people!
|
||||
Bill Foster Athena GUI port (later removed)
|
||||
Google Let Bram work on Vim one day a week
|
||||
Loic Grenie xvim (ideas for multi windows version)
|
||||
Sven Guckes Vim promoter and previous WWW page maintainer |Sven-Guckes|
|
||||
Sven Guckes Vim promoter and previous WWW page maintainer
|
||||
|Sven-Guckes|
|
||||
Darren Hiebert Exuberant ctags
|
||||
Jason Hildebrand GTK+ 2 port
|
||||
Bruce Hunsaker improvements for VMS port
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*map.txt* For Vim version 9.0. Last change: 2023 May 28
|
||||
*map.txt* For Vim version 9.0. Last change: 2023 December 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -406,7 +406,7 @@ Note:
|
||||
*E1255* *E1136*
|
||||
<Cmd> and <ScriptCmd> commands must terminate, that is, they must be followed
|
||||
by <CR> in the {rhs} of the mapping definition. |Command-line| mode is never
|
||||
entered.
|
||||
entered. To use a literal <CR> in the {rhs}, use |<lt>|.
|
||||
|
||||
|
||||
1.3 MAPPING AND MODES *:map-modes*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*message.txt* For Vim version 9.0. Last change: 2023 May 24
|
||||
*message.txt* For Vim version 9.0. Last change: 2023 Dec 20
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*motion.txt* For Vim version 9.0. Last change: 2023 Sep 28
|
||||
*motion.txt* For Vim version 9.0. Last change: 2023 Dec 27
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1310,14 +1310,12 @@ bring you back to the switch statement.
|
||||
]m Go to [count] next start of a method (for Java or
|
||||
similar structured language). When not before the
|
||||
start of a method, jump to the start or end of the
|
||||
class. When no '{' is found after the cursor, this is
|
||||
an error. |exclusive| motion.
|
||||
class. |exclusive| motion.
|
||||
*]M*
|
||||
]M Go to [count] next end of a method (for Java or
|
||||
similar structured language). When not before the end
|
||||
of a method, jump to the start or end of the class.
|
||||
When no '}' is found after the cursor, this is an
|
||||
error. |exclusive| motion.
|
||||
|exclusive| motion.
|
||||
*[m*
|
||||
[m Go to [count] previous start of a method (for Java or
|
||||
similar structured language). When not after the
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*netbeans.txt* For Vim version 9.0. Last change: 2022 Apr 03
|
||||
*netbeans.txt* For Vim version 9.0. Last change: 2023 Nov 26
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Gordon Prieur et al.
|
||||
@@ -846,7 +846,7 @@ REJECT Not used.
|
||||
These errors occur when a message violates the protocol:
|
||||
*E627* *E628* *E629* *E632* *E633* *E634* *E635* *E636*
|
||||
*E637* *E638* *E639* *E640* *E641* *E642* *E643* *E644* *E645* *E646*
|
||||
*E647* *E648* *E649* *E650* *E651* *E652*
|
||||
*E647* *E648* *E650* *E651* *E652*
|
||||
|
||||
|
||||
==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 9.0. Last change: 2023 Aug 15
|
||||
*options.txt* For Vim version 9.0. Last change: 2023 Dec 20
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -71,7 +71,7 @@ achieve special effects. These options come in three forms:
|
||||
'ttytype'
|
||||
Warning: This may have a lot of side effects.
|
||||
|
||||
*:set-args* *:set=* *E487* *E521*
|
||||
*:set-args* *:set=* *E487* *E521*
|
||||
:se[t] {option}={value} or
|
||||
:se[t] {option}:{value}
|
||||
Set string or number option to {value}.
|
||||
@@ -192,10 +192,27 @@ To include white space in a string option value it has to be preceded with a
|
||||
backslash. To include a backslash you have to use two. Effectively this
|
||||
means that the number of backslashes in an option value is halved (rounded
|
||||
down).
|
||||
In options 'path', 'cdpath', and 'tags', spaces have to be preceded with three
|
||||
backslashes instead for compatibility with version 3.0 where the options can
|
||||
be separated by either commas or spaces.
|
||||
Comma-separated options like 'backupdir' and 'tags' will also require commas
|
||||
to be escaped with two backslashes, whereas this is not needed for
|
||||
non-comma-separated ones like 'makeprg'.
|
||||
When setting options using |:let| and |literal-string|, you need to use one
|
||||
fewer layer of backslash.
|
||||
A few examples: >
|
||||
:set tags=tags\ /usr/tags results in "tags /usr/tags"
|
||||
:set tags=tags\\,file results in "tags\,file"
|
||||
:set tags=tags\\\ file results in "tags\ file"
|
||||
:set makeprg=make\ file results in "make file"
|
||||
:let &makeprg='make file' (same as above)
|
||||
:set makeprg=make\\\ file results in "make\ file"
|
||||
:set tags=tags\ /usr/tags results in "tags" and "/usr/tags"
|
||||
:set tags=tags\\\ file results in "tags file"
|
||||
:let &tags='tags\ file' (same as above)
|
||||
|
||||
:set makeprg=make,file results in "make,file"
|
||||
:set makeprg=make\\,file results in "make\,file"
|
||||
:set tags=tags,file results in "tags" and "file"
|
||||
:set tags=tags\\,file results in "tags,file"
|
||||
:let &tags='tags\,file' (same as above)
|
||||
|
||||
The "|" character separates a ":set" command from a following command. To
|
||||
include the "|" in the option value, use "\|" instead. This example sets the
|
||||
@@ -435,7 +452,7 @@ Set using a variable with lambda expression: >
|
||||
let &tagfunc = L
|
||||
|
||||
In Vim9 script, in a compiled function, you can use a lambda, but a
|
||||
closured does not work, because the function will be called without the
|
||||
closure does not work, because the function will be called without the
|
||||
context of where it was defined.
|
||||
|
||||
|
||||
@@ -823,53 +840,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
to its default (empty string).
|
||||
NOTE: This option is reset when 'compatible' is set.
|
||||
|
||||
*'autochdir'* *'acd'* *'noautochdir'* *'noacd'*
|
||||
'autochdir' 'acd' boolean (default off)
|
||||
global
|
||||
{only available when compiled with it, use
|
||||
exists("+autochdir") to check}
|
||||
When on, Vim will change the current working directory whenever you
|
||||
open a file, switch buffers, delete a buffer or open/close a window.
|
||||
It will change to the directory containing the file which was opened
|
||||
or selected. When a buffer has no name it also has no directory, thus
|
||||
the current directory won't change when navigating to it.
|
||||
Note: When this option is on some plugins may not work.
|
||||
|
||||
*'autoshelldir'* *'asd'* *'noautoshelldir'* *'noasd'*
|
||||
'autoshelldir' 'asd' boolean (default off)
|
||||
global
|
||||
When on, Vim will change the current working directory whenever you
|
||||
change the directory of the shell running in a terminal window. You
|
||||
need proper setting-up, so whenever the shell's pwd changes an OSC 7
|
||||
escape sequence will be emitted. For example, on Linux, you can
|
||||
source /etc/profile.d/vte.sh in your shell profile if you use bash or
|
||||
zsh. For bash this should work (put it in a bash init file): >
|
||||
if [[ -n "$VIM_TERMINAL" ]]; then
|
||||
PROMPT_COMMAND='_vim_sync_PWD'
|
||||
function _vim_sync_PWD() {
|
||||
printf '\033]7;file://%s\033\\' "$PWD"
|
||||
}
|
||||
fi
|
||||
<
|
||||
Or, in a zsh init file: >
|
||||
if [[ -n "$VIM_TERMINAL" ]]; then
|
||||
autoload -Uz add-zsh-hook
|
||||
add-zsh-hook -Uz chpwd _vim_sync_PWD
|
||||
function _vim_sync_PWD() {
|
||||
printf '\033]7;file://%s\033\\' "$PWD"
|
||||
}
|
||||
fi
|
||||
<
|
||||
In a fish init file: >
|
||||
if test -n "$VIM_TERMINAL"
|
||||
function _vim_sync_PWD --on-variable=PWD
|
||||
printf '\033]7;file://%s\033\\' "$PWD"
|
||||
end
|
||||
end
|
||||
<
|
||||
You can find an alternative method at |terminal-autoshelldir|.
|
||||
When the parsing of the OSC sequence fails you get *E1179* .
|
||||
|
||||
*'arabic'* *'arab'* *'noarabic'* *'noarab'*
|
||||
'arabic' 'arab' boolean (default off)
|
||||
local to window
|
||||
@@ -912,6 +882,18 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
further details see |arabic.txt|.
|
||||
NOTE: This option is set when 'compatible' is set.
|
||||
|
||||
*'autochdir'* *'acd'* *'noautochdir'* *'noacd'*
|
||||
'autochdir' 'acd' boolean (default off)
|
||||
global
|
||||
{only available when compiled with it, use
|
||||
exists("+autochdir") to check}
|
||||
When on, Vim will change the current working directory whenever you
|
||||
open a file, switch buffers, delete a buffer or open/close a window.
|
||||
It will change to the directory containing the file which was opened
|
||||
or selected. When a buffer has no name it also has no directory, thus
|
||||
the current directory won't change when navigating to it.
|
||||
Note: When this option is on some plugins may not work.
|
||||
|
||||
*'autoindent'* *'ai'* *'noautoindent'* *'noai'*
|
||||
'autoindent' 'ai' boolean (default off)
|
||||
local to buffer
|
||||
@@ -941,6 +923,42 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
using the global value: >
|
||||
:set autoread<
|
||||
<
|
||||
|
||||
*'autoshelldir'* *'asd'* *'noautoshelldir'* *'noasd'*
|
||||
'autoshelldir' 'asd' boolean (default off)
|
||||
global
|
||||
When on, Vim will change the current working directory whenever you
|
||||
change the directory of the shell running in a terminal window. You
|
||||
need proper setting-up, so whenever the shell's pwd changes an OSC 7
|
||||
escape sequence will be emitted. For example, on Linux, you can
|
||||
source /etc/profile.d/vte.sh in your shell profile if you use bash or
|
||||
zsh. For bash this should work (put it in a bash init file): >
|
||||
if [[ -n "$VIM_TERMINAL" ]]; then
|
||||
PROMPT_COMMAND='_vim_sync_PWD'
|
||||
function _vim_sync_PWD() {
|
||||
printf '\033]7;file://%s\033\\' "$PWD"
|
||||
}
|
||||
fi
|
||||
<
|
||||
Or, in a zsh init file: >
|
||||
if [[ -n "$VIM_TERMINAL" ]]; then
|
||||
autoload -Uz add-zsh-hook
|
||||
add-zsh-hook -Uz chpwd _vim_sync_PWD
|
||||
function _vim_sync_PWD() {
|
||||
printf '\033]7;file://%s\033\\' "$PWD"
|
||||
}
|
||||
fi
|
||||
<
|
||||
In a fish init file: >
|
||||
if test -n "$VIM_TERMINAL"
|
||||
function _vim_sync_PWD --on-variable=PWD
|
||||
printf '\033]7;file://%s\033\\' "$PWD"
|
||||
end
|
||||
end
|
||||
<
|
||||
You can find an alternative method at |terminal-autoshelldir|.
|
||||
When the parsing of the OSC sequence fails you get *E1179* .
|
||||
|
||||
*'autowrite'* *'aw'* *'noautowrite'* *'noaw'*
|
||||
'autowrite' 'aw' boolean (default off)
|
||||
global
|
||||
@@ -1407,7 +1425,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Some applications use the BOM to recognize the encoding of the file.
|
||||
Often used for UCS-2 files on MS-Windows. For other applications it
|
||||
causes trouble, for example: "cat file1 file2" makes the BOM of file2
|
||||
appear halfway the resulting file. Gcc doesn't accept a BOM.
|
||||
appear halfway through the resulting file. Gcc doesn't accept a BOM.
|
||||
When Vim reads a file and 'fileencodings' starts with "ucs-bom", a
|
||||
check for the presence of the BOM is done and 'bomb' set accordingly.
|
||||
Unless 'binary' is set, it is removed from the first line, so that you
|
||||
@@ -1587,6 +1605,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
current working directory to the |$HOME| directory like in Unix.
|
||||
When off, those commands just print the current directory name.
|
||||
On Unix this option has no effect.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
NOTE: This option is reset when 'compatible' is set.
|
||||
|
||||
*'cdpath'* *'cd'* *E344* *E346*
|
||||
@@ -1710,7 +1730,14 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
program. See |cinoptions-values| for the values of this option, and
|
||||
|C-indenting| for info on C indenting in general.
|
||||
|
||||
|
||||
*'cinscopedecls'* *'cinsd'*
|
||||
'cinscopedecls' 'cinsd' string (default "public,protected,private")
|
||||
local to buffer
|
||||
Keywords that are interpreted as a C++ scope declaration by |cino-g|.
|
||||
Useful e.g. for working with the Qt framework that defines additional
|
||||
scope declarations "signals", "public slots" and "private slots": >
|
||||
set cinscopedecls+=signals,public\ slots,private\ slots
|
||||
<
|
||||
*'cinwords'* *'cinw'*
|
||||
'cinwords' 'cinw' string (default "if,else,while,do,for,switch")
|
||||
local to buffer
|
||||
@@ -1721,15 +1748,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
matter, include the keyword both the uppercase and lowercase:
|
||||
"if,If,IF".
|
||||
|
||||
*'cinscopedecls'* *'cinsd'*
|
||||
'cinscopedecls' 'cinsd' string (default "public,protected,private")
|
||||
local to buffer
|
||||
Keywords that are interpreted as a C++ scope declaration by |cino-g|.
|
||||
Useful e.g. for working with the Qt framework that defines additional
|
||||
scope declarations "signals", "public slots" and "private slots": >
|
||||
set cinscopedecls+=signals,public\ slots,private\ slots
|
||||
|
||||
< *'clipboard'* *'cb'*
|
||||
*'clipboard'* *'cb'*
|
||||
'clipboard' 'cb' string (default "autoselect,exclude:cons\|linux"
|
||||
for X-windows, "" otherwise)
|
||||
global
|
||||
@@ -1954,6 +1973,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'delcombine' + off unicode: delete whole char combination
|
||||
'digraph' + off no digraphs
|
||||
'esckeys' & off no <Esc>-keys in Insert mode
|
||||
this also disables |modifyOtherKeys|
|
||||
and |xterm-bracketed-paste|
|
||||
'expandtab' + off tabs not expanded to spaces
|
||||
'fileformats' & "" no automatic file format detection,
|
||||
"dos,unix" except for MS-Windows
|
||||
@@ -2063,21 +2084,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
*'completeslash'* *'csl'*
|
||||
'completeslash' 'csl' string (default: "")
|
||||
local to buffer
|
||||
{only for MS-Windows}
|
||||
When this option is set it overrules 'shellslash' for completion:
|
||||
- When this option is set to "slash", a forward slash is used for path
|
||||
completion in insert mode. This is useful when editing HTML tag, or
|
||||
Makefile with 'noshellslash' on MS-Windows.
|
||||
- When this option is set to "backslash", backslash is used. This is
|
||||
useful when editing a batch file with 'shellslash' set on MS-Windows.
|
||||
- When this option is empty, same character is used as for
|
||||
'shellslash'.
|
||||
For Insert mode completion the buffer-local value is used. For
|
||||
command line completion the global value is used.
|
||||
|
||||
*'completeopt'* *'cot'*
|
||||
'completeopt' 'cot' string (default: "menu,preview")
|
||||
global
|
||||
@@ -2123,7 +2129,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
select one from the menu. Only works in combination with
|
||||
"menu" or "menuone".
|
||||
|
||||
|
||||
*'completepopup'* *'cpp'*
|
||||
'completepopup' 'cpp' string (default empty)
|
||||
global
|
||||
@@ -2136,6 +2141,20 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
You can also use |popup_findinfo()| and then set properties for an
|
||||
existing info popup with |popup_setoptions()|. See |complete-popup|.
|
||||
|
||||
*'completeslash'* *'csl'*
|
||||
'completeslash' 'csl' string (default: "")
|
||||
local to buffer
|
||||
{only for MS-Windows}
|
||||
When this option is set it overrules 'shellslash' for completion:
|
||||
- When this option is set to "slash", a forward slash is used for path
|
||||
completion in insert mode. This is useful when editing HTML tag, or
|
||||
Makefile with 'noshellslash' on MS-Windows.
|
||||
- When this option is set to "backslash", backslash is used. This is
|
||||
useful when editing a batch file with 'shellslash' set on MS-Windows.
|
||||
- When this option is empty, same character is used as for
|
||||
'shellslash'.
|
||||
For Insert mode completion the buffer-local value is used. For
|
||||
command line completion the global value is used.
|
||||
|
||||
*'concealcursor'* *'cocu'*
|
||||
'concealcursor' 'cocu' string (default: "")
|
||||
@@ -2158,7 +2177,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Keep in mind that the cursor position is not always where it's
|
||||
displayed. E.g., when moving vertically it may change column.
|
||||
|
||||
|
||||
*'conceallevel'* *'cole'*
|
||||
'conceallevel' 'cole' number (default 0)
|
||||
local to window
|
||||
@@ -2536,7 +2554,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
variables overrule the terminal size values obtained
|
||||
with system specific functions.
|
||||
|
||||
|
||||
*'cryptmethod'* *'cm'*
|
||||
'cryptmethod' 'cm' string (default "blowfish2")
|
||||
global or local to buffer |global-local|
|
||||
@@ -2604,7 +2621,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
the current version does not recognize it, you will get *E821* .
|
||||
You need to edit this file with the later version of Vim.
|
||||
|
||||
|
||||
*'cscopepathcomp'* *'cspc'*
|
||||
'cscopepathcomp' 'cspc' number (default 0)
|
||||
global
|
||||
@@ -2678,7 +2694,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
inserted and deleted lines (though not characters within a line) are
|
||||
taken into account.
|
||||
|
||||
|
||||
*'cursorcolumn'* *'cuc'* *'nocursorcolumn'* *'nocuc'*
|
||||
'cursorcolumn' 'cuc' boolean (default off)
|
||||
local to window
|
||||
@@ -2703,7 +2718,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
When Visual mode is active the highlighting isn't used to make it
|
||||
easier to see the selected text.
|
||||
|
||||
|
||||
*'cursorlineopt'* *'culopt'*
|
||||
'cursorlineopt' 'culopt' string (default: "number,line")
|
||||
local to window
|
||||
@@ -2723,7 +2737,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
"line" and "screenline" cannot be used together.
|
||||
|
||||
|
||||
*'debug'*
|
||||
'debug' string (default "")
|
||||
global
|
||||
@@ -2839,7 +2852,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
When omitted a context of six lines is used.
|
||||
When using zero the context is actually one,
|
||||
since folds require a line in between, also
|
||||
for a deleted line.
|
||||
for a deleted line. Set it to a very large
|
||||
value (999999) to disable folding completely.
|
||||
See |fold-diff|.
|
||||
|
||||
iblank Ignore changes where lines are all blank. Adds
|
||||
@@ -3197,9 +3211,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
won't work by default.
|
||||
NOTE: This option is set to the Vi default value when 'compatible' is
|
||||
set and to the Vim default value when 'compatible' is reset.
|
||||
NOTE: when this option is off then the |modifyOtherKeys| functionality
|
||||
is disabled while in Insert mode to avoid ending Insert mode with any
|
||||
key that has a modifier.
|
||||
NOTE: when this option is off then the |modifyOtherKeys| and
|
||||
|xterm-bracketed-paste| functionality is disabled while in Insert mode
|
||||
to avoid ending Insert mode with any key that has a modifier.
|
||||
|
||||
*'eventignore'* *'ei'*
|
||||
'eventignore' 'ei' string (default "")
|
||||
@@ -3472,8 +3486,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
and the value of that item:
|
||||
|
||||
item name default Used for ~
|
||||
stl ' ' or '^' statusline of the current window
|
||||
stlnc ' ' or '=' statusline of the non-current windows
|
||||
stl ' ' statusline of the current window
|
||||
stlnc ' ' statusline of the non-current windows
|
||||
vert '|' vertical separators |:vsplit|
|
||||
fold '-' filling 'foldtext'
|
||||
foldopen '-' mark the beginning of a fold
|
||||
@@ -3483,15 +3497,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
eob '~' empty lines below the end of a buffer
|
||||
lastline '@' 'display' contains lastline/truncate
|
||||
|
||||
Any one that is omitted will fall back to the default. For "stl" and
|
||||
"stlnc" the space will be used when there is highlighting, '^' or '='
|
||||
otherwise.
|
||||
Any one that is omitted will fall back to the default.
|
||||
|
||||
Example: >
|
||||
:set fillchars=stl:^,stlnc:=,vert:\|,fold:-,diff:-
|
||||
< This is similar to the default, except that these characters will also
|
||||
be used when there is highlighting.
|
||||
|
||||
:set fillchars=stl:\ ,stlnc:\ ,vert:\|,fold:-,diff:-
|
||||
<
|
||||
For the "stl", "stlnc", "foldopen", "foldclose" and "foldsep" items
|
||||
single-byte and multibyte characters are supported. But double-width
|
||||
characters are not supported.
|
||||
@@ -3773,9 +3783,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'formatoptions' 'fo' string (Vim default: "tcq", Vi default: "vt")
|
||||
local to buffer
|
||||
This is a sequence of letters which describes how automatic
|
||||
formatting is to be done. See |fo-table|. When the 'paste' option is
|
||||
on, no formatting is done (like 'formatoptions' is empty). Commas can
|
||||
be inserted for readability.
|
||||
formatting is to be done.
|
||||
See |fo-table| for possible values and |gq| for how to format text.
|
||||
When the 'paste' option is on, no formatting is done (like
|
||||
'formatoptions' is empty). Commas can be inserted for readability.
|
||||
To avoid problems with flags that are added in the future, use the
|
||||
"+=" and "-=" feature of ":set" |add-option-flags|.
|
||||
NOTE: This option is set to the Vi default value when 'compatible' is
|
||||
@@ -3827,9 +3838,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
:s///gg subst. all subst. one
|
||||
|
||||
NOTE: This option is reset when 'compatible' is set.
|
||||
DEPRECATED: Setting this option may break plugins that are not aware
|
||||
of this option. Also, many users get confused that adding the /g flag
|
||||
has the opposite effect of that it normally does.
|
||||
Setting this option may break plugins that rely on the default
|
||||
behavior of the 'g' flag. This will also make the 'g' flag have the
|
||||
opposite effect of that documented in |:s_g|.
|
||||
This option is not used in |Vim9| script.
|
||||
|
||||
*'grepformat'* *'gfm'*
|
||||
@@ -4303,8 +4314,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|hl-PmenuSel| = popup menu selected line
|
||||
|hl-PmenuKind| [ popup menu "kind" normal line
|
||||
|hl-PmenuKindSel| ] popup menu "kind" selected line
|
||||
|hl-PmenuExtra| { popup menu "kind" normal line
|
||||
|hl-PmenuExtraSel| } popup menu "kind" selected line
|
||||
|hl-PmenuExtra| { popup menu "extra" normal line
|
||||
|hl-PmenuExtraSel| } popup menu "extra" selected line
|
||||
|hl-PmenuSbar| x popup menu scrollbar
|
||||
|hl-PmenuThumb| X popup menu scrollbar thumb
|
||||
|
||||
@@ -4422,8 +4433,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'ignorecase'* *'ic'* *'noignorecase'* *'noic'*
|
||||
'ignorecase' 'ic' boolean (default off)
|
||||
global
|
||||
Ignore case in search patterns. Also used when searching in the tags
|
||||
file.
|
||||
Ignore case in search patterns, |cmdline-completion|, when
|
||||
searching in the tags file, and non-|Vim9| |expr-==|.
|
||||
Also see 'smartcase' and 'tagcase'.
|
||||
Can be overruled by using "\c" or "\C" in the pattern, see
|
||||
|/ignorecase|.
|
||||
@@ -4728,7 +4739,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
It is not allowed to change text or jump to another window while
|
||||
evaluating 'indentexpr' |textlock|.
|
||||
|
||||
|
||||
*'indentkeys'* *'indk'*
|
||||
'indentkeys' 'indk' string (default "0{,0},0),0],:,0#,!^F,o,O,e")
|
||||
local to buffer
|
||||
@@ -5467,6 +5477,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Increasing this limit above 200 also changes the maximum for Ex
|
||||
command recursion, see |E169|.
|
||||
See also |:function|.
|
||||
Also used for maximum depth of callback functions.
|
||||
|
||||
*'maxmapdepth'* *'mmd'* *E223*
|
||||
'maxmapdepth' 'mmd' number (default 1000)
|
||||
@@ -5569,7 +5580,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
< If you have less than 512 Mbyte |:mkspell| may fail for some
|
||||
languages, no matter what you set 'mkspellmem' to.
|
||||
|
||||
This option cannot be set from a |modeline| or in the |sandbox|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
*'modeline'* *'ml'* *'nomodeline'* *'noml'*
|
||||
'modeline' 'ml' boolean (Vim default: on (off for root),
|
||||
@@ -5728,7 +5740,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
The 'mousemodel' option is set by the |:behave| command.
|
||||
|
||||
*'mousemoveevent'* *'mousemev'* *'nomousemoveevent'* *'nomousemev'*
|
||||
*'mousemoveevent'* *'mousemev'* *'nomousemoveevent'* *'nomousemev'*
|
||||
'mousemoveevent' 'mousemev' boolean (default off)
|
||||
global
|
||||
{only works in the GUI}
|
||||
@@ -5813,6 +5825,16 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
time in msec between two mouse clicks for the second click to be
|
||||
recognized as a multi click.
|
||||
|
||||
*'mzquantum'* *'mzq'*
|
||||
'mzquantum' 'mzq' number (default 100)
|
||||
global
|
||||
{not available when compiled without the |+mzscheme|
|
||||
feature}
|
||||
The number of milliseconds between polls for MzScheme threads.
|
||||
Negative or zero value means no thread scheduling.
|
||||
NOTE: This option is set to the Vim default value when 'compatible'
|
||||
is reset.
|
||||
|
||||
*'mzschemedll'*
|
||||
'mzschemedll' string (default depends on the build)
|
||||
global
|
||||
@@ -5838,16 +5860,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
*'mzquantum'* *'mzq'*
|
||||
'mzquantum' 'mzq' number (default 100)
|
||||
global
|
||||
{not available when compiled without the |+mzscheme|
|
||||
feature}
|
||||
The number of milliseconds between polls for MzScheme threads.
|
||||
Negative or zero value means no thread scheduling.
|
||||
NOTE: This option is set to the Vim default value when 'compatible'
|
||||
is reset.
|
||||
|
||||
*'nrformats'* *'nf'*
|
||||
'nrformats' 'nf' string (default "bin,octal,hex",
|
||||
set to "bin,hex" in |defaults.vim|)
|
||||
@@ -5938,7 +5950,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
|
||||
*'opendevice'* *'odev'* *'noopendevice'* *'noodev'*
|
||||
'opendevice' 'odev' boolean (default off)
|
||||
global
|
||||
@@ -5949,7 +5960,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Note that on MS-Windows editing "aux.h", "lpt1.txt" and the like also
|
||||
result in editing a device.
|
||||
|
||||
|
||||
*'operatorfunc'* *'opfunc'*
|
||||
'operatorfunc' 'opfunc' string (default: empty)
|
||||
global
|
||||
@@ -5961,17 +5971,16 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
|
||||
*'osfiletype'* *'oft'*
|
||||
'osfiletype' 'oft' string (default: "")
|
||||
local to buffer
|
||||
This option was supported on RISC OS, which has been removed.
|
||||
|
||||
|
||||
*'packpath'* *'pp'*
|
||||
'packpath' 'pp' string (default: see 'runtimepath')
|
||||
Directories used to find packages. See |packages|.
|
||||
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
*'paragraphs'* *'para'*
|
||||
'paragraphs' 'para' string (default "IPLPPPQPP TPHPLIPpLpItpplpipbp")
|
||||
@@ -6055,6 +6064,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
feature}
|
||||
Expression which is evaluated to apply a patch to a file and generate
|
||||
the resulting new version of the file. See |diff-patchexpr|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
*'patchmode'* *'pm'* *E205* *E206*
|
||||
'patchmode' 'pm' string (default "")
|
||||
@@ -7137,6 +7148,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
When 'shellxquote' is set to "(" then the characters listed in this
|
||||
option will be escaped with a '^' character. This makes it possible
|
||||
to execute most external commands with cmd.exe.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
*'shellxquote'* *'sxq'*
|
||||
'shellxquote' 'sxq' string (default: "";
|
||||
@@ -7414,7 +7427,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
"number" display signs in the 'number' column. If the number
|
||||
column is not present, then behaves like "auto".
|
||||
|
||||
|
||||
*'smartcase'* *'scs'* *'nosmartcase'* *'noscs'*
|
||||
'smartcase' 'scs' boolean (default off)
|
||||
global
|
||||
@@ -7682,7 +7694,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
|
||||
*'splitbelow'* *'sb'* *'nosplitbelow'* *'nosb'*
|
||||
'splitbelow' 'sb' boolean (default off)
|
||||
global
|
||||
@@ -7977,7 +7988,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
This option controls the behavior when switching between buffers.
|
||||
This option is checked, when
|
||||
- jumping to errors with the |quickfix| commands (|:cc|, |:cn|, |:cp|,
|
||||
etc.)
|
||||
etc.).
|
||||
- jumping to a tag using the |:stag| command.
|
||||
- opening a file using the |CTRL-W_f| or |CTRL-W_F| command.
|
||||
- jumping to a buffer using a buffer split command (e.g. |:sbuffer|,
|
||||
@@ -8065,14 +8076,12 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Keep in mind that only one of the tab pages is the current one, others
|
||||
are invisible and you can't jump to their windows.
|
||||
|
||||
|
||||
*'tabpagemax'* *'tpm'*
|
||||
'tabpagemax' 'tpm' number (default 10)
|
||||
global
|
||||
Maximum number of tab pages to be opened by the |-p| command line
|
||||
argument or the ":tab all" command. |tabpage|
|
||||
|
||||
|
||||
*'tabstop'* *'ts'*
|
||||
'tabstop' 'ts' number (default 8)
|
||||
local to buffer
|
||||
@@ -8193,6 +8202,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
function and an example. The value can be the name of a function, a
|
||||
|lambda| or a |Funcref|. See |option-value-function| for more
|
||||
information.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
*'taglength'* *'tl'*
|
||||
'taglength' 'tl' number (default 0)
|
||||
@@ -8212,8 +8223,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|+emacs_tags|: "./tags,./TAGS,tags,TAGS")
|
||||
global or local to buffer |global-local|
|
||||
Filenames for the tag command, separated by spaces or commas. To
|
||||
include a space or comma in a file name, precede it with a backslash
|
||||
(see |option-backslash| about including spaces and backslashes).
|
||||
include a space or comma in a file name, precede it with backslashes
|
||||
(see |option-backslash| about including spaces/commas and backslashes).
|
||||
When a file name starts with "./", the '.' is replaced with the path
|
||||
of the current file. But only when the 'd' flag is not included in
|
||||
'cpoptions'. Environment variables are expanded |:set_env|. Also see
|
||||
@@ -8490,6 +8501,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'timeout'* *'to'* *'notimeout'* *'noto'*
|
||||
'timeout' 'to' boolean (default on)
|
||||
global
|
||||
|
||||
*'ttimeout'* *'nottimeout'*
|
||||
'ttimeout' boolean (default off, set in |defaults.vim|)
|
||||
global
|
||||
@@ -8952,12 +8964,14 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Setting 'verbosefile' to a new value is like making it empty first.
|
||||
The difference with |:redir| is that verbose messages are not
|
||||
displayed when 'verbosefile' is set.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
*'viewdir'* *'vdir'*
|
||||
'viewdir' 'vdir' string (default for Amiga "home:vimfiles/view",
|
||||
'viewdir' 'vdir' string (default for Amiga: "home:vimfiles/view",
|
||||
for Win32: "$HOME/vimfiles/view",
|
||||
for Unix: "$HOME/.vim/view",
|
||||
for macOS: "$VIM/vimfiles/view"
|
||||
for macOS: "$VIM/vimfiles/view",
|
||||
for VMS: "sys$login:vimfiles/view")
|
||||
global
|
||||
{not available when compiled without the |+mksession|
|
||||
@@ -9234,6 +9248,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
The character is not recognized when used inside a macro. See
|
||||
'wildcharm' for that.
|
||||
Some keys will not work, such as CTRL-C, <CR> and Enter.
|
||||
<Esc> can be used, but hitting it twice in a row will still exit
|
||||
command-line as a failsafe measure.
|
||||
Although 'wc' is a number option, you can set it to a special key: >
|
||||
:set wc=<Tab>
|
||||
< NOTE: This option is set to the Vi default value when 'compatible' is
|
||||
@@ -9266,8 +9282,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
a pattern from the list. This avoids problems when a future version
|
||||
uses another default.
|
||||
|
||||
|
||||
*'wildignorecase'* *'wic'* *'nowildignorecase'* *'nowic'*
|
||||
*'wildignorecase'* *'wic'* *'nowildignorecase'* *'nowic'*
|
||||
'wildignorecase' 'wic' boolean (default off)
|
||||
global
|
||||
When set case is ignored when completing file names and directories.
|
||||
@@ -9275,7 +9290,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Does not apply when the shell is used to expand wildcards, which
|
||||
happens when there are special characters.
|
||||
|
||||
|
||||
*'wildmenu'* *'wmnu'* *'nowildmenu'* *'nowmnu'*
|
||||
'wildmenu' 'wmnu' boolean (default off, set in |defaults.vim|)
|
||||
global
|
||||
@@ -9296,31 +9310,34 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
as needed.
|
||||
The "wildmenu" mode is abandoned when a key is hit that is not used
|
||||
for selecting a completion.
|
||||
While the "wildmenu" is active, not using the popup menu, the
|
||||
following keys have special meanings:
|
||||
|
||||
<Left> <Right> - select previous/next match (like CTRL-P/CTRL-N)
|
||||
<Down> - in filename/menu name completion: move into a
|
||||
subdirectory or submenu.
|
||||
While the "wildmenu" is active, the following keys have special
|
||||
meanings:
|
||||
CTRL-P - go to the previous entry
|
||||
CTRL-N - go to the next entry
|
||||
<CR> - in menu completion, when the cursor is just after a
|
||||
dot: move into a submenu.
|
||||
CTRL-E - end completion, go back to what was there before
|
||||
selecting a match.
|
||||
CTRL-Y - accept the currently selected match and stop
|
||||
completion.
|
||||
|
||||
When not using the popup menu for command line completion, the
|
||||
following keys have special meanings:
|
||||
<Left> <Right> - select previous/next match (like CTRL-P/CTRL-N)
|
||||
<Up> - in filename/menu name completion: move up into
|
||||
parent directory or parent menu.
|
||||
<Down> - in filename/menu name completion: move into a
|
||||
subdirectory or submenu.
|
||||
|
||||
When using the popup menu for command line completion, the following
|
||||
keys have special meanings:
|
||||
<Down> - select next match (like CTRL-N)
|
||||
<Up> <Down> - select previous/next match (like CTRL-P/CTRL-N)
|
||||
<PageUp> - select a match several entries back
|
||||
<PageDown> - select a match several entries further
|
||||
<Left> - in filename/menu name completion: move up into
|
||||
parent directory or parent menu.
|
||||
<Right> - in filename/menu name completion: move into a
|
||||
subdirectory or submenu.
|
||||
<Up> - select previous match (like CTRL-P)
|
||||
CTRL-E - end completion, go back to what was there before
|
||||
selecting a match.
|
||||
CTRL-N - go to the next entry
|
||||
CTRL-P - go to the previous entry
|
||||
CTRL-Y - accept the currently selected match and stop
|
||||
completion.
|
||||
|
||||
This makes the menus accessible from the console |console-menus|.
|
||||
|
||||
@@ -9440,6 +9457,21 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Note: Do not confuse this with the height of the Vim window, use
|
||||
'lines' for that.
|
||||
|
||||
*'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'*
|
||||
'winfixheight' 'wfh' boolean (default off)
|
||||
local to window |local-noglobal|
|
||||
Keep the window height when windows are opened or closed and
|
||||
'equalalways' is set. Also for |CTRL-W_=|. Set by default for the
|
||||
|preview-window| and |quickfix-window|.
|
||||
The height may be changed anyway when running out of room.
|
||||
|
||||
*'winfixwidth'* *'wfw'* *'nowinfixwidth'* *'nowfw'*
|
||||
'winfixwidth' 'wfw' boolean (default off)
|
||||
local to window |local-noglobal|
|
||||
Keep the window width when windows are opened or closed and
|
||||
'equalalways' is set. Also for |CTRL-W_=|.
|
||||
The width may be changed anyway when running out of room.
|
||||
|
||||
*'winheight'* *'wh'* *E591*
|
||||
'winheight' 'wh' number (default 1)
|
||||
global
|
||||
@@ -9460,21 +9492,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'winheight' applies to the current window. Use 'winminheight' to set
|
||||
the minimal height for other windows.
|
||||
|
||||
*'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'*
|
||||
'winfixheight' 'wfh' boolean (default off)
|
||||
local to window |local-noglobal|
|
||||
Keep the window height when windows are opened or closed and
|
||||
'equalalways' is set. Also for |CTRL-W_=|. Set by default for the
|
||||
|preview-window| and |quickfix-window|.
|
||||
The height may be changed anyway when running out of room.
|
||||
|
||||
*'winfixwidth'* *'wfw'* *'nowinfixwidth'* *'nowfw'*
|
||||
'winfixwidth' 'wfw' boolean (default off)
|
||||
local to window |local-noglobal|
|
||||
Keep the window width when windows are opened or closed and
|
||||
'equalalways' is set. Also for |CTRL-W_=|.
|
||||
The width may be changed anyway when running out of room.
|
||||
|
||||
*'winminheight'* *'wmh'*
|
||||
'winminheight' 'wmh' number (default 1)
|
||||
global
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*os_vms.txt* For Vim version 9.0. Last change: 2022 Nov 25
|
||||
*os_vms.txt* For Vim version 9.0. Last change: 2023 Dec 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL
|
||||
@@ -44,14 +44,16 @@ You can download precompiled executables from:
|
||||
|
||||
To use the precompiled binary version, you need one of these archives:
|
||||
|
||||
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
|
||||
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
|
||||
vim-XX-exe-ia64-term.zip IA64 console executables
|
||||
vim-XX-exe-x86-gui.zip X86_64 GUI/Motif executables
|
||||
vim-XX-exe-x86-term.zip X86_64 console executables
|
||||
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
|
||||
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
|
||||
vim-XX-exe-ia64-term.zip IA64 console executables
|
||||
vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
|
||||
vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
|
||||
vim-XX-exe-axp-term.zip Alpha console executables
|
||||
vim-XX-exe-axp-term.zip Alpha console executables
|
||||
vim-XX-exe-vax-gui.zip VAX GUI executables
|
||||
vim-XX-exe-vax-term.zip VAX console executables
|
||||
vim-XX-exe-vax-term.zip VAX console executables
|
||||
|
||||
and of course (optional)
|
||||
vim-XX-runtime.zip runtime files
|
||||
@@ -59,7 +61,7 @@ and of course (optional)
|
||||
The binary archives contain: vim.exe, ctags.exe, xxd.exe files.
|
||||
|
||||
For GTK executables you will need GTKLIB that is available for
|
||||
Alpha and IA64 platform.
|
||||
Alpha and IA64 platforms.
|
||||
|
||||
==============================================================================
|
||||
|
||||
@@ -71,9 +73,9 @@ See the file [.SRC]INSTALLVMS.TXT.
|
||||
|
||||
4. Problems *vms-problems*
|
||||
|
||||
The code has been tested under Open VMS 6.2 - 8.2 on Alpha, VAX and IA64
|
||||
platforms with the DEC C compiler. It should work without major problems.
|
||||
If your system does not have some include libraries you can tune up in
|
||||
The code has been tested under Open VMS 6.2 - 9.2 on Alpha, VAX, IA64 and
|
||||
X86_64 platforms with the DEC C compiler. It should work without major problems.
|
||||
If your system does not have some include libraries you can tune in the
|
||||
OS_VMS_CONF.H file.
|
||||
|
||||
If you decided to build Vim with +perl, +python, etc. options, first you need
|
||||
@@ -88,8 +90,7 @@ VAX C compiler is not fully ANSI C compatible in pre-processor directives
|
||||
semantics, therefore you have to use a converter program that will do the lion
|
||||
part of the job. For detailed instructions read file INSTALLvms.txt
|
||||
|
||||
MMS_VIM.EXE is built together with VIM.EXE, but for XXD.EXE you should
|
||||
change to a subdirectory and build it separately.
|
||||
To build XXD.EXE, you should change to the subdirectory and build it separately.
|
||||
|
||||
CTAGS is not part of the Vim source distribution anymore, however the OpenVMS
|
||||
specific source might contain CTAGS source files as described above.
|
||||
@@ -206,6 +207,7 @@ Example LOGIN.COM: >
|
||||
$ define/nolog VIM DKA0:[UTIL.VIM81]
|
||||
$ vi*m :== mcr VIM:VIM.EXE
|
||||
$ gv*im:== spawn/nowait/input=NLA0 mcr VIM:VIM.EXE -g -GEOMETRY 80x40
|
||||
$ set term/inq/ins ! inquire the terminal capabilities
|
||||
$ set disp/create/node=192.168.10.202/trans=tcpip
|
||||
|
||||
Note: This set-up should be enough, if you are working on a standalone server or
|
||||
@@ -443,7 +445,12 @@ Terminal entry not found in termcap
|
||||
builtin_dumb
|
||||
defaulting to 'vt320'
|
||||
---
|
||||
The solution is to define the default terminal name: >
|
||||
|
||||
Try to force to inquire the terminal capabilities with: >
|
||||
|
||||
$ set term/inquire
|
||||
|
||||
If the inquire did not help, the solutions is to define the default terminal name: >
|
||||
|
||||
$ ! unknown terminal name. Let us use vt320 or ansi instead.
|
||||
$ ! Note: it's case sensitive
|
||||
@@ -758,7 +765,18 @@ GNU_TOOLS.ZIP package downloadable from http://www.polarhome.com/vim/
|
||||
|
||||
9. VMS related changes *vms-changes*
|
||||
|
||||
Version 8.2
|
||||
Version 9.0 (2023 Nov 27)
|
||||
- Vim is ported to the X86_64 architecture
|
||||
- IMPORTANT: because of the getline function name used in structs like in ex_cmds.h
|
||||
on X86_64 the CRTL_VER is kept under 80500000 level. The proper solution would be
|
||||
to rename the getline function to something else in the struct (and in all places
|
||||
it is used) - and avoiding to use POSIX functions in structs, but this change would
|
||||
impact on all other operating systems. (added to the VMS TODO list)
|
||||
Read more about at https://forum.vmssoftware.com/viewtopic.php?f=38&t=8914&p=20049
|
||||
- os_vms_conf.h includes have been reviewed for all architectures
|
||||
- added support for the MODIFIED_BY define
|
||||
|
||||
Version 8.2 (2020 Feb 6)
|
||||
- make all changes needed for clean compile build of v8.2 on VMS on all platforms
|
||||
- fix the call mkdir bug (vicente_polo@yahoo.es)
|
||||
- test on VSI OpenVMS Alpha and Itanium platforms
|
||||
@@ -767,17 +785,18 @@ Version 8.2
|
||||
- XPM v3.4.11 libraries for IA64, AXP and VAX are added
|
||||
- start integrating the new test scripts
|
||||
|
||||
Version 8.1
|
||||
Version 8.1 (2019 Jan 9)
|
||||
- make necessary changes to build v8.1 on VMS
|
||||
- GTK1.2.10 on VAX
|
||||
|
||||
Version 8.0
|
||||
Version 8.0 (2016 Nov 21)
|
||||
- solve the 100% cpu usage issue while waiting for a keystroke
|
||||
- correct the VMS warnings and errors around handling the INFINITY (used in json.c)
|
||||
- minor VMS port related changes
|
||||
- correct the make_vms.mms file for 8.0
|
||||
- fix [.TESTDIR]make_vms.mms for 8.0
|
||||
|
||||
Version 7.4
|
||||
Version 7.4 (2013 Aug 10)
|
||||
- Undo: VMS can not handle more than one dot in the filenames use "dir/name" -> "dir/_un_name"
|
||||
add _un_ at the beginning to keep the extension
|
||||
- correct swap file name wildcard handling
|
||||
@@ -793,7 +812,7 @@ Version 7.4
|
||||
- minor compiler warnings fixed
|
||||
- CTAGS 5.8 +regex included
|
||||
|
||||
Version 7.3
|
||||
Version 7.3 (2010 Aug 15)
|
||||
- CTAGS 5.8 included
|
||||
- VMS compile warnings fixed - floating-point overflow warning corrected on VAX
|
||||
- filepath completion corrected - too many chars were escaped in filename
|
||||
@@ -956,7 +975,7 @@ Version 4.5 (1996 Dec 16)
|
||||
10. Authors *vms-authors*
|
||||
|
||||
OpenVMS documentation and executables are maintained by:
|
||||
Zoltan Arpadffy <arpadffy@polarhome.com>
|
||||
Zoltan Arpadffy <zoltan.arpadffy@gmail.com>
|
||||
OpenVMS Vim page: http://www.polarhome.com/vim/
|
||||
|
||||
This document uses parts and remarks from earlier authors and contributors
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*os_win32.txt* For Vim version 9.0. Last change: 2022 Sep 18
|
||||
*os_win32.txt* For Vim version 9.0. Last change: 2023 Dec 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by George Reilly
|
||||
@@ -304,7 +304,7 @@ A. When using :! to run an external command, you can run it with "start". For
|
||||
treated as the start of the command.
|
||||
*windows-asynchronously*
|
||||
Q. How do I avoid getting a window for programs that I run asynchronously?
|
||||
A. You have two possible solutions depending on what you want:
|
||||
A. You have three possible solutions depending on what you want:
|
||||
1) You may use the /min flag in order to run program in a minimized state
|
||||
with no other changes. It will work equally for console and GUI
|
||||
applications.
|
||||
@@ -313,6 +313,9 @@ A. You have two possible solutions depending on what you want:
|
||||
should use this flag only if the application you run doesn't require any
|
||||
input. Otherwise it will get an EOF error because its input stream
|
||||
(stdin) would be redirected to \\.\NUL (stdout and stderr too).
|
||||
3) Set the '!' flag in the 'guioptions' option |'go-!'|. This will make Vim
|
||||
run the "start" command inside Vims terminal window and not open a
|
||||
console window.
|
||||
|
||||
Example for a console application, run Exuberant ctags: >
|
||||
:!start /min ctags -R .
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pattern.txt* For Vim version 9.0. Last change: 2023 Feb 04
|
||||
*pattern.txt* For Vim version 9.0. Last change: 2023 Oct 23
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1080,7 +1080,7 @@ match ASCII characters, as indicated by the range.
|
||||
|
||||
\(\) A pattern enclosed by escaped parentheses. */\(* */\(\)* */\)*
|
||||
E.g., "\(^a\)" matches 'a' at the start of a line.
|
||||
There can only be ten of these. You can use "\%(" to add more, but
|
||||
There can only be nine of these. You can use "\%(" to add more, but
|
||||
not counting it as a sub-expression.
|
||||
*E51* *E54* *E55* *E872* *E873*
|
||||
|
||||
@@ -1461,10 +1461,11 @@ Finally, these constructs are unique to Perl:
|
||||
Just like |:match| above, but set a separate match. Thus
|
||||
there can be three matches active at the same time. The match
|
||||
with the lowest number has priority if several match at the
|
||||
same position.
|
||||
The ":3match" command is used by the |matchparen| plugin. You
|
||||
are suggested to use ":match" for manual matching and
|
||||
":2match" for another plugin.
|
||||
same position. It uses the match id 3.
|
||||
The ":3match" command is used by (Vim < 9.0.2054) |matchparen|
|
||||
plugin. You are suggested to use ":match" for manual matching
|
||||
and ":2match" for another plugin or even better make use of
|
||||
the more flexible |matchadd()| (and similar) functions instead.
|
||||
|
||||
==============================================================================
|
||||
11. Fuzzy matching *fuzzy-matching*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pi_gzip.txt* For Vim version 9.0. Last change: 2019 May 05
|
||||
*pi_gzip.txt* For Vim version 9.0. Last change: 2023 Nov 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -12,6 +12,14 @@ The functionality mentioned here is a |standard-plugin|.
|
||||
This plugin is only available if 'compatible' is not set.
|
||||
You can avoid loading this plugin by setting the "loaded_gzip" variable: >
|
||||
:let loaded_gzip = 1
|
||||
<
|
||||
*g:gzip_exec*
|
||||
|
||||
For security reasons, one may prevent that Vim runs executables automatically
|
||||
when opening a buffer. This option (default: "1") can be used to prevent
|
||||
executing the executables command when set to "0": >
|
||||
:let g:gzip_exec = 0
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
1. Autocommands *gzip-autocmd*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pi_zip.txt* For Vim version 9.0. Last change: 2023 Mar 12
|
||||
*pi_zip.txt* For Vim version 9.0. Last change: 2023 Nov 05
|
||||
|
||||
+====================+
|
||||
| Zip File Interface |
|
||||
@@ -69,6 +69,13 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
|
||||
This option specifies the program (and any options needed) used to
|
||||
extract a file from a zip archive. By default, >
|
||||
let g:zip_extractcmd= g:zip_unzipcmd
|
||||
<
|
||||
*g:zip_exec*
|
||||
For security reasons, one may prevent that Vim runs executables
|
||||
automatically when opening a buffer. This option (default: "1")
|
||||
can be used to prevent executing the "unzip" command when set to
|
||||
"0": >
|
||||
let g:zip_exec=0
|
||||
<
|
||||
PREVENTING LOADING~
|
||||
|
||||
|
||||
@@ -1422,6 +1422,7 @@ rest is ignored. Items can only be 1023 bytes long.
|
||||
Basic items
|
||||
|
||||
%f file name (finds a string)
|
||||
%b buffer number (finds a number)
|
||||
%o module name (finds a string)
|
||||
%l line number (finds a number)
|
||||
%e end line number (finds a number)
|
||||
@@ -1461,6 +1462,11 @@ On MS-Windows a leading "C:" will be included in "%f", even when using "%f:".
|
||||
This means that a file name which is a single alphabetical letter will not be
|
||||
detected.
|
||||
|
||||
The "%b" conversion is used to parse a buffer number. This is useful for
|
||||
referring to lines in a scratch buffer or a buffer with no name. If a buffer
|
||||
with the matching number doesn't exist, then that line is used as a non-error
|
||||
line.
|
||||
|
||||
The "%p" conversion is normally followed by a "^". It's used for compilers
|
||||
that output a line like: >
|
||||
^
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*quickref.txt* For Vim version 9.0. Last change: 2022 Dec 16
|
||||
*quickref.txt* For Vim version 9.0. Last change: 2023 Dec 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -604,12 +604,12 @@ Short explanation of each option: *option-list*
|
||||
'altkeymap' 'akm' obsolete option for Farsi
|
||||
'ambiwidth' 'ambw' what to do with Unicode chars of ambiguous width
|
||||
'antialias' 'anti' Mac OS X: use smooth, antialiased fonts
|
||||
'autochdir' 'acd' change directory to the file in the current window
|
||||
'autoshelldir' 'asd' change directory to the shell's current directory
|
||||
'arabic' 'arab' for Arabic as a default second language
|
||||
'arabicshape' 'arshape' do shaping for Arabic characters
|
||||
'autochdir' 'acd' change directory to the file in the current window
|
||||
'autoindent' 'ai' take indent for new line from previous line
|
||||
'autoread' 'ar' autom. read file when changed outside of Vim
|
||||
'autoshelldir' 'asd' change directory to the shell's current directory
|
||||
'autowrite' 'aw' automatically write file if changed
|
||||
'autowriteall' 'awa' as 'autowrite', but works with more commands
|
||||
'background' 'bg' "dark" or "light", used for highlight colors
|
||||
@@ -642,8 +642,8 @@ Short explanation of each option: *option-list*
|
||||
'cindent' 'cin' do C program indenting
|
||||
'cinkeys' 'cink' keys that trigger indent when 'cindent' is set
|
||||
'cinoptions' 'cino' how to do indenting when 'cindent' is set
|
||||
'cinwords' 'cinw' words where 'si' and 'cin' add an indent
|
||||
'cinscopedecls' 'cinsd' words that are recognized by 'cino-g'
|
||||
'cinwords' 'cinw' words where 'si' and 'cin' add an indent
|
||||
'clipboard' 'cb' use the clipboard as the unnamed register
|
||||
'cmdheight' 'ch' number of lines to use for the command-line
|
||||
'cmdwinheight' 'cwh' height of the command-line window
|
||||
@@ -1005,9 +1005,9 @@ Short explanation of each option: *option-list*
|
||||
'winaltkeys' 'wak' when the windows system handles ALT keys
|
||||
'wincolor' 'wcr' window-local highlighting
|
||||
'window' 'wi' nr of lines to scroll for CTRL-F and CTRL-B
|
||||
'winheight' 'wh' minimum number of lines for the current window
|
||||
'winfixheight' 'wfh' keep window height when opening/closing windows
|
||||
'winfixwidth' 'wfw' keep window width when opening/closing windows
|
||||
'winheight' 'wh' minimum number of lines for the current window
|
||||
'winminheight' 'wmh' minimum number of lines for any window
|
||||
'winminwidth' 'wmw' minimal number of columns for any window
|
||||
'winptydll' name of the winpty dynamic library
|
||||
|
||||
@@ -1149,8 +1149,8 @@ Profiling should give a good indication of where time is spent, but keep in
|
||||
mind there are various things that may clobber the results:
|
||||
|
||||
- The accuracy of the time measured depends on the gettimeofday(), or
|
||||
clock_gettime if available, system function. The accuracy ranges from 1/100
|
||||
second to nanoseconds. With clock_gettime the times are displayed in
|
||||
clock_gettime() if available, system function. The accuracy ranges from
|
||||
1/100 second to nanoseconds. With clock_gettime() the times are displayed in
|
||||
nanoseconds, otherwise microseconds. You can use `has("prof_nsec")`.
|
||||
|
||||
- Real elapsed time is measured, if other processes are busy they may cause
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*starting.txt* For Vim version 9.0. Last change: 2023 May 30
|
||||
*starting.txt* For Vim version 9.0. Last change: 2023 Oct 20
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -249,10 +249,10 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
|
||||
*-Z* *restricted-mode* *E145* *E981*
|
||||
-Z Restricted mode. All commands that make use of an external
|
||||
shell are disabled. This includes suspending with CTRL-Z,
|
||||
":sh", filtering, the system() function, backtick expansion
|
||||
":sh", filtering, the |system()| function, backtick expansion
|
||||
and libcall().
|
||||
Also disallowed are delete(), rename(), mkdir(), job_start(),
|
||||
etc.
|
||||
Also disallowed are |delete()|, |rename()|, |mkdir()|,
|
||||
|job_start()|, |setenv()| etc.
|
||||
Interfaces, such as Python, Ruby and Lua, are also disabled,
|
||||
since they could be used to execute shell commands. Perl uses
|
||||
the Safe module.
|
||||
@@ -348,7 +348,7 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
|
||||
Start logging and write entries to {filename}.
|
||||
This works like calling `ch_logfile({filename}, 'ao')` very
|
||||
early during startup.
|
||||
{only available with the |+eval| feature}
|
||||
{only available with the |+eval| and |+channel| feature}
|
||||
|
||||
*-D*
|
||||
-D Debugging. Go to debugging mode when executing the first
|
||||
@@ -1704,6 +1704,6 @@ most of the information will be restored).
|
||||
If you get the |press-enter| prompt you can press "q"
|
||||
and still get the prompt to enter a file number.
|
||||
Use ! to abandon a modified buffer. |abandon|
|
||||
{not when compiled with tiny or small features}
|
||||
{not when compiled with tiny features}
|
||||
|
||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 9.0. Last change: 2023 Apr 24
|
||||
*syntax.txt* For Vim version 9.0. Last change: 2023 Dec 23
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1001,21 +1001,21 @@ An alternative is to switch to the C++ highlighting: >
|
||||
Variable Highlight ~
|
||||
*c_gnu* GNU gcc specific items
|
||||
*c_comment_strings* strings and numbers inside a comment
|
||||
*c_space_errors* trailing white space and spaces before a <Tab>
|
||||
*c_no_trail_space_error* ... but no trailing spaces
|
||||
*c_space_errors* trailing white space and spaces before a <Tab>
|
||||
*c_no_trail_space_error* ... but no trailing spaces
|
||||
*c_no_tab_space_error* ... but no spaces before a <Tab>
|
||||
*c_no_bracket_error* don't highlight {}; inside [] as errors
|
||||
*c_no_curly_error* don't highlight {}; inside [] and () as errors;
|
||||
except { and } in first column
|
||||
Default is to highlight them, otherwise you
|
||||
can't spot a missing ")".
|
||||
...except { and } in first column
|
||||
Default is to highlight them, otherwise you
|
||||
can't spot a missing ")".
|
||||
*c_curly_error* highlight a missing } by finding all pairs; this
|
||||
forces syncing from the start of the file, can be slow
|
||||
*c_no_ansi* don't do standard ANSI types and constants
|
||||
*c_ansi_typedefs* ... but do standard ANSI types
|
||||
*c_ansi_typedefs* ... but do standard ANSI types
|
||||
*c_ansi_constants* ... but do standard ANSI constants
|
||||
*c_no_utf* don't highlight \u and \U in strings
|
||||
*c_syntax_for_h* for *.h files use C syntax instead of C++ and use objc
|
||||
*c_syntax_for_h* for *.h files use C syntax instead of C++ and use objc
|
||||
syntax instead of objcpp
|
||||
*c_no_if0* don't highlight "#if 0" blocks as comments
|
||||
*c_no_cformat* don't highlight %-formats in strings
|
||||
@@ -1589,15 +1589,24 @@ edit F# or Fortran at all, use this in your startup vimrc: >
|
||||
FORTRAN *fortran.vim* *ft-fortran-syntax*
|
||||
|
||||
Default highlighting and dialect ~
|
||||
Highlighting appropriate for Fortran 2008 is used by default. This choice
|
||||
should be appropriate for most users most of the time because Fortran 2008 is
|
||||
almost a superset of previous versions (Fortran 2003, 95, 90, and 77).
|
||||
Vim highlights according to Fortran 2023 (the most recent standard) by
|
||||
default. This choice should be appropriate for most users most of the time
|
||||
because Fortran 2023 is almost a superset of previous versions (Fortran 2018,
|
||||
2008, 2003, 95, 90, and 77). A small number of features new to Fortran 2018
|
||||
and Fortran 2023 may have been omitted at present; the transition to Fortran
|
||||
2023 will be completed in the near future. A few legacy constructs deleted or
|
||||
declared obsolescent in recent Fortran standards are highlighted as todo
|
||||
items.
|
||||
|
||||
The syntax script no longer supports Fortran dialects. The variable
|
||||
fortran_dialect is now silently ignored. Since computers are much faster now,
|
||||
the variable fortran_more_precise is no longer needed and is silently ignored.
|
||||
|
||||
Fortran source code form ~
|
||||
Fortran code can be in either fixed or free source form. Note that the
|
||||
syntax highlighting will not be correct if the form is incorrectly set.
|
||||
|
||||
When you create a new fortran file, the syntax script assumes fixed source
|
||||
When you create a new Fortran file, the syntax script assumes fixed source
|
||||
form. If you always use free source form, then >
|
||||
:let fortran_free_source=1
|
||||
in your .vimrc prior to the :syntax on command. If you always use fixed
|
||||
@@ -1611,33 +1620,55 @@ file. For more information on ftplugin files, see |ftplugin|. Note that this
|
||||
will work only if the "filetype plugin indent on" command precedes the "syntax
|
||||
on" command in your .vimrc file.
|
||||
|
||||
When you edit an existing fortran file, the syntax script will assume free
|
||||
When you edit an existing Fortran file, the syntax script will assume free
|
||||
source form if the fortran_free_source variable has been set, and assumes
|
||||
fixed source form if the fortran_fixed_source variable has been set. If
|
||||
neither of these variables have been set, the syntax script attempts to
|
||||
fixed source form if the fortran_fixed_source variable has been set. Suppose
|
||||
neither of these variables have been set. In that case, the syntax script attempts to
|
||||
determine which source form has been used by examining the file extension
|
||||
using conventions common to the ifort, gfortran, Cray, NAG, and PathScale
|
||||
compilers (.f, .for, .f77 for fixed-source, .f90, .f95, .f03, .f08 for
|
||||
free-source). If none of this works, then the script examines the first five
|
||||
columns of the first 500 lines of your file. If no signs of free source form
|
||||
are detected, then the file is assumed to be in fixed source form. The
|
||||
algorithm should work in the vast majority of cases. In some cases, such as a
|
||||
file that begins with 500 or more full-line comments, the script may
|
||||
incorrectly decide that the fortran code is in fixed form. If that happens,
|
||||
just add a non-comment statement beginning anywhere in the first five columns
|
||||
of the first twenty-five lines, save (:w) and then reload (:e!) the file.
|
||||
free-source). No default is used for the .fpp and .ftn file extensions because
|
||||
different compilers treat them differently. If none of this works, then the
|
||||
script examines the first five columns of the first 500 lines of your file. If
|
||||
no signs of free source form are detected, then the file is assumed to be in
|
||||
fixed source form. The algorithm should work in the vast majority of cases.
|
||||
In some cases, such as a file that begins with 500 or more full-line comments,
|
||||
the script may incorrectly decide that the code is in fixed form. If that
|
||||
happens, just add a non-comment statement beginning anywhere in the first five
|
||||
columns of the first twenty-five lines, save (:w), and then reload (:e!) the
|
||||
file.
|
||||
|
||||
Tabs in fortran files ~
|
||||
Vendor extensions ~
|
||||
Fixed-form Fortran requires a maximum line length of 72 characters but the
|
||||
script allows a maximum line length of 80 characters as do all compilers
|
||||
created in the last three decades. An even longer line length of 132
|
||||
characters is allowed if you set the variable fortran_extended_line_length
|
||||
with a command such as >
|
||||
:let fortran_extended_line_length=1
|
||||
placed prior to the :syntax on command.
|
||||
|
||||
If you want additional highlighting of the CUDA Fortran extensions, you should
|
||||
set the variable fortran_CUDA with a command such as >
|
||||
:let fortran_CUDA=1
|
||||
placed prior to the :syntax on command.
|
||||
|
||||
To activate recognition of some common, non-standard, vendor-supplied
|
||||
intrinsics, you should set the variable fortran_vendor_intrinsics with a
|
||||
command such as >
|
||||
:let fortran_vendor_intrinsics=1
|
||||
placed prior to the :syntax on command.
|
||||
|
||||
Tabs in Fortran files ~
|
||||
Tabs are not recognized by the Fortran standards. Tabs are not a good idea in
|
||||
fixed format fortran source code which requires fixed column boundaries.
|
||||
fixed format Fortran source code which requires fixed column boundaries.
|
||||
Therefore, tabs are marked as errors. Nevertheless, some programmers like
|
||||
using tabs. If your fortran files contain tabs, then you should set the
|
||||
using tabs. If your Fortran files contain tabs, then you should set the
|
||||
variable fortran_have_tabs in your .vimrc with a command such as >
|
||||
:let fortran_have_tabs=1
|
||||
placed prior to the :syntax on command. Unfortunately, the use of tabs will
|
||||
mean that the syntax file will not be able to detect incorrect margins.
|
||||
|
||||
Syntax folding of fortran files ~
|
||||
Syntax folding of Fortran files ~
|
||||
If you wish to use foldmethod=syntax, then you must first set the variable
|
||||
fortran_fold with a command such as >
|
||||
:let fortran_fold=1
|
||||
@@ -1647,8 +1678,8 @@ subprograms, block data subprograms, interface blocks, and modules. If you
|
||||
also set the variable fortran_fold_conditionals with a command such as >
|
||||
:let fortran_fold_conditionals=1
|
||||
then fold regions will also be defined for do loops, if blocks, and select
|
||||
case constructs. If you also set the variable
|
||||
fortran_fold_multilinecomments with a command such as >
|
||||
case constructs. If you also set the variable fortran_fold_multilinecomments
|
||||
with a command such as >
|
||||
:let fortran_fold_multilinecomments=1
|
||||
then fold regions will also be defined for three or more consecutive comment
|
||||
lines. Note that defining fold regions can be slow for large files.
|
||||
@@ -1659,58 +1690,6 @@ you set foldmethod=syntax. Comments or blank lines placed between two program
|
||||
units are not folded because they are seen as not belonging to any program
|
||||
unit.
|
||||
|
||||
More precise fortran syntax ~
|
||||
If you set the variable fortran_more_precise with a command such as >
|
||||
:let fortran_more_precise=1
|
||||
then the syntax coloring will be more precise but slower. In particular,
|
||||
statement labels used in do, goto and arithmetic if statements will be
|
||||
recognized, as will construct names at the end of a do, if, select or forall
|
||||
construct.
|
||||
|
||||
Non-default fortran dialects ~
|
||||
The syntax script supports two Fortran dialects: f08 and F. You will probably
|
||||
find the default highlighting (f08) satisfactory. A few legacy constructs
|
||||
deleted or declared obsolescent in the 2008 standard are highlighted as todo
|
||||
items.
|
||||
|
||||
If you use F, the advantage of setting the dialect appropriately is that
|
||||
other legacy features excluded from F will be highlighted as todo items and
|
||||
that free source form will be assumed.
|
||||
|
||||
The dialect can be selected in various ways. If all your fortran files use
|
||||
the same dialect, set the global variable fortran_dialect in your .vimrc prior
|
||||
to your syntax on statement. The case-sensitive, permissible values of
|
||||
fortran_dialect are "f08" or "F". Invalid values of fortran_dialect are
|
||||
ignored.
|
||||
|
||||
If the dialect depends upon the file extension, then it is most convenient to
|
||||
set a buffer-local variable in a ftplugin file. For more information on
|
||||
ftplugin files, see |ftplugin|. For example, if all your fortran files with
|
||||
an .f90 extension are written in the F subset, your ftplugin file should
|
||||
contain the code >
|
||||
let s:extfname = expand("%:e")
|
||||
if s:extfname ==? "f90"
|
||||
let b:fortran_dialect="F"
|
||||
else
|
||||
unlet! b:fortran_dialect
|
||||
endif
|
||||
Note that this will work only if the "filetype plugin indent on" command
|
||||
precedes the "syntax on" command in your .vimrc file.
|
||||
|
||||
Finer control is necessary if the file extension does not uniquely identify
|
||||
the dialect. You can override the default dialect, on a file-by-file basis,
|
||||
by including a comment with the directive "fortran_dialect=xx" (where xx=F or
|
||||
f08) in one of the first three lines in your file. For example, your older .f
|
||||
files may be legacy code but your newer ones may be F codes, and you would
|
||||
identify the latter by including in the first three lines of those files a
|
||||
Fortran comment of the form >
|
||||
! fortran_dialect=F
|
||||
|
||||
For previous versions of the syntax, you may have set fortran_dialect to the
|
||||
now-obsolete values "f77", "f90", "f95", or "elf". Such settings will be
|
||||
silently handled as "f08". Users of "elf" may wish to experiment with "F"
|
||||
instead.
|
||||
|
||||
The syntax/fortran.vim script contains embedded comments that tell you how to
|
||||
comment and/or uncomment some lines to (a) activate recognition of some
|
||||
non-standard, vendor-supplied intrinsics and (b) to prevent features deleted
|
||||
@@ -1722,7 +1701,7 @@ Parenthesis checking does not catch too few closing parentheses. Hollerith
|
||||
strings are not recognized. Some keywords may be highlighted incorrectly
|
||||
because Fortran90 has no reserved words.
|
||||
|
||||
For further information related to fortran, see |ft-fortran-indent| and
|
||||
For further information related to Fortran, see |ft-fortran-indent| and
|
||||
|ft-fortran-plugin|.
|
||||
|
||||
FREEBASIC *freebasic.vim* *ft-freebasic-syntax*
|
||||
@@ -2797,7 +2776,7 @@ The first option implies the second one.
|
||||
For highlighted trailing whitespace and mix of spaces and tabs: >
|
||||
:let python_space_error_highlight = 1
|
||||
|
||||
If you want all possible Python highlighting:
|
||||
If you want all possible Python highlighting: >
|
||||
:let python_highlight_all = 1
|
||||
This has the same effect as setting python_space_error_highlight and
|
||||
unsetting all the other ones.
|
||||
@@ -2863,10 +2842,20 @@ To highlight R code in knitr chunk headers: >
|
||||
let rmd_syn_hl_chunk = 1
|
||||
|
||||
By default, chunks of R code will be highlighted following the rules of R
|
||||
language. If you want proper syntax highlighting of chunks of other languages,
|
||||
you should add them to either `markdown_fenced_languages` or
|
||||
`rmd_fenced_languages`. For example to properly highlight both R and Python,
|
||||
you may add this to your |vimrc|: >
|
||||
language. Moreover, whenever the buffer is saved, Vim scans the buffer and
|
||||
highlights other languages if they are present in new chunks. LaTeX code also
|
||||
is automatically recognized and highlighted when the buffer is saved. This
|
||||
behavior can be controlled with the variables `rmd_dynamic_fenced_languages`,
|
||||
and `rmd_include_latex` whose valid values are: >
|
||||
let rmd_dynamic_fenced_languages = 0 " No autodetection of languages
|
||||
let rmd_dynamic_fenced_languages = 1 " Autodetection of languages
|
||||
let rmd_include_latex = 0 " Don't highlight LaTeX code
|
||||
let rmd_include_latex = 1 " Autodetect LaTeX code
|
||||
let rmd_include_latex = 2 " Always include LaTeX highlighting
|
||||
|
||||
If the value of `rmd_dynamic_fenced_languages` is 0, you still can set the
|
||||
list of languages whose chunks of code should be properly highlighted, as in
|
||||
the example: >
|
||||
let rmd_fenced_languages = ['r', 'python']
|
||||
|
||||
|
||||
|
||||
@@ -2159,6 +2159,7 @@ $quote eval.txt /*$quote*
|
||||
:Stop terminal.txt /*:Stop*
|
||||
:TOhtml syntax.txt /*:TOhtml*
|
||||
:TarDiff pi_tar.txt /*:TarDiff*
|
||||
:Tbreak terminal.txt /*:Tbreak*
|
||||
:Termdebug terminal.txt /*:Termdebug*
|
||||
:TermdebugCommand terminal.txt /*:TermdebugCommand*
|
||||
:Texplore pi_netrw.txt /*:Texplore*
|
||||
@@ -4458,7 +4459,7 @@ E136 starting.txt /*E136*
|
||||
E1360 vim9class.txt /*E1360*
|
||||
E1361 syntax.txt /*E1361*
|
||||
E1362 vim9class.txt /*E1362*
|
||||
E1363 vim9class.txt /*E1363*
|
||||
E1363 vim9.txt /*E1363*
|
||||
E1364 recover.txt /*E1364*
|
||||
E1365 vim9class.txt /*E1365*
|
||||
E1366 vim9class.txt /*E1366*
|
||||
@@ -4489,8 +4490,28 @@ E1388 vim9class.txt /*E1388*
|
||||
E1389 vim9class.txt /*E1389*
|
||||
E139 message.txt /*E139*
|
||||
E1390 vim9class.txt /*E1390*
|
||||
E1391 eval.txt /*E1391*
|
||||
E1392 eval.txt /*E1392*
|
||||
E1393 vim9class.txt /*E1393*
|
||||
E1394 vim9class.txt /*E1394*
|
||||
E1395 vim9class.txt /*E1395*
|
||||
E1396 vim9class.txt /*E1396*
|
||||
E1397 vim9class.txt /*E1397*
|
||||
E1398 vim9class.txt /*E1398*
|
||||
E1399 vim9class.txt /*E1399*
|
||||
E140 message.txt /*E140*
|
||||
E1400 vim9class.txt /*E1400*
|
||||
E1401 vim9class.txt /*E1401*
|
||||
E1402 vim9class.txt /*E1402*
|
||||
E1403 vim9class.txt /*E1403*
|
||||
E1405 vim9class.txt /*E1405*
|
||||
E1406 vim9class.txt /*E1406*
|
||||
E1407 vim9class.txt /*E1407*
|
||||
E1408 vim9class.txt /*E1408*
|
||||
E1409 vim9class.txt /*E1409*
|
||||
E141 message.txt /*E141*
|
||||
E1410 vim9class.txt /*E1410*
|
||||
E1411 vim9class.txt /*E1411*
|
||||
E142 message.txt /*E142*
|
||||
E143 autocmd.txt /*E143*
|
||||
E144 various.txt /*E144*
|
||||
@@ -4508,10 +4529,11 @@ E1503 builtin.txt /*E1503*
|
||||
E1504 builtin.txt /*E1504*
|
||||
E1505 builtin.txt /*E1505*
|
||||
E1506 editing.txt /*E1506*
|
||||
E1507 editing.txt /*E1507*
|
||||
E1507 builtin.txt /*E1507*
|
||||
E1508 editing.txt /*E1508*
|
||||
E1509 editing.txt /*E1509*
|
||||
E151 helphelp.txt /*E151*
|
||||
E1510 change.txt /*E1510*
|
||||
E152 helphelp.txt /*E152*
|
||||
E153 helphelp.txt /*E153*
|
||||
E154 helphelp.txt /*E154*
|
||||
@@ -5007,6 +5029,8 @@ E610 editing.txt /*E610*
|
||||
E611 eval.txt /*E611*
|
||||
E612 sign.txt /*E612*
|
||||
E613 print.txt /*E613*
|
||||
E614 builtin.txt /*E614*
|
||||
E616 builtin.txt /*E616*
|
||||
E617 options.txt /*E617*
|
||||
E618 print.txt /*E618*
|
||||
E619 print.txt /*E619*
|
||||
@@ -5042,7 +5066,6 @@ E645 netbeans.txt /*E645*
|
||||
E646 netbeans.txt /*E646*
|
||||
E647 netbeans.txt /*E647*
|
||||
E648 netbeans.txt /*E648*
|
||||
E649 netbeans.txt /*E649*
|
||||
E65 pattern.txt /*E65*
|
||||
E650 netbeans.txt /*E650*
|
||||
E651 netbeans.txt /*E651*
|
||||
@@ -5090,6 +5113,7 @@ E69 pattern.txt /*E69*
|
||||
E690 eval.txt /*E690*
|
||||
E691 eval.txt /*E691*
|
||||
E692 eval.txt /*E692*
|
||||
E693 builtin.txt /*E693*
|
||||
E694 eval.txt /*E694*
|
||||
E695 eval.txt /*E695*
|
||||
E696 eval.txt /*E696*
|
||||
@@ -5103,6 +5127,7 @@ E702 builtin.txt /*E702*
|
||||
E703 eval.txt /*E703*
|
||||
E704 eval.txt /*E704*
|
||||
E705 eval.txt /*E705*
|
||||
E706 builtin.txt /*E706*
|
||||
E707 eval.txt /*E707*
|
||||
E708 eval.txt /*E708*
|
||||
E709 eval.txt /*E709*
|
||||
@@ -6136,6 +6161,7 @@ bug-fixes-6 version6.txt /*bug-fixes-6*
|
||||
bug-fixes-7 version7.txt /*bug-fixes-7*
|
||||
bug-fixes-8 version8.txt /*bug-fixes-8*
|
||||
bug-fixes-9 version9.txt /*bug-fixes-9*
|
||||
bug-fixes-9.1 version9.txt /*bug-fixes-9.1*
|
||||
bug-reports intro.txt /*bug-reports*
|
||||
bugreport.vim intro.txt /*bugreport.vim*
|
||||
bugs intro.txt /*bugs*
|
||||
@@ -6752,6 +6778,8 @@ dircolors.vim syntax.txt /*dircolors.vim*
|
||||
dis motion.txt /*dis*
|
||||
disable-menus gui.txt /*disable-menus*
|
||||
discard editing.txt /*discard*
|
||||
dist#vim eval.txt /*dist#vim*
|
||||
dist#vim9 eval.txt /*dist#vim9*
|
||||
distribute-script usr_51.txt /*distribute-script*
|
||||
distributed-plugins usr_05.txt /*distributed-plugins*
|
||||
distribution intro.txt /*distribution*
|
||||
@@ -7209,6 +7237,7 @@ ft-ia64-syntax syntax.txt /*ft-ia64-syntax*
|
||||
ft-inform-syntax syntax.txt /*ft-inform-syntax*
|
||||
ft-java-syntax syntax.txt /*ft-java-syntax*
|
||||
ft-javascript-omni insert.txt /*ft-javascript-omni*
|
||||
ft-json-plugin filetype.txt /*ft-json-plugin*
|
||||
ft-json-syntax syntax.txt /*ft-json-syntax*
|
||||
ft-ksh-syntax syntax.txt /*ft-ksh-syntax*
|
||||
ft-lace-syntax syntax.txt /*ft-lace-syntax*
|
||||
@@ -7273,6 +7302,7 @@ ft-rego-syntax syntax.txt /*ft-rego-syntax*
|
||||
ft-rexx-syntax syntax.txt /*ft-rexx-syntax*
|
||||
ft-rmd-plugin filetype.txt /*ft-rmd-plugin*
|
||||
ft-rmd-syntax syntax.txt /*ft-rmd-syntax*
|
||||
ft-rnoweb-plugin filetype.txt /*ft-rnoweb-plugin*
|
||||
ft-rrst-plugin filetype.txt /*ft-rrst-plugin*
|
||||
ft-rrst-syntax syntax.txt /*ft-rrst-syntax*
|
||||
ft-rst-plugin filetype.txt /*ft-rst-plugin*
|
||||
@@ -7416,6 +7446,7 @@ g:gnat.Project_File ft_ada.txt /*g:gnat.Project_File*
|
||||
g:gnat.Set_Project_File() ft_ada.txt /*g:gnat.Set_Project_File()*
|
||||
g:gnat.Tags() ft_ada.txt /*g:gnat.Tags()*
|
||||
g:gnat.Tags_Command ft_ada.txt /*g:gnat.Tags_Command*
|
||||
g:gzip_exec pi_gzip.txt /*g:gzip_exec*
|
||||
g:html_charset_override syntax.txt /*g:html_charset_override*
|
||||
g:html_diff_one_file syntax.txt /*g:html_diff_one_file*
|
||||
g:html_dynamic_folds syntax.txt /*g:html_dynamic_folds*
|
||||
@@ -7610,6 +7641,7 @@ g:vimsyn_minlines syntax.txt /*g:vimsyn_minlines*
|
||||
g:vimsyn_noerror syntax.txt /*g:vimsyn_noerror*
|
||||
g:yaml_schema syntax.txt /*g:yaml_schema*
|
||||
g:zipPlugin_ext pi_zip.txt /*g:zipPlugin_ext*
|
||||
g:zip_exec pi_zip.txt /*g:zip_exec*
|
||||
g:zip_extractcmd pi_zip.txt /*g:zip_extractcmd*
|
||||
g:zip_nomax pi_zip.txt /*g:zip_nomax*
|
||||
g:zip_shq pi_zip.txt /*g:zip_shq*
|
||||
@@ -7660,6 +7692,7 @@ gd pattern.txt /*gd*
|
||||
gdb debug.txt /*gdb*
|
||||
gdb-version terminal.txt /*gdb-version*
|
||||
ge motion.txt /*ge*
|
||||
gender-neutral helphelp.txt /*gender-neutral*
|
||||
get() builtin.txt /*get()*
|
||||
get-ms-debuggers debug.txt /*get-ms-debuggers*
|
||||
getbufinfo() builtin.txt /*getbufinfo()*
|
||||
@@ -8653,6 +8686,7 @@ multilang mlang.txt /*multilang*
|
||||
multilang-menus mlang.txt /*multilang-menus*
|
||||
multilang-messages mlang.txt /*multilang-messages*
|
||||
multilang-scripts mlang.txt /*multilang-scripts*
|
||||
multiple-constructors vim9class.txt /*multiple-constructors*
|
||||
myfiletypefile syntax.txt /*myfiletypefile*
|
||||
myscriptsfile syntax.txt /*myscriptsfile*
|
||||
mysql ft_sql.txt /*mysql*
|
||||
@@ -9049,13 +9083,19 @@ notepad gui_w32.txt /*notepad*
|
||||
nr2char() builtin.txt /*nr2char()*
|
||||
nroff.vim syntax.txt /*nroff.vim*
|
||||
null vim9.txt /*null*
|
||||
null-anomalies vim9.txt /*null-anomalies*
|
||||
null-compare vim9.txt /*null-compare*
|
||||
null-details vim9.txt /*null-details*
|
||||
null-variable eval.txt /*null-variable*
|
||||
null-variables vim9.txt /*null-variables*
|
||||
null_blob vim9.txt /*null_blob*
|
||||
null_channel vim9.txt /*null_channel*
|
||||
null_class vim9.txt /*null_class*
|
||||
null_dict vim9.txt /*null_dict*
|
||||
null_function vim9.txt /*null_function*
|
||||
null_job vim9.txt /*null_job*
|
||||
null_list vim9.txt /*null_list*
|
||||
null_object vim9.txt /*null_object*
|
||||
null_partial vim9.txt /*null_partial*
|
||||
null_string vim9.txt /*null_string*
|
||||
number_relativenumber options.txt /*number_relativenumber*
|
||||
@@ -9069,6 +9109,8 @@ o_V motion.txt /*o_V*
|
||||
o_object-select motion.txt /*o_object-select*
|
||||
o_v motion.txt /*o_v*
|
||||
object vim9class.txt /*object*
|
||||
object-const-variable vim9class.txt /*object-const-variable*
|
||||
object-final-variable vim9class.txt /*object-final-variable*
|
||||
object-motions motion.txt /*object-motions*
|
||||
object-select motion.txt /*object-select*
|
||||
objects index.txt /*objects*
|
||||
@@ -9156,6 +9198,7 @@ patches-8.2 version8.txt /*patches-8.2*
|
||||
patches-9 version9.txt /*patches-9*
|
||||
patches-9.1 version9.txt /*patches-9.1*
|
||||
patches-after-8.2 version9.txt /*patches-after-8.2*
|
||||
patches-after-9.0 version9.txt /*patches-after-9.0*
|
||||
pathshorten() builtin.txt /*pathshorten()*
|
||||
pattern pattern.txt /*pattern*
|
||||
pattern-atoms pattern.txt /*pattern-atoms*
|
||||
@@ -9324,8 +9367,6 @@ printf-s builtin.txt /*printf-s*
|
||||
printf-x builtin.txt /*printf-x*
|
||||
printing print.txt /*printing*
|
||||
printing-formfeed print.txt /*printing-formfeed*
|
||||
private-method vim9class.txt /*private-method*
|
||||
private-variable vim9class.txt /*private-variable*
|
||||
profile repeat.txt /*profile*
|
||||
profiling repeat.txt /*profiling*
|
||||
profiling-variable eval.txt /*profiling-variable*
|
||||
@@ -9350,6 +9391,8 @@ prop_type_change() textprop.txt /*prop_type_change()*
|
||||
prop_type_delete() textprop.txt /*prop_type_delete()*
|
||||
prop_type_get() textprop.txt /*prop_type_get()*
|
||||
prop_type_list() textprop.txt /*prop_type_list()*
|
||||
protected-method vim9class.txt /*protected-method*
|
||||
protected-variable vim9class.txt /*protected-variable*
|
||||
ps1-about ft_ps1.txt /*ps1-about*
|
||||
ps1-compiler ft_ps1.txt /*ps1-compiler*
|
||||
ps1-folding ft_ps1.txt /*ps1-folding*
|
||||
@@ -9358,6 +9401,7 @@ ps1-syntax ft_ps1.txt /*ps1-syntax*
|
||||
psql ft_sql.txt /*psql*
|
||||
ptcap.vim syntax.txt /*ptcap.vim*
|
||||
pterm-mouse options.txt /*pterm-mouse*
|
||||
public-variable vim9class.txt /*public-variable*
|
||||
pum_getpos() builtin.txt /*pum_getpos()*
|
||||
pumvisible() builtin.txt /*pumvisible()*
|
||||
put change.txt /*put*
|
||||
@@ -9497,6 +9541,7 @@ rcp pi_netrw.txt /*rcp*
|
||||
read-in-close-cb channel.txt /*read-in-close-cb*
|
||||
read-messages insert.txt /*read-messages*
|
||||
read-only-share editing.txt /*read-only-share*
|
||||
read-only-variable vim9class.txt /*read-only-variable*
|
||||
read-stdin version5.txt /*read-stdin*
|
||||
readblob() builtin.txt /*readblob()*
|
||||
readdir() builtin.txt /*readdir()*
|
||||
@@ -10269,6 +10314,7 @@ t_ti term.txt /*t_ti*
|
||||
t_tp version4.txt /*t_tp*
|
||||
t_ts term.txt /*t_ts*
|
||||
t_ts_old version4.txt /*t_ts_old*
|
||||
t_typealias-variable eval.txt /*t_typealias-variable*
|
||||
t_u7 term.txt /*t_u7*
|
||||
t_ue term.txt /*t_ue*
|
||||
t_undo version4.txt /*t_undo*
|
||||
@@ -10424,6 +10470,7 @@ termdebug-customizing terminal.txt /*termdebug-customizing*
|
||||
termdebug-events terminal.txt /*termdebug-events*
|
||||
termdebug-example terminal.txt /*termdebug-example*
|
||||
termdebug-frames terminal.txt /*termdebug-frames*
|
||||
termdebug-mappings terminal.txt /*termdebug-mappings*
|
||||
termdebug-prompt terminal.txt /*termdebug-prompt*
|
||||
termdebug-starting terminal.txt /*termdebug-starting*
|
||||
termdebug-stepping terminal.txt /*termdebug-stepping*
|
||||
@@ -10768,6 +10815,7 @@ v:t_none eval.txt /*v:t_none*
|
||||
v:t_number eval.txt /*v:t_number*
|
||||
v:t_object eval.txt /*v:t_object*
|
||||
v:t_string eval.txt /*v:t_string*
|
||||
v:t_typealias eval.txt /*v:t_typealias*
|
||||
v:termblinkresp eval.txt /*v:termblinkresp*
|
||||
v:termrbgresp eval.txt /*v:termrbgresp*
|
||||
v:termresponse eval.txt /*v:termresponse*
|
||||
@@ -10902,6 +10950,7 @@ val-variable eval.txt /*val-variable*
|
||||
valgrind debug.txt /*valgrind*
|
||||
values() builtin.txt /*values()*
|
||||
var-functions usr_41.txt /*var-functions*
|
||||
variable-categories vim9.txt /*variable-categories*
|
||||
variable-scope eval.txt /*variable-scope*
|
||||
variable-types vim9.txt /*variable-types*
|
||||
variables eval.txt /*variables*
|
||||
@@ -10981,6 +11030,8 @@ vim-modes intro.txt /*vim-modes*
|
||||
vim-modes-intro intro.txt /*vim-modes-intro*
|
||||
vim-raku ft_raku.txt /*vim-raku*
|
||||
vim-script-intro usr_41.txt /*vim-script-intro*
|
||||
vim-script-library eval.txt /*vim-script-library*
|
||||
vim-security intro.txt /*vim-security*
|
||||
vim-use intro.txt /*vim-use*
|
||||
vim-variable eval.txt /*vim-variable*
|
||||
vim.b if_lua.txt /*vim.b*
|
||||
@@ -10992,8 +11043,10 @@ vim.w if_lua.txt /*vim.w*
|
||||
vim7 version7.txt /*vim7*
|
||||
vim8 version8.txt /*vim8*
|
||||
vim9 vim9.txt /*vim9*
|
||||
vim9-access-modes vim9class.txt /*vim9-access-modes*
|
||||
vim9-autoload vim9.txt /*vim9-autoload*
|
||||
vim9-boolean vim9.txt /*vim9-boolean*
|
||||
vim9-class vim9class.txt /*vim9-class*
|
||||
vim9-classes vim9.txt /*vim9-classes*
|
||||
vim9-const vim9.txt /*vim9-const*
|
||||
vim9-curly vim9.txt /*vim9-curly*
|
||||
@@ -11004,6 +11057,7 @@ vim9-differences vim9.txt /*vim9-differences*
|
||||
vim9-export vim9.txt /*vim9-export*
|
||||
vim9-false-true vim9.txt /*vim9-false-true*
|
||||
vim9-final vim9.txt /*vim9-final*
|
||||
vim9-func-declaration vim9.txt /*vim9-func-declaration*
|
||||
vim9-function-defined-later vim9.txt /*vim9-function-defined-later*
|
||||
vim9-gotchas vim9.txt /*vim9-gotchas*
|
||||
vim9-ignored-argument vim9.txt /*vim9-ignored-argument*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*term.txt* For Vim version 9.0. Last change: 2023 Jan 15
|
||||
*term.txt* For Vim version 9.0. Last change: 2023 Dec 09
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -104,6 +104,11 @@ pasted text. This way Vim can separate text that is pasted from characters
|
||||
that are typed. The pasted text is handled like when the middle mouse button
|
||||
is used, it is inserted literally and not interpreted as commands.
|
||||
|
||||
Please note: while bracketed paste is trying to prevent nasty side-effects
|
||||
from pasting (like the CTRL-C or <ESC> key), it's not a guaranteed security
|
||||
measure because different terminals may implement this mode slightly
|
||||
differently. You should still be careful with what you paste into Vim.
|
||||
|
||||
When the cursor is in the first column, the pasted text will be inserted
|
||||
before it. Otherwise the pasted text is appended after the cursor position.
|
||||
This means one cannot paste after the first column. Unfortunately Vim does
|
||||
@@ -122,6 +127,9 @@ If |t_PS| or |t_PE| is not set, then |t_BE| will not be used. This is to make
|
||||
sure that bracketed paste is not enabled when the escape codes surrounding
|
||||
pasted text cannot be recognized.
|
||||
|
||||
Note: bracketed paste mode will be disabled, when the 'esckeys' option is not
|
||||
set (also when the 'compatible' option is set).
|
||||
|
||||
If your terminal supports bracketed paste, but the options are not set
|
||||
automatically, you can try using something like this: >
|
||||
|
||||
@@ -305,7 +313,7 @@ convert all key sequences to their 8-bit variants.
|
||||
|
||||
*xterm-terminfo-entries*
|
||||
For some time the terminfo entries were insufficient to describe all the
|
||||
features tht Vim can use. The builtin xterm termcap entries did have these,
|
||||
features that Vim can use. The builtin xterm termcap entries did have these,
|
||||
with the result that several terminals that were similar enough to xterm took
|
||||
advantage of these by prefixing "xterm-" to the terminal name in $TERM.
|
||||
|
||||
@@ -324,11 +332,16 @@ using the "xterm" workaround. These are the relevant entries (so far):
|
||||
|
||||
XM "\033[?1006;1004;1000%?%p1%{1}%=%th%el%;"
|
||||
mouse enable / disable |t_XM|
|
||||
FE "\033[?1004h" enable focus event tracking |t_fe|
|
||||
FD "\033[?1004l" disable focus event tracking |t_fd|
|
||||
|
||||
The "XM" entry includes "1006" to enable SGR style mouse reporting. This
|
||||
supports columns above 223. It also includes "1004" which enables focus
|
||||
reporting. The t_fe and t_fd entries can be left empty (they don't have
|
||||
entries in terminfo/termcap anyway).
|
||||
reporting.
|
||||
Note: As of 2023, the "1004" is currently not used by Vim itself, instead
|
||||
it is recommended to set focus reporting independently of mouse tracking by
|
||||
the |t_fe| and |t_fd| entries, as ncurses also starts to use with the latest
|
||||
versions (and will then also end up in terminfo/termcap).
|
||||
|
||||
*xterm-kitty* *kitty-terminal*
|
||||
The Kitty terminal is a special case. Mainly because it works differently
|
||||
@@ -744,8 +757,9 @@ For Windows Terminal you can use something like this: >
|
||||
let &t_SI = "\e[5 q" " blink bar
|
||||
let &t_SR = "\e[3 q" " blink underline
|
||||
let &t_EI = "\e[1 q" " blink block
|
||||
let &t_ti ..= "\e[1 q" " blink block
|
||||
let &t_te ..= "\e[0 q" " default (depends on terminal, normally blink block)
|
||||
let &t_ti ..= "\e[1 q" " blink block
|
||||
let &t_te ..= "\e[0 q" " default (depends on terminal, normally blink
|
||||
" block)
|
||||
endif
|
||||
|
||||
{not available when compiled without the |+cursorshape| feature}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*terminal.txt* For Vim version 9.0. Last change: 2023 Aug 23
|
||||
*terminal.txt* For Vim version 9.0. Last change: 2023 Nov 08
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -42,6 +42,7 @@ If the result is "1" you have it.
|
||||
Other commands |termdebug-commands|
|
||||
Events |termdebug-events|
|
||||
Prompt mode |termdebug-prompt|
|
||||
Mappings |termdebug-mappings|
|
||||
Communication |termdebug-communication|
|
||||
Customizing |termdebug-customizing|
|
||||
|
||||
@@ -1330,6 +1331,9 @@ gdb:
|
||||
*:Break* set a breakpoint at the cursor position
|
||||
:Break {position}
|
||||
set a breakpoint at the specified position
|
||||
*:Tbreak* set a temporary breakpoint at the cursor position
|
||||
:Tbreak {position}
|
||||
set a temporary breakpoint at the specified position
|
||||
*:Clear* delete the breakpoint at the cursor position
|
||||
|
||||
*:Step* execute the gdb "step" command
|
||||
@@ -1461,18 +1465,22 @@ Prompt mode can be used even when the |+terminal| feature is present with: >
|
||||
If there is no g:termdebug_config you can use: >
|
||||
let g:termdebug_use_prompt = 1
|
||||
<
|
||||
*termdebug_map_K*
|
||||
The K key is normally mapped to |:Evaluate|. If you do not want this use: >
|
||||
Mappings ~
|
||||
*termdebug_map_K* *termdebug-mappings*
|
||||
The K key is normally mapped to |:Evaluate| unless a buffer local (|:map-local|)
|
||||
mapping to K already exists. If you do not want this use: >
|
||||
let g:termdebug_config['map_K'] = 0
|
||||
If there is no g:termdebug_config you can use: >
|
||||
let g:termdebug_map_K = 0
|
||||
<
|
||||
*termdebug_map_minus*
|
||||
The - key is normally mapped to |:Down|. If you do not want this use: >
|
||||
The - key is normally mapped to |:Down| unless a buffer local mapping to the -
|
||||
key already exists. If you do not want this use: >
|
||||
let g:termdebug_config['map_minus'] = 0
|
||||
<
|
||||
*termdebug_map_plus*
|
||||
The + key is normally mapped to |:Up|. If you do not want this use: >
|
||||
The + key is normally mapped to |:Up| unless a buffer local mapping to the +
|
||||
key already exists. If you do not want this use: >
|
||||
let g:termdebug_config['map_plus'] = 0
|
||||
<
|
||||
*termdebug_disasm_window*
|
||||
@@ -1483,15 +1491,22 @@ If you want the Asm window shown by default, set the "disasm_window" flag to
|
||||
If there is no g:termdebug_config you can use: >
|
||||
let g:termdebug_disasm_window = 15
|
||||
Any value greater than 1 will set the Asm window height to that value.
|
||||
If the current window has enough horizontal space, it will be vertically split
|
||||
and the Asm window will be shown side by side with the source code window (and
|
||||
the height option won't be used).
|
||||
|
||||
*termdebug_variables_window*
|
||||
If you want the Var window shown by default, set the flag to 1.
|
||||
the "variables_window_height" entry can be used to set the window height: >
|
||||
If you want the Var window shown by default, set the "variables_window" flag
|
||||
to 1. The "variables_window_height" entry can be used to set the window
|
||||
height: >
|
||||
let g:termdebug_config['variables_window'] = 1
|
||||
let g:termdebug_config['variables_window_height'] = 15
|
||||
If there is no g:termdebug_config you can use: >
|
||||
let g:termdebug_variables_window = 15
|
||||
Any value greater than 1 will set the Var window height to that value.
|
||||
If the current window has enough horizontal space, it will be vertically split
|
||||
and the Var window will be shown side by side with the source code window (and
|
||||
the height options won't be used).
|
||||
|
||||
Communication ~
|
||||
*termdebug-communication*
|
||||
@@ -1576,9 +1591,9 @@ If there is no g:termdebug_config you can use: >
|
||||
|
||||
Change default signs ~
|
||||
*termdebug_signs*
|
||||
Termdebug uses the last two characters of the breakpoint ID in the
|
||||
signcolumn to represent breakpoints. For example, breakpoint ID 133
|
||||
will be displayed as `33`.
|
||||
Termdebug uses the hex number of the breakpoint ID in the signcolumn to
|
||||
represent breakpoints. if it is greater than "0xFF", then it will be displayed
|
||||
as "F+", due to we really only have two screen cells for the sign.
|
||||
|
||||
If you want to customize the breakpoint signs: >
|
||||
let g:termdebug_config['sign'] = '>>'
|
||||
|
||||
@@ -6,21 +6,41 @@
|
||||
" Written by Christian Brabandt.
|
||||
|
||||
func Test_check_URLs()
|
||||
"20.10.23, added by Restorer
|
||||
if has("win32")
|
||||
echoerr "Doesn't work on MS-Windows"
|
||||
return
|
||||
let s:outdev = 'nul'
|
||||
else
|
||||
let s:outdev = '/dev/null'
|
||||
endif
|
||||
" Restorer: For Windows users. If "curl" or "weget" is installed on the system
|
||||
" but not in %PATH%, add the full routes for them to this environment variable.
|
||||
if executable('curl')
|
||||
" Note: does not follow redirects!
|
||||
let s:command = 'curl --silent --fail --output /dev/null --head '
|
||||
let s:command1 = 'curl --silent --fail --output ' ..s:outdev.. ' --head '
|
||||
let s:command2 = ""
|
||||
elseif executable('wget')
|
||||
" Note: only allow a couple of redirects
|
||||
let s:command = 'wget --quiet -S --spider --max-redirect=2 --timeout=5 --tries=2 -O /dev/null '
|
||||
let s:command1 = 'wget --quiet -S --spider --max-redirect=2 --timeout=5 --tries=2 -O ' ..s:outdev.. ' '
|
||||
let s:command2 = ""
|
||||
elseif has("win32") "20.10.23, added by Restorer
|
||||
if executable('powershell')
|
||||
if 2 == system('powershell -nologo -noprofile "$psversiontable.psversion.major"')
|
||||
echoerr 'To work in OS Windows requires the program "PowerShell" version 3.0 or higher'
|
||||
return
|
||||
endif
|
||||
let s:command1 =
|
||||
\ "powershell -nologo -noprofile \"{[Net.ServicePointManager]::SecurityProtocol = 'Tls12, Tls11, Tls, Ssl3'};try{(Invoke-WebRequest -MaximumRedirection 2 -TimeoutSec 5 -Uri "
|
||||
let s:command2 = ').StatusCode}catch{exit [int]$Error[0].Exception.Status}"'
|
||||
endif
|
||||
else
|
||||
echoerr 'Only works when "curl" or "wget" is available'
|
||||
echoerr 'Only works when "curl" or "wget", or "powershell" is available'
|
||||
return
|
||||
endif
|
||||
|
||||
" Do the testing.
|
||||
set report =999
|
||||
set nomore shm +=s
|
||||
|
||||
let pat='\(https\?\|ftp\)://[^\t* ]\+'
|
||||
exe 'helpgrep' pat
|
||||
helpclose
|
||||
@@ -36,22 +56,21 @@ func Test_check_URLs()
|
||||
put =urls
|
||||
" remove some more invalid items
|
||||
" empty lines
|
||||
v/./d
|
||||
"20.10.23, Restorer: '_' is a little faster, see `:h global`
|
||||
v/./d _
|
||||
" remove # anchors
|
||||
%s/#.*$//e
|
||||
" remove trailing stuff (parenthesis, dot, comma, quotes), but only for HTTP
|
||||
" links
|
||||
g/^h/s#[.,)'"/>][:.]\?$##
|
||||
g#^[hf]t\?tp:/\(/\?\.*\)$#d
|
||||
silent! g/ftp://,$/d
|
||||
silent! g/=$/d
|
||||
g/^h/s#[.),'"`/>][:.,]\?$##
|
||||
g#^[hf]t\?tp:/\(/\?\.*\)$#d _
|
||||
silent! g/ftp://,$/d _
|
||||
silent! g/=$/d _
|
||||
let a = getline(1,'$')
|
||||
let a = uniq(sort(a))
|
||||
%d
|
||||
%d _
|
||||
call setline(1, a)
|
||||
|
||||
" Do the testing.
|
||||
set nomore
|
||||
%s/.*/\=TestURL(submatch(0))/
|
||||
|
||||
" highlight the failures
|
||||
@@ -61,8 +80,10 @@ endfunc
|
||||
func TestURL(url)
|
||||
" Relies on the return code to determine whether a page is valid
|
||||
echom printf("Testing URL: %d/%d %s", line('.'), line('$'), a:url)
|
||||
call system(s:command . shellescape(a:url))
|
||||
call system(s:command1 .. shellescape(a:url) .. s:command2)
|
||||
return printf("%s %d", a:url, v:shell_error)
|
||||
endfunc
|
||||
|
||||
call Test_check_URLs()
|
||||
|
||||
" vim: sw=2 sts=2 et
|
||||
|
||||
@@ -21,7 +21,7 @@ Vim can be tested after building it, usually with "make test".
|
||||
The tests are located in the directory "src/testdir".
|
||||
|
||||
There are two types of tests added over time:
|
||||
test20.in oldest, only for tiny and small builds
|
||||
test20.in oldest, only for tiny builds
|
||||
test_something.vim new style tests
|
||||
|
||||
*new-style-testing*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 9.0. Last change: 2023 Jun 08
|
||||
*todo.txt* For Vim version 9.0. Last change: 2023 Dec 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -122,14 +122,7 @@ Upcoming larger works:
|
||||
|
||||
Further Vim9 improvements:
|
||||
- Classes and Interfaces. See |vim9-classes|
|
||||
- "final" object members - can only be set in the constructor.
|
||||
- Cannot use class type of itself in the method (Issue #12369)
|
||||
- Cannot use an object method in a lambda #12417
|
||||
Define all methods before compiling them?
|
||||
- Cannot call class member of funcref type (Issue #12324)
|
||||
Also #12081 first case.
|
||||
- Using list of functions does not work #12081 (repro in later message).
|
||||
- First argument of call() cannot be "obj.Func". (#11865)
|
||||
- Getting member of variable with "any" type should be handled at runtime.
|
||||
Remove temporary solution from #12096 / patch 9.0.1375.
|
||||
- "obj.Method()" does not always work in a compiled function, assumes "obj"
|
||||
@@ -137,14 +130,11 @@ Further Vim9 improvements:
|
||||
Issue #11822: any.Func() can be a dict or an object call, need to handle
|
||||
this at runtime. Also see #12198 for an example.
|
||||
Possibly issue #11981 can be fixed at the same time (has two examples).
|
||||
- Support export/import of classes and interfaces.
|
||||
- Make ":defcompile ClassName" compile all functions and methods in the
|
||||
class.
|
||||
- Forward declaration of a class? E.g. for Clone() function.
|
||||
Email lifepillar 2023 Mar 26
|
||||
- object empty(), len() - can class define a method to be used for them?
|
||||
- add to help: when using a default new() method then reordering object
|
||||
members may cause trouble. Can define new() without arguments to avoid.
|
||||
- When "Meta" is a class, is "const MetaAlias = Meta" allowed? It should
|
||||
either work or given an error. Possibly give an error now and implement it
|
||||
later (using a typedef). #12006
|
||||
@@ -157,7 +147,6 @@ Further Vim9 improvements:
|
||||
- More efficient way for interface member index than iterating over list?
|
||||
- a variant of type() that returns a different type for each class?
|
||||
list<number> and list<string> should also differ.
|
||||
- implement :type
|
||||
- implement :enum
|
||||
- Promise class, could be used to wait on a popup close callback?
|
||||
- class local to a function
|
||||
@@ -166,6 +155,8 @@ Further Vim9 improvements:
|
||||
- When evaluating constants for script variables, some functions could work:
|
||||
has(featureName), len(someString)
|
||||
- Implement as part of an expression: ++expr, --expr, expr++, expr--.
|
||||
- The use of the literal value "null" and the type specific "null_xxx"
|
||||
values is confusing (#13458, #11770).
|
||||
|
||||
Information missing in terminfo:
|
||||
- Codes used for focus gained and lost termcodes are hard-coded in
|
||||
@@ -5945,8 +5936,6 @@ Various improvements:
|
||||
7 Instead of filtering errors with a shell script it should be possible to
|
||||
do this with Vim script. A function that filters the raw text that comes
|
||||
from the 'makeprg'?
|
||||
- Add %b to 'errorformat': buffer number. (Yegappan Lakshmanan / Suresh
|
||||
Govindachar)
|
||||
7 Allow a window not to have a statusline. Makes it possible to use a
|
||||
window as a buffer-tab selection.
|
||||
8 Allow non-active windows to have a different statusline. (Yakov Lerner)
|
||||
|
||||
@@ -443,7 +443,8 @@ Any return value of the deferred function is discarded. The function cannot
|
||||
be followed by anything, such as "->func" or ".member". Currently `:defer
|
||||
GetArg()->TheFunc()` does not work, it may work in a later version.
|
||||
|
||||
Errors are reported but do not cause aborting execution of deferred functions.
|
||||
Errors are reported but do not cause aborting execution of deferred functions
|
||||
or altering execution outside of deferred functions.
|
||||
|
||||
No range is accepted. The function can be a partial with extra arguments, but
|
||||
not with a dictionary. *E1300*
|
||||
|
||||
@@ -877,7 +877,8 @@ Other computation: *bitwise-function*
|
||||
srand() initialize seed used by rand()
|
||||
|
||||
Variables: *var-functions*
|
||||
instanceof() check if a variable is an instance of a given class
|
||||
instanceof() check if a variable is an instance of a given
|
||||
class
|
||||
type() type of a variable as a number
|
||||
typename() type of a variable as text
|
||||
islocked() check if a variable is locked
|
||||
|
||||
@@ -103,8 +103,8 @@ NOT LOADING
|
||||
|
||||
It is possible that a user doesn't always want to load this plugin. Or the
|
||||
system administrator has dropped it in the system-wide plugin directory, but a
|
||||
user has his own plugin he wants to use. Then the user must have a chance to
|
||||
disable loading this specific plugin. These lines will make it possible: >
|
||||
user has their own plugin they want to use. Then the user must have a chance
|
||||
to disable loading this specific plugin. These lines will make it possible: >
|
||||
|
||||
7 if exists("g:loaded_typecorrect")
|
||||
8 finish
|
||||
@@ -136,7 +136,7 @@ item can be used: >
|
||||
|
||||
The "<Plug>TypecorrAdd;" thing will do the work, more about that further on.
|
||||
|
||||
The user can set the "g:mapleader" variable to the key sequence that he wants
|
||||
The user can set the "g:mapleader" variable to the key sequence that they want
|
||||
plugin mappings to start with. Thus if the user has done: >
|
||||
|
||||
g:mapleader = "_"
|
||||
@@ -147,8 +147,8 @@ will be used, which is a backslash. Then a map for "\a" will be defined.
|
||||
Note that <unique> is used, this will cause an error message if the mapping
|
||||
already happened to exist. |:map-<unique>|
|
||||
|
||||
But what if the user wants to define his own key sequence? We can allow that
|
||||
with this mechanism: >
|
||||
But what if the user wants to define their own key sequence? We can allow
|
||||
that with this mechanism: >
|
||||
|
||||
19 if !hasmapto('<Plug>TypecorrAdd;')
|
||||
20 map <unique> <Leader>a <Plug>TypecorrAdd;
|
||||
@@ -156,7 +156,7 @@ with this mechanism: >
|
||||
|
||||
This checks if a mapping to "<Plug>TypecorrAdd;" already exists, and only
|
||||
defines the mapping from "<Leader>a" if it doesn't. The user then has a
|
||||
chance of putting this in his vimrc file: >
|
||||
chance of putting this in their vimrc file: >
|
||||
|
||||
map ,c <Plug>TypecorrAdd;
|
||||
|
||||
@@ -262,7 +262,7 @@ Now let's add a user command to add a correction: >
|
||||
The user command is defined only if no command with the same name already
|
||||
exists. Otherwise we would get an error here. Overriding the existing user
|
||||
command with ":command!" is not a good idea, this would probably make the user
|
||||
wonder why the command he defined himself doesn't work. |:command|
|
||||
wonder why the command they defined themselves doesn't work. |:command|
|
||||
If it did happen you can find out who to blame with: >
|
||||
|
||||
verbose command Correct
|
||||
@@ -494,7 +494,7 @@ An example of how to define functionality in a filetype plugin: >
|
||||
|hasmapto()| is used to check if the user has already defined a map to
|
||||
<Plug>JavaImport;. If not, then the filetype plugin defines the default
|
||||
mapping. This starts with |<LocalLeader>|, which allows the user to select
|
||||
the key(s) he wants filetype plugin mappings to start with. The default is a
|
||||
the key(s) they want filetype plugin mappings to start with. The default is a
|
||||
backslash.
|
||||
"<unique>" is used to give an error message if the mapping already exists or
|
||||
overlaps with an existing mapping.
|
||||
|
||||
@@ -173,9 +173,8 @@ enabled from the Makefile.
|
||||
|
||||
--prefix={directory} Top directory where to install Vim.
|
||||
|
||||
--with-features=tiny Compile with many features disabled.
|
||||
--with-features=small Compile with some features disabled.
|
||||
--with-features=big Compile with more features enabled.
|
||||
--with-features=tiny Compile with some features disabled.
|
||||
--with-features=normal Compile with more features enabled.
|
||||
--with-features=huge Compile with most features enabled.
|
||||
See |+feature-list| for which feature
|
||||
is enabled in which case.
|
||||
|
||||
@@ -320,15 +320,13 @@ g8 Print the hex values of the bytes used in the
|
||||
The first column shows the smallest version in which
|
||||
they are included:
|
||||
T tiny (always)
|
||||
S small
|
||||
N normal
|
||||
B big
|
||||
H huge
|
||||
m manually enabled or depends on other features
|
||||
- never, feature was removed
|
||||
(none) system dependent
|
||||
Thus if a feature is marked with "N", it is included
|
||||
in the normal, big and huge versions of Vim.
|
||||
in the normal and huge versions of Vim.
|
||||
|
||||
*+feature-list*
|
||||
*+acl* |ACL| support included
|
||||
@@ -451,7 +449,8 @@ m *+python/dyn* Python 2 interface |python-dynamic| |/dyn|
|
||||
m *+python3* Python 3 interface |python|
|
||||
m *+python3/dyn* Python 3 interface |python-dynamic| |/dyn|
|
||||
m *+python3/dyn-stable*
|
||||
Python 3 interface |python-dynamic| |python-stable| |/dyn|
|
||||
Python 3 interface |python-dynamic| |python-stable|
|
||||
|/dyn|
|
||||
N *+quickfix* |:make| and |quickfix| commands
|
||||
N *+reltime* |reltime()| function, 'hlsearch'/'incsearch' timeout,
|
||||
'redrawtime' option
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -6,11 +6,21 @@
|
||||
# Sun Feb 24 14:49:17 CET 2002
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use vars qw/%url $date/;
|
||||
|
||||
%url = ();
|
||||
$date = `date`;
|
||||
chop $date;
|
||||
# 30.11.23, Restorer:
|
||||
# This command does not work in OS Windows.
|
||||
# The "date" command in Windows is different from its counterpart in UNIX-like systems.
|
||||
# The closest analog is the "date /t" command, but how it would work in UNIX,
|
||||
# I don't know. I've corrected it as best I can. I don't know Perl.
|
||||
#$date = `date`;
|
||||
#chop $date;
|
||||
my ($year) = 1900 + (localtime())[5];
|
||||
my ($month) = 1 + (localtime())[4];
|
||||
my ($day) = (localtime())[3];
|
||||
#$date = localtime(); # outputs like this Fri Nov 3 00:56:59 2023
|
||||
|
||||
sub maplink
|
||||
{
|
||||
@@ -164,7 +174,7 @@ EOF
|
||||
}
|
||||
print OUT<<EOF;
|
||||
</pre>
|
||||
<p><i>Generated by vim2html on $date</i></p>
|
||||
<p><i>Generated by vim2html on $day.$month.$year</i></p>
|
||||
</body>
|
||||
</html>
|
||||
EOF
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user