Compare commits
329 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0a9d65e0a | ||
|
|
b47fbb4083 | ||
|
|
bd1232a1fa | ||
|
|
f2d90a3511 | ||
|
|
a0010a186d | ||
|
|
6d91227267 | ||
|
|
0d3c0a66a3 | ||
|
|
efabd7c8d4 | ||
|
|
b614b284ee | ||
|
|
be156a31c5 | ||
|
|
52eb0b8677 | ||
|
|
0022148773 | ||
|
|
77078276bf | ||
|
|
c908371aec | ||
|
|
627c950e5b | ||
|
|
45932c5c4a | ||
|
|
415a5a951b | ||
|
|
e06e437665 | ||
|
|
c9e79e5284 | ||
|
|
2975a54f28 | ||
|
|
725c7c31a4 | ||
|
|
c4d4a1e041 | ||
|
|
bd2f45a6e5 | ||
|
|
df23d7f4bd | ||
|
|
ae07ebc04b | ||
|
|
7ce34c9a94 | ||
|
|
b8170143c8 | ||
|
|
1efb1b08a1 | ||
|
|
c9c2e2d2ff | ||
|
|
1af35631f8 | ||
|
|
ebfd856cfd | ||
|
|
f7f33e3719 | ||
|
|
b1457d4cb9 | ||
|
|
7f630e6f35 | ||
|
|
ea7f2f29af | ||
|
|
3f1b5312e0 | ||
|
|
0f4054feb6 | ||
|
|
de7f5bde6c | ||
|
|
7c5aeaffa2 | ||
|
|
cbb46b4398 | ||
|
|
eac3fdcfa0 | ||
|
|
0c989e4a3a | ||
|
|
609370392a | ||
|
|
2d205d0a95 | ||
|
|
fa37835b8c | ||
|
|
1226b0584a | ||
|
|
e3e3934bb1 | ||
|
|
9204f39580 | ||
|
|
e93d5cadec | ||
|
|
fd472655a9 | ||
|
|
59bafc8171 | ||
|
|
e1cd1fda69 | ||
|
|
83f627ff42 | ||
|
|
f430e7daeb | ||
|
|
f2fb7dd3d3 | ||
|
|
ece7145689 | ||
|
|
c46c21b4ca | ||
|
|
0a3d369687 | ||
|
|
28db30ddb1 | ||
|
|
8fecb472c4 | ||
|
|
26b0176a98 | ||
|
|
1b7fbe726a | ||
|
|
fef6630166 | ||
|
|
6e0a18f82b | ||
|
|
94ff09a093 | ||
|
|
e99f068878 | ||
|
|
e6d8b4662d | ||
|
|
bdb9d9afba | ||
|
|
bf321806bf | ||
|
|
cf8695d48c | ||
|
|
21ce159e05 | ||
|
|
0cc6108fea | ||
|
|
772f8f5425 | ||
|
|
b418a51933 | ||
|
|
4d49643c3c | ||
|
|
1f47db75fd | ||
|
|
92e90a1e10 | ||
|
|
6a02eb073e | ||
|
|
6638ec8afa | ||
|
|
78019df645 | ||
|
|
703f9bc943 | ||
|
|
12b9277672 | ||
|
|
fa8c971558 | ||
|
|
f6ebaa7ae6 | ||
|
|
046a0f75d0 | ||
|
|
a262d3f41b | ||
|
|
e1ddc2d587 | ||
|
|
68d9472c65 | ||
|
|
1fb4103206 | ||
|
|
43b395ec2e | ||
|
|
988f74311c | ||
|
|
4927110a43 | ||
|
|
ca0e9823a1 | ||
|
|
f96dc8d07f | ||
|
|
cc979b49dc | ||
|
|
e13b665a6e | ||
|
|
4231ad0852 | ||
|
|
9c5b90db03 | ||
|
|
50dbe16cd8 | ||
|
|
7de2b7c891 | ||
|
|
36e2c0f293 | ||
|
|
459867b631 | ||
|
|
e8ff5e6df4 | ||
|
|
76ba724e1d | ||
|
|
91155eb31f | ||
|
|
add31baeda | ||
|
|
7c71db3a58 | ||
|
|
3b2c27415d | ||
|
|
ea9a93e5b0 | ||
|
|
1cee50904e | ||
|
|
c1884c94c5 | ||
|
|
d08e437802 | ||
|
|
27a4632af6 | ||
|
|
7062be1312 | ||
|
|
f942db2557 | ||
|
|
46d67d22b9 | ||
|
|
a39af02904 | ||
|
|
6e5a6c9965 | ||
|
|
f267847017 | ||
|
|
6a8d2e1634 | ||
|
|
4ea37f88e8 | ||
|
|
5b0722b864 | ||
|
|
73e16c7406 | ||
|
|
211211052d | ||
|
|
7d711fe209 | ||
|
|
ac4cffc6d9 | ||
|
|
96958366ad | ||
|
|
1a9aba8ad4 | ||
|
|
4afda3307d | ||
|
|
ef79c57837 | ||
|
|
9c58191b34 | ||
|
|
a606f3ac03 | ||
|
|
eb3475df0d | ||
|
|
93197fde0f | ||
|
|
d7d560374b | ||
|
|
1f13fcc934 | ||
|
|
8102a4c463 | ||
|
|
c92b8bed1f | ||
|
|
e79e207760 | ||
|
|
d8cb1ddab7 | ||
|
|
dc4c37b9d5 | ||
|
|
497e5282b6 | ||
|
|
48a75f3dfb | ||
|
|
49471963fe | ||
|
|
424ec1f235 | ||
|
|
4f32c83a77 | ||
|
|
8610f74382 | ||
|
|
b52600d561 | ||
|
|
2357765304 | ||
|
|
28d71b566a | ||
|
|
71d0ba07a3 | ||
|
|
5f4cc8ea65 | ||
|
|
3a5b3df776 | ||
|
|
ceed36873e | ||
|
|
124371c5a1 | ||
|
|
b21499537f | ||
|
|
5d5cbb2b9a | ||
|
|
b1ed7ec9f7 | ||
|
|
68a8947069 | ||
|
|
3779516988 | ||
|
|
7b7672d5ca | ||
|
|
963fd7d6e5 | ||
|
|
c79646dfb1 | ||
|
|
d2cc51f9a1 | ||
|
|
81642d9d6f | ||
|
|
f93b1c881a | ||
|
|
30994d686c | ||
|
|
ad4d7f446d | ||
|
|
184f71cc68 | ||
|
|
4d8cb683b1 | ||
|
|
d94ca966ca | ||
|
|
83ad2726ff | ||
|
|
443657b32b | ||
|
|
0689b87059 | ||
|
|
bf44b69d1f | ||
|
|
b5352931b3 | ||
|
|
b1392bee70 | ||
|
|
80beeef0c6 | ||
|
|
d4634a26cd | ||
|
|
b4ddc6c11e | ||
|
|
6c1afa3d0b | ||
|
|
34d15155fc | ||
|
|
6a950da86d | ||
|
|
10b4f75d4c | ||
|
|
b16fc98055 | ||
|
|
d08059ab48 | ||
|
|
0ede5e361f | ||
|
|
74512e0ad0 | ||
|
|
d36f590d41 | ||
|
|
5528a72937 | ||
|
|
d96f25bd69 | ||
|
|
7e4f62a257 | ||
|
|
715a805889 | ||
|
|
244f01658f | ||
|
|
a907c91992 | ||
|
|
fda02d03c0 | ||
|
|
757714c0cb | ||
|
|
48ddc6a6f8 | ||
|
|
0efa58184b | ||
|
|
9f239f169a | ||
|
|
53860eb9ce | ||
|
|
0aed99abf7 | ||
|
|
86fcada95b | ||
|
|
7d0abf2cb6 | ||
|
|
d1cea03646 | ||
|
|
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 |
11
.github/CODEOWNERS
vendored
11
.github/CODEOWNERS
vendored
@@ -13,6 +13,7 @@ runtime/autoload/freebasic.vim @dkearns
|
||||
runtime/autoload/getscript.vim @cecamp
|
||||
runtime/autoload/haskell.vim @alx741
|
||||
runtime/autoload/javascript.vim @jsit
|
||||
runtime/autoload/modula2.vim @dkearns
|
||||
runtime/autoload/netrw.vim @cecamp
|
||||
runtime/autoload/netrwFileHandlers.vim @cecamp
|
||||
runtime/autoload/netrwSettings.vim @cecamp
|
||||
@@ -23,6 +24,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
|
||||
@@ -64,6 +66,7 @@ runtime/compiler/eruby.vim @dkearns
|
||||
runtime/compiler/fbc.vim @dkearns
|
||||
runtime/compiler/gawk.vim @dkearns
|
||||
runtime/compiler/gjs.vim @dkearns
|
||||
runtime/compiler/gm2.vim @dkearns
|
||||
runtime/compiler/go.vim @dbarnett
|
||||
runtime/compiler/haml.vim @tpope
|
||||
runtime/compiler/hare.vim @rsaihe
|
||||
@@ -181,6 +184,7 @@ runtime/ftplugin/m3quake.vim @dkearns
|
||||
runtime/ftplugin/markdown.vim @tpope
|
||||
runtime/ftplugin/matlab.vim @cecamp
|
||||
runtime/ftplugin/meson.vim @Liambeguin
|
||||
runtime/ftplugin/modula2.vim @dkearns
|
||||
runtime/ftplugin/modula3.vim @dkearns
|
||||
runtime/ftplugin/nginx.vim @chr4
|
||||
runtime/ftplugin/nroff.vim @a-vrma
|
||||
@@ -338,6 +342,7 @@ runtime/syntax/shared/hgcommitDiff.vim @vegerot
|
||||
runtime/syntax/abaqus.vim @costerwi
|
||||
runtime/syntax/aidl.vim @dpelle
|
||||
runtime/syntax/amiga.vim @cecamp
|
||||
runtime/syntax/ant.vim @dkearns
|
||||
runtime/syntax/arduino.vim @johshoff
|
||||
runtime/syntax/asciidoc.vim @aerostitch
|
||||
runtime/syntax/asm.vim @dkearns
|
||||
@@ -354,6 +359,7 @@ runtime/syntax/cabalconfig.vim @coot
|
||||
runtime/syntax/cabalproject.vim @coot
|
||||
runtime/syntax/cf.vim @ernstvanderlinden
|
||||
runtime/syntax/chatito.vim @ObserverOfTime
|
||||
runtime/syntax/chuck.vim @gacallea
|
||||
runtime/syntax/clojure.vim @axvr
|
||||
runtime/syntax/cs.vim @nickspoons
|
||||
runtime/syntax/csh.vim @cecamp
|
||||
@@ -441,6 +447,10 @@ runtime/syntax/maple.vim @cecamp
|
||||
runtime/syntax/markdown.vim @tpope
|
||||
runtime/syntax/mason.vim @petdance
|
||||
runtime/syntax/meson.vim @Liambeguin
|
||||
runtime/syntax/modula2.vim @dkearns
|
||||
runtime/syntax/modula2/opt/iso.vim @trijezdci
|
||||
runtime/syntax/modula2/opt/pim.vim @trijezdci
|
||||
runtime/syntax/modula2/opt/r10.vim @trijezdci
|
||||
runtime/syntax/modula3.vim @dkearns
|
||||
runtime/syntax/n1ql.vim @pr3d4t0r
|
||||
runtime/syntax/netrw.vim @cecamp
|
||||
@@ -450,6 +460,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
|
||||
|
||||
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
@@ -4,3 +4,5 @@ updates:
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
commit-message:
|
||||
prefix: "CI"
|
||||
|
||||
197
.github/labeler.yml
vendored
197
.github/labeler.yml
vendored
@@ -1,106 +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: ['*/doc/*']
|
||||
- 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:
|
||||
- any: ['nsis/**']
|
||||
- any: ['src/dosinst.*']
|
||||
- any: ['src/uninstall.c']
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'nsis/**'
|
||||
- 'src/dosinst.*'
|
||||
- 'src/uninstall.c'
|
||||
|
||||
platform-mac:
|
||||
- any: ['src/INSTALLmac.txt']
|
||||
- any: ['src/os_mac*']
|
||||
- any: ['src/proto/os_mac*']
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'src/INSTALLmac.txt'
|
||||
- 'src/os_mac*'
|
||||
- 'src/proto/os_mac*'
|
||||
|
||||
platform-windows:
|
||||
- any: ['nsis/**']
|
||||
- any: ['src/*.bat']
|
||||
- any: ['src/*.bmp']
|
||||
- any: ['src/*.ico']
|
||||
- any: ['src/GvimExt/*']
|
||||
- any: ['src/INSTALLpc.txt']
|
||||
- any: ['src/Make_cyg*.mak']
|
||||
- any: ['src/Make_ming.mak']
|
||||
- any: ['src/Make_mvc.mak']
|
||||
- any: ['src/dosinst.*']
|
||||
- any: ['src/gui_dwrite.*']
|
||||
- any: ['src/gui_w32*']
|
||||
- any: ['src/if_ole.*']
|
||||
- any: ['src/iid_ole.c']
|
||||
- any: ['src/os_mswin*']
|
||||
- any: ['src/os_w32*']
|
||||
- any: ['src/os_win32.*']
|
||||
- any: ['src/proto/gui_w32.pro']
|
||||
- any: ['src/proto/os_mswin.pro']
|
||||
- any: ['src/proto/os_win32.pro']
|
||||
- any: ['src/proto/winclip.pro']
|
||||
- any: ['src/uninstall.c']
|
||||
- any: ['src/vim.manifest']
|
||||
- any: ['src/vim.rc']
|
||||
- any: ['src/vimrun.c']
|
||||
- any: ['src/winclip.c']
|
||||
- any: ['src/xpm/**']
|
||||
- any: ['src/xpm_w32.*']
|
||||
- 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:
|
||||
- any: ['src/xxd/*']
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'src/xxd/*'
|
||||
|
||||
41
.github/workflows/ci.yml
vendored
41
.github/workflows/ci.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
env:
|
||||
CC: ${{ matrix.compiler }}
|
||||
GCC_VER: 13
|
||||
CLANG_VER: 17
|
||||
CLANG_VER: 18
|
||||
TEST: test
|
||||
SRCDIR: ./src
|
||||
LEAK_CFLAGS: -DEXITFREE
|
||||
@@ -81,9 +81,19 @@ 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'
|
||||
|
||||
- name: Uninstall snap
|
||||
run: |
|
||||
sudo bash ci/remove_snap.sh
|
||||
|
||||
- name: Install packages
|
||||
run: |
|
||||
PKGS=( \
|
||||
@@ -259,7 +269,13 @@ jobs:
|
||||
if: contains(matrix.extra, 'vimtags')
|
||||
run: |
|
||||
# This will exit with an error code if the generated vim tags differs from source.
|
||||
git diff --exit-code -- runtime/doc/tags
|
||||
(
|
||||
cd runtime/doc
|
||||
git diff --exit-code -- tags
|
||||
make html; rm *.html tags.ref;
|
||||
test -f errors.log && exit 3;
|
||||
true
|
||||
)
|
||||
|
||||
- name: Generate gcov files
|
||||
if: matrix.coverage
|
||||
@@ -270,9 +286,10 @@ jobs:
|
||||
- name: Codecov
|
||||
timeout-minutes: 20
|
||||
if: matrix.coverage
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v4
|
||||
with:
|
||||
flags: linux,${{ matrix.features }}-${{ matrix.compiler }}-${{ matrix.extra }}
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
- name: ASan logs
|
||||
if: contains(matrix.extra, 'asan') && !cancelled()
|
||||
@@ -283,7 +300,7 @@ jobs:
|
||||
done
|
||||
|
||||
macos:
|
||||
runs-on: macos-latest
|
||||
runs-on: ${{ matrix.runner }}
|
||||
|
||||
env:
|
||||
CC: clang
|
||||
@@ -296,17 +313,24 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
features: [tiny, normal, huge]
|
||||
runner: [macos-latest, macos-14]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository from github
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install packages
|
||||
if: matrix.features == 'huge'
|
||||
- name: Install packages on Intel Mac
|
||||
if: matrix.features == 'huge' && matrix.runner == 'macos-latest'
|
||||
run: |
|
||||
brew install lua
|
||||
echo "LUA_PREFIX=/usr/local" >> $GITHUB_ENV
|
||||
|
||||
- name: Install packages on M1 Mac
|
||||
if: matrix.features == 'huge' && matrix.runner == 'macos-14'
|
||||
run: |
|
||||
brew install lua libtool
|
||||
echo "LUA_PREFIX=/opt/homebrew" >> $GITHUB_ENV
|
||||
|
||||
- name: Set up environment
|
||||
run: |
|
||||
(
|
||||
@@ -471,7 +495,7 @@ jobs:
|
||||
echo %SODIUM_VER%>> urls.txt
|
||||
|
||||
- name: Cache downloaded files
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: downloads
|
||||
key: ${{ runner.os }}-${{ matrix.arch }}-${{ hashFiles('urls.txt') }}
|
||||
@@ -654,7 +678,8 @@ jobs:
|
||||
- name: Codecov
|
||||
timeout-minutes: 20
|
||||
if: matrix.coverage
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v4
|
||||
with:
|
||||
directory: src
|
||||
flags: windows,${{ matrix.toolchain }}-${{ matrix.arch }}-${{ matrix.features }}
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
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: ''
|
||||
|
||||
35
Filelist
35
Filelist
@@ -4,7 +4,6 @@
|
||||
# source files for all source archives
|
||||
SRC_ALL = \
|
||||
.cirrus.yml \
|
||||
.coveralls.yml \
|
||||
.gitattributes \
|
||||
.github/CODEOWNERS \
|
||||
.github/ISSUE_TEMPLATE/bug_report.yml \
|
||||
@@ -21,6 +20,7 @@ SRC_ALL = \
|
||||
ci/config.mk*.sed \
|
||||
ci/if_ver*.vim \
|
||||
ci/setup-xvfb.sh \
|
||||
ci/remove_snap.sh \
|
||||
src/Make_all.mak \
|
||||
src/README.md \
|
||||
src/alloc.c \
|
||||
@@ -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 \
|
||||
@@ -757,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 \
|
||||
@@ -782,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 \
|
||||
@@ -805,6 +819,7 @@ RT_SCRIPTS = \
|
||||
runtime/plugin/README.txt \
|
||||
runtime/syntax/*.vim \
|
||||
runtime/syntax/README.txt \
|
||||
runtime/syntax/modula2/opt/*.vim \
|
||||
runtime/syntax/shared/*.vim \
|
||||
runtime/syntax/shared/README.txt \
|
||||
runtime/syntax/Makefile \
|
||||
@@ -849,6 +864,7 @@ RT_DOS = \
|
||||
README_dos.txt \
|
||||
runtime/doc/Make_mvc.mak \
|
||||
runtime/tutor/Make_mvc.mak \
|
||||
runtime/lang/Make_mvc.mak \
|
||||
vimtutor.bat \
|
||||
|
||||
# DOS runtime without CR-LF translation (also in the extra archive)
|
||||
@@ -857,6 +873,7 @@ RT_DOS_BIN = \
|
||||
runtime/vimlogo.eps \
|
||||
runtime/vimlogo.gif \
|
||||
runtime/vimlogo.pdf \
|
||||
runtime/vimlogo.svg \
|
||||
|
||||
# Amiga runtime (also in the extra archive)
|
||||
RT_AMI = \
|
||||
@@ -955,6 +972,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 \
|
||||
@@ -962,6 +980,7 @@ IN_README_DIR = \
|
||||
README_src.txt \
|
||||
README_srcdos.txt \
|
||||
README_unix.txt \
|
||||
README_vimlogo.txt \
|
||||
README_vms.txt \
|
||||
README_w32s.txt \
|
||||
Contents \
|
||||
@@ -1058,6 +1077,18 @@ LANG_SRC = \
|
||||
# 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:
|
||||
|
||||
2
Makefile
2
Makefile
@@ -94,7 +94,7 @@ syntaxtest:
|
||||
# Before creating an archive first delete all backup files, *.orig, etc.
|
||||
|
||||
MAJOR = 9
|
||||
MINOR = 0
|
||||
MINOR = 1
|
||||
|
||||
# CHECKLIST for creating a new version:
|
||||
#
|
||||
|
||||
@@ -150,4 +150,4 @@ Most of Vim was created by Bram Moolenaar `<Bram@vim.org>`
|
||||
Send any other comments, patches, flowers and suggestions to the vim-dev mailing list:
|
||||
`<vim-dev@vim.org>`
|
||||
|
||||
This is `README.md` for version 9.0 of Vim: Vi IMproved.
|
||||
This is `README.md` for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
|
||||
WHAT IS VIM?
|
||||
|
||||
@@ -9,15 +9,15 @@ Vim Vi IMproved. A clone of the UNIX text editor Vi. Very useful
|
||||
messages, shows current file name in window title, on-line
|
||||
help, rectangular cut/paste, etc., etc., etc...
|
||||
|
||||
Version 9.0. Also runs under UNIX, MS-Windows, Mac, etc.
|
||||
vim90rt.tgz contains the documentation and syntax files.
|
||||
vim90bin.tgz contains the binaries.
|
||||
vim90src.tgz contains the sources.
|
||||
Version 9.1. Also runs under UNIX, MS-Windows, Mac, etc.
|
||||
vim91rt.tgz contains the documentation and syntax files.
|
||||
vim91bin.tgz contains the binaries.
|
||||
vim91src.tgz contains the sources.
|
||||
Author: Bram Moolenaar et al.
|
||||
|
||||
|
||||
Xxd Hex dumper and reader. Can be used to view files as hex, edit
|
||||
them and write them back. Can also be used to patch files.
|
||||
|
||||
Version 2022 Jan 14
|
||||
Version 2023 Oct 25
|
||||
Author: Juergen Weigert
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_ami.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_ami.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on Amiga systems.
|
||||
See README.txt for general information about Vim.
|
||||
@@ -16,8 +16,8 @@ easily upgrade to a new version. For example:
|
||||
You would then unpack the archives like this:
|
||||
|
||||
cd dh0:editors
|
||||
tar xf t:vim90bin.tar
|
||||
tar xf t:vim90rt.tar
|
||||
tar xf t:vim91bin.tar
|
||||
tar xf t:vim91rt.tar
|
||||
|
||||
Set the $VIM environment variable to point to the top directory of your Vim
|
||||
files. For the above example:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_amibin.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_amibin.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
See "README.txt" for general information about Vim.
|
||||
See "README_ami.txt" for installation instructions for the Amiga.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_amisrc.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_amisrc.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
See "README.txt" for general information about Vim.
|
||||
See "README_ami.txt" for installation instructions for the Amiga.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_bindos.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_bindos.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
See "README.txt" for general information about Vim.
|
||||
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
|
||||
@@ -8,9 +8,9 @@ These files are in the runtime archive (vim90rt.zip).
|
||||
There are several binary distributions of Vim for the PC. You would normally
|
||||
pick only one of them, but it's also possible to install several.
|
||||
These ones are available (the version number may differ):
|
||||
vim90w32.zip Windows 95/98/NT/etc. console version
|
||||
gvim90.zip Windows 95/98/NT/etc. GUI version
|
||||
gvim90ole.zip Windows 95/98/NT/etc. GUI version with OLE
|
||||
vim91w32.zip Windows 95/98/NT/etc. console version
|
||||
gvim91.zip Windows 95/98/NT/etc. GUI version
|
||||
gvim91ole.zip Windows 95/98/NT/etc. GUI version with OLE
|
||||
|
||||
You MUST also get the runtime archive (vim90rt.zip).
|
||||
The sources are also available (vim90src.zip).
|
||||
You MUST also get the runtime archive (vim91rt.zip).
|
||||
The sources are also available (vim91src.zip).
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_dos.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_dos.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on MS-Windows systems.
|
||||
See "README.txt" for general information about Vim.
|
||||
@@ -41,19 +41,19 @@ These are the normal steps to install Vim from the .zip archives:
|
||||
located. Check the $VIM setting to see where it points to:
|
||||
set VIM
|
||||
For example, if you have
|
||||
C:\vim\vim90
|
||||
C:\vim\vim91
|
||||
do
|
||||
cd C:\
|
||||
Binary and runtime Vim archives are normally unpacked in the same location,
|
||||
on top of each other.
|
||||
|
||||
2. Unpack the zip archives. This will create a new directory "vim\vim90",
|
||||
2. Unpack the zip archives. This will create a new directory "vim\vim91",
|
||||
in which all the distributed Vim files are placed. Since the directory
|
||||
name includes the version number, it is unlikely that you overwrite
|
||||
existing files.
|
||||
Examples:
|
||||
pkunzip -d gvim90.zip
|
||||
unzip vim90w32.zip
|
||||
pkunzip -d gvim91.zip
|
||||
unzip vim91w32.zip
|
||||
|
||||
You need to unpack the runtime archive and at least one of the binary
|
||||
archives. When using more than one binary version, be careful not to
|
||||
@@ -65,7 +65,7 @@ These are the normal steps to install Vim from the .zip archives:
|
||||
won't move or copy the runtime files.
|
||||
|
||||
3. Change to the new directory:
|
||||
cd vim\vim90
|
||||
cd vim\vim91
|
||||
Run the "install.exe" program. It will ask you a number of questions about
|
||||
how you would like to have your Vim setup. Among these are:
|
||||
- You can tell it to write a "_vimrc" file with your preferences in the
|
||||
@@ -76,8 +76,8 @@ These are the normal steps to install Vim from the .zip archives:
|
||||
console or in a shell. You can select one of the directories in your
|
||||
$PATH. If you skip this, you can add Vim to the search path manually:
|
||||
The simplest is to add a line to your autoexec.bat. Examples:
|
||||
set path=%path%;C:\vim\vim90
|
||||
set path=%path%;D:\editors\vim\vim90
|
||||
set path=%path%;C:\vim\vim91
|
||||
set path=%path%;D:\editors\vim\vim91
|
||||
- Create entries for Vim on the desktop and in the Start menu.
|
||||
|
||||
That's it!
|
||||
@@ -89,8 +89,8 @@ Remarks:
|
||||
won't show a menubar. Then you need to set the $VIM environment variable to
|
||||
point to the top directory of your Vim files. Example:
|
||||
set VIM=C:\editors\vim
|
||||
Vim version 9.0 will look for your vimrc file in $VIM, and for the runtime
|
||||
files in $VIM/vim90. See ":help $VIM" for more information.
|
||||
Vim version 9.1 will look for your vimrc file in $VIM, and for the runtime
|
||||
files in $VIM/vim91. See ":help $VIM" for more information.
|
||||
|
||||
- To avoid confusion between distributed files of different versions and your
|
||||
own modified vim scripts, it is recommended to use this directory layout:
|
||||
@@ -101,14 +101,14 @@ Remarks:
|
||||
C:\vim\vimfiles\ftplugin\*.vim Filetype plugins
|
||||
C:\vim\... Other files you made.
|
||||
Distributed files:
|
||||
C:\vim\vim90\vim.exe The Vim version 9.0 executable.
|
||||
C:\vim\vim90\doc\*.txt The version 9.0 documentation files.
|
||||
C:\vim\vim90\bugreport.vim A Vim version 9.0 script.
|
||||
C:\vim\vim90\... Other version 9.0 distributed files.
|
||||
C:\vim\vim91\vim.exe The Vim version 9.1 executable.
|
||||
C:\vim\vim91\doc\*.txt The version 9.1 documentation files.
|
||||
C:\vim\vim91\bugreport.vim A Vim version 9.1 script.
|
||||
C:\vim\vim91\... Other version 9.1 distributed files.
|
||||
In this case the $VIM environment variable would be set like this:
|
||||
set VIM=C:\vim
|
||||
Then $VIMRUNTIME will automatically be set to "$VIM\vim90". Don't add
|
||||
"vim90" to $VIM, that won't work.
|
||||
Then $VIMRUNTIME will automatically be set to "$VIM\vim91". Don't add
|
||||
"vim91" to $VIM, that won't work.
|
||||
|
||||
- You can put your Vim executable anywhere else. If the executable is not
|
||||
with the other Vim files, you should set $VIM. The simplest is to add a line
|
||||
@@ -132,8 +132,8 @@ Remarks:
|
||||
Select Properties.
|
||||
5. In the Program tab, change the "Cmdline" to add "/c" and the name of the
|
||||
Vim executable. Examples:
|
||||
C:\command.com /c C:\vim\vim90\vim.exe
|
||||
C:\command.com /c D:\editors\vim\vim90\vim.exe
|
||||
C:\command.com /c C:\vim\vim91\vim.exe
|
||||
C:\command.com /c D:\editors\vim\vim91\vim.exe
|
||||
6. Select the font, window size, etc. that you like. If this isn't
|
||||
possible, select "Advanced" in the Program tab, and deselect "MS-DOS
|
||||
mode".
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_extra.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_extra.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
These extra files of Vim are for special purposes. This README explains what
|
||||
the files are for. For general information about Vim, see the "README.txt"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_haiku.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_haiku.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on Haiku operating system.
|
||||
See "README.txt" for general information about Vim.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_mac.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_mac.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on MacOS systems.
|
||||
See "README.txt" for general information about Vim.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_ole.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_ole.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
This archive contains gvim.exe with OLE interface.
|
||||
This version of gvim.exe can also load a number of interface dynamically (you
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_os2.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_os2.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
This file used to explain the installation of Vim on OS/2 systems.
|
||||
However, support for OS/2 has been removed in patch 7.4.1008.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_os390.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_os390.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
This readme explains how to build Vim on z/OS. Formerly called OS/390.
|
||||
See "README.txt" for general information about Vim.
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
README_src.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_src.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
The source archive contains the files needed to compile Vim on Unix systems.
|
||||
It is packed for Unix systems (NL line separator).
|
||||
|
||||
For more information, see the README.txt file that comes with the runtime
|
||||
archive (vim-9.0-rt.tar.gz). To be able to run Vim you MUST get the runtime
|
||||
archive (vim-9.1-rt.tar.gz). To be able to run Vim you MUST get the runtime
|
||||
archive too!
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_srcdos.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_srcdos.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
See "README.txt" for general information about Vim.
|
||||
See "README_dos.txt" for installation instructions for MS-Windows.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_unix.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_unix.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on Unix systems.
|
||||
See "README.txt" for general information about Vim.
|
||||
|
||||
11
READMEdir/README_vimlogo.txt
Normal file
11
READMEdir/README_vimlogo.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
The Python project that creates `vimlogo.svg` can be found at
|
||||
`https://github.com/ShayHill/vimlogo`. The Vim license applies.
|
||||
|
||||
`vimlogo.svg` is an effort to remove errors and inadvertant inconsistencies
|
||||
from the original vim logo while maintaing the original design. `vimlogo.svg`
|
||||
is based on the `vimlogo.svg` file (previously?) found at
|
||||
`https://www.vim.org/logos.php`
|
||||
|
||||
As of 2024 Jan 30, `vimlogo.svg` is a separate project from `vimlogo.cdr`,
|
||||
`vimlogo.eps`, `vimlogo.gif`, `vimlogo.pdf`, and `vimlogo.xpm`, all of which
|
||||
are slightly different from each other.
|
||||
@@ -1,4 +1,4 @@
|
||||
README_vms.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_vms.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on VMS systems.
|
||||
See "README.txt" in the runtime archive for information about Vim.
|
||||
@@ -19,14 +19,16 @@ src/INSTALLvms.txt.
|
||||
|
||||
To use the 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
|
||||
vim-XX-runtime.zip runtime files
|
||||
@@ -34,6 +36,8 @@ and of course
|
||||
The binary archives contain: vim.exe, ctags.exe, xxd.exe files,
|
||||
but there are also prepared "deploy ready" archives:
|
||||
|
||||
vim-XX-x86.zip GUI and console executables with runtime and
|
||||
help files for X86_64 systems
|
||||
vim-XX-ia64.zip GUI and console executables with runtime and
|
||||
help files for IA64 systems
|
||||
vim-XX-axp.zip GUI and console executables with runtime and
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
README_w32s.txt for version 9.0 of Vim: Vi IMproved.
|
||||
README_w32s.txt for version 9.1 of Vim: Vi IMproved.
|
||||
|
||||
This file used to explain the installation of Vim on MS-Windows 3.1 and 3.11
|
||||
systems. However, support for MS-Windows 3.1 and 3.11 has been removed in
|
||||
|
||||
13
ci/remove_snap.sh
Normal file
13
ci/remove_snap.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env sh
|
||||
pushd /etc/apt/preferences.d/
|
||||
cat > nosnap.pref <<EOF
|
||||
# To prevent repository packages from triggering the installation of snap,
|
||||
# this file forbids snapd from being installed by APT.
|
||||
|
||||
Package: snapd
|
||||
Pin: release a=*
|
||||
Pin-Priority: -10
|
||||
EOF
|
||||
popd
|
||||
snap remove --purge $(snap list | awk '!/^Name|^core/ {print $1}')
|
||||
apt-get purge -y snapd
|
||||
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
|
||||
@@ -397,6 +397,9 @@ Section "$(str_section_exe)" id_section_exe
|
||||
SetOutPath $0\indent
|
||||
File ${VIMRT}\indent\*.*
|
||||
|
||||
SetOutPath $0\keymap
|
||||
File ${VIMRT}\keymap\*.*
|
||||
|
||||
SetOutPath $0\macros
|
||||
File /r ${VIMRT}\macros\*.*
|
||||
|
||||
@@ -416,7 +419,7 @@ Section "$(str_section_exe)" id_section_exe
|
||||
File ${VIMSRC}\vim.ico
|
||||
|
||||
SetOutPath $0\syntax
|
||||
File /r ${VIMRT}\syntax\*.*
|
||||
File /r /x testdir ${VIMRT}\syntax\*.*
|
||||
|
||||
SetOutPath $0\spell
|
||||
File ${VIMRT}\spell\*.txt
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
!ifndef __GVIM_VER__NSH__
|
||||
!define __GVIM_VER__NSH__
|
||||
!define VER_MAJOR 9
|
||||
!define VER_MINOR 0
|
||||
!define VER_MINOR 1
|
||||
!endif
|
||||
|
||||
@@ -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'
|
||||
|
||||
102
runtime/autoload/dist/ft.vim
vendored
102
runtime/autoload/dist/ft.vim
vendored
@@ -2,8 +2,8 @@ vim9script
|
||||
|
||||
# Vim functions for file type detection
|
||||
#
|
||||
# Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
# Last Change: 2023 Aug 10
|
||||
# Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
# Last Change: 2024 Jan 05
|
||||
# Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
# These functions are moved here from runtime/filetype.vim to make startup
|
||||
@@ -279,6 +279,19 @@ export def DtraceCheck()
|
||||
endif
|
||||
enddef
|
||||
|
||||
export def FTdef()
|
||||
if get(g:, "filetype_def", "") == "modula2" || IsModula2()
|
||||
SetFiletypeModula2()
|
||||
return
|
||||
endif
|
||||
|
||||
if exists("g:filetype_def")
|
||||
exe "setf " .. g:filetype_def
|
||||
else
|
||||
setf def
|
||||
endif
|
||||
enddef
|
||||
|
||||
export def FTe()
|
||||
if exists('g:filetype_euphoria')
|
||||
exe 'setf ' .. g:filetype_euphoria
|
||||
@@ -517,16 +530,53 @@ def IsLProlog(): bool
|
||||
return getline(lnum) =~ '\<module\s\+\w\+\s*\.\s*\(%\|$\)'
|
||||
enddef
|
||||
|
||||
def IsModula2(): bool
|
||||
return getline(nextnonblank(1)) =~ '\<MODULE\s\+\w\+\s*;\|^\s*(\*'
|
||||
enddef
|
||||
|
||||
def SetFiletypeModula2()
|
||||
const KNOWN_DIALECTS = ["iso", "pim", "r10"]
|
||||
const KNOWN_EXTENSIONS = ["gm2"]
|
||||
const LINE_COUNT = 200
|
||||
const TAG = '(\*!m2\(\w\+\)\%(+\(\w\+\)\)\=\*)'
|
||||
|
||||
var dialect = get(g:, "modula2_default_dialect", "pim")
|
||||
var extension = get(g:, "modula2_default_extension", "")
|
||||
|
||||
var matches = []
|
||||
|
||||
# ignore unknown dialects or badly formatted tags
|
||||
for lnum in range(1, min([line("$"), LINE_COUNT]))
|
||||
matches = matchlist(getline(lnum), TAG)
|
||||
if !empty(matches)
|
||||
if index(KNOWN_DIALECTS, matches[1]) >= 0
|
||||
dialect = matches[1]
|
||||
endif
|
||||
if index(KNOWN_EXTENSIONS, matches[2]) >= 0
|
||||
extension = matches[2]
|
||||
endif
|
||||
break
|
||||
endif
|
||||
endfor
|
||||
|
||||
modula2#SetDialect(dialect, extension)
|
||||
|
||||
setf modula2
|
||||
enddef
|
||||
|
||||
# Determine if *.mod is ABB RAPID, LambdaProlog, Modula-2, Modsim III or go.mod
|
||||
export def FTmod()
|
||||
if get(g:, "filetype_mod", "") == "modula2" || IsModula2()
|
||||
SetFiletypeModula2()
|
||||
return
|
||||
endif
|
||||
|
||||
if exists("g:filetype_mod")
|
||||
exe "setf " .. g:filetype_mod
|
||||
elseif expand("<afile>") =~ '\<go.mod$'
|
||||
setf gomod
|
||||
elseif IsLProlog()
|
||||
setf lprolog
|
||||
elseif getline(nextnonblank(1)) =~ '\%(\<MODULE\s\+\w\+\s*;\|^\s*(\*\)'
|
||||
setf modula2
|
||||
elseif IsRapid()
|
||||
setf rapid
|
||||
else
|
||||
@@ -1186,28 +1236,48 @@ export def FTv()
|
||||
# ":setf" will do nothing, bail out early
|
||||
return
|
||||
endif
|
||||
if exists("g:filetype_v")
|
||||
exe "setf " .. g:filetype_v
|
||||
return
|
||||
endif
|
||||
|
||||
for line in getline(1, 200)
|
||||
if line[0] =~ '^\s*/'
|
||||
var in_comment = 0
|
||||
for lnum in range(1, min([line("$"), 200]))
|
||||
var line = getline(lnum)
|
||||
# Skip Verilog and V comments (lines and blocks).
|
||||
if line =~ '^\s*/\*'
|
||||
# start comment block
|
||||
in_comment = 1
|
||||
endif
|
||||
if in_comment == 1
|
||||
if line =~ '\*/'
|
||||
# end comment block
|
||||
in_comment = 0
|
||||
endif
|
||||
# skip comment-block line
|
||||
continue
|
||||
endif
|
||||
if line =~ '^\s*//'
|
||||
# skip comment line
|
||||
continue
|
||||
endif
|
||||
|
||||
# Coq: line ends with a '.' followed by an optional variable number of
|
||||
# spaces or contains the start of a comment, but not inside a Verilog or V
|
||||
# comment.
|
||||
# Example: "Definition x := 10. (*".
|
||||
if (line =~ '\.\s*$' && line !~ '/[/*]') || (line =~ '(\*' && line !~ '/[/*].*(\*')
|
||||
setf coq
|
||||
return
|
||||
endif
|
||||
|
||||
# Verilog: line ends with ';' followed by an optional variable number of
|
||||
# spaces and an optional start of a comment.
|
||||
# Example: " b <= a + 1; // Add 1".
|
||||
if line =~ ';\(\s*\)\?\(/.*\)\?$'
|
||||
if line =~ ';\s*\(/[/*].*\)\?$'
|
||||
setf verilog
|
||||
return
|
||||
endif
|
||||
|
||||
# Coq: line ends with a '.' followed by an optional variable number of
|
||||
# spaces and an optional start of a comment.
|
||||
# Example: "Definition x := 10. (*".
|
||||
if line =~ '\.\(\s*\)\?\((\*.*\)\?$'
|
||||
setf coq
|
||||
return
|
||||
endif
|
||||
endfor
|
||||
|
||||
# No line matched, fall back to "v".
|
||||
@@ -1223,4 +1293,4 @@ export def FTvba()
|
||||
enddef
|
||||
|
||||
# Uncomment this line to check for compilation errors early
|
||||
# defcompile
|
||||
defcompile
|
||||
|
||||
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
|
||||
20
runtime/autoload/dist/man.vim
vendored
20
runtime/autoload/dist/man.vim
vendored
@@ -3,7 +3,7 @@
|
||||
" Maintainer: Jason Franklin <jason@oneway.dev>
|
||||
" Maintainer: SungHyun Nam <goweol@gmail.com>
|
||||
" Autoload Split: Bram Moolenaar
|
||||
" Last Change: 2023 Jun 28
|
||||
" Last Change: 2024 Jan 17 (make it work on AIX, see #13847)
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo-=C
|
||||
@@ -13,14 +13,26 @@ let s:man_tag_depth = 0
|
||||
let s:man_sect_arg = ""
|
||||
let s:man_find_arg = "-w"
|
||||
try
|
||||
if !has("win32") && $OSTYPE !~ 'cygwin\|linux' && system('uname -s') =~ "SunOS" && system('uname -r') =~ "^5"
|
||||
let s:man_sect_arg = "-s"
|
||||
let s:man_find_arg = "-l"
|
||||
if !has("win32") && $OSTYPE !~ 'cygwin\|linux'
|
||||
" cache the value
|
||||
let uname_s = system('uname -s')
|
||||
|
||||
if uname_s =~ "SunOS" && system('uname -r') =~ "^5"
|
||||
" Special Case for Man on SunOS
|
||||
let s:man_sect_arg = "-s"
|
||||
let s:man_find_arg = "-l"
|
||||
elseif uname_s =~? 'AIX'
|
||||
" Special Case for Man on AIX
|
||||
let s:man_sect_arg = ""
|
||||
let s:man_find_arg = ""
|
||||
endif
|
||||
endif
|
||||
catch /E145:/
|
||||
" Ignore the error in restricted mode
|
||||
endtry
|
||||
|
||||
unlet! uname_s
|
||||
|
||||
func s:ParseIntoPageAndSection()
|
||||
" Accommodate a reference that terminates in a hyphen.
|
||||
"
|
||||
|
||||
4
runtime/autoload/dist/script.vim
vendored
4
runtime/autoload/dist/script.vim
vendored
@@ -225,6 +225,10 @@ export def Exe2filetype(name: string, line1: string): string
|
||||
elseif name =~ '^dart\>'
|
||||
return 'dart'
|
||||
|
||||
# Execline (s6)
|
||||
elseif name =~ '^execlineb\>'
|
||||
return 'execline'
|
||||
|
||||
endif
|
||||
|
||||
return ''
|
||||
|
||||
5
runtime/autoload/dist/vimindent.vim
vendored
5
runtime/autoload/dist/vimindent.vim
vendored
@@ -3,6 +3,9 @@ vim9script
|
||||
# Language: Vim script
|
||||
# Maintainer: github user lacygoill
|
||||
# Last Change: 2023 Jun 29
|
||||
#
|
||||
# Includes Changes from Vim:
|
||||
# - 2024 Feb 09: Fix indent after literal Dict (A. Radev via #13966)
|
||||
|
||||
# NOTE: Whenever you change the code, make sure the tests are still passing:
|
||||
#
|
||||
@@ -381,7 +384,7 @@ const LINE_CONTINUATION_AT_EOL: string = '\%('
|
||||
# It can be the start of a dictionary or a block.
|
||||
# We only want to match the former.
|
||||
.. '\|' .. $'^\%({STARTS_CURLY_BLOCK}\)\@!.*\zs{{'
|
||||
.. '\)\s*\%(\s#.*\)\=$'
|
||||
.. '\)\s*\%(\s#[^{].*\)\=$'
|
||||
# }}}2
|
||||
# SOL {{{2
|
||||
# BACKSLASH_AT_SOL {{{3
|
||||
|
||||
31
runtime/autoload/modula2.vim
Normal file
31
runtime/autoload/modula2.vim
Normal file
@@ -0,0 +1,31 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Modula-2
|
||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||
" Last Change: 2024 Jan 04
|
||||
|
||||
" Dialect can be one of pim, iso, r10
|
||||
function modula2#GetDialect() abort
|
||||
|
||||
if exists("b:modula2.dialect")
|
||||
return b:modula2.dialect
|
||||
endif
|
||||
|
||||
if exists("g:modula2_default_dialect")
|
||||
let dialect = g:modula2_default_dialect
|
||||
else
|
||||
let dialect = "pim"
|
||||
endif
|
||||
|
||||
return dialect
|
||||
endfunction
|
||||
|
||||
function modula2#SetDialect(dialect, extension = "") abort
|
||||
if exists("b:modula2")
|
||||
unlockvar! b:modula2
|
||||
endif
|
||||
|
||||
let b:modula2 = #{ dialect: a:dialect, extension: a:extension }
|
||||
lockvar! b:modula2
|
||||
endfunction
|
||||
|
||||
" vim: nowrap sw=2 sts=2 ts=8 noet fdm=marker:
|
||||
@@ -2020,7 +2020,7 @@ fun! NetrwStatusLine()
|
||||
|
||||
if !exists("w:netrw_explore_bufnr") || w:netrw_explore_bufnr != bufnr("%") || !exists("w:netrw_explore_line") || w:netrw_explore_line != line(".") || !exists("w:netrw_explore_list")
|
||||
" restore user's status line
|
||||
let &stl = s:netrw_users_stl
|
||||
let &l:stl = s:netrw_users_stl
|
||||
let &laststatus = s:netrw_users_ls
|
||||
if exists("w:netrw_explore_bufnr")|unlet w:netrw_explore_bufnr|endif
|
||||
if exists("w:netrw_explore_line") |unlet w:netrw_explore_line |endif
|
||||
@@ -2121,9 +2121,9 @@ fun! netrw#NetRead(mode,...)
|
||||
let wholechoice = wholechoice . " " . choice
|
||||
let ichoice = ichoice + 1
|
||||
if ichoice > a:0
|
||||
if !exists("g:netrw_quiet")
|
||||
call netrw#ErrorMsg(s:ERROR,"Unbalanced string in filename '". wholechoice ."'",3)
|
||||
endif
|
||||
if !exists("g:netrw_quiet")
|
||||
call netrw#ErrorMsg(s:ERROR,"Unbalanced string in filename '". wholechoice ."'",3)
|
||||
endif
|
||||
" call Dret("netrw#NetRead :2 getcwd<".getcwd().">")
|
||||
return
|
||||
endif
|
||||
@@ -2544,9 +2544,9 @@ fun! netrw#NetWrite(...) range
|
||||
let wholechoice= wholechoice . " " . choice
|
||||
let ichoice = ichoice + 1
|
||||
if choice > a:0
|
||||
if !exists("g:netrw_quiet")
|
||||
call netrw#ErrorMsg(s:ERROR,"Unbalanced string in filename '". wholechoice ."'",13)
|
||||
endif
|
||||
if !exists("g:netrw_quiet")
|
||||
call netrw#ErrorMsg(s:ERROR,"Unbalanced string in filename '". wholechoice ."'",13)
|
||||
endif
|
||||
" call Dret("netrw#NetWrite")
|
||||
return
|
||||
endif
|
||||
@@ -2817,7 +2817,7 @@ fun! netrw#NetWrite(...) range
|
||||
|
||||
if a:firstline == 1 && a:lastline == line("$")
|
||||
" restore modifiability; usually equivalent to set nomod
|
||||
let &mod= mod
|
||||
let &l:mod= mod
|
||||
" call Decho(" ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap." (filename<".expand("%")."> win#".winnr()." ft<".&ft.">)",'~'.expand("<slnum>"))
|
||||
elseif !exists("leavemod")
|
||||
" indicate that the buffer has not been modified since last written
|
||||
@@ -3006,7 +3006,7 @@ fun! s:NetrwGetFile(readcmd, tfile, method)
|
||||
setl isk-=/
|
||||
filetype detect
|
||||
" call Decho("..local filetype<".&ft."> for buf#".bufnr()."<".bufname().">")
|
||||
let &isk= iskkeep
|
||||
let &l:isk= iskkeep
|
||||
" call Dredir("ls!","NetrwGetFile (renamed buffer back to remote filename<".rfile."> : expand(%)<".expand("%").">)")
|
||||
let line1 = 1
|
||||
let line2 = line("$")
|
||||
@@ -5003,12 +5003,12 @@ fun! s:NetrwBrowseChgDir(islocal,newdir,...)
|
||||
if g:netrw_chgwin >= 1
|
||||
" call Decho("edit-a-file: changing window to #".g:netrw_chgwin.": (due to g:netrw_chgwin)",'~'.expand("<slnum>"))
|
||||
if winnr("$")+1 == g:netrw_chgwin
|
||||
" if g:netrw_chgwin is set to one more than the last window, then
|
||||
" vertically split the last window to make that window available.
|
||||
let curwin= winnr()
|
||||
exe "NetrwKeepj keepalt ".winnr("$")."wincmd w"
|
||||
vs
|
||||
exe "NetrwKeepj keepalt ".g:netrw_chgwin."wincmd ".curwin
|
||||
" if g:netrw_chgwin is set to one more than the last window, then
|
||||
" vertically split the last window to make that window available.
|
||||
let curwin= winnr()
|
||||
exe "NetrwKeepj keepalt ".winnr("$")."wincmd w"
|
||||
vs
|
||||
exe "NetrwKeepj keepalt ".g:netrw_chgwin."wincmd ".curwin
|
||||
endif
|
||||
exe "NetrwKeepj keepalt ".g:netrw_chgwin."wincmd w"
|
||||
endif
|
||||
@@ -5315,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
|
||||
@@ -6126,7 +6127,7 @@ fun! s:NetrwServerEdit(islocal,fname)
|
||||
" used something like <cr>.
|
||||
" call Decho("user must have closed server AND did not use ctrl-r",'~'.expand("<slnum>"))
|
||||
if exists("g:netrw_browse_split")
|
||||
unlet g:netrw_browse_split
|
||||
unlet g:netrw_browse_split
|
||||
endif
|
||||
let g:netrw_browse_split= 0
|
||||
if exists("s:netrw_browse_split_".winnr())
|
||||
@@ -6160,7 +6161,7 @@ fun! s:NetrwServerEdit(islocal,fname)
|
||||
if !ctrlr
|
||||
" call Decho("server<".g:netrw_servername."> not available and ctrl-r not used",'~'.expand("<slnum>"))
|
||||
if exists("g:netrw_browse_split")
|
||||
unlet g:netrw_browse_split
|
||||
unlet g:netrw_browse_split
|
||||
endif
|
||||
let g:netrw_browse_split= 0
|
||||
call s:NetrwBrowse(islocal,s:NetrwBrowseChgDir(islocal,a:fname))
|
||||
@@ -6678,14 +6679,14 @@ fun! s:NetrwMaps(islocal)
|
||||
nmap <buffer> <2-leftmouse> <Plug>Netrw2Leftmouse
|
||||
imap <buffer> <leftmouse> <Plug>ILeftmouse
|
||||
imap <buffer> <middlemouse> <Plug>IMiddlemouse
|
||||
nno <buffer> <silent> <Plug>NetrwLeftmouse <leftmouse>:call <SID>NetrwLeftmouse(1)<cr>
|
||||
nno <buffer> <silent> <Plug>NetrwCLeftmouse <leftmouse>:call <SID>NetrwCLeftmouse(1)<cr>
|
||||
nno <buffer> <silent> <Plug>NetrwMiddlemouse <leftmouse>:call <SID>NetrwPrevWinOpen(1)<cr>
|
||||
nno <buffer> <silent> <Plug>NetrwSLeftmouse <leftmouse>:call <SID>NetrwSLeftmouse(1)<cr>
|
||||
nno <buffer> <silent> <Plug>NetrwSLeftdrag <leftmouse>:call <SID>NetrwSLeftdrag(1)<cr>
|
||||
nno <buffer> <silent> <Plug>NetrwLeftmouse :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwLeftmouse(1)<cr>
|
||||
nno <buffer> <silent> <Plug>NetrwCLeftmouse :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwCLeftmouse(1)<cr>
|
||||
nno <buffer> <silent> <Plug>NetrwMiddlemouse :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwPrevWinOpen(1)<cr>
|
||||
nno <buffer> <silent> <Plug>NetrwSLeftmouse :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwSLeftmouse(1)<cr>
|
||||
nno <buffer> <silent> <Plug>NetrwSLeftdrag :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwSLeftdrag(1)<cr>
|
||||
nmap <buffer> <silent> <Plug>Netrw2Leftmouse -
|
||||
exe 'nnoremap <buffer> <silent> <rightmouse> <leftmouse>:call <SID>NetrwLocalRm("'.mapsafecurdir.'")<cr>'
|
||||
exe 'vnoremap <buffer> <silent> <rightmouse> <leftmouse>:call <SID>NetrwLocalRm("'.mapsafecurdir.'")<cr>'
|
||||
exe 'nnoremap <buffer> <silent> <rightmouse> :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwLocalRm("'.mapsafecurdir.'")<cr>'
|
||||
exe 'vnoremap <buffer> <silent> <rightmouse> :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwLocalRm("'.mapsafecurdir.'")<cr>'
|
||||
endif
|
||||
exe 'nnoremap <buffer> <silent> <nowait> <del> :call <SID>NetrwLocalRm("'.mapsafecurdir.'")<cr>'
|
||||
exe 'nnoremap <buffer> <silent> <nowait> D :call <SID>NetrwLocalRm("'.mapsafecurdir.'")<cr>'
|
||||
@@ -6779,22 +6780,22 @@ fun! s:NetrwMaps(islocal)
|
||||
nnoremap <buffer> <silent> <Plug>NetrwRefresh :call <SID>NetrwRefresh(0,<SID>NetrwBrowseChgDir(0,'./'))<cr>
|
||||
if g:netrw_mousemaps == 1
|
||||
nmap <buffer> <leftmouse> <Plug>NetrwLeftmouse
|
||||
nno <buffer> <silent> <Plug>NetrwLeftmouse <leftmouse>:call <SID>NetrwLeftmouse(0)<cr>
|
||||
nno <buffer> <silent> <Plug>NetrwLeftmouse :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwLeftmouse(0)<cr>
|
||||
nmap <buffer> <c-leftmouse> <Plug>NetrwCLeftmouse
|
||||
nno <buffer> <silent> <Plug>NetrwCLeftmouse <leftmouse>:call <SID>NetrwCLeftmouse(0)<cr>
|
||||
nno <buffer> <silent> <Plug>NetrwCLeftmouse :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwCLeftmouse(0)<cr>
|
||||
nmap <buffer> <s-leftmouse> <Plug>NetrwSLeftmouse
|
||||
nno <buffer> <silent> <Plug>NetrwSLeftmouse <leftmouse>:call <SID>NetrwSLeftmouse(0)<cr>
|
||||
nno <buffer> <silent> <Plug>NetrwSLeftmouse :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwSLeftmouse(0)<cr>
|
||||
nmap <buffer> <s-leftdrag> <Plug>NetrwSLeftdrag
|
||||
nno <buffer> <silent> <Plug>NetrwSLeftdrag <leftmouse>:call <SID>NetrwSLeftdrag(0)<cr>
|
||||
nno <buffer> <silent> <Plug>NetrwSLeftdrag :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwSLeftdrag(0)<cr>
|
||||
nmap <middlemouse> <Plug>NetrwMiddlemouse
|
||||
nno <buffer> <silent> <middlemouse> <Plug>NetrwMiddlemouse <leftmouse>:call <SID>NetrwPrevWinOpen(0)<cr>
|
||||
nno <buffer> <silent> <middlemouse> <Plug>NetrwMiddlemouse :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwPrevWinOpen(0)<cr>
|
||||
nmap <buffer> <2-leftmouse> <Plug>Netrw2Leftmouse
|
||||
nmap <buffer> <silent> <Plug>Netrw2Leftmouse -
|
||||
imap <buffer> <leftmouse> <Plug>ILeftmouse
|
||||
imap <buffer> <middlemouse> <Plug>IMiddlemouse
|
||||
imap <buffer> <s-leftmouse> <Plug>ISLeftmouse
|
||||
exe 'nnoremap <buffer> <silent> <rightmouse> <leftmouse>:call <SID>NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")<cr>'
|
||||
exe 'vnoremap <buffer> <silent> <rightmouse> <leftmouse>:call <SID>NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")<cr>'
|
||||
exe 'nnoremap <buffer> <silent> <rightmouse> :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")<cr>'
|
||||
exe 'vnoremap <buffer> <silent> <rightmouse> :exec "norm! \<lt>leftmouse>"<bar>call <SID>NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")<cr>'
|
||||
endif
|
||||
exe 'nnoremap <buffer> <silent> <nowait> <del> :call <SID>NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")<cr>'
|
||||
exe 'nnoremap <buffer> <silent> <nowait> d :call <SID>NetrwMakeDir("'.mapsafeusermach.'")<cr>'
|
||||
@@ -7505,7 +7506,7 @@ fun! s:NetrwMarkFileExe(islocal,enbloc)
|
||||
for fname in s:netrwmarkfilelist_{curbufnr}
|
||||
if a:islocal
|
||||
if g:netrw_keepdir
|
||||
let fname= s:ShellEscape(netrw#WinPath(s:ComposePath(curdir,fname)))
|
||||
let fname= s:ShellEscape(netrw#WinPath(s:ComposePath(curdir,fname)))
|
||||
endif
|
||||
else
|
||||
let fname= s:ShellEscape(netrw#WinPath(b:netrw_curdir.fname))
|
||||
@@ -7861,7 +7862,7 @@ fun! s:NetrwMarkFileMove(islocal)
|
||||
let movecmd = netrw#WinPath(movecmd).movecmdargs
|
||||
" call Decho("windows exception: movecmd<".movecmd."> (#1: had a space)",'~'.expand("<slnum>"))
|
||||
else
|
||||
let movecmd = netrw#WinPath(movecmd)
|
||||
let movecmd = netrw#WinPath(g:netrw_localmovecmd)
|
||||
" call Decho("windows exception: movecmd<".movecmd."> (#2: no space)",'~'.expand("<slnum>"))
|
||||
endif
|
||||
else
|
||||
@@ -7875,10 +7876,6 @@ fun! s:NetrwMarkFileMove(islocal)
|
||||
endif
|
||||
if !g:netrw_cygwin && (has("win32") || has("win95") || has("win64") || has("win16"))
|
||||
let fname= substitute(fname,'/','\\','g')
|
||||
if g:netrw_keepdir
|
||||
" Jul 19, 2022: fixing file move when g:netrw_keepdir is 1
|
||||
let fname= b:netrw_curdir."\\".fname
|
||||
endif
|
||||
endif
|
||||
" call Decho("system(".movecmd." ".s:ShellEscape(fname)." ".tgt.")",'~'.expand("<slnum>"))
|
||||
let ret= system(movecmd.g:netrw_localmovecmdopt." ".s:ShellEscape(fname)." ".tgt)
|
||||
@@ -10214,7 +10211,7 @@ fun! s:SetupNetrwStatusLine(statline)
|
||||
" set up status line (may use User9 highlighting)
|
||||
" insure that windows have a statusline
|
||||
" make sure statusline is displayed
|
||||
let &stl=a:statline
|
||||
let &l:stl=a:statline
|
||||
setl laststatus=2
|
||||
" call Decho("stl=".&stl,'~'.expand("<slnum>"))
|
||||
redraw
|
||||
@@ -10330,7 +10327,7 @@ fun! s:NetrwRemoteFtpCmd(path,listcmd)
|
||||
setl ff=unix
|
||||
|
||||
" restore settings
|
||||
let &ff= ffkeep
|
||||
let &l:ff= ffkeep
|
||||
" call Dret("NetrwRemoteFtpCmd")
|
||||
return
|
||||
|
||||
@@ -10367,7 +10364,7 @@ fun! s:NetrwRemoteFtpCmd(path,listcmd)
|
||||
endif
|
||||
|
||||
" restore settings " {{{3
|
||||
let &ff= ffkeep
|
||||
let &l:ff= ffkeep
|
||||
" call Dret("NetrwRemoteFtpCmd")
|
||||
endfun
|
||||
|
||||
@@ -10380,7 +10377,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)
|
||||
@@ -10671,7 +10668,7 @@ fun! s:NetrwRemoteRmFile(path,rmfile,all)
|
||||
NetrwKeepj call netrw#ErrorMsg(s:ERROR,"for some reason b:netrw_curdir doesn't exist!",53)
|
||||
let ok="q"
|
||||
else
|
||||
let remotedir= substitute(b:netrw_curdir,'^.*//[^/]\+/\(.*\)$','\1','')
|
||||
let remotedir= substitute(b:netrw_curdir,'^.\{-}//[^/]\+/\(.*\)$','\1','')
|
||||
" call Decho("netrw_rm_cmd<".netrw_rm_cmd.">",'~'.expand("<slnum>"))
|
||||
" call Decho("remotedir<".remotedir.">",'~'.expand("<slnum>"))
|
||||
" call Decho("rmfile<".a:rmfile.">",'~'.expand("<slnum>"))
|
||||
@@ -10684,7 +10681,7 @@ fun! s:NetrwRemoteRmFile(path,rmfile,all)
|
||||
let ret= system(netrw_rm_cmd)
|
||||
if v:shell_error != 0
|
||||
if exists("b:netrw_curdir") && b:netrw_curdir != getcwd() && !g:netrw_keepdir
|
||||
call netrw#ErrorMsg(s:ERROR,"remove failed; perhaps due to vim's current directory<".getcwd()."> not matching netrw's (".b:netrw_curdir.") (see :help netrw-cd)",102)
|
||||
call netrw#ErrorMsg(s:ERROR,"remove failed; perhaps due to vim's current directory<".getcwd()."> not matching netrw's (".b:netrw_curdir.") (see :help netrw-cd)",102)
|
||||
else
|
||||
call netrw#ErrorMsg(s:WARNING,"cmd<".netrw_rm_cmd."> failed",60)
|
||||
endif
|
||||
@@ -10962,6 +10959,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
|
||||
@@ -11188,16 +11189,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 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
|
||||
|
||||
if g:netrw_sizestyle =~# "[hH]"
|
||||
let sz= s:NetrwHumanReadable(sz)
|
||||
endif
|
||||
let fsz = printf("%".szlen."S",sz)
|
||||
let pfile = longfile." ".fsz." ".strftime(g:netrw_timefmt,getftime(filename))
|
||||
let pfile= longfile." ".fsz." ".strftime(g:netrw_timefmt,getftime(filename))
|
||||
" call Decho("longlist support: sz=".sz." fsz=".fsz,'~'.expand("<slnum>"))
|
||||
endif
|
||||
|
||||
@@ -11274,6 +11275,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
|
||||
@@ -11375,6 +11380,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
|
||||
@@ -11574,7 +11583,7 @@ endfun
|
||||
" netrw#RFC2396: converts %xx into characters {{{2
|
||||
fun! netrw#RFC2396(fname)
|
||||
" call Dfunc("netrw#RFC2396(fname<".a:fname.">)")
|
||||
let fname = escape(substitute(a:fname,'%\(\x\x\)','\=nr2char("0x".submatch(1))','ge')," \t")
|
||||
let fname = escape(substitute(a:fname,'%\(\x\x\)','\=printf("%c","0x".submatch(1))','ge')," \t")
|
||||
" call Dret("netrw#RFC2396 ".fname)
|
||||
return fname
|
||||
endfun
|
||||
@@ -12209,7 +12218,7 @@ fun! s:NetrwLcd(newdir)
|
||||
if (has("win32") || has("win95") || has("win64") || has("win16")) && !g:netrw_cygwin
|
||||
if a:newdir =~ '^\\\\\w\+' || a:newdir =~ '^//\w\+'
|
||||
let dirname = '\'
|
||||
exe 'NetrwKeepj sil lcd '.fnameescape(dirname)
|
||||
exe 'NetrwKeepj sil lcd '.fnameescape(dirname)
|
||||
endif
|
||||
endif
|
||||
catch /^Vim\%((\a\+)\)\=:E472/
|
||||
|
||||
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
|
||||
@@ -2,8 +2,7 @@
|
||||
" Language: Ruby
|
||||
" Maintainer: Mark Guzman <segfault@hasno.info>
|
||||
" URL: https://github.com/vim-ruby/vim-ruby
|
||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||
" Last Change: 2020 Apr 12
|
||||
" Last Change: 2023 Dec 31
|
||||
" ----------------------------------------------------------------------------
|
||||
"
|
||||
" Ruby IRB/Complete author: Keiju ISHITSUKA(keiju@ishitsuka.com)
|
||||
@@ -490,7 +489,7 @@ class VimRubyCompletion
|
||||
trail = "%s%s" % [ dir, sub ]
|
||||
tcfg = "%sconfig" % trail
|
||||
|
||||
if File.exists?( tcfg )
|
||||
if File.exist?( tcfg )
|
||||
rails_base = trail
|
||||
break
|
||||
end
|
||||
@@ -503,7 +502,7 @@ class VimRubyCompletion
|
||||
|
||||
bootfile = rails_base + "config/boot.rb"
|
||||
envfile = rails_base + "config/environment.rb"
|
||||
if File.exists?( bootfile ) && File.exists?( envfile )
|
||||
if File.exist?( bootfile ) && File.exist?( envfile )
|
||||
begin
|
||||
require bootfile
|
||||
require envfile
|
||||
|
||||
@@ -163,9 +163,9 @@ fun! tar#Browse(tarfile)
|
||||
" call Decho("1: exe silent r! gzip -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
|
||||
exe "sil! r! gzip -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
||||
|
||||
elseif tarfile =~# '\.\(tgz\)$' || tarfile =~# '\.\(tbz\)$' || tarfile =~# '\.\(txz\)$' || tarfile =~# '\.\(tzs\)$'
|
||||
elseif tarfile =~# '\.\(tgz\)$' || tarfile =~# '\.\(tbz\)$' || tarfile =~# '\.\(txz\)$' || tarfile =~# '\.\(tzst\)$'
|
||||
if has("unix") && executable("file")
|
||||
let filekind= system("file ".shellescape(tarfile,1)) =~ "bzip2"
|
||||
let filekind= system("file ".shellescape(tarfile,1))
|
||||
else
|
||||
let filekind= ""
|
||||
endif
|
||||
@@ -192,7 +192,7 @@ fun! tar#Browse(tarfile)
|
||||
elseif tarfile =~# '\.\(xz\|txz\)$'
|
||||
" call Decho("3: exe silent r! xz --decompress --stdout -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
|
||||
exe "sil! r! xz --decompress --stdout -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
||||
elseif tarfile =~# '\.\(zst\|tzs\)$'
|
||||
elseif tarfile =~# '\.\(zst\|tzst\)$'
|
||||
exe "sil! r! zstd --decompress --stdout -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
||||
else
|
||||
if tarfile =~ '^\s*-'
|
||||
@@ -230,7 +230,7 @@ fun! tar#Browse(tarfile)
|
||||
" set up maps supported for tar
|
||||
setlocal noma nomod ro
|
||||
noremap <silent> <buffer> <cr> :call <SID>TarBrowseSelect()<cr>
|
||||
noremap <silent> <buffer> x :call tar#Extract()<cr>
|
||||
noremap <silent> <buffer> x :call tar#Extract()<cr>
|
||||
if &mouse != ""
|
||||
noremap <silent> <buffer> <leftmouse> <leftmouse>:call <SID>TarBrowseSelect()<cr>
|
||||
endif
|
||||
@@ -468,9 +468,9 @@ fun! tar#Write(fname)
|
||||
let compress= "xz -- ".shellescape(tarfile,0)
|
||||
" call Decho("compress<".compress.">")
|
||||
elseif tarfile =~# '\.zst'
|
||||
call system("zstd --decompress -- ".shellescape(tarfile,0))
|
||||
call system("zstd --decompress --rm -- ".shellescape(tarfile,0))
|
||||
let tarfile = substitute(tarfile,'\.zst','','e')
|
||||
let compress= "zstd -- ".shellescape(tarfile,0)
|
||||
let compress= "zstd --rm -- ".shellescape(tarfile,0)
|
||||
elseif tarfile =~# '\.lzma'
|
||||
call system("lzma -d -- ".shellescape(tarfile,0))
|
||||
let tarfile = substitute(tarfile,'\.lzma','','e')
|
||||
@@ -486,7 +486,7 @@ fun! tar#Write(fname)
|
||||
else
|
||||
|
||||
" call Decho("tarfile<".tarfile."> fname<".fname.">")
|
||||
|
||||
|
||||
if fname =~ '/'
|
||||
let dirpath = substitute(fname,'/[^/]\+$','','e')
|
||||
if has("win32unix") && executable("cygpath")
|
||||
@@ -502,7 +502,7 @@ fun! tar#Write(fname)
|
||||
let tarfile = substitute(tarfile, '-', './-', '')
|
||||
endif
|
||||
" call Decho("tarfile<".tarfile."> fname<".fname.">")
|
||||
|
||||
|
||||
if exists("g:tar_secure")
|
||||
let tar_secure= " -- "
|
||||
else
|
||||
@@ -512,7 +512,7 @@ fun! tar#Write(fname)
|
||||
if has("win32unix") && executable("cygpath")
|
||||
let tarfile = substitute(system("cygpath ".shellescape(tarfile,0)),'\n','','e')
|
||||
endif
|
||||
|
||||
|
||||
" delete old file from tarfile
|
||||
" call Decho("system(".g:tar_cmd." ".g:tar_delfile." ".shellescape(tarfile,0)." -- ".shellescape(fname,0).")")
|
||||
call system(g:tar_cmd." ".g:tar_delfile." ".shellescape(tarfile,0).tar_secure.shellescape(fname,0))
|
||||
@@ -521,8 +521,8 @@ fun! tar#Write(fname)
|
||||
" call Decho("***error*** (tar#Write) sorry, unable to update ".fnameescape(tarfile)." with ".fnameescape(fname))
|
||||
echohl Error | echo "***error*** (tar#Write) sorry, unable to update ".fnameescape(tarfile)." with ".fnameescape(fname) | echohl None
|
||||
else
|
||||
|
||||
" update tarfile with new file
|
||||
|
||||
" update tarfile with new file
|
||||
" call Decho(g:tar_cmd." -".g:tar_writeoptions." ".shellescape(tarfile,0).tar_secure.shellescape(fname,0))
|
||||
call system(g:tar_cmd." -".g:tar_writeoptions." ".shellescape(tarfile,0).tar_secure.shellescape(fname,0))
|
||||
if v:shell_error != 0
|
||||
@@ -555,7 +555,7 @@ fun! tar#Write(fname)
|
||||
unlet s:tblfile_{winnr()}
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
" cleanup and restore current directory
|
||||
cd ..
|
||||
call s:Rmdir("_ZIPVIM_")
|
||||
@@ -696,13 +696,13 @@ fun! tar#Extract()
|
||||
echo "***note*** successfully extracted ".fname
|
||||
endif
|
||||
|
||||
elseif filereadable(tarbase.".tzs")
|
||||
elseif filereadable(tarbase.".tzst")
|
||||
let extractcmd= substitute(extractcmd,"-","--zstd","")
|
||||
" call Decho("system(".extractcmd." ".shellescape(tarbase).".tzs ".shellescape(fname).")")
|
||||
call system(extractcmd." ".shellescape(tarbase).".txz ".shellescape(fname))
|
||||
" call Decho("system(".extractcmd." ".shellescape(tarbase).".tzst ".shellescape(fname).")")
|
||||
call system(extractcmd." ".shellescape(tarbase).".tzst ".shellescape(fname))
|
||||
if v:shell_error != 0
|
||||
echohl Error | echo "***error*** ".extractcmd." ".tarbase.".tzs ".fname.": failed!" | echohl NONE
|
||||
" call Decho("***error*** ".extractcmd." ".tarbase.".tzs ".fname.": failed!")
|
||||
echohl Error | echo "***error*** ".extractcmd." ".tarbase.".tzst ".fname.": failed!" | echohl NONE
|
||||
" call Decho("***error*** ".extractcmd." ".tarbase.".tzst ".fname.": failed!")
|
||||
else
|
||||
echo "***note*** successfully extracted ".fname
|
||||
endif
|
||||
@@ -710,7 +710,7 @@ fun! tar#Extract()
|
||||
elseif filereadable(tarbase.".tar.zst")
|
||||
let extractcmd= substitute(extractcmd,"-","--zstd","")
|
||||
" call Decho("system(".extractcmd." ".shellescape(tarbase).".tar.zst ".shellescape(fname).")")
|
||||
call system(extractcmd." ".shellescape(tarbase).".tar.xz ".shellescape(fname))
|
||||
call system(extractcmd." ".shellescape(tarbase).".tar.zst ".shellescape(fname))
|
||||
if v:shell_error != 0
|
||||
echohl Error | echo "***error*** ".extractcmd." ".tarbase.".tar.zst ".fname.": failed!" | echohl NONE
|
||||
" call Decho("***error*** ".extractcmd." ".tarbase.".tar.zst ".fname.": failed!")
|
||||
|
||||
@@ -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: Mon 08 Jan 2024 09:42:49 AM AEDT
|
||||
|
||||
" 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']
|
||||
@@ -76,8 +76,8 @@ hi Underlined guifg=NONE guibg=NONE gui=underline ctermfg=NONE ctermbg=NONE cter
|
||||
hi Label guifg=#ffd700 guibg=NONE gui=NONE cterm=NONE
|
||||
hi! link Terminal Normal
|
||||
hi! link Debug Special
|
||||
hi! link diffAdded String
|
||||
hi! link diffRemoved WarningMsg
|
||||
hi! link Added String
|
||||
hi! link Removed WarningMsg
|
||||
hi! link diffOnly WarningMsg
|
||||
hi! link diffNoEOL WarningMsg
|
||||
hi! link diffIsA WarningMsg
|
||||
@@ -186,8 +186,8 @@ if s:t_Co >= 256
|
||||
hi Label ctermfg=220 ctermbg=NONE cterm=NONE
|
||||
hi! link Terminal Normal
|
||||
hi! link Debug Special
|
||||
hi! link diffAdded String
|
||||
hi! link diffRemoved WarningMsg
|
||||
hi! link Added String
|
||||
hi! link Removed WarningMsg
|
||||
hi! link diffOnly WarningMsg
|
||||
hi! link diffNoEOL WarningMsg
|
||||
hi! link diffIsA WarningMsg
|
||||
@@ -299,8 +299,8 @@ if s:t_Co >= 16
|
||||
hi Label ctermfg=yellow ctermbg=NONE cterm=NONE
|
||||
hi! link Terminal Normal
|
||||
hi! link Debug Special
|
||||
hi! link diffAdded String
|
||||
hi! link diffRemoved WarningMsg
|
||||
hi! link Added String
|
||||
hi! link Removed WarningMsg
|
||||
hi! link diffOnly WarningMsg
|
||||
hi! link diffNoEOL WarningMsg
|
||||
hi! link diffIsA WarningMsg
|
||||
@@ -411,8 +411,8 @@ if s:t_Co >= 8
|
||||
hi Label ctermfg=yellow ctermbg=NONE cterm=NONE
|
||||
hi! link Terminal Normal
|
||||
hi! link Debug Special
|
||||
hi! link diffAdded String
|
||||
hi! link diffRemoved WarningMsg
|
||||
hi! link Added String
|
||||
hi! link Removed WarningMsg
|
||||
hi! link diffOnly WarningMsg
|
||||
hi! link diffNoEOL WarningMsg
|
||||
hi! link diffIsA WarningMsg
|
||||
@@ -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: Mon 08 Jan 2024 09:43:03 AM AEDT
|
||||
|
||||
" 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']
|
||||
@@ -54,8 +54,8 @@ hi! link Structure Type
|
||||
hi! link Tag Special
|
||||
hi! link Typedef Type
|
||||
hi! link Debug Special
|
||||
hi! link diffAdded String
|
||||
hi! link diffRemoved WarningMsg
|
||||
hi! link Added String
|
||||
hi! link Removed WarningMsg
|
||||
hi! link diffOnly WarningMsg
|
||||
hi! link diffNoEOL WarningMsg
|
||||
hi! link diffIsA WarningMsg
|
||||
@@ -162,8 +162,8 @@ if s:t_Co >= 256
|
||||
hi! link Tag Special
|
||||
hi! link Typedef Type
|
||||
hi! link Debug Special
|
||||
hi! link diffAdded String
|
||||
hi! link diffRemoved WarningMsg
|
||||
hi! link Added String
|
||||
hi! link Removed WarningMsg
|
||||
hi! link diffOnly WarningMsg
|
||||
hi! link diffNoEOL WarningMsg
|
||||
hi! link diffIsA WarningMsg
|
||||
@@ -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: Mon 08 Jan 2024 09:43:27 AM AEDT
|
||||
|
||||
" 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']
|
||||
@@ -28,8 +28,8 @@ hi! link CursorIM Cursor
|
||||
hi! link LineNrAbove LineNr
|
||||
hi! link LineNrBelow LineNr
|
||||
hi! link Debug Special
|
||||
hi! link diffAdded String
|
||||
hi! link diffRemoved WarningMsg
|
||||
hi! link Added String
|
||||
hi! link Removed WarningMsg
|
||||
hi! link diffOnly WarningMsg
|
||||
hi! link diffNoEOL WarningMsg
|
||||
hi! link diffIsA WarningMsg
|
||||
@@ -136,8 +136,8 @@ if s:t_Co >= 256
|
||||
hi! link LineNrAbove LineNr
|
||||
hi! link LineNrBelow LineNr
|
||||
hi! link Debug Special
|
||||
hi! link diffAdded String
|
||||
hi! link diffRemoved WarningMsg
|
||||
hi! link Added String
|
||||
hi! link Removed WarningMsg
|
||||
hi! link diffOnly WarningMsg
|
||||
hi! link diffNoEOL WarningMsg
|
||||
hi! link diffIsA WarningMsg
|
||||
@@ -247,8 +247,8 @@ if s:t_Co >= 16
|
||||
hi! link LineNrAbove LineNr
|
||||
hi! link LineNrBelow LineNr
|
||||
hi! link Debug Special
|
||||
hi! link diffAdded String
|
||||
hi! link diffRemoved WarningMsg
|
||||
hi! link Added String
|
||||
hi! link Removed WarningMsg
|
||||
hi! link diffOnly WarningMsg
|
||||
hi! link diffNoEOL WarningMsg
|
||||
hi! link diffIsA WarningMsg
|
||||
@@ -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: Mon 08 Jan 2024 09:39:53 AM AEDT
|
||||
|
||||
" 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']
|
||||
@@ -106,8 +106,9 @@ hi Ignore guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Debug guifg=#5f8787 guibg=NONE gui=NONE cterm=NONE
|
||||
hi DiffAdd guifg=#dadada guibg=#5f875f gui=NONE cterm=NONE
|
||||
hi DiffDelete guifg=#af875f guibg=NONE gui=NONE cterm=NONE
|
||||
hi diffAdded guifg=#87af87 guibg=NONE gui=NONE cterm=NONE
|
||||
hi diffRemoved guifg=#d75f5f guibg=NONE gui=NONE cterm=NONE
|
||||
hi Added guifg=#87af87 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Changed guifg=#5f8787 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Removed guifg=#d75f5f guibg=NONE gui=NONE cterm=NONE
|
||||
hi diffSubname guifg=#af87af guibg=NONE gui=NONE cterm=NONE
|
||||
hi DiffText guifg=#dadada guibg=#878787 gui=NONE cterm=NONE
|
||||
hi DiffChange guifg=#bcbcbc guibg=#5f5f5f gui=NONE cterm=NONE
|
||||
@@ -199,8 +200,9 @@ if s:t_Co >= 256
|
||||
hi Debug ctermfg=66 ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd ctermfg=253 ctermbg=65 cterm=NONE
|
||||
hi DiffDelete ctermfg=137 ctermbg=NONE cterm=NONE
|
||||
hi diffAdded ctermfg=108 ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=167 ctermbg=NONE cterm=NONE
|
||||
hi Added ctermfg=108 ctermbg=NONE cterm=NONE
|
||||
hi Changed ctermfg=66 ctermbg=NONE cterm=NONE
|
||||
hi Removed ctermfg=167 ctermbg=NONE cterm=NONE
|
||||
hi diffSubname ctermfg=139 ctermbg=NONE cterm=NONE
|
||||
hi DiffText ctermfg=253 ctermbg=102 cterm=NONE
|
||||
hi DiffChange ctermfg=250 ctermbg=59 cterm=NONE
|
||||
@@ -277,8 +279,9 @@ if s:t_Co >= 16
|
||||
hi Debug ctermfg=darkcyan ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd ctermfg=white ctermbg=darkgreen cterm=NONE
|
||||
hi DiffDelete ctermfg=darkyellow ctermbg=NONE cterm=NONE
|
||||
hi diffAdded ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
hi Added ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
hi Changed ctermfg=darkcyan ctermbg=NONE cterm=NONE
|
||||
hi Removed ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
hi diffSubname ctermfg=darkmagenta ctermbg=NONE cterm=NONE
|
||||
hi DiffText ctermfg=white ctermbg=lightgrey cterm=NONE
|
||||
hi DiffChange ctermfg=white ctermbg=darkgray cterm=NONE
|
||||
@@ -355,8 +358,9 @@ if s:t_Co >= 8
|
||||
hi Debug ctermfg=darkcyan ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd ctermfg=white ctermbg=darkgreen cterm=NONE
|
||||
hi DiffDelete ctermfg=darkyellow ctermbg=NONE cterm=NONE
|
||||
hi diffAdded ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
hi Added ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
hi Changed ctermfg=darkcyan ctermbg=NONE cterm=NONE
|
||||
hi Removed ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
hi diffSubname ctermfg=darkmagenta ctermbg=NONE cterm=NONE
|
||||
hi DiffText ctermfg=white ctermbg=black cterm=bold,reverse
|
||||
hi DiffChange ctermfg=black ctermbg=white cterm=NONE
|
||||
@@ -465,4 +469,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,6 +4,9 @@
|
||||
" Similar in spirit to rgb.txt, this plugin establishes a human-friendly name
|
||||
" for every color listed in the CSS standard:
|
||||
"
|
||||
" Note: the color names should be in lower case, because Vim will lookup the
|
||||
" a color by its lower case name.
|
||||
"
|
||||
" https://www.w3.org/TR/css-color-3/
|
||||
|
||||
let s:keepcpo= &cpo
|
||||
@@ -26,7 +29,6 @@ call extend(v:colornames, {
|
||||
\ 'css_blue': '#0000FF',
|
||||
\ 'css_teal': '#008080',
|
||||
\ 'css_aqua': '#00FFFF',
|
||||
\
|
||||
\ 'css_aliceblue': '#f0f8ff',
|
||||
\ 'css_antiquewhite': '#faebd7',
|
||||
\ 'css_aquamarine': '#7fffd4',
|
||||
@@ -160,6 +162,14 @@ call extend(v:colornames, {
|
||||
\ 'css_yellowgreen': '#9acd32',
|
||||
\ }, 'keep')
|
||||
|
||||
" all keys should be in lower case, convert keys that are not yet
|
||||
for [key, val] in items(filter(copy(v:colornames), { key -> key =~ '\u'}))
|
||||
call remove(v:colornames, key)
|
||||
if !has_key(v:colornames, tolower(key))
|
||||
call extend(v:colornames, {tolower(key): val}, 'keep')
|
||||
endif
|
||||
endfor
|
||||
|
||||
let &cpo= s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
" time the highlight command fails to recognize a gui color. You can override
|
||||
" these colors by introducing a new colors/lists/default.vim file earlier in
|
||||
" the runtimepath.
|
||||
" Note: the color names should be in lower case, because Vim will lookup the
|
||||
" a color by its lower case name.
|
||||
|
||||
" make sure line continuation works
|
||||
let s:keepcpo = &cpo
|
||||
@@ -802,6 +804,14 @@ call extend(v:colornames, {
|
||||
\ 'teal': '#008080'
|
||||
\ }, 'keep')
|
||||
|
||||
" all keys should be in lower case, convert keys that are not yet
|
||||
for [key, val] in items(filter(copy(v:colornames), { key -> key =~ '\u'}))
|
||||
call remove(v:colornames, key)
|
||||
if !has_key(v:colornames, tolower(key))
|
||||
call extend(v:colornames, {tolower(key): val}, 'keep')
|
||||
endif
|
||||
endfor
|
||||
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
|
||||
@@ -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: Mon 08 Jan 2024 09:41:03 AM AEDT
|
||||
|
||||
" 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
|
||||
@@ -148,8 +164,9 @@ if &background ==# 'dark'
|
||||
hi DiffChange guifg=#c6c6c6 guibg=#5f5f5f gui=NONE cterm=NONE
|
||||
hi DiffText guifg=#afffff guibg=#5f8787 gui=NONE cterm=NONE
|
||||
hi DiffDelete guifg=#d78787 guibg=NONE gui=NONE cterm=NONE
|
||||
hi diffAdded guifg=#5fd75f guibg=NONE gui=NONE cterm=NONE
|
||||
hi diffRemoved guifg=#d78787 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Added guifg=#5fd75f guibg=NONE gui=NONE cterm=NONE
|
||||
hi Changed guifg=#5fafff guibg=NONE gui=NONE cterm=NONE
|
||||
hi Removed guifg=#d78787 guibg=NONE gui=NONE cterm=NONE
|
||||
hi diffSubname guifg=#ff87ff guibg=NONE gui=NONE cterm=NONE
|
||||
hi dirType guifg=#d787d7 guibg=NONE gui=NONE cterm=NONE
|
||||
hi dirPermissionUser guifg=#5faf5f guibg=NONE gui=NONE cterm=NONE
|
||||
@@ -208,10 +225,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
|
||||
@@ -238,8 +255,9 @@ else
|
||||
hi DiffChange guifg=#000000 guibg=#d0d0d0 gui=NONE cterm=NONE
|
||||
hi DiffText guifg=#000000 guibg=#5fd7d7 gui=NONE cterm=NONE
|
||||
hi DiffDelete guifg=#870000 guibg=NONE gui=NONE cterm=NONE
|
||||
hi diffAdded guifg=#008700 guibg=NONE gui=NONE cterm=NONE
|
||||
hi diffRemoved guifg=#d70000 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Added guifg=#008700 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Changed guifg=#005fd7 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Removed guifg=#d70000 guibg=NONE gui=NONE cterm=NONE
|
||||
hi diffSubname guifg=#af00af guibg=NONE gui=NONE cterm=NONE
|
||||
hi dirType guifg=#005f5f guibg=NONE gui=NONE cterm=NONE
|
||||
hi dirPermissionUser guifg=#af5f00 guibg=NONE gui=NONE cterm=NONE
|
||||
@@ -262,8 +280,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 +396,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
|
||||
@@ -389,8 +423,9 @@ if s:t_Co >= 256
|
||||
hi DiffChange ctermfg=251 ctermbg=59 cterm=NONE
|
||||
hi DiffText ctermfg=159 ctermbg=66 cterm=NONE
|
||||
hi DiffDelete ctermfg=174 ctermbg=NONE cterm=NONE
|
||||
hi diffAdded ctermfg=77 ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=174 ctermbg=NONE cterm=NONE
|
||||
hi Added ctermfg=77 ctermbg=NONE cterm=NONE
|
||||
hi Changed ctermfg=75 ctermbg=NONE cterm=NONE
|
||||
hi Removed ctermfg=174 ctermbg=NONE cterm=NONE
|
||||
hi diffSubname ctermfg=213 ctermbg=NONE cterm=NONE
|
||||
hi dirType ctermfg=176 ctermbg=NONE cterm=NONE
|
||||
hi dirPermissionUser ctermfg=71 ctermbg=NONE cterm=NONE
|
||||
@@ -447,7 +482,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
|
||||
@@ -474,8 +509,9 @@ if s:t_Co >= 256
|
||||
hi DiffChange ctermfg=16 ctermbg=252 cterm=NONE
|
||||
hi DiffText ctermfg=16 ctermbg=80 cterm=NONE
|
||||
hi DiffDelete ctermfg=88 ctermbg=NONE cterm=NONE
|
||||
hi diffAdded ctermfg=28 ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=160 ctermbg=NONE cterm=NONE
|
||||
hi Added ctermfg=28 ctermbg=NONE cterm=NONE
|
||||
hi Changed ctermfg=26 ctermbg=NONE cterm=NONE
|
||||
hi Removed ctermfg=160 ctermbg=NONE cterm=NONE
|
||||
hi diffSubname ctermfg=127 ctermbg=NONE cterm=NONE
|
||||
hi dirType ctermfg=23 ctermbg=NONE cterm=NONE
|
||||
hi dirPermissionUser ctermfg=130 ctermbg=NONE cterm=NONE
|
||||
@@ -537,8 +573,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
|
||||
@@ -565,8 +600,9 @@ if s:t_Co >= 16
|
||||
hi DiffChange ctermfg=white ctermbg=darkgreen cterm=NONE
|
||||
hi DiffText ctermfg=black ctermbg=cyan cterm=NONE
|
||||
hi DiffDelete ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
hi diffAdded ctermfg=green ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
hi Added ctermfg=green ctermbg=NONE cterm=NONE
|
||||
hi Changed ctermfg=blue ctermbg=NONE cterm=NONE
|
||||
hi Removed ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
hi diffSubname ctermfg=magenta ctermbg=NONE cterm=NONE
|
||||
hi dirType ctermfg=darkmagenta ctermbg=NONE cterm=NONE
|
||||
hi dirPermissionUser ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
@@ -623,7 +659,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
|
||||
@@ -650,8 +686,9 @@ if s:t_Co >= 16
|
||||
hi DiffChange ctermfg=black ctermbg=lightgray cterm=NONE
|
||||
hi DiffText ctermfg=black ctermbg=cyan cterm=NONE
|
||||
hi DiffDelete ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
hi diffAdded ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=red ctermbg=NONE cterm=NONE
|
||||
hi Added ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
hi Changed ctermfg=darkblue ctermbg=NONE cterm=NONE
|
||||
hi Removed ctermfg=red ctermbg=NONE cterm=NONE
|
||||
hi diffSubname ctermfg=darkmagenta ctermbg=NONE cterm=NONE
|
||||
hi dirType ctermfg=darkcyan ctermbg=NONE cterm=NONE
|
||||
hi dirPermissionUser ctermfg=darkyellow ctermbg=NONE cterm=NONE
|
||||
@@ -714,7 +751,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 +818,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 +943,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 +978,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 +989,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: Mon 08 Jan 2024 09:50:15 AM AEDT
|
||||
|
||||
" 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']
|
||||
@@ -28,6 +28,7 @@ hi! link StatusLineTerm StatusLine
|
||||
hi! link StatusLineTermNC StatusLineNC
|
||||
hi! link MessageWindow Pmenu
|
||||
hi! link PopupNotification Todo
|
||||
hi! link Added Constant
|
||||
hi Normal guifg=#87ff87 guibg=#000000 gui=NONE cterm=NONE
|
||||
hi EndOfBuffer guifg=#0000ff guibg=#000000 gui=NONE cterm=NONE
|
||||
hi StatusLine guifg=#ffffff guibg=#00008b gui=NONE cterm=NONE
|
||||
@@ -100,6 +101,7 @@ if s:t_Co >= 256
|
||||
hi! link StatusLineTermNC StatusLineNC
|
||||
hi! link MessageWindow Pmenu
|
||||
hi! link PopupNotification Todo
|
||||
hi! link Added Constant
|
||||
hi Normal ctermfg=120 ctermbg=16 cterm=NONE
|
||||
hi EndOfBuffer ctermfg=21 ctermbg=16 cterm=NONE
|
||||
hi StatusLine ctermfg=231 ctermbg=18 cterm=NONE
|
||||
@@ -394,4 +396,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: Mon 08 Jan 2024 09:40:36 AM AEDT
|
||||
|
||||
" 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
|
||||
@@ -93,8 +93,9 @@ if &background ==# 'dark'
|
||||
hi DiffChange guifg=#d0d0d0 guibg=#5f5f5f gui=NONE cterm=NONE
|
||||
hi DiffText guifg=#afffff guibg=#5f8787 gui=NONE cterm=NONE
|
||||
hi DiffDelete guifg=#ffafaf guibg=#875f5f gui=NONE cterm=NONE
|
||||
hi diffAdded guifg=#00af5f guibg=NONE gui=NONE cterm=NONE
|
||||
hi diffRemoved guifg=#d7005f guibg=NONE gui=NONE cterm=NONE
|
||||
hi Added guifg=#00af5f guibg=NONE gui=NONE cterm=NONE
|
||||
hi Changed guifg=#0087d7 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Removed guifg=#d7005f guibg=NONE gui=NONE cterm=NONE
|
||||
else
|
||||
" Light background
|
||||
if (has('termguicolors') && &termguicolors) || has('gui_running')
|
||||
@@ -125,8 +126,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 +138,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
|
||||
@@ -167,8 +168,9 @@ else
|
||||
hi DiffChange guifg=#262626 guibg=#dadada gui=NONE cterm=NONE
|
||||
hi DiffText guifg=#005f5f guibg=#afd7d7 gui=NONE cterm=NONE
|
||||
hi DiffDelete guifg=#875f5f guibg=#ffd7d7 gui=NONE cterm=NONE
|
||||
hi diffAdded guifg=#008700 guibg=NONE gui=NONE cterm=NONE
|
||||
hi diffRemoved guifg=#d70000 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Added guifg=#5faf5f guibg=NONE gui=NONE cterm=NONE
|
||||
hi Changed guifg=#0087d7 guibg=NONE gui=NONE cterm=NONE
|
||||
hi Removed guifg=#d70000 guibg=NONE gui=NONE cterm=NONE
|
||||
endif
|
||||
|
||||
if s:t_Co >= 256
|
||||
@@ -207,8 +209,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 +221,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
|
||||
@@ -247,8 +249,9 @@ if s:t_Co >= 256
|
||||
hi DiffChange ctermfg=252 ctermbg=59 cterm=NONE
|
||||
hi DiffText ctermfg=159 ctermbg=66 cterm=NONE
|
||||
hi DiffDelete ctermfg=217 ctermbg=95 cterm=NONE
|
||||
hi diffAdded ctermfg=35 ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=161 ctermbg=NONE cterm=NONE
|
||||
hi Added ctermfg=35 ctermbg=NONE cterm=NONE
|
||||
hi Changed ctermfg=32 ctermbg=NONE cterm=NONE
|
||||
hi Removed ctermfg=161 ctermbg=NONE cterm=NONE
|
||||
else
|
||||
" Light background
|
||||
hi Normal ctermfg=16 ctermbg=231 cterm=NONE
|
||||
@@ -276,8 +279,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 +291,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
|
||||
@@ -316,8 +319,9 @@ if s:t_Co >= 256
|
||||
hi DiffChange ctermfg=235 ctermbg=253 cterm=NONE
|
||||
hi DiffText ctermfg=23 ctermbg=152 cterm=NONE
|
||||
hi DiffDelete ctermfg=95 ctermbg=224 cterm=NONE
|
||||
hi diffAdded ctermfg=28 ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=160 ctermbg=NONE cterm=NONE
|
||||
hi Added ctermfg=71 ctermbg=NONE cterm=NONE
|
||||
hi Changed ctermfg=32 ctermbg=NONE cterm=NONE
|
||||
hi Removed ctermfg=160 ctermbg=NONE cterm=NONE
|
||||
endif
|
||||
unlet s:t_Co
|
||||
finish
|
||||
@@ -350,8 +354,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 +366,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
|
||||
@@ -386,12 +390,13 @@ if s:t_Co >= 16
|
||||
hi Directory ctermfg=blue ctermbg=NONE cterm=bold
|
||||
hi Conceal ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Ignore ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd ctermfg=black ctermbg=darkmagenta cterm=NONE
|
||||
hi DiffAdd ctermfg=black ctermbg=darkgreen cterm=NONE
|
||||
hi DiffChange ctermfg=black ctermbg=lightgray cterm=NONE
|
||||
hi DiffText ctermfg=black ctermbg=cyan cterm=NONE
|
||||
hi DiffDelete ctermfg=black ctermbg=darkred cterm=NONE
|
||||
hi diffAdded ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
hi Added ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
hi Changed ctermfg=darkblue ctermbg=NONE cterm=NONE
|
||||
hi Removed ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
else
|
||||
" Light background
|
||||
hi Normal ctermfg=black ctermbg=white cterm=NONE
|
||||
@@ -419,8 +424,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 +436,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
|
||||
@@ -455,12 +460,13 @@ if s:t_Co >= 16
|
||||
hi Directory ctermfg=darkblue ctermbg=NONE cterm=bold
|
||||
hi Conceal ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Ignore ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd ctermfg=black ctermbg=darkmagenta cterm=NONE
|
||||
hi DiffAdd ctermfg=black ctermbg=darkgreen cterm=NONE
|
||||
hi DiffChange ctermfg=black ctermbg=lightgray cterm=NONE
|
||||
hi DiffText ctermfg=black ctermbg=cyan cterm=NONE
|
||||
hi DiffDelete ctermfg=black ctermbg=darkred cterm=NONE
|
||||
hi diffAdded ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=red ctermbg=NONE cterm=NONE
|
||||
hi Added ctermfg=green ctermbg=NONE cterm=NONE
|
||||
hi Changed ctermfg=blue ctermbg=NONE cterm=NONE
|
||||
hi Removed ctermfg=red ctermbg=NONE cterm=NONE
|
||||
endif
|
||||
unlet s:t_Co
|
||||
finish
|
||||
@@ -505,12 +511,12 @@ 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
|
||||
hi CursorColumn ctermfg=black ctermbg=darkyellow cterm=NONE
|
||||
hi Folded ctermfg=black ctermbg=NONE cterm=bold
|
||||
hi Folded ctermfg=grey ctermbg=NONE cterm=bold
|
||||
hi ColorColumn ctermfg=black ctermbg=darkyellow cterm=NONE
|
||||
hi SpellBad ctermfg=darkred ctermbg=NONE cterm=reverse
|
||||
hi SpellCap ctermfg=darkcyan ctermbg=NONE cterm=reverse
|
||||
@@ -519,20 +525,20 @@ if s:t_Co >= 8
|
||||
hi Comment ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi Constant ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
hi String ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
hi Identifier ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Statement ctermfg=darkblue ctermbg=NONE cterm=bold
|
||||
hi Identifier ctermfg=darkmagenta ctermbg=NONE cterm=NONE
|
||||
hi Statement ctermfg=darkblue ctermbg=NONE cterm=NONE
|
||||
hi Type ctermfg=darkyellow ctermbg=NONE cterm=NONE
|
||||
hi PreProc ctermfg=darkcyan ctermbg=NONE cterm=NONE
|
||||
hi Special ctermfg=darkcyan ctermbg=NONE cterm=NONE
|
||||
hi Special ctermfg=darkmagenta ctermbg=NONE cterm=NONE
|
||||
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi Title ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi Directory ctermfg=darkblue ctermbg=NONE cterm=bold
|
||||
hi Conceal ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Ignore ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd ctermfg=black ctermbg=darkmagenta cterm=NONE
|
||||
hi DiffChange ctermfg=black ctermbg=darkcyan cterm=NONE
|
||||
hi DiffText ctermfg=black ctermbg=grey cterm=NONE
|
||||
hi DiffDelete ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd ctermfg=black ctermbg=darkgreen cterm=NONE
|
||||
hi DiffChange ctermfg=black ctermbg=darkblue cterm=NONE
|
||||
hi DiffText ctermfg=black ctermbg=darkmagenta cterm=NONE
|
||||
hi DiffDelete ctermfg=black ctermbg=darkred cterm=NONE
|
||||
else
|
||||
" Light background
|
||||
hi Normal ctermfg=black ctermbg=grey cterm=NONE
|
||||
@@ -572,7 +578,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
|
||||
@@ -586,20 +592,20 @@ if s:t_Co >= 8
|
||||
hi Comment ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi Constant ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
hi String ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
hi Identifier ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Statement ctermfg=darkblue ctermbg=NONE cterm=bold
|
||||
hi Identifier ctermfg=darkmagenta ctermbg=NONE cterm=NONE
|
||||
hi Statement ctermfg=darkblue ctermbg=NONE cterm=NONE
|
||||
hi Type ctermfg=darkyellow ctermbg=NONE cterm=NONE
|
||||
hi PreProc ctermfg=darkcyan ctermbg=NONE cterm=NONE
|
||||
hi Special ctermfg=darkcyan ctermbg=NONE cterm=NONE
|
||||
hi Special ctermfg=darkmagenta ctermbg=NONE cterm=NONE
|
||||
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi Title ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi Directory ctermfg=darkblue ctermbg=NONE cterm=bold
|
||||
hi Conceal ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Ignore ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd ctermfg=black ctermbg=darkmagenta cterm=NONE
|
||||
hi DiffChange ctermfg=black ctermbg=darkcyan cterm=NONE
|
||||
hi DiffText ctermfg=grey ctermbg=black cterm=NONE
|
||||
hi DiffDelete ctermfg=darkred ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd ctermfg=black ctermbg=darkgreen cterm=NONE
|
||||
hi DiffChange ctermfg=black ctermbg=darkblue cterm=NONE
|
||||
hi DiffText ctermfg=black ctermbg=darkmagenta cterm=NONE
|
||||
hi DiffDelete ctermfg=black ctermbg=darkred cterm=NONE
|
||||
endif
|
||||
unlet s:t_Co
|
||||
finish
|
||||
@@ -700,7 +706,7 @@ endif
|
||||
" Color: colorlC #ff5fff 207 magenta
|
||||
" Color: colorDim #878787 102 grey
|
||||
" Color: colorMP #ff00af 199 magenta
|
||||
" Color: diffAdd #5f875f 65 darkmagenta
|
||||
" Color: diffAdd #5f875f 65 darkgreen
|
||||
" Color: diffAddFg #afffaf 157 black
|
||||
" Color: diffDelete #875f5f 95 darkred
|
||||
" Color: diffDeleteFg #ffafaf 217 black
|
||||
@@ -739,7 +745,7 @@ endif
|
||||
" Color: colorDim #626262 241 darkgrey
|
||||
" Color: colorSt #5f5f5f 59 darkgrey
|
||||
" Color: colorMP #ff00af 199 magenta
|
||||
" Color: diffAdd #afd7af 151 darkmagenta
|
||||
" Color: diffAdd #afd7af 151 darkgreen
|
||||
" Color: diffAddFg #005f00 22 black
|
||||
" Color: diffDelete #ffd7d7 224 darkred
|
||||
" Color: diffDeleteFg #875f5f 95 black
|
||||
@@ -750,4 +756,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
|
||||
|
||||
26
runtime/compiler/gm2.vim
Normal file
26
runtime/compiler/gm2.vim
Normal file
@@ -0,0 +1,26 @@
|
||||
" Vim compiler file
|
||||
" Compiler: GNU Modula-2 Compiler
|
||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||
" Last Change: 2024 Jan 04
|
||||
|
||||
if exists("current_compiler")
|
||||
finish
|
||||
endif
|
||||
let current_compiler = "gm2"
|
||||
|
||||
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
||||
command -nargs=* CompilerSet setlocal <args>
|
||||
endif
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
CompilerSet makeprg=gm2
|
||||
CompilerSet errorformat=%-G%f:%l:%c:\ error:\ compilation\ failed,
|
||||
\%f:%l:%c:\ %trror:\ %m,
|
||||
\%f:%l:%c:\ %tarning:\ %m,
|
||||
\%f:%l:%c:\ %tote:\ %m,
|
||||
\%-G%.%#
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
@@ -39,6 +39,9 @@ ICONV = "$(ICONV_PATH)\iconv.exe"
|
||||
!ENDIF
|
||||
|
||||
RM = del /q
|
||||
PS = PowerShell.exe
|
||||
|
||||
PSFLAGS = -NoLogo -NoProfile -Command
|
||||
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .c .o .txt .html
|
||||
@@ -49,9 +52,9 @@ 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"
|
||||
$(PS) $(PSFLAGS) \
|
||||
(Get-Content -Raw tags ^| Get-Unique ^| %%{$$_ -replace \"`r\", \"\"})\
|
||||
^| New-Item -Force -Path . -ItemType file -Name tags
|
||||
|
||||
doctags : doctags.c
|
||||
$(CC) doctags.c
|
||||
@@ -64,12 +67,10 @@ vimtags : $(DOCS)
|
||||
|
||||
|
||||
uganda.nsis.txt : uganda.???
|
||||
!@powershell -nologo -noprofile -Command \
|
||||
$$ext=(Get-Item $?).Extension; (Get-Content $? ^| \
|
||||
% {$$_ -replace '\s*\*[-a-zA-Z0-9.]*\*', '' -replace 'vim:tw=78:.*', ''}) \
|
||||
!@$(PS) $(PSFLAGS) $$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; \
|
||||
!@$(PS) $(PSFLAGS) $$ext=(Get-Item $?).Extension; \
|
||||
(Get-Content -Raw $(@B)$$ext).Trim() -replace '(\r\n){3,}', '$$1$$1' \
|
||||
^| Set-Content $(@B)$$ext
|
||||
|
||||
@@ -105,7 +106,7 @@ perlhtml : tags $(DOCS)
|
||||
|
||||
# Check URLs in the help with "curl" or "powershell".
|
||||
test_urls :
|
||||
"$(VIMEXE)" -S test_urls.vim
|
||||
"$(VIMEXE)" --clean -S test_urls.vim
|
||||
|
||||
clean :
|
||||
$(RM) doctags.exe doctags.obj
|
||||
@@ -203,7 +204,7 @@ os_win32.txt :
|
||||
<<
|
||||
|
||||
convert-all : $(CONVERTED)
|
||||
!IF [powershell -nologo -noprofile "exit $$psversiontable.psversion.major"] == 2
|
||||
!IF [$(PS) $(PSFLAGS) "exit $$psversiontable.psversion.major"] == 2
|
||||
!ERROR The program "PowerShell" version 3.0 or higher is required to work
|
||||
!ENDIF
|
||||
|
||||
@@ -212,7 +213,7 @@ vim-da.UTF-8.1 : vim-da.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -222,7 +223,7 @@ vimdiff-da.UTF-8.1 : vimdiff-da.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -232,7 +233,7 @@ vimtutor-da.UTF-8.1 : vimtutor-da.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -242,7 +243,7 @@ vim-de.UTF-8.1 : vim-de.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -252,7 +253,7 @@ evim-fr.UTF-8.1 : evim-fr.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -262,7 +263,7 @@ vim-fr.UTF-8.1 : vim-fr.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -272,7 +273,7 @@ vimdiff-fr.UTF-8.1 : vimdiff-fr.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -282,7 +283,7 @@ vimtutor-fr.UTF-8.1 : vimtutor-fr.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -292,7 +293,7 @@ xxd-fr.UTF-8.1 : xxd-fr.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -302,7 +303,7 @@ evim-it.UTF-8.1 : evim-it.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -312,7 +313,7 @@ vim-it.UTF-8.1 : vim-it.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -322,7 +323,7 @@ vimdiff-it.UTF-8.1 : vimdiff-it.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -332,7 +333,7 @@ vimtutor-it.UTF-8.1 : vimtutor-it.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -342,7 +343,7 @@ xxd-it.UTF-8.1 : xxd-it.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -352,7 +353,7 @@ evim-pl.UTF-8.1 : evim-pl.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -362,7 +363,7 @@ vim-pl.UTF-8.1 : vim-pl.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -372,7 +373,7 @@ vimdiff-pl.UTF-8.1 : vimdiff-pl.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -382,7 +383,7 @@ vimtutor-pl.UTF-8.1 : vimtutor-pl.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -392,7 +393,7 @@ xxd-pl.UTF-8.1 : xxd-pl.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -402,7 +403,7 @@ evim-ru.UTF-8.1 : evim-ru.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -412,7 +413,7 @@ vim-ru.UTF-8.1 : vim-ru.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -422,7 +423,7 @@ vimdiff-ru.UTF-8.1 : vimdiff-ru.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -432,7 +433,7 @@ vimtutor-ru.UTF-8.1 : vimtutor-ru.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -442,7 +443,7 @@ xxd-ru.UTF-8.1 : xxd-ru.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -452,7 +453,7 @@ evim-tr.UTF-8.1 : evim-tr.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -462,7 +463,7 @@ vim-tr.UTF-8.1 : vim-tr.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -472,7 +473,7 @@ vimdiff-tr.UTF-8.1 : vimdiff-tr.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
@@ -482,7 +483,7 @@ vimtutor-tr.UTF-8.1 : vimtutor-tr.1
|
||||
$(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 \
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
!ENDIF
|
||||
|
||||
@@ -18,6 +18,7 @@ include Make_all.mak
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .txt .html
|
||||
.PHONY: all vimtags noerrors perlhtml clean test_urls
|
||||
|
||||
all: tags vim.man evim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED)
|
||||
|
||||
@@ -28,26 +29,26 @@ vimtags: $(DOCS)
|
||||
|
||||
# Use "doctags" to generate the tags file. Only works for English!
|
||||
tags: doctags $(DOCS)
|
||||
./doctags $(DOCS) | LANG=C LC_ALL=C sort >tags
|
||||
./doctags $(DOCS) | LANG=C LC_ALL=C sort >$@
|
||||
uniq -d -2 tags
|
||||
|
||||
doctags: doctags.c
|
||||
$(CC) doctags.c -o doctags
|
||||
|
||||
vim.man: vim.1
|
||||
nroff -man vim.1 | sed -e s/.//g > vim.man
|
||||
nroff -man $< | sed -e s/.//g > $@
|
||||
|
||||
evim.man: evim.1
|
||||
nroff -man evim.1 | sed -e s/.//g > evim.man
|
||||
nroff -man $< | sed -e s/.//g > $@
|
||||
|
||||
vimdiff.man: vimdiff.1
|
||||
nroff -man vimdiff.1 | sed -e s/.//g > vimdiff.man
|
||||
nroff -man $< | sed -e s/.//g > $@
|
||||
|
||||
vimtutor.man: vimtutor.1
|
||||
nroff -man vimtutor.1 | sed -e s/.//g > vimtutor.man
|
||||
nroff -man $< | sed -e s/.//g > $@
|
||||
|
||||
xxd.man: xxd.1
|
||||
nroff -man xxd.1 | sed -e s/.//g > xxd.man
|
||||
nroff -man $< | sed -e s/.//g > $@
|
||||
|
||||
uganda.nsis.txt: uganda.txt
|
||||
sed -e 's/[ ]*\*[-a-zA-Z0-9.]*\*//g' -e 's/vim:tw=78:.*//' \
|
||||
@@ -68,10 +69,10 @@ $(HTMLS): tags.ref
|
||||
# index.html is the starting point for HTML, but for the help files it is
|
||||
# help.txt. Therefore use vimindex.html for index.txt.
|
||||
index.html: help.txt
|
||||
$(AWK) -f makehtml.awk help.txt >index.html
|
||||
$(AWK) -f makehtml.awk $< >$@
|
||||
|
||||
vimindex.html: index.txt
|
||||
$(AWK) -f makehtml.awk index.txt >vimindex.html
|
||||
$(AWK) -f makehtml.awk $< >$@
|
||||
|
||||
tags.ref tags.html: tags
|
||||
$(AWK) -f maketags.awk tags >tags.html
|
||||
@@ -84,7 +85,7 @@ perlhtml: tags $(DOCS)
|
||||
|
||||
# Check URLs in the help with "curl".
|
||||
test_urls:
|
||||
vim -S test_urls.vim
|
||||
$(VIMEXE) --clean -S test_urls.vim
|
||||
|
||||
clean:
|
||||
-rm -f doctags *.html tags.ref
|
||||
@@ -92,58 +93,58 @@ clean:
|
||||
# These files are in the extra archive, skip if not present
|
||||
|
||||
arabic.txt:
|
||||
touch arabic.txt
|
||||
touch $@
|
||||
|
||||
farsi.txt:
|
||||
touch farsi.txt
|
||||
touch $@
|
||||
|
||||
hebrew.txt:
|
||||
touch hebrew.txt
|
||||
touch $@
|
||||
|
||||
russian.txt:
|
||||
touch russian.txt
|
||||
touch $@
|
||||
|
||||
gui_w32.txt:
|
||||
touch gui_w32.txt
|
||||
touch $@
|
||||
|
||||
if_ole.txt:
|
||||
touch if_ole.txt
|
||||
touch $@
|
||||
|
||||
os_390.txt:
|
||||
touch os_390.txt
|
||||
touch $@
|
||||
|
||||
os_amiga.txt:
|
||||
touch os_amiga.txt
|
||||
touch $@
|
||||
|
||||
os_beos.txt:
|
||||
touch os_beos.txt
|
||||
touch $@
|
||||
|
||||
os_dos.txt:
|
||||
touch os_dos.txt
|
||||
touch $@
|
||||
|
||||
os_haiku.txt:
|
||||
touch os_haiku.txt
|
||||
touch $@
|
||||
|
||||
os_mac.txt:
|
||||
touch os_mac.txt
|
||||
touch $@
|
||||
|
||||
os_mint.txt:
|
||||
touch os_mint.txt
|
||||
touch $@
|
||||
|
||||
os_msdos.txt:
|
||||
touch os_msdos.txt
|
||||
touch $@
|
||||
|
||||
os_os2.txt:
|
||||
touch os_os2.txt
|
||||
touch $@
|
||||
|
||||
os_qnx.txt:
|
||||
touch os_qnx.txt
|
||||
touch $@
|
||||
|
||||
os_risc.txt:
|
||||
touch os_risc.txt
|
||||
touch $@
|
||||
|
||||
os_win32.txt:
|
||||
touch os_win32.txt
|
||||
touch $@
|
||||
|
||||
# Note that $< works with GNU make while $> works for BSD make.
|
||||
# Is there a solution that works for both??
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*arabic.txt* For Vim version 9.0. Last change: 2021 Jun 22
|
||||
*arabic.txt* For Vim version 9.1. Last change: 2021 Jun 22
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Nadim Shaikli
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*autocmd.txt* For Vim version 9.0. Last change: 2023 May 20
|
||||
*autocmd.txt* For Vim version 9.1. Last change: 2024 Jan 25
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -340,6 +340,7 @@ Name triggered by ~
|
||||
|GUIEnter| after starting the GUI successfully
|
||||
|GUIFailed| after starting the GUI failed
|
||||
|TermResponse| after the terminal response to |t_RV| is received
|
||||
|TermResponseAll| after the terminal response to |t_RV| and others is received
|
||||
|
||||
|QuitPre| when using `:quit`, before deciding whether to exit
|
||||
|ExitPre| when using a command that may make Vim exit
|
||||
@@ -380,6 +381,7 @@ Name triggered by ~
|
||||
|CursorMoved| the cursor was moved in Normal mode
|
||||
|CursorMovedI| the cursor was moved in Insert mode
|
||||
|
||||
|WinNewPre| before creating a new window
|
||||
|WinNew| after creating a new window
|
||||
|TabNew| after creating a new tab page
|
||||
|WinClosed| after closing a window
|
||||
@@ -1097,7 +1099,7 @@ SafeState When nothing is pending, going to wait for the
|
||||
- Command line completion is active
|
||||
You can use `mode()` to find out what state
|
||||
Vim is in. That may be:
|
||||
- VIsual mode
|
||||
- Visual mode
|
||||
- Normal mode
|
||||
- Insert mode
|
||||
- Command-line mode
|
||||
@@ -1220,6 +1222,24 @@ TermResponse After the response to |t_RV| is received from
|
||||
triggered halfway executing another event,
|
||||
especially if file I/O, a shell command or
|
||||
anything else that takes time is involved.
|
||||
*TermResponseAll*
|
||||
TermResponseAll After the response to |t_RV|, |t_RC|, |t_RS|,
|
||||
|t_RB|, |t_RF|, or |t_u7| are received from
|
||||
the terminal. The value of |v:termresponse|,
|
||||
|v:termblinkresp|, |v:termstyleresp|,
|
||||
|v:termrbgresp|, |v:termrfgresp|, and
|
||||
|v:termu7resp|, correspondingly, can be used.
|
||||
<amatch> will be set to any of:
|
||||
"version",
|
||||
"cursorblink",
|
||||
"cursorshape",
|
||||
"background",
|
||||
"foreground",
|
||||
"ambiguouswidth"
|
||||
Note that this event may be triggered halfway
|
||||
executing another event, especially if file I/O,
|
||||
a shell command or anything else that takes time
|
||||
is involved.
|
||||
*TextChanged*
|
||||
TextChanged After a change was made to the text in the
|
||||
current buffer in Normal mode. That is after
|
||||
@@ -1371,6 +1391,18 @@ WinLeave Before leaving a window. If the window to be
|
||||
WinLeave autocommands (but not for ":new").
|
||||
Not used for ":qa" or ":q" when exiting Vim.
|
||||
|
||||
*WinNewPre*
|
||||
WinNewPre Before creating a new window. Triggered
|
||||
before commands that modify window layout by
|
||||
creating a split or new tab page. Not done for
|
||||
the first window, when Vim has just started.
|
||||
It is not allowed to modify window layout
|
||||
while executing commands for the WinNewPre
|
||||
event.
|
||||
Most useful to store current window layout
|
||||
and compare it with the new layout after the
|
||||
Window has been created.
|
||||
|
||||
*WinNew*
|
||||
WinNew When a new window was created. Not done for
|
||||
the first window, when Vim has just started.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*builtin.txt* For Vim version 9.0. Last change: 2023 Nov 20
|
||||
*builtin.txt* For Vim version 9.1. Last change: 2024 Feb 12
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -147,6 +147,8 @@ delete({fname} [, {flags}]) Number delete the file or directory {fname}
|
||||
deletebufline({buf}, {first} [, {last}])
|
||||
Number delete lines from buffer {buf}
|
||||
did_filetype() Number |TRUE| if FileType autocmd event used
|
||||
diff({fromlist}, {tolist} [, {options}])
|
||||
List diff two Lists of strings
|
||||
diff_filler({lnum}) Number diff filler lines about {lnum}
|
||||
diff_hlID({lnum}, {col}) Number diff highlighting at {lnum}/{col}
|
||||
digraph_get({chars}) String get the |digraph| of {chars}
|
||||
@@ -198,6 +200,8 @@ foldclosedend({lnum}) Number last line of fold at {lnum} if closed
|
||||
foldlevel({lnum}) Number fold level at {lnum}
|
||||
foldtext() String line displayed for closed fold
|
||||
foldtextresult({lnum}) String text for closed fold at {lnum}
|
||||
foreach({expr1}, {expr2}) List/Dict/Blob/String
|
||||
for each item in {expr1} call {expr2}
|
||||
foreground() Number bring the Vim window to the foreground
|
||||
fullcommand({name} [, {vim9}]) String get full command from {name}
|
||||
funcref({name} [, {arglist}] [, {dict}])
|
||||
@@ -370,6 +374,8 @@ matchadd({group}, {pattern} [, {priority} [, {id} [, {dict}]]])
|
||||
matchaddpos({group}, {pos} [, {priority} [, {id} [, {dict}]]])
|
||||
Number highlight positions with {group}
|
||||
matcharg({nr}) List arguments of |:match|
|
||||
matchbufline({buf}, {pat}, {lnum}, {end}, [, {dict})
|
||||
List all the {pat} matches in buffer {buf}
|
||||
matchdelete({id} [, {win}]) Number delete match identified by {id}
|
||||
matchend({expr}, {pat} [, {start} [, {count}]])
|
||||
Number position where {pat} ends in {expr}
|
||||
@@ -381,6 +387,8 @@ matchlist({expr}, {pat} [, {start} [, {count}]])
|
||||
List match and submatches of {pat} in {expr}
|
||||
matchstr({expr}, {pat} [, {start} [, {count}]])
|
||||
String {count}'th match of {pat} in {expr}
|
||||
matchstrlist({list}, {pat} [, {dict})
|
||||
List all the {pat} matches in {list}
|
||||
matchstrpos({expr}, {pat} [, {start} [, {count}]])
|
||||
List {count}'th match of {pat} in {expr}
|
||||
max({expr}) Number maximum value of items in {expr}
|
||||
@@ -2040,6 +2048,72 @@ did_filetype() Returns |TRUE| when autocommands are being executed and the
|
||||
editing another buffer to set 'filetype' and load a syntax
|
||||
file.
|
||||
|
||||
diff({fromlist}, {tolist} [, {options}]) *diff()*
|
||||
Returns a String or a List containing the diff between the
|
||||
strings in {fromlist} and {tolist}. Uses the Vim internal
|
||||
diff library to compute the diff.
|
||||
|
||||
*E106*
|
||||
The optional "output" item in {options} specifies the returned
|
||||
diff format. The following values are supported:
|
||||
indices Return a List of the starting and ending
|
||||
indices and a count of the strings in each
|
||||
diff hunk.
|
||||
unified Return the unified diff output as a String.
|
||||
This is the default.
|
||||
|
||||
If the "output" item in {options} is "indices", then a List is
|
||||
returned. Each List item contains a Dict with the following
|
||||
items for each diff hunk:
|
||||
from_idx start index in {fromlist} for this diff hunk.
|
||||
from_count number of strings in {fromlist} that are
|
||||
added/removed/modified in this diff hunk.
|
||||
to_idx start index in {tolist} for this diff hunk.
|
||||
to_count number of strings in {tolist} that are
|
||||
added/removed/modified in this diff hunk.
|
||||
|
||||
The {options} Dict argument also specifies diff options
|
||||
(similar to 'diffopt') and supports the following items:
|
||||
algorithm Dict specifying the diff algorithm to
|
||||
use. Supported boolean items are
|
||||
"myers", "minimal", "patience" and
|
||||
"histogram".
|
||||
context diff context length. Default is 0.
|
||||
iblank ignore changes where lines are all
|
||||
blank.
|
||||
icase ignore changes in case of text.
|
||||
indent-heuristic use the indent heuristic for the
|
||||
internal diff library.
|
||||
iwhite ignore changes in amount of white
|
||||
space.
|
||||
iwhiteall ignore all white space changes.
|
||||
iwhiteeol ignore white space changes at end of
|
||||
line.
|
||||
For more information about these options, refer to 'diffopt'.
|
||||
|
||||
To compute the unified diff, all the items in {fromlist} are
|
||||
concatenated into a string using a newline separator and the
|
||||
same for {tolist}. The unified diff output uses line numbers.
|
||||
|
||||
Returns an empty List or String if {fromlist} and {tolist} are
|
||||
identical.
|
||||
|
||||
Examples: >
|
||||
:echo diff(['abc'], ['xxx'])
|
||||
@@ -1 +1 @@
|
||||
-abc
|
||||
+xxx
|
||||
|
||||
:echo diff(['abc'], ['xxx'], {'output': 'indices'})
|
||||
[{'from_idx': 0, 'from_count': 1, 'to_idx': 0, 'to_count': 1}]
|
||||
:echo diff(readfile('oldfile'), readfile('newfile'))
|
||||
:echo diff(getbufline(5, 1, '$'), getbufline(6, 1, '$'))
|
||||
<
|
||||
For more examples, refer to |diff-func-examples|
|
||||
|
||||
Can also be used as a |method|: >
|
||||
GetFromList->diff(to_list)
|
||||
<
|
||||
diff_filler({lnum}) *diff_filler()*
|
||||
Returns the number of filler lines above line {lnum}.
|
||||
These are the lines that were inserted at this point in
|
||||
@@ -2991,6 +3065,45 @@ foldtextresult({lnum}) *foldtextresult()*
|
||||
|
||||
Can also be used as a |method|: >
|
||||
GetLnum()->foldtextresult()
|
||||
|
||||
foreach({expr1}, {expr2}) *foreach()*
|
||||
{expr1} must be a |List|, |String|, |Blob| or |Dictionary|.
|
||||
For each item in {expr1} execute {expr2}. {expr1} is not
|
||||
modified; its values may be, as with |:lockvar| 1. |E741|
|
||||
See |map()| and |filter()| to modify {expr1}.
|
||||
|
||||
{expr2} must be a |string| or |Funcref|.
|
||||
|
||||
If {expr2} is a |string|, inside {expr2} |v:val| has the value
|
||||
of the current item. For a |Dictionary| |v:key| has the key
|
||||
of the current item and for a |List| |v:key| has the index of
|
||||
the current item. For a |Blob| |v:key| has the index of the
|
||||
current byte. For a |String| |v:key| has the index of the
|
||||
current character.
|
||||
Examples: >
|
||||
call foreach(mylist, 'used[v:val] = true')
|
||||
< This records the items that are in the {expr1} list.
|
||||
|
||||
Note that {expr2} is the result of expression and is then used
|
||||
as a command. Often it is good to use a |literal-string| to
|
||||
avoid having to double backslashes.
|
||||
|
||||
If {expr2} is a |Funcref| it must take two arguments:
|
||||
1. the key or the index of the current item.
|
||||
2. the value of the current item.
|
||||
With a legacy script lambda you don't get an error if it only
|
||||
accepts one argument, but with a Vim9 lambda you get "E1106:
|
||||
One argument too many", the number of arguments must match.
|
||||
If the function returns a value, it is ignored.
|
||||
|
||||
Returns {expr1} in all cases.
|
||||
When an error is encountered while executing {expr2} no
|
||||
further items in {expr1} are processed.
|
||||
When {expr2} is a Funcref errors inside a function are ignored,
|
||||
unless it was defined with the "abort" flag.
|
||||
|
||||
Can also be used as a |method|: >
|
||||
mylist->foreach(expr2)
|
||||
<
|
||||
*foreground()*
|
||||
foreground() Move the Vim window to the foreground. Useful when sent from
|
||||
@@ -3199,6 +3312,8 @@ getbufinfo([{dict}])
|
||||
bufnr Buffer number.
|
||||
changed TRUE if the buffer is modified.
|
||||
changedtick Number of changes made to the buffer.
|
||||
command TRUE if the buffer belongs to the
|
||||
command-line window |cmdwin|.
|
||||
hidden TRUE if the buffer is hidden.
|
||||
lastused Timestamp in seconds, like
|
||||
|localtime()|, when the buffer was
|
||||
@@ -3423,7 +3538,7 @@ getcharmod() *getcharmod()*
|
||||
32 mouse double click
|
||||
64 mouse triple click
|
||||
96 mouse quadruple click (== 32 + 64)
|
||||
128 command (Macintosh only)
|
||||
128 command (Mac) or super (GTK)
|
||||
Only the modifiers that have not been included in the
|
||||
character itself are obtained. Thus Shift-a results in "A"
|
||||
without a modifier. Returns 0 if no modifiers are used.
|
||||
@@ -3566,6 +3681,7 @@ getcompletion({pat}, {type} [, {filtered}]) *getcompletion()*
|
||||
help help subjects
|
||||
highlight highlight groups
|
||||
history |:history| suboptions
|
||||
keymap keyboard mappings
|
||||
locale locale names (as output of locale -a)
|
||||
mapclear buffer argument
|
||||
mapping mapping name
|
||||
@@ -4376,14 +4492,16 @@ getwinpos([{timeout}]) *getwinpos()*
|
||||
getwinposx() The result is a Number, which is the X coordinate in pixels of
|
||||
the left hand side of the GUI Vim window. Also works for an
|
||||
xterm (uses a timeout of 100 msec).
|
||||
The result will be -1 if the information is not available.
|
||||
The result will be -1 if the information is not available
|
||||
(e.g. on the Wayland backend).
|
||||
The value can be used with `:winpos`.
|
||||
|
||||
*getwinposy()*
|
||||
getwinposy() The result is a Number, which is the Y coordinate in pixels of
|
||||
the top of the GUI Vim window. Also works for an xterm (uses
|
||||
a timeout of 100 msec).
|
||||
The result will be -1 if the information is not available.
|
||||
The result will be -1 if the information is not available
|
||||
(e.g. on the Wayland backend).
|
||||
The value can be used with `:winpos`.
|
||||
|
||||
getwinvar({winnr}, {varname} [, {def}]) *getwinvar()*
|
||||
@@ -5058,12 +5176,12 @@ insert({object}, {item} [, {idx}]) *insert()*
|
||||
*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|
|
||||
specified by {class}.
|
||||
When {class} is a |List| the function returns |TRUE| when
|
||||
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)
|
||||
@@ -5163,8 +5281,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|
|
||||
@@ -6050,6 +6172,51 @@ matcharg({nr}) *matcharg()*
|
||||
|
||||
Can also be used as a |method|: >
|
||||
GetMatch()->matcharg()
|
||||
<
|
||||
*matchbufline()*
|
||||
matchbufline({buf}, {pat}, {lnum}, {end}, [, {dict}])
|
||||
Returns the |List| of matches in lines from {lnum} to {end} in
|
||||
buffer {buf} where {pat} matches.
|
||||
|
||||
{lnum} and {end} can either be a line number or the string "$"
|
||||
to refer to the last line in {buf}.
|
||||
|
||||
The {dict} argument supports following items:
|
||||
submatches include submatch information (|/\(|)
|
||||
|
||||
For each match, a |Dict| with the following items is returned:
|
||||
byteidx starting byte index of the match
|
||||
lnum line number where there is a match
|
||||
text matched string
|
||||
Note that there can be multiple matches in a single line.
|
||||
|
||||
This function works only for loaded buffers. First call
|
||||
|bufload()| if needed.
|
||||
|
||||
When {buf} is not a valid buffer, the buffer is not loaded or
|
||||
{lnum} or {end} is not valid then an error is given and an
|
||||
empty |List| is returned.
|
||||
|
||||
Examples: >
|
||||
" Assuming line 3 in buffer 5 contains "a"
|
||||
:echo matchbufline(5, '\<\k\+\>', 3, 3)
|
||||
[{'lnum': 3, 'byteidx': 0, 'text': 'a'}]
|
||||
" Assuming line 4 in buffer 10 contains "tik tok"
|
||||
:echo matchbufline(10, '\<\k\+\>', 1, 4)
|
||||
[{'lnum': 4, 'byteidx': 0, 'text': 'tik'}, {'lnum': 4, 'byteidx': 4, 'text': 'tok'}]
|
||||
<
|
||||
If {submatch} is present and is v:true, then submatches like
|
||||
"\1", "\2", etc. are also returned. Example: >
|
||||
" Assuming line 2 in buffer 2 contains "acd"
|
||||
:echo matchbufline(2, '\(a\)\?\(b\)\?\(c\)\?\(.*\)', 2, 2
|
||||
\ {'submatches': v:true})
|
||||
[{'lnum': 2, 'byteidx': 0, 'text': 'acd', 'submatches': ['a', '', 'c', 'd', '', '', '', '', '']}]
|
||||
< The "submatches" List always contains 9 items. If a submatch
|
||||
is not found, then an empty string is returned for that
|
||||
submatch.
|
||||
|
||||
Can also be used as a |method|: >
|
||||
GetBuffer()->matchbufline('mypat', 1, '$')
|
||||
|
||||
matchdelete({id} [, {win}) *matchdelete()* *E802* *E803*
|
||||
Deletes a match with ID {id} previously defined by |matchadd()|
|
||||
@@ -6183,6 +6350,40 @@ matchlist({expr}, {pat} [, {start} [, {count}]]) *matchlist()*
|
||||
|
||||
Can also be used as a |method|: >
|
||||
GetText()->matchlist('word')
|
||||
<
|
||||
*matchstrlist()*
|
||||
matchstrlist({list}, {pat} [, {dict}])
|
||||
Returns the |List| of matches in {list} where {pat} matches.
|
||||
{list} is a |List| of strings. {pat} is matched against each
|
||||
string in {list}.
|
||||
|
||||
The {dict} argument supports following items:
|
||||
submatches include submatch information (|/\(|)
|
||||
|
||||
For each match, a |Dict| with the following items is returned:
|
||||
byteidx starting byte index of the match.
|
||||
idx index in {list} of the match.
|
||||
text matched string
|
||||
submatches a List of submatches. Present only if
|
||||
"submatches" is set to v:true in {dict}.
|
||||
|
||||
Example: >
|
||||
:echo matchstrlist(['tik tok'], '\<\k\+\>')
|
||||
[{'idx': 0, 'byteidx': 0, 'text': 'tik'}, {'idx': 0, 'byteidx': 4, 'text': 'tok'}]
|
||||
:echo matchstrlist(['a', 'b'], '\<\k\+\>')
|
||||
[{'idx': 0, 'byteidx': 0, 'text': 'a'}, {'idx': 1, 'byteidx': 0, 'text': 'b'}]
|
||||
<
|
||||
If "submatches" is present and is v:true, then submatches like
|
||||
"\1", "\2", etc. are also returned. Example: >
|
||||
:echo matchstrlist(['acd'], '\(a\)\?\(b\)\?\(c\)\?\(.*\)',
|
||||
\ #{submatches: v:true})
|
||||
[{'idx': 0, 'byteidx': 0, 'text': 'acd', 'submatches': ['a', '', 'c', 'd', '', '', '', '', '']}]
|
||||
< The "submatches" List always contains 9 items. If a submatch
|
||||
is not found, then an empty string is returned for that
|
||||
submatch.
|
||||
|
||||
Can also be used as a |method|: >
|
||||
GetListOfStrings()->matchstrlist('mypat')
|
||||
|
||||
matchstr({expr}, {pat} [, {start} [, {count}]]) *matchstr()*
|
||||
Same as |match()|, but return the matched string. Example: >
|
||||
@@ -6688,9 +6889,9 @@ 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-$|.
|
||||
|
||||
@@ -7300,9 +7501,9 @@ reltime({start}, {end}) *reltime()*
|
||||
echo startTime->reltime()->reltimestr()
|
||||
<
|
||||
Without an argument reltime() returns the current time (the
|
||||
representation is system-dependent, it can not be used as the
|
||||
representation is system-dependent, it cannot be used as the
|
||||
wall-clock time, see |localtime()| for that).
|
||||
With one argument is returns the time passed since the time
|
||||
With one argument it returns the time passed since the time
|
||||
specified in the argument.
|
||||
With two arguments it returns the time passed between {start}
|
||||
and {end}.
|
||||
@@ -10181,6 +10382,7 @@ type({expr}) The result is a Number representing the type of {expr}.
|
||||
Blob: 10 |v:t_blob|
|
||||
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("")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*change.txt* For Vim version 9.0. Last change: 2023 Nov 15
|
||||
*change.txt* For Vim version 9.1. 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].
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*channel.txt* For Vim version 9.0. Last change: 2023 Aug 15
|
||||
*channel.txt* For Vim version 9.1. Last change: 2023 Aug 15
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*cmdline.txt* For Vim version 9.0. Last change: 2023 Nov 15
|
||||
*cmdline.txt* For Vim version 9.1. Last change: 2023 Dec 09
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -463,9 +463,8 @@ 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,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*debug.txt* For Vim version 9.0. Last change: 2019 May 07
|
||||
*debug.txt* For Vim version 9.1. Last change: 2019 May 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*debugger.txt* For Vim version 9.0. Last change: 2019 Dec 21
|
||||
*debugger.txt* For Vim version 9.1. Last change: 2019 Dec 21
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Gordon Prieur
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*develop.txt* For Vim version 9.0. Last change: 2022 Sep 20
|
||||
*develop.txt* For Vim version 9.1. Last change: 2022 Sep 20
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*diff.txt* For Vim version 9.0. Last change: 2023 Apr 04
|
||||
*diff.txt* For Vim version 9.1. Last change: 2024 Feb 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -476,4 +476,48 @@ Otherwise, the expression is evaluated in the context of the script where the
|
||||
option was set, thus script-local items are available.
|
||||
|
||||
|
||||
DIFF FUNCTION EXAMPLES *diff-func-examples*
|
||||
|
||||
Some examples for using the |diff()| function to compute the diff indices
|
||||
between two Lists of strings are below.
|
||||
>
|
||||
" some lines are changed
|
||||
:echo diff(['abc', 'def', 'ghi'], ['abx', 'rrr', 'xhi'], {'output': 'indices'})
|
||||
[{'from_idx': 0, 'from_count': 3, 'to_idx': 0, 'to_count': 3}]
|
||||
|
||||
" few lines added at the beginning
|
||||
:echo diff(['ghi'], ['abc', 'def', 'ghi'], {'output': 'indices'})
|
||||
[{'from_idx': 0, 'from_count': 0, 'to_idx': 0, 'to_count': 2}]
|
||||
|
||||
" few lines removed from the beginning
|
||||
:echo diff(['abc', 'def', 'ghi'], ['ghi'], {'output': 'indices'})
|
||||
[{'from_idx': 0, 'from_count': 2, 'to_idx': 0, 'to_count': 0}]
|
||||
|
||||
" few lines added in the middle
|
||||
:echo diff(['abc', 'jkl'], ['abc', 'def', 'ghi', 'jkl'], {'output': 'indices'})
|
||||
[{'from_idx': 1, 'from_count': 0, 'to_idx': 1, 'to_count': 2}]
|
||||
|
||||
" few lines removed in the middle
|
||||
:echo diff(['abc', 'def', 'ghi', 'jkl'], ['abc', 'jkl'], {'output': 'indices'})
|
||||
[{'from_idx': 1, 'from_count': 2, 'to_idx': 1, 'to_count': 0}]
|
||||
|
||||
" few lines added at the end
|
||||
:echo diff(['abc'], ['abc', 'def', 'ghi'], {'output': 'indices'})
|
||||
[{'from_idx': 1, 'from_count': 0, 'to_idx': 1, 'to_count': 2}]
|
||||
|
||||
" few lines removed from the end
|
||||
:echo diff(['abc', 'def', 'ghi'], ['abc'], {'output': 'indices'})
|
||||
[{'from_idx': 1, 'from_count': 2, 'to_idx': 1, 'to_count': 0}]
|
||||
|
||||
" disjointed changes
|
||||
:echo diff(['ab', 'def', 'ghi', 'jkl'], ['abc', 'def', 'ghi', 'jk'], {'output': 'indices', 'context': 0})
|
||||
[{'from_idx': 0, 'from_count': 1, 'to_idx': 0, 'to_count': 1},
|
||||
{'from_idx': 3, 'from_count': 1, 'to_idx': 3, 'to_count': 1}]
|
||||
|
||||
" disjointed changes with context length 1
|
||||
:echo diff(['ab', 'def', 'ghi', 'jkl'], ['abc', 'def', 'ghi', 'jk'], {'output': 'indices', 'context': 1})
|
||||
[{'from_idx': 0, 'from_count': 4, 'to_idx': 0, 'to_count': 4}]
|
||||
|
||||
<
|
||||
|
||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*digraph.txt* For Vim version 9.0. Last change: 2023 Oct 20
|
||||
*digraph.txt* For Vim version 9.1. Last change: 2023 Oct 20
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*editing.txt* For Vim version 9.0. Last change: 2023 Sep 27
|
||||
*editing.txt* For Vim version 9.1. Last change: 2024 Jan 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1329,8 +1329,9 @@ b:browsefilter variable. You would most likely set b:browsefilter in a
|
||||
filetype plugin, so that the browse dialog would contain entries related to
|
||||
the type of file you are currently editing. Disadvantage: This makes it
|
||||
difficult to start editing a file of a different type. To overcome this, you
|
||||
may want to add "All Files\t*.*\n" as the final filter, so that the user can
|
||||
still access any desired file.
|
||||
may want to add "All Files (*.*)\t*\n" as the final filter on Windows or "All
|
||||
Files (*)\t*\n" on other platforms, so that the user can still access any
|
||||
desired file.
|
||||
|
||||
To avoid setting browsefilter when Vim does not actually support it, you can
|
||||
use has("browsefilter"): >
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 9.0. Last change: 2023 Nov 20
|
||||
*eval.txt* For Vim version 9.1. Last change: 2024 Feb 08
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -303,10 +303,15 @@ List concatenation ~
|
||||
*list-concatenation*
|
||||
Two lists can be concatenated with the "+" operator: >
|
||||
:let longlist = mylist + [5, 6]
|
||||
:let mylist += [7, 8]
|
||||
:let longlist = [5, 6] + mylist
|
||||
To prepend or append an item, turn it into a list by putting [] around it.
|
||||
|
||||
To prepend or append an item, turn the item into a list by putting [] around
|
||||
it. To change a list in-place, refer to |list-modification| below.
|
||||
A list can be concatenated with another one in-place using |:let+=| or
|
||||
|extend()|: >
|
||||
:let mylist += [7, 8]
|
||||
:call extend(mylist, [7, 8])
|
||||
<
|
||||
See |list-modification| below for more about changing a list in-place.
|
||||
|
||||
|
||||
Sublist ~
|
||||
@@ -425,6 +430,18 @@ To change part of a list you can specify the first and last item to be
|
||||
modified. The value must at least have the number of items in the range: >
|
||||
:let list[3:5] = [3, 4, 5]
|
||||
|
||||
To add items to a List in-place, you can use |:let+=| (|list-concatenation|): >
|
||||
:let listA = [1, 2]
|
||||
:let listA += [3, 4]
|
||||
<
|
||||
When two variables refer to the same List, changing one List in-place will
|
||||
cause the referenced List to be changed in-place: >
|
||||
:let listA = [1, 2]
|
||||
:let listB = listA
|
||||
:let listB += [3, 4]
|
||||
:echo listA
|
||||
[1, 2, 3, 4]
|
||||
<
|
||||
Adding and removing items from a list is done with functions. Here are a few
|
||||
examples: >
|
||||
:call insert(list, 'a') " prepend item 'a'
|
||||
@@ -745,12 +762,15 @@ This calls Doit() with 0x11, 0x22 and 0x33.
|
||||
|
||||
|
||||
Blob concatenation ~
|
||||
|
||||
*blob-concatenation*
|
||||
Two blobs can be concatenated with the "+" operator: >
|
||||
:let longblob = myblob + 0z4455
|
||||
:let longblob = 0z4455 + myblob
|
||||
<
|
||||
A blob can be concatenated with another one in-place using |:let+=|: >
|
||||
:let myblob += 0z6677
|
||||
|
||||
To change a blob in-place see |blob-modification| below.
|
||||
<
|
||||
See |blob-modification| below for more about changing a blob in-place.
|
||||
|
||||
|
||||
Part of a blob ~
|
||||
@@ -793,6 +813,18 @@ To change part of a blob you can specify the first and last byte to be
|
||||
modified. The value must have the same number of bytes in the range: >
|
||||
:let blob[3:5] = 0z334455
|
||||
|
||||
To add items to a Blob in-place, you can use |:let+=| (|blob-concatenation|): >
|
||||
:let blobA = 0z1122
|
||||
:let blobA += 0z3344
|
||||
<
|
||||
When two variables refer to the same Blob, changing one Blob in-place will
|
||||
cause the referenced Blob to be changed in-place: >
|
||||
:let blobA = 0z1122
|
||||
:let blobB = blobA
|
||||
:let blobB += 0z3344
|
||||
:echo blobA
|
||||
0z11223344
|
||||
<
|
||||
You can also use the functions |add()|, |remove()| and |insert()|.
|
||||
|
||||
|
||||
@@ -879,7 +911,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
|
||||
@@ -2004,9 +2037,14 @@ v:collate The current locale setting for collation order of the runtime
|
||||
*v:colornames*
|
||||
v:colornames A dictionary that maps color names to hex color strings. These
|
||||
color names can be used with the |highlight-guifg|,
|
||||
|highlight-guibg|, and |highlight-guisp| parameters. Updating
|
||||
an entry in v:colornames has no immediate effect on the syntax
|
||||
highlighting. The highlight commands (probably in a
|
||||
|highlight-guibg|, and |highlight-guisp| parameters.
|
||||
|
||||
The key values in the dictionary (the color names) should be
|
||||
lower cased, because Vim looks up a color by its lower case
|
||||
name.
|
||||
|
||||
Updating an entry in v:colornames has no immediate effect on
|
||||
the syntax highlighting. The highlight commands (probably in a
|
||||
colorscheme script) need to be re-evaluated in order to use
|
||||
the updated color values. For example: >
|
||||
|
||||
@@ -2557,6 +2595,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|
|
||||
@@ -2565,8 +2605,9 @@ v:termresponse The escape sequence returned by the terminal for the |t_RV|
|
||||
'c', with only digits and ';' in between.
|
||||
When this option is set, the TermResponse autocommand event is
|
||||
fired, so that you can react to the response from the
|
||||
terminal. You can use |terminalprops()| to see what Vim
|
||||
figured out about the terminal.
|
||||
terminal. The TermResponseAll event is also fired, with
|
||||
<amatch> set to "version". You can use |terminalprops()| to see
|
||||
what Vim figured out about the terminal.
|
||||
The response from a new xterm is: "<Esc>[> Pp ; Pv ; Pc c". Pp
|
||||
is the terminal type: 0 for vt100 and 1 for vt220. Pv is the
|
||||
patch level (since this was introduced in patch 95, it's
|
||||
@@ -2578,27 +2619,37 @@ v:termresponse The escape sequence returned by the terminal for the |t_RV|
|
||||
*v:termblinkresp*
|
||||
v:termblinkresp The escape sequence returned by the terminal for the |t_RC|
|
||||
termcap entry. This is used to find out whether the terminal
|
||||
cursor is blinking. This is used by |term_getcursor()|.
|
||||
cursor is blinking. This is used by |term_getcursor()|. When
|
||||
this option is set, the TermResponseAll autocommand event is
|
||||
fired, with <amatch> set to "cursorblink".
|
||||
|
||||
*v:termstyleresp*
|
||||
v:termstyleresp The escape sequence returned by the terminal for the |t_RS|
|
||||
termcap entry. This is used to find out what the shape of the
|
||||
cursor is. This is used by |term_getcursor()|.
|
||||
cursor is. This is used by |term_getcursor()|. When this
|
||||
option is set, the TermResponseAll autocommand event is fired,
|
||||
with <amatch> set to "cursorshape".
|
||||
|
||||
*v:termrbgresp*
|
||||
v:termrbgresp The escape sequence returned by the terminal for the |t_RB|
|
||||
termcap entry. This is used to find out what the terminal
|
||||
background color is, see 'background'.
|
||||
background color is; see 'background'. When this option is
|
||||
set, the TermResponseAll autocommand event is fired, with
|
||||
<amatch> set to "background".
|
||||
|
||||
*v:termrfgresp*
|
||||
v:termrfgresp The escape sequence returned by the terminal for the |t_RF|
|
||||
termcap entry. This is used to find out what the terminal
|
||||
foreground color is.
|
||||
foreground color is. When this option is set, the
|
||||
TermResponseAll autocommand event is fired, with <amatch> set
|
||||
to "foreground".
|
||||
|
||||
*v:termu7resp*
|
||||
v:termu7resp The escape sequence returned by the terminal for the |t_u7|
|
||||
termcap entry. This is used to find out what the terminal
|
||||
does with ambiguous width characters, see 'ambiwidth'.
|
||||
does with ambiguous width characters, see 'ambiwidth'. When
|
||||
this option is set, the TermResponseAll autocommand event is
|
||||
fired, with <amatch> set to "ambiguouswidth".
|
||||
|
||||
*v:testing* *testing-variable*
|
||||
v:testing Must be set before using `test_garbagecollect_now()`.
|
||||
@@ -2790,6 +2841,8 @@ declarations and assignments do not use a command. |vim9-declaration|
|
||||
:let {var} ..= {expr1} Like ":let {var} = {var} .. {expr1}".
|
||||
These fail if {var} was not set yet and when the type
|
||||
of {var} and {expr1} don't fit the operator.
|
||||
`+=` modifies a |List| or a |Blob| in-place instead of
|
||||
creating a new one.
|
||||
`.=` is not supported with Vim script version 2 and
|
||||
later, see |vimscript-version|.
|
||||
|
||||
@@ -4827,7 +4880,7 @@ 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
|
||||
exectuable. It takes the following arguments:
|
||||
executable. It takes the following arguments:
|
||||
|
||||
argument type ~
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*farsi.txt* For Vim version 9.0. Last change: 2019 May 05
|
||||
*farsi.txt* For Vim version 9.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*filetype.txt* For Vim version 9.0. Last change: 2023 Sep 11
|
||||
*filetype.txt* For Vim version 9.1. Last change: 2024 Jan 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -148,6 +148,7 @@ variables can be used to overrule the filetype used for certain extensions:
|
||||
*.cls g:filetype_cls
|
||||
*.csh g:filetype_csh |ft-csh-syntax|
|
||||
*.dat g:filetype_dat
|
||||
*.def g:filetype_def
|
||||
*.f g:filetype_f |ft-forth-syntax|
|
||||
*.frm g:filetype_frm |ft-form-syntax|
|
||||
*.fs g:filetype_fs |ft-forth-syntax|
|
||||
@@ -169,6 +170,7 @@ variables can be used to overrule the filetype used for certain extensions:
|
||||
*.sh g:bash_is_sh |ft-sh-syntax|
|
||||
*.tex g:tex_flavor |ft-tex-plugin|
|
||||
*.typ g:filetype_typ
|
||||
*.v g:filetype_v
|
||||
*.w g:filetype_w |ft-cweb-syntax|
|
||||
|
||||
For a few filetypes the global variable is used only when the filetype could
|
||||
@@ -567,8 +569,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 +612,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 +781,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 @@
|
||||
*fold.txt* For Vim version 9.0. Last change: 2023 Mar 24
|
||||
*fold.txt* For Vim version 9.1. Last change: 2023 Mar 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*ft_ada.txt* For Vim version 9.0. Last change: 2022 Mar 13
|
||||
*ft_ada.txt* For Vim version 9.1. Last change: 2022 Mar 13
|
||||
|
||||
|
||||
ADA FILE TYPE PLUG-INS REFERENCE MANUAL~
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*ft_context.txt* For Vim version 9.0. Last change: 2022 Sep 27
|
||||
*ft_context.txt* For Vim version 9.1. Last change: 2024 Jan 01
|
||||
|
||||
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'*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*ft_mp.txt* For Vim version 9.0. Last change: 2022 Aug 12
|
||||
*ft_mp.txt* For Vim version 9.1. Last change: 2022 Aug 12
|
||||
|
||||
This is the documentation for the METAFONT and MetaPost filetype plugins.
|
||||
Unless otherwise specified, the commands, settings and mappings defined below
|
||||
|
||||
@@ -160,7 +160,7 @@ g:rustfmt_emit_files~
|
||||
provided) instead of '--write-mode=overwrite'. >
|
||||
let g:rustfmt_emit_files = 0
|
||||
|
||||
|
||||
<
|
||||
*g:rust_playpen_url*
|
||||
g:rust_playpen_url~
|
||||
Set this option to override the url for the playpen to use: >
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*ft_sql.txt* For Vim version 9.0. Last change: 2022 Apr 06
|
||||
*ft_sql.txt* For Vim version 9.1. Last change: 2022 Apr 06
|
||||
|
||||
by David Fishburn
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*gui.txt* For Vim version 9.0. Last change: 2023 Apr 29
|
||||
*gui.txt* For Vim version 9.1. Last change: 2023 Apr 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*gui_w32.txt* For Vim version 9.0. Last change: 2022 Mar 09
|
||||
*gui_w32.txt* For Vim version 9.1. Last change: 2024 Jan 23
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -454,4 +454,38 @@ You may need to get the vim16x16.xpm file from github:
|
||||
https://github.com/vim/vim/blob/master/runtime/vim16x16.xpm
|
||||
|
||||
|
||||
Keycode translation strategy *w32-experimental-keycode-trans-strategy*
|
||||
|
||||
In Patch v8.2.4807 W32 GVIM was changed over to experimental keycode
|
||||
translation method with the aim to be able to use more keyboard shortcuts and
|
||||
especially supporting non-standard keyboard layouts. In order to implement
|
||||
this support Win API TranslateMessage() call was dropped, and instead the
|
||||
recognition of keycode was changed over to ToUnicode() Win API call. This
|
||||
approach uncovered numerous corner cases, which are apparently covered by
|
||||
TranslateMessage() implementation, each of it is necessary to be dealt with on
|
||||
an individual basis. Therefore the decision was taken to declare this
|
||||
functionality experimental for the time being and to recover "classic" keycode
|
||||
translation method as default again.
|
||||
|
||||
Discussion about use of "experimental" keycode translation method will
|
||||
probably last some time yet. In the meantime, if you are impacted by this
|
||||
change over back to "classic" keycode translation method in W32 GVIM, you can
|
||||
enable "experimental" translation method again in your vimrc using following
|
||||
snippet:
|
||||
>
|
||||
:call test_mswin_event('set_keycode_trans_strategy', {'strategy': 'experimental'})
|
||||
<
|
||||
Similarly, in case you need to turn back "classic" keycode translation method
|
||||
(for example for testing purposes), please use:
|
||||
>
|
||||
:call test_mswin_event('set_keycode_trans_strategy', {'strategy': 'classic'})
|
||||
<
|
||||
Alternatively (this method is especially useful for the TINY GVIM build, where
|
||||
test_mswin_event() cannot be called), an environment variable
|
||||
VIM_KEYCODE_TRANS_STRATEGY can be set to the desired value ("experimental" or
|
||||
"classic"), to override the default, e.g., type in dos prompt:
|
||||
>
|
||||
set VIM_KEYCODE_TRANS_STRATEGY=experimental
|
||||
gvim.exe
|
||||
<
|
||||
vim:tw=78:sw=4:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*gui_x11.txt* For Vim version 9.0. Last change: 2022 Apr 03
|
||||
*gui_x11.txt* For Vim version 9.1. Last change: 2024 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -580,7 +580,8 @@ command line argument).
|
||||
*gui-x11-kde*
|
||||
There is no KDE version of Vim. There has been some work on a port using the
|
||||
Qt toolkit, but it never worked properly and it has been abandoned. Work
|
||||
continues on Yzis: https://github.com/chrizel/Yzis.
|
||||
continues on Yzis: https://github.com/chrizel/Yzis but it seems also
|
||||
abandoned.
|
||||
|
||||
==============================================================================
|
||||
8. Compiling *gui-x11-compiling*
|
||||
@@ -647,6 +648,15 @@ versions. This will cause problems. For example, using header files for
|
||||
X11R5 with a library for X11R6 probably doesn't work (although the linking
|
||||
won't give an error message, Vim will crash later).
|
||||
|
||||
*gui-wayland*
|
||||
Initial support for the Wayland display server protocol has landed in patch
|
||||
9.1.0064. To enable it, you need to set the environment variable
|
||||
"$GVIM_ENABLE_WAYLAND" in your shell.
|
||||
|
||||
Note: The Wayland protocol is subject to some restrictions, so the following
|
||||
functions won't work: |getwinpos()|, |getwinposx()|, |getwinposy()| and the
|
||||
|v:windowid| variable won't be available.
|
||||
|
||||
==============================================================================
|
||||
9. X11 selection mechanism *x11-selection*
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*hangulin.txt* For Vim version 9.0. Last change: 2019 Nov 21
|
||||
*hangulin.txt* For Vim version 9.1. Last change: 2019 Nov 21
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*hebrew.txt* For Vim version 9.0. Last change: 2019 May 05
|
||||
*hebrew.txt* For Vim version 9.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Ron Aaron (and Avner Lottem)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*help.txt* For Vim version 9.0. Last change: 2022 Dec 03
|
||||
*help.txt* For Vim version 9.1. Last change: 2022 Dec 03
|
||||
|
||||
VIM - main help file
|
||||
k
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user