Compare commits
434 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
35c428b02c | ||
|
|
27630b28ad | ||
|
|
d15c718038 | ||
|
|
2498a460e2 | ||
|
|
abb4d74033 | ||
|
|
a24cb278bd | ||
|
|
6da9f757c4 | ||
|
|
7ccb81bdb6 | ||
|
|
f73bd2546e | ||
|
|
db4ff9a407 | ||
|
|
b677aded59 | ||
|
|
422ef984b5 | ||
|
|
18d844e365 | ||
|
|
56d470a008 | ||
|
|
b24a1d9291 | ||
|
|
de5d100c2f | ||
|
|
21d591fb12 | ||
|
|
0714b15940 | ||
|
|
8bd1b7c51e | ||
|
|
91ec2c3ba8 | ||
|
|
991434d8df | ||
|
|
1cac0a5755 | ||
|
|
bf18b5eb7b | ||
|
|
03b42b2926 | ||
|
|
a8ce914db1 | ||
|
|
61044eb536 | ||
|
|
b46594eefb | ||
|
|
1ff963e15c | ||
|
|
4b83d5ca76 | ||
|
|
ac8e08c6aa | ||
|
|
392b428d12 | ||
|
|
a2e76bb8fe | ||
|
|
ac5af8ecd3 | ||
|
|
0eb8e4de49 | ||
|
|
a4ee225290 | ||
|
|
5c93eae7c6 | ||
|
|
093d0cb1cf | ||
|
|
fccd6f9b14 | ||
|
|
c50be218cd | ||
|
|
f39e7a89f3 | ||
|
|
65c5b8e7d0 | ||
|
|
2e4c98b6f3 | ||
|
|
079700ee45 | ||
|
|
b39b065d6f | ||
|
|
01956225bc | ||
|
|
dd9f7e6cbb | ||
|
|
c99aaf4c87 | ||
|
|
2b184d4b97 | ||
|
|
ecc3faef61 | ||
|
|
3a5e57fc7e | ||
|
|
f5466b5a73 | ||
|
|
611d7e19f7 | ||
|
|
602e6042a3 | ||
|
|
371583642a | ||
|
|
ce1e562fda | ||
|
|
cfe9d83a85 | ||
|
|
57b577df32 | ||
|
|
a7c28bd1b9 | ||
|
|
0ac59be071 | ||
|
|
b817536b8f | ||
|
|
d0502fdb26 | ||
|
|
7599a18997 | ||
|
|
663d809194 | ||
|
|
427fa3e1e4 | ||
|
|
754fc64d2e | ||
|
|
3f7be0d7e1 | ||
|
|
271a46811e | ||
|
|
b73565d89d | ||
|
|
c979211675 | ||
|
|
0f3b7d2563 | ||
|
|
b8efcc0202 | ||
|
|
b8c1ef5a64 | ||
|
|
632fd8bb96 | ||
|
|
ca6726285c | ||
|
|
0f8c685a68 | ||
|
|
b42434915b | ||
|
|
17bba758fa | ||
|
|
c035f518c3 | ||
|
|
dd3aa92ce6 | ||
|
|
5268b95150 | ||
|
|
e5f61842b5 | ||
|
|
5c855ce43d | ||
|
|
e914ada323 | ||
|
|
a5ba252f08 | ||
|
|
ad0dd7cd1e | ||
|
|
2def2a70a3 | ||
|
|
6963e3b8bf | ||
|
|
4fcbc70fb1 | ||
|
|
85241020e8 | ||
|
|
7d22f84f0b | ||
|
|
2b6bdbc697 | ||
|
|
3a324c83ab | ||
|
|
09a48056c7 | ||
|
|
e89d97aaea | ||
|
|
95bb4ef7d1 | ||
|
|
d532b01c36 | ||
|
|
10b272c126 | ||
|
|
b51ac5e378 | ||
|
|
3456303430 | ||
|
|
81f1c5d384 | ||
|
|
87635dcb5a | ||
|
|
a7d195415b | ||
|
|
ff0e5d994c | ||
|
|
284f8669e6 | ||
|
|
f338a2f1a6 | ||
|
|
cbb72e4216 | ||
|
|
4e2aafddbb | ||
|
|
d829e10e0f | ||
|
|
b1fa262960 | ||
|
|
d5f173cf90 | ||
|
|
311b98d942 | ||
|
|
9168a04e0c | ||
|
|
4a08c8b5d4 | ||
|
|
e803ad1c56 | ||
|
|
7e585b6fa4 | ||
|
|
0b103d6a7c | ||
|
|
638bbc57c1 | ||
|
|
eb53ed5de0 | ||
|
|
8fc7042b3d | ||
|
|
617bf466bb | ||
|
|
658cc102f6 | ||
|
|
682f630a41 | ||
|
|
3b67993a64 | ||
|
|
6c118afeaa | ||
|
|
745335c876 | ||
|
|
8211f556df | ||
|
|
8b8f10d3d8 | ||
|
|
ce394b13e9 | ||
|
|
fa64f92f6a | ||
|
|
a1895b67b7 | ||
|
|
da44ef6a99 | ||
|
|
16c2279062 | ||
|
|
6aaf005c04 | ||
|
|
5529b750a7 | ||
|
|
f25c343b26 | ||
|
|
f8cde69788 | ||
|
|
b10a3e1a20 | ||
|
|
4969b8db4a | ||
|
|
af973d4018 | ||
|
|
ead1dda74a | ||
|
|
17d60cee55 | ||
|
|
dc47097423 | ||
|
|
1d4fe89054 | ||
|
|
9fd2cae482 | ||
|
|
92ff4d615d | ||
|
|
c2f453f5f3 | ||
|
|
ec46b9d4f2 | ||
|
|
47c84295bb | ||
|
|
f3961074fb | ||
|
|
300ea1133f | ||
|
|
6a2b5b2246 | ||
|
|
f78629b9af | ||
|
|
be6225976c | ||
|
|
cb7cbfcc12 | ||
|
|
c4dc4d8f1e | ||
|
|
1e54023673 | ||
|
|
69075d35be | ||
|
|
949e3be916 | ||
|
|
8ddbd31c18 | ||
|
|
28fd7e7702 | ||
|
|
b694561b4d | ||
|
|
fc00006777 | ||
|
|
4023bd270a | ||
|
|
a378c722a2 | ||
|
|
5516fc534e | ||
|
|
0e0cb8520c | ||
|
|
a9711b5395 | ||
|
|
ccb7b43365 | ||
|
|
27e5d95edf | ||
|
|
cf8e378f4e | ||
|
|
a3d4b895ae | ||
|
|
63d53de72d | ||
|
|
335aecd98f | ||
|
|
e80a4ed845 | ||
|
|
8e079085d2 | ||
|
|
4936e761a5 | ||
|
|
a71e52a0b1 | ||
|
|
d8558fdf4f | ||
|
|
7d632a0a77 | ||
|
|
aa58f1fe44 | ||
|
|
9179ddc060 | ||
|
|
4895ae8c0c | ||
|
|
0084e4bd16 | ||
|
|
536ee91189 | ||
|
|
4ba3dadd68 | ||
|
|
5eb10c5359 | ||
|
|
c45e16a939 | ||
|
|
46cc91ecbf | ||
|
|
5e37e31496 | ||
|
|
da1c431309 | ||
|
|
e7bb907c24 | ||
|
|
08953f7113 | ||
|
|
6c30628392 | ||
|
|
8d0fcff002 | ||
|
|
969a4a0ba5 | ||
|
|
b084b8f1db | ||
|
|
88f3ac34ea | ||
|
|
ac5c8ab6cc | ||
|
|
4157787be8 | ||
|
|
254f844dda | ||
|
|
d5560fd395 | ||
|
|
416d1a5e28 | ||
|
|
a735e44b3c | ||
|
|
3ac486b8a6 | ||
|
|
1aa5ca4ecb | ||
|
|
0ed8ba3079 | ||
|
|
77a59be594 | ||
|
|
eb577f9206 | ||
|
|
2a3b608355 | ||
|
|
a5b19603e4 | ||
|
|
679c2c01fa | ||
|
|
6625ba359e | ||
|
|
4a9967bddf | ||
|
|
997952a512 | ||
|
|
bfd4f75b5a | ||
|
|
8be4610588 | ||
|
|
93eb081eee | ||
|
|
57352b279d | ||
|
|
0115da33b4 | ||
|
|
5beb6b58c9 | ||
|
|
bc12a938d9 | ||
|
|
a7e671fbb9 | ||
|
|
96a1caac6b | ||
|
|
0f93c988e9 | ||
|
|
7f5c60b31e | ||
|
|
19442ad118 | ||
|
|
cc71684ab0 | ||
|
|
871d2cc2ef | ||
|
|
4fe7301df9 | ||
|
|
62d8f3dab5 | ||
|
|
a722da29c1 | ||
|
|
eea85983cb | ||
|
|
a025a46d41 | ||
|
|
2f689d5abd | ||
|
|
6b652a7850 | ||
|
|
ea189a6f4d | ||
|
|
9c87af5c3c | ||
|
|
9d71fdaf3a | ||
|
|
83fc7c4d8e | ||
|
|
10dc693ea0 | ||
|
|
5c2b594d0e | ||
|
|
d09be15847 | ||
|
|
ce1636548d | ||
|
|
7a6d9454c8 | ||
|
|
1bc3610b0a | ||
|
|
6df5360691 | ||
|
|
32b801abc3 | ||
|
|
1dd301a4b3 | ||
|
|
e74e40dc43 | ||
|
|
ea2b98b9e9 | ||
|
|
e426245bb3 | ||
|
|
f99de42a9f | ||
|
|
ee3f10af87 | ||
|
|
dab78ec4a2 | ||
|
|
a7f703c215 | ||
|
|
4e722fdfdd | ||
|
|
78046cc539 | ||
|
|
9f5b09ea1f | ||
|
|
4d5b303726 | ||
|
|
9266a2a197 | ||
|
|
1ff2239053 | ||
|
|
08aaa7ae19 | ||
|
|
43b87938f5 | ||
|
|
538da34ad3 | ||
|
|
ffd5c52d23 | ||
|
|
b91b30643a | ||
|
|
c721b69e88 | ||
|
|
a8a0ee5004 | ||
|
|
491f0fa457 | ||
|
|
eb3007b417 | ||
|
|
e6a11d45e5 | ||
|
|
2006415016 | ||
|
|
6d211bc4f0 | ||
|
|
519dc391d8 | ||
|
|
aded55463a | ||
|
|
8ea0e7205c | ||
|
|
9d661b057e | ||
|
|
60c87056b4 | ||
|
|
11c3c62aa8 | ||
|
|
90e17110c4 | ||
|
|
cbcc5babba | ||
|
|
5e577c7aa8 | ||
|
|
bb10f71402 | ||
|
|
a90e80411a | ||
|
|
7982966f3e | ||
|
|
de37e7430a | ||
|
|
9c9982240a | ||
|
|
b571034a8f | ||
|
|
f2814754c0 | ||
|
|
86855ea8ee | ||
|
|
3913f13a7d | ||
|
|
49e0f833dd | ||
|
|
bd686d85dc | ||
|
|
e09ff34129 | ||
|
|
fa2fca1ebf | ||
|
|
c1d77520b8 | ||
|
|
8de7fd0c20 | ||
|
|
3255b8a556 | ||
|
|
d57b4a3681 | ||
|
|
83fd754150 | ||
|
|
2387c49f6e | ||
|
|
6ec7d40b7c | ||
|
|
a820a4540d | ||
|
|
b43f9ded7e | ||
|
|
64799a5080 | ||
|
|
1a4a1b9fa6 | ||
|
|
87c6eb804f | ||
|
|
94097e0831 | ||
|
|
923fc09c81 | ||
|
|
fe8c8b1e85 | ||
|
|
5fb29bb7e7 | ||
|
|
96ce55331f | ||
|
|
757b42ab07 | ||
|
|
fe0bafc728 | ||
|
|
cedb1a3171 | ||
|
|
93d9d196ed | ||
|
|
1e3e1ba067 | ||
|
|
de701aee9f | ||
|
|
bd5e882a91 | ||
|
|
bf1b41e387 | ||
|
|
05531d0079 | ||
|
|
6ac778723b | ||
|
|
fdd21ca377 | ||
|
|
59a16f75b5 | ||
|
|
b74c86416e | ||
|
|
3e82b0ebfe | ||
|
|
bbbc23ac2f | ||
|
|
ca12f62d0a | ||
|
|
b9e45e82ba | ||
|
|
c4b3aefd0d | ||
|
|
beeea8a1ce | ||
|
|
bbf616a9d6 | ||
|
|
878d00bb3a | ||
|
|
02b8ec7da5 | ||
|
|
2019321e0b | ||
|
|
eb5995a876 | ||
|
|
35de719c0c | ||
|
|
e1ea10a0a1 | ||
|
|
6bfc468c9f | ||
|
|
64eeff5784 | ||
|
|
6c027b25f1 | ||
|
|
4c141bae3b | ||
|
|
a2b45646ab | ||
|
|
5193375b10 | ||
|
|
b5cf53b8b1 | ||
|
|
4438b8e071 | ||
|
|
3a113e04de | ||
|
|
e9a9833263 | ||
|
|
ef7a577b27 | ||
|
|
3d06113c8c | ||
|
|
353103e59a | ||
|
|
131d878aaa | ||
|
|
fcd3958dcb | ||
|
|
98a0cbf05b | ||
|
|
fe1c57cd2c | ||
|
|
fa3bdc2501 | ||
|
|
bfb9f5c40e | ||
|
|
50325c3d59 | ||
|
|
44d480e0c3 | ||
|
|
a52b11d057 | ||
|
|
e758eac336 | ||
|
|
927ad166a4 | ||
|
|
ecce3497fa | ||
|
|
e72eacceab | ||
|
|
4af6d9755c | ||
|
|
f958d35723 | ||
|
|
98ef8433b6 | ||
|
|
b22c145c22 | ||
|
|
cf5c255260 | ||
|
|
2b3566d89e | ||
|
|
7a0d0a022a | ||
|
|
826d10296f | ||
|
|
2da433cff7 | ||
|
|
b60b33a9dc | ||
|
|
c7c16e4130 | ||
|
|
911ecdcd0e | ||
|
|
f8c550fea0 | ||
|
|
04794efe12 | ||
|
|
f4a299700e | ||
|
|
d30e76389c | ||
|
|
b46cbecb1d | ||
|
|
20d35f9eb9 | ||
|
|
23f23e611f | ||
|
|
89f422df41 | ||
|
|
8d8c9074c3 | ||
|
|
85fc83f849 | ||
|
|
ffc7f8c9da | ||
|
|
2c164f02c6 | ||
|
|
05a56aabee | ||
|
|
efc7509be2 | ||
|
|
2d54d9934d | ||
|
|
4d87c9742a | ||
|
|
083ec6d9a3 | ||
|
|
c0f2d2f140 | ||
|
|
397ad21268 | ||
|
|
a04ab5f04c | ||
|
|
c3cfdefdee | ||
|
|
a474de64df | ||
|
|
cce452f52d | ||
|
|
a4c43a6cf5 | ||
|
|
e5c5378cd2 | ||
|
|
791478b30a | ||
|
|
aa133f8b3e | ||
|
|
6e9694df10 | ||
|
|
d4f9de889b | ||
|
|
a3925d783a | ||
|
|
b087c5452b | ||
|
|
2b2580e61a | ||
|
|
8b9b422111 | ||
|
|
49f731d243 | ||
|
|
ab090993ad | ||
|
|
3ba6a97fea | ||
|
|
4bb44b287c | ||
|
|
afd46fd9c9 | ||
|
|
7f60105cba | ||
|
|
bc1a82245c | ||
|
|
9ade3f5894 | ||
|
|
cbcbff8712 | ||
|
|
c531501748 | ||
|
|
b217ffbef2 | ||
|
|
1b51fd5eb5 | ||
|
|
057ea1232a | ||
|
|
33fbfe003c | ||
|
|
25a736e323 | ||
|
|
0e1ab0adb8 | ||
|
|
712b650332 | ||
|
|
ef8588f8ea | ||
|
|
40699e3990 | ||
|
|
efa3b1f86d | ||
|
|
c11fbe51e6 | ||
|
|
23d4e496f6 | ||
|
|
2190036c8c | ||
|
|
cf7c0038a4 | ||
|
|
898ac80be6 |
@@ -5,12 +5,12 @@ env:
|
||||
freebsd_task:
|
||||
name: FreeBSD
|
||||
matrix:
|
||||
- name: FreeBSD 14.3
|
||||
- name: FreeBSD 15.0
|
||||
freebsd_instance:
|
||||
image_family: freebsd-14-3
|
||||
image_family: freebsd-15-0-amd64-ufs
|
||||
timeout_in: 20m
|
||||
install_script:
|
||||
- pkg install -y gettext
|
||||
- pkg install -y gettext diffutils
|
||||
build_script:
|
||||
- NPROC=$(getconf _NPROCESSORS_ONLN)
|
||||
- ./configure --with-features=${FEATURES}
|
||||
|
||||
15
.gitattributes
vendored
15
.gitattributes
vendored
@@ -1,4 +1,13 @@
|
||||
src/testdir/test42.in diff
|
||||
# The old test .ok files are expected to use LF line endings, even on Windows.
|
||||
# In src/testdir/Make_mvc.mak and src/testdir/Make_ming.mak, the test result
|
||||
# files .out are converted to LF line endings before being compared.
|
||||
# Therefore, if the .ok files' line endings are not specified and are
|
||||
# converted to CRLF, the comparison between .ok and .out will fail.
|
||||
src/testdir/test*.ok text eol=lf
|
||||
|
||||
# This ok file contains literal CR LF endings. Should not be touched by git,
|
||||
# so handle as binary
|
||||
src/testdir/test21.ok -text
|
||||
|
||||
# `vim.pot` is updated every time any of the *.c files are modified. And as it
|
||||
# contains line numbers for strings from *.c files, inserting a line into a
|
||||
@@ -24,8 +33,10 @@ src/po/vim.pot -diff
|
||||
src/po/vim.pot diff=ignore_vim_pot
|
||||
|
||||
# GitHub reacts to the `linguist-generated` attribute, by ignoring marked files
|
||||
# for the repository's language statistics and hiddning changes in these files
|
||||
# for the repository's language statistics and hiding changes in these files
|
||||
# by default in diffs.
|
||||
#
|
||||
# https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
|
||||
src/po/vim.pot linguist-generated=true
|
||||
|
||||
runtime/syntax/testdir/input/vim_ex_help.vim -text diff linguist-language=vim linguist-detectable=true
|
||||
|
||||
40
.github/MAINTAINERS
vendored
40
.github/MAINTAINERS
vendored
@@ -3,20 +3,22 @@
|
||||
# You can use github users with @user or email addresses
|
||||
|
||||
# These owners will be the default owners for everything in the repo.
|
||||
#* @brammool
|
||||
#* @brammool
|
||||
|
||||
# Order is important. The last matching pattern has the most precedence.
|
||||
# So if a pull request only touches javascript files, only these owners
|
||||
# will be requested to review.
|
||||
|
||||
nsis/lang/russian.nsi @RestorerZ
|
||||
runtime/autoload/context.vim @lifepillar
|
||||
runtime/autoload/freebasic.vim @dkearns
|
||||
runtime/autoload/hare.vim @selenebun
|
||||
runtime/autoload/hcl.vim @gpanders
|
||||
runtime/autoload/javascriptcomplete.vim @jsit
|
||||
runtime/autoload/javascriptcomplete.vim @jsit
|
||||
runtime/autoload/modula2.vim @dkearns
|
||||
runtime/autoload/rubycomplete.vim @segfault @dkearns
|
||||
runtime/autoload/rust.vim @lilyball
|
||||
runtime/autoload/typeset.vim @lifepillar
|
||||
runtime/autoload/xmlformat.vim @chrisbra
|
||||
runtime/autoload/dist/json.vim @habamax
|
||||
runtime/colors/blue.vim @habamax @romainl @neutaaaaan
|
||||
@@ -46,8 +48,10 @@ runtime/colors/wildcharm.vim @habamax @romainl @neutaaaaan
|
||||
runtime/colors/zaibatsu.vim @habamax @romainl @neutaaaaan
|
||||
runtime/colors/zellner.vim @habamax @romainl @neutaaaaan
|
||||
runtime/compiler/biome.vim @Konfekt
|
||||
runtime/compiler/cabal.vim @mateoxh
|
||||
runtime/compiler/checkstyle.vim @dkearns
|
||||
runtime/compiler/cm3.vim @dkearns
|
||||
runtime/compiler/context.vim @lifepillar
|
||||
runtime/compiler/cucumber.vim @tpope
|
||||
runtime/compiler/dart.vim @dkearns
|
||||
runtime/compiler/dart2js.vim @dkearns
|
||||
@@ -127,9 +131,12 @@ runtime/ftplugin/asy.vim @avidseeker
|
||||
runtime/ftplugin/autohotkey.vim @telemachus
|
||||
runtime/ftplugin/awk.vim @dkearns
|
||||
runtime/ftplugin/basic.vim @dkearns
|
||||
runtime/ftplugin/bicep.vim @scottmckendry
|
||||
runtime/ftplugin/bicep-params.vim @scottmckendry
|
||||
runtime/ftplugin/brighterscript.vim @ribru17
|
||||
runtime/ftplugin/brightscript.vim @ribru17
|
||||
runtime/ftplugin/bst.vim @tpope
|
||||
runtime/ftplugin/bpftrace.vim @sgruszka
|
||||
runtime/ftplugin/c3.vim @ttytm
|
||||
runtime/ftplugin/cabal.vim @ribru17
|
||||
runtime/ftplugin/cedar.vim @ribru17
|
||||
@@ -139,6 +146,7 @@ runtime/ftplugin/chicken.vim @evhan
|
||||
runtime/ftplugin/clojure.vim @axvr
|
||||
runtime/ftplugin/cmakecache.vim @ribru17
|
||||
runtime/ftplugin/codeowners.vim @jparise
|
||||
runtime/ftplugin/context.vim @lifepillar
|
||||
runtime/ftplugin/cook.vim @ribru17
|
||||
runtime/ftplugin/cs.vim @nickspoons
|
||||
runtime/ftplugin/csh.vim @dkearns
|
||||
@@ -216,16 +224,20 @@ runtime/ftplugin/julia.vim @carlobaldassi
|
||||
runtime/ftplugin/just.vim @pbnj
|
||||
runtime/ftplugin/kconfig.vim @chrisbra
|
||||
runtime/ftplugin/kdl.vim @imsnif @jiangyinzuo
|
||||
runtime/ftplugin/kerml.vim @daumantas-kavolis-sensmetry
|
||||
runtime/ftplugin/kerml.vim @daumantas-kavolis-sensmetry
|
||||
runtime/ftplugin/kitty.vim @rivenirvana
|
||||
runtime/ftplugin/kivy.vim @ribru17
|
||||
runtime/ftplugin/kotlin.vim @udalov
|
||||
runtime/ftplugin/lc.vim @ribru17
|
||||
runtime/ftplugin/ldapconf.vim @ribru17
|
||||
runtime/ftplugin/leex.vim @jparise
|
||||
runtime/ftplugin/leo.vim @ribru17
|
||||
runtime/ftplugin/less.vim @genoma
|
||||
runtime/ftplugin/lex.vim @ribru17
|
||||
runtime/ftplugin/lf.vim @andis-sprinkis
|
||||
runtime/ftplugin/liquid.vim @tpope
|
||||
runtime/ftplugin/logtalk.dict @pmoura
|
||||
runtime/ftplugin/logtalk.vim @pmoura
|
||||
runtime/ftplugin/lua.vim @dkearns
|
||||
runtime/ftplugin/lynx.vim @dkearns
|
||||
runtime/ftplugin/m17ndb.vim @dseomn
|
||||
@@ -235,9 +247,11 @@ runtime/ftplugin/markdown.vim @tpope
|
||||
runtime/ftplugin/mbsync.vim @fymyte
|
||||
runtime/ftplugin/mediawiki.vim @avidseeker
|
||||
runtime/ftplugin/meson.vim @Liambeguin
|
||||
runtime/ftplugin/mf.vim @lifepillar
|
||||
runtime/ftplugin/modula2.vim @dkearns
|
||||
runtime/ftplugin/modula3.vim @dkearns
|
||||
runtime/ftplugin/mojo.vim @ribru17
|
||||
runtime/ftplugin/mp.vim @lifepillar
|
||||
runtime/ftplugin/mss.vim @Freed-Wu
|
||||
runtime/ftplugin/nginx.vim @chr4
|
||||
runtime/ftplugin/nim.vim @ribru17
|
||||
@@ -247,7 +261,7 @@ runtime/ftplugin/nu.vim @elkasztano
|
||||
runtime/ftplugin/octave.vim @dkearns
|
||||
runtime/ftplugin/ondir.vim @jparise
|
||||
runtime/ftplugin/opencl.vim @Freed-Wu
|
||||
runtime/ftplugin/openscad.vim @squibid
|
||||
runtime/ftplugin/openscad.vim @squibid
|
||||
runtime/ftplugin/openvpn.vim @ObserverOfTime
|
||||
runtime/ftplugin/pascal.vim @dkearns
|
||||
runtime/ftplugin/pbtxt.vim @lakshayg
|
||||
@@ -301,7 +315,7 @@ runtime/ftplugin/sshdconfig.vim @jiangyinzuo
|
||||
runtime/ftplugin/svelte.vim @igorlfs
|
||||
runtime/ftplugin/sway.vim @ribru17
|
||||
runtime/ftplugin/swayconfig.vim @jamespeapen
|
||||
runtime/ftplugin/sysml.vim @daumantas-kavolis-sensmetry
|
||||
runtime/ftplugin/sysml.vim @daumantas-kavolis-sensmetry
|
||||
runtime/ftplugin/systemverilog.vim @Kocha
|
||||
runtime/ftplugin/swig.vim @jmarrec
|
||||
runtime/ftplugin/tap.vim @petdance
|
||||
@@ -334,11 +348,13 @@ runtime/import/dist/vimhighlight.vim @lacygoill
|
||||
runtime/indent/arduino.vim @k-takata
|
||||
runtime/indent/astro.vim @wuelnerdotexe
|
||||
runtime/indent/basic.vim @dkearns
|
||||
runtime/indent/bpftrace.vim @sgruszka
|
||||
runtime/indent/bst.vim @tpope
|
||||
runtime/indent/cdl.vim @dkearns
|
||||
runtime/indent/chatito.vim @ObserverOfTime
|
||||
runtime/indent/clojure.vim @axvr
|
||||
runtime/indent/config.vim @dkearns
|
||||
runtime/indent/context.vim @lifepillar
|
||||
runtime/indent/cs.vim @nickspoons
|
||||
runtime/indent/css.vim @dkearns
|
||||
runtime/indent/cucumber.vim @tpope
|
||||
@@ -377,14 +393,18 @@ runtime/indent/kdl.vim @imsnif @jiangyinzuo
|
||||
runtime/indent/kotlin.vim @udalov
|
||||
runtime/indent/krl.vim @KnoP-01
|
||||
runtime/indent/ld.vim @dkearns
|
||||
runtime/indent/lf.vim @andis-sprinkis
|
||||
runtime/indent/less.vim @genoma
|
||||
runtime/indent/liquid.vim @tpope
|
||||
runtime/indent/logtalk.vim @pmoura
|
||||
runtime/indent/lua.vim @marcuscf
|
||||
runtime/indent/m17ndb.vim @dseomn
|
||||
runtime/indent/make.vim @dkearns
|
||||
runtime/indent/meson.vim @Liambeguin
|
||||
runtime/indent/mf.vim @lifepillar
|
||||
runtime/indent/mma.vim @dkearns
|
||||
runtime/indent/mojo.vim @ribru17
|
||||
runtime/indent/mp.vim @lifepillar
|
||||
runtime/indent/nginx.vim @chr4
|
||||
runtime/indent/nsis.vim @k-takata
|
||||
runtime/indent/nu.vim @elkasztano
|
||||
@@ -451,6 +471,7 @@ runtime/syntax/asy.vim @avidseeker
|
||||
runtime/syntax/autohotkey.vim @mmikeww
|
||||
runtime/syntax/awk.vim @dkearns
|
||||
runtime/syntax/basic.vim @dkearns
|
||||
runtime/syntax/bpftrace.vim @sgruszka
|
||||
runtime/syntax/bst.vim @tpope
|
||||
runtime/syntax/bzl.vim @dbarnett
|
||||
runtime/syntax/bzr.vim @hdima
|
||||
@@ -464,7 +485,9 @@ runtime/syntax/chicken.vim @evhan
|
||||
runtime/syntax/chuck.vim @andreacfromtheapp
|
||||
runtime/syntax/clojure.vim @axvr
|
||||
runtime/syntax/codeowners.vim @jparise
|
||||
runtime/syntax/context.vim @lifepillar
|
||||
runtime/syntax/cs.vim @nickspoons
|
||||
runtime/syntax/csh.vim @dkearns
|
||||
runtime/syntax/css.vim @jsit
|
||||
runtime/syntax/csv.vim @habamax
|
||||
runtime/syntax/cucumber.vim @tpope
|
||||
@@ -550,10 +573,12 @@ runtime/syntax/kivy.vim @prophittcorey
|
||||
runtime/syntax/kotlin.vim @udalov
|
||||
runtime/syntax/kdl.vim @imsnif @jiangyinzuo
|
||||
runtime/syntax/krl.vim @KnoP-01
|
||||
runtime/syntax/leex.vim @jparise
|
||||
runtime/syntax/less.vim @genoma
|
||||
runtime/syntax/lf.vim @andis-sprinkis
|
||||
runtime/syntax/liquid.vim @tpope
|
||||
runtime/syntax/log.vim @mao-yining
|
||||
runtime/syntax/logtalk.vim @pmoura
|
||||
runtime/syntax/lua.vim @marcuscf
|
||||
runtime/syntax/lynx.vim @dkearns
|
||||
runtime/syntax/lyrics.vim @ObserverOfTime
|
||||
@@ -561,18 +586,19 @@ runtime/syntax/m17ndb.vim @dseomn
|
||||
runtime/syntax/m3build.vim @dkearns
|
||||
runtime/syntax/m3quake.vim @dkearns
|
||||
runtime/syntax/mailcap.vim @dkearns
|
||||
runtime/syntax/make.vim @rohieb
|
||||
runtime/syntax/mallard.vim @jhradilek
|
||||
runtime/syntax/markdown.vim @tpope
|
||||
runtime/syntax/mbsync.vim @fymyte
|
||||
runtime/syntax/mason.vim @petdance
|
||||
runtime/syntax/mediawiki.vim @avidseeker
|
||||
runtime/syntax/meson.vim @Liambeguin
|
||||
runtime/syntax/mf.vim @lifepillar
|
||||
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/mp.vim @lifepillar
|
||||
runtime/syntax/mss.vim @Freed-Wu
|
||||
runtime/syntax/n1ql.vim @pr3d4t0r
|
||||
runtime/syntax/nginx.vim @chr4
|
||||
@@ -631,6 +657,7 @@ runtime/syntax/scss.vim @tpope
|
||||
runtime/syntax/sed.vim @dkearns
|
||||
runtime/syntax/shared/debversions.vim @jamessan
|
||||
runtime/syntax/shaderslang.vim @mTvare6
|
||||
runtime/syntax/skhd.vim @kiyoon
|
||||
runtime/syntax/solidity.vim @coti-z
|
||||
runtime/syntax/spajson.vim @dseomn
|
||||
runtime/syntax/spec.vim @ignatenkobrain
|
||||
@@ -675,6 +702,7 @@ runtime/syntax/xs.vim @petdance
|
||||
runtime/syntax/xslt.vim @Boobies
|
||||
runtime/syntax/zserio.vim @dpelle
|
||||
runtime/syntax/zsh.vim @chrisbra
|
||||
runtime/tools/preproc_indent.vim @h-east
|
||||
runtime/tutor/tutor1.eo @dpelle
|
||||
runtime/tutor/tutor1.fr @dpelle
|
||||
runtime/tutor/tutor1.ru @RestorerZ
|
||||
|
||||
64
.github/workflows/ci.yml
vendored
64
.github/workflows/ci.yml
vendored
@@ -84,17 +84,14 @@ jobs:
|
||||
architecture: arm64
|
||||
- features: normal
|
||||
compiler: gcc
|
||||
extra: [vimtags, proto]
|
||||
extra: [vimtags, proto, preproc_indent, encoding]
|
||||
- features: huge
|
||||
compiler: gcc
|
||||
extra: [no_x11]
|
||||
- features: huge
|
||||
compiler: gcc
|
||||
extra: [socketserver]
|
||||
extra: [no_x11_wl]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository from github
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Check Filelist (for packaging)
|
||||
run: |
|
||||
@@ -245,11 +242,8 @@ jobs:
|
||||
;;
|
||||
esac
|
||||
|
||||
if ${{ contains(matrix.extra, 'no_x11') }}; then
|
||||
CONFOPT="${CONFOPT} --without-x --disable-gui"
|
||||
fi
|
||||
if ${{ contains(matrix.extra, 'socketserver') }}; then
|
||||
CONFOPT="${CONFOPT} --enable-socketserver"
|
||||
if ${{ contains(matrix.extra, 'no_x11_wl') }}; then
|
||||
CONFOPT="${CONFOPT} --without-x --disable-gui --without-wayland --enable-socketserver"
|
||||
fi
|
||||
if ${{ matrix.coverage == true }}; then
|
||||
CFLAGS="${CFLAGS} --coverage -DUSE_GCOV_FLUSH"
|
||||
@@ -369,6 +363,27 @@ jobs:
|
||||
true
|
||||
)
|
||||
|
||||
- name: Check preprocessor indent
|
||||
if: contains(matrix.extra, 'preproc_indent')
|
||||
run: |
|
||||
# This will exit with an error code if the files differ from source
|
||||
(
|
||||
"${SRCDIR}"/vim -u NONE --not-a-term -esNX +"cd runtime/tools" -S preproc_indent.vim
|
||||
git diff --exit-code -- src/*.[ch] src/xxd/xxd.c
|
||||
true
|
||||
)
|
||||
|
||||
- name: Check encoding of utf-8 runtime files
|
||||
if: contains(matrix.extra, 'encoding')
|
||||
run: |
|
||||
# This will exit with an error code if utf-8 runtime files are not in utf-8 encoding
|
||||
(
|
||||
find . -type f -name "*utf-8*.vim" -exec sh -c \
|
||||
'iconv -f utf-8 -t utf-8 "$1" >/dev/null 2>&1 || echo "non utf-8 encoding detected in $1"' \
|
||||
find-sh {} \; |grep "non utf-8 encoding" && exit 3
|
||||
true
|
||||
)
|
||||
|
||||
- name: Generate gcov files
|
||||
if: matrix.coverage
|
||||
run: |
|
||||
@@ -410,7 +425,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository from github
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install packages
|
||||
if: matrix.features == 'huge'
|
||||
@@ -528,6 +543,7 @@ jobs:
|
||||
- { features: HUGE, toolchain: mingw, VIMDLL: yes, GUI: yes, arch: x86, python3: stable, coverage: yes }
|
||||
- { features: HUGE, toolchain: msvc, VIMDLL: no, GUI: yes, arch: x86 }
|
||||
- { features: HUGE, toolchain: mingw, VIMDLL: yes, GUI: no, arch: x64, coverage: yes }
|
||||
- { features: HUGE, toolchain: msvc, VIMDLL: no, GUI: no, arch: x64, ttytype: conpty }
|
||||
- { features: NORMAL, toolchain: msvc, VIMDLL: yes, GUI: no, arch: x86 }
|
||||
- { features: NORMAL, toolchain: mingw, VIMDLL: no, GUI: yes, arch: x64 }
|
||||
- { features: TINY, toolchain: msvc, VIMDLL: yes, GUI: yes, arch: x64 }
|
||||
@@ -541,8 +557,6 @@ jobs:
|
||||
# Show Windows version
|
||||
cmd /c ver
|
||||
|
||||
git config --global core.autocrlf input
|
||||
|
||||
if ${{ matrix.arch == 'x64' }}; then
|
||||
cygreg=registry
|
||||
pyreg=
|
||||
@@ -594,7 +608,7 @@ jobs:
|
||||
release: false
|
||||
|
||||
- name: Checkout repository from github
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Create a list of download URLs
|
||||
shell: cmd
|
||||
@@ -607,7 +621,7 @@ jobs:
|
||||
echo %GETTEXT64_URL%>> urls.txt
|
||||
|
||||
- name: Cache downloaded files
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: downloads
|
||||
key: ${{ runner.os }}-${{ matrix.arch }}-${{ hashFiles('urls.txt') }}
|
||||
@@ -622,11 +636,13 @@ jobs:
|
||||
call :downloadfile %LUA${{ env.BITS }}_URL% downloads\lua.zip
|
||||
7z x downloads\lua.zip -o%LUA_DIR% > nul || exit 1
|
||||
|
||||
echo %COL_GREEN%Download winpty%COL_RESET%
|
||||
call :downloadfile %WINPTY_URL% downloads\winpty.zip
|
||||
7z x -y downloads\winpty.zip -oD:\winpty > nul || exit 1
|
||||
copy /Y D:\winpty\%WARCH%\bin\winpty.dll src\winpty%BITS%.dll
|
||||
copy /Y D:\winpty\%WARCH%\bin\winpty-agent.exe src\
|
||||
if not "${{ matrix.ttytype }}" == "conpty" (
|
||||
echo %COL_GREEN%Download winpty%COL_RESET%
|
||||
call :downloadfile %WINPTY_URL% downloads\winpty.zip
|
||||
7z x -y downloads\winpty.zip -oD:\winpty > nul || exit 1
|
||||
copy /Y D:\winpty\%WARCH%\bin\winpty.dll src\winpty%BITS%.dll
|
||||
copy /Y D:\winpty\%WARCH%\bin\winpty-agent.exe src\
|
||||
)
|
||||
|
||||
echo %COL_GREEN%Download libsodium%COL_RESET%
|
||||
if "${{ matrix.toolchain }}"=="msvc" (
|
||||
@@ -725,7 +741,7 @@ jobs:
|
||||
- name: Check version
|
||||
shell: cmd
|
||||
run: |
|
||||
PATH %LUA_DIR%;C:\msys64\%MSYSTEM%\bin;%PATH%;%PYTHON3_DIR%
|
||||
PATH %LUA_DIR%;C:\msys64\%MSYSTEM%\bin;%PYTHON3_DIR%;%PATH%
|
||||
if "${{ matrix.GUI }}"=="yes" (
|
||||
start /wait src\gvim -u NONE -i NONE -c "redir > version.txt | ver | q" || exit 1
|
||||
type version.txt
|
||||
@@ -775,7 +791,7 @@ jobs:
|
||||
shell: cmd
|
||||
timeout-minutes: 15
|
||||
run: |
|
||||
PATH %LUA_DIR%;C:\msys64\%MSYSTEM%\bin;%PATH%;%PYTHON3_DIR%;%SODIUM_LIB%
|
||||
PATH %LUA_DIR%;C:\msys64\%MSYSTEM%\bin;%PYTHON3_DIR%;%PATH%;%SODIUM_LIB%
|
||||
call "%VCVARSALL%" %VCARCH%
|
||||
|
||||
echo %COL_GREEN%Test gVim:%COL_RESET%
|
||||
@@ -792,7 +808,7 @@ jobs:
|
||||
shell: cmd
|
||||
timeout-minutes: 15
|
||||
run: |
|
||||
PATH %LUA_DIR%;C:\msys64\%MSYSTEM%\bin;%PATH%;%PYTHON3_DIR%;%SODIUM_LIB%
|
||||
PATH %LUA_DIR%;C:\msys64\%MSYSTEM%\bin;%PYTHON3_DIR%;%PATH%;%SODIUM_LIB%
|
||||
call "%VCVARSALL%" %VCARCH%
|
||||
|
||||
echo %COL_GREEN%Test Vim:%COL_RESET%
|
||||
|
||||
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository from github
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
|
||||
2
.github/workflows/coverity.yml
vendored
2
.github/workflows/coverity.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository from github
|
||||
if: env.TOKEN
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Download Coverity
|
||||
if: env.TOKEN
|
||||
|
||||
2
.github/workflows/link-check.yml
vendored
2
.github/workflows/link-check.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
lychee:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- name: Run Lychee
|
||||
uses: lycheeverse/lychee-action@v2
|
||||
with:
|
||||
|
||||
@@ -12,10 +12,10 @@ A pull request has the advantage that it will trigger the Continuous
|
||||
Integration tests, you will be warned of problems (you can ignore the coverage
|
||||
warning, it's noisy).
|
||||
|
||||
Please consider adding a test. All new functionality should be tested and bug
|
||||
fixes should be tested for regressions: the test should fail before the fix and
|
||||
pass after the fix. Look through recent patches for examples and find help
|
||||
with ":help testing". The tests are located under "src/testdir".
|
||||
Please always add a test, if possible. All new functionality should be tested
|
||||
and bug fixes should be tested for regressions: the test should fail before the
|
||||
fix and pass after the fix. Look through recent patches for examples and find
|
||||
help with ":help testing". The tests are located under "src/testdir".
|
||||
|
||||
Contributions will be distributed with Vim under the Vim license. Providing a
|
||||
change to be included implies that you agree with this and your contribution
|
||||
@@ -46,6 +46,15 @@ When merging PRs into Vim, the current maintainer @chrisbra usually adds missing
|
||||
anybody that explicitly *ACK*s a pull request as a statement that those
|
||||
approvers are happy with that particular change.
|
||||
|
||||
## Using AI
|
||||
|
||||
When using AI for contributions, please disclose this. Any AI-generated code
|
||||
must follow the Vim code style. In particular, [test_codestyle.vim][18]
|
||||
must not report any failures. Check the CI output for any test failures.
|
||||
|
||||
Ensure that changes are properly tested. Do not submit a single PR that
|
||||
addresses multiple unrelated issues.
|
||||
|
||||
# Reporting issues
|
||||
|
||||
We use GitHub [issues][17], but that is not a requirement. Writing to the Vim
|
||||
@@ -160,3 +169,4 @@ mailing list. For other questions please use the [Vi Stack Exchange][8] website,
|
||||
[15]: https://en.wikipedia.org/wiki/Developer_Certificate_of_Origin
|
||||
[16]: https://github.com/vim/vim/blob/master/runtime/doc/helphelp.txt
|
||||
[17]: https://github.com/vim/vim/issues
|
||||
[18]: https://github.com/vim/vim/blob/master/src/testdir/test_codestyle.vim
|
||||
|
||||
20
Filelist
20
Filelist
@@ -248,6 +248,7 @@ SRC_ALL = \
|
||||
src/testdir/util/view_util.vim \
|
||||
src/testdir/util/vim9.vim \
|
||||
src/testdir/util/window_manager.vim \
|
||||
src/testdir/util/socketserver.vim \
|
||||
src/testdir/viewdumps.vim \
|
||||
src/proto.h \
|
||||
src/protodef.h \
|
||||
@@ -804,6 +805,10 @@ RT_ALL = \
|
||||
runtime/tutor/en/vim-01-beginner.tutor.json \
|
||||
runtime/tutor/en/vim-02-beginner.tutor \
|
||||
runtime/tutor/en/vim-02-beginner.tutor.json \
|
||||
runtime/tutor/sv/vim-01-beginner.tutor \
|
||||
runtime/tutor/sv/vim-01-beginner.tutor.json \
|
||||
runtime/tutor/sv/vim-02-beginner.tutor \
|
||||
runtime/tutor/sv/vim-02-beginner.tutor.json \
|
||||
runtime/tutor/tutor.tutor \
|
||||
runtime/tutor/tutor.tutor.json \
|
||||
runtime/tutor/tutor.vim \
|
||||
@@ -829,6 +834,10 @@ RT_ALL = \
|
||||
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/helpcurwin/autoload/helpcurwin.vim \
|
||||
runtime/pack/dist/opt/helpcurwin/doc/helpcurwin.txt \
|
||||
runtime/pack/dist/opt/helpcurwin/doc/tags \
|
||||
runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim \
|
||||
runtime/pack/dist/opt/helptoc/autoload/helptoc.vim \
|
||||
runtime/pack/dist/opt/helptoc/doc/helptoc.txt \
|
||||
runtime/pack/dist/opt/helptoc/doc/tags \
|
||||
@@ -852,7 +861,11 @@ RT_ALL = \
|
||||
runtime/pack/dist/opt/netrw/autoload/netrw_gitignore.vim \
|
||||
runtime/pack/dist/opt/netrw/doc/netrw.txt \
|
||||
runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim \
|
||||
runtime/pack/dist/opt/netrw/syntax/netrw.vim
|
||||
runtime/pack/dist/opt/netrw/syntax/netrw.vim \
|
||||
runtime/pack/dist/opt/osc52/plugin/osc52.vim \
|
||||
runtime/pack/dist/opt/osc52/autoload/osc52.vim \
|
||||
runtime/pack/dist/opt/osc52/doc/osc52.txt \
|
||||
runtime/pack/dist/opt/osc52/doc/tags
|
||||
|
||||
# Runtime files for all distributions without CR/LF translation.
|
||||
RT_ALL_BIN = \
|
||||
@@ -1095,6 +1108,9 @@ LANG_GEN = \
|
||||
runtime/doc/*-pl.UTF-8.1 \
|
||||
runtime/doc/*-ru.1 \
|
||||
runtime/doc/*-ru.UTF-8.1 \
|
||||
runtime/doc/*-sv.1 \
|
||||
runtime/doc/*-sv.UTF-8.1 \
|
||||
runtime/doc/*.svx \
|
||||
runtime/doc/*-tr.1 \
|
||||
runtime/doc/*-tr.UTF-8.1 \
|
||||
runtime/lang/README.txt \
|
||||
@@ -1114,6 +1130,8 @@ LANG_GEN = \
|
||||
runtime/tutor/sr/vim-01-beginner.tutor.json \
|
||||
runtime/tutor/sr/vim-02-beginner.tutor \
|
||||
runtime/tutor/sr/vim-02-beginner.tutor.json \
|
||||
runtime/tutor/zh/vim-01-beginner.tutor \
|
||||
runtime/tutor/zh/vim-01-beginner.tutor.json \
|
||||
runtime/tutor/tutor1.?? \
|
||||
runtime/tutor/tutor1.??_?? \
|
||||
runtime/tutor/tutor1.bar \
|
||||
|
||||
13
README.md
13
README.md
@@ -1,16 +1,3 @@
|
||||
<div align="center" markdown="1">
|
||||
<sup>Special thanks for supporting Vim by donating to the <a href="https://iccf-holland.org/">ICCF</a>:</sup>
|
||||
<br>
|
||||
<br>
|
||||
<a href="https://go.warp.dev/vim">
|
||||
<img alt="Warp sponsorship" width="400" src="https://raw.githubusercontent.com/warpdotdev/brand-assets/refs/heads/main/Github/Sponsor/Warp-Github-LG-03.png">
|
||||
</a>
|
||||
|
||||
### [Warp, built for coding with multiple AI agents.](https://www.warp.dev/vim)
|
||||
[Available for MacOS, Linux, & Windows](https://www.warp.dev/vim)<br>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
# [](https://www.vim.org)
|
||||
|
||||
[](https://github.com/vim/vim/actions?query=workflow%3A%22GitHub+CI%22)
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
/^CFLAGS[[:blank:]]*=/s/$/ -Wall -Wextra -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Werror -Wno-deprecated-declarations/
|
||||
/^PERL_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=unused-function -Wno-shadow/
|
||||
/^PERL_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=unused-function -Wno-strict-prototypes -Wno-shadow/
|
||||
/^RUBY_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=unused-parameter -Wno-strict-prototypes/
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Примечание. Данный текст перевода лицензии Vim предоставляется с целью
|
||||
ознакомления и не является юридически значимым. Переводчик не несёт
|
||||
ответственности за возможные неточности и ошибки при переводе лицензии.
|
||||
Единственно юридически значимым является текст лицензии Vim на английском языке.
|
||||
|
||||
ЛИЦЕНЗИЯ VIM
|
||||
|
||||
I) Неизменённые копии программы Vim могут распространяться без ограничения
|
||||
@@ -29,15 +34,15 @@ II) Изменённую (или дополненную) версию прогр
|
||||
будут распространяться на условиях настоящей лицензии или более
|
||||
поздней её версии. Лица, в данное время являющиеся ответственными
|
||||
за разработку, указаны в перечне, размещённом по адресу:
|
||||
https://github.com/orgs/vim/people. В случае изменения этой
|
||||
информации, актуальные данные будут опубликованы на
|
||||
соответствующих ресурсах (вероятнее всего по интернет‐адресам
|
||||
vim.sf.net, www.vim.org и/или comp.editors). В случае полной
|
||||
невозможности установить контакт с ответственным разработчиком,
|
||||
обязательства по отправке изменений утрачивают силу. После
|
||||
передачи подтверждения о получении изменений от ответственного
|
||||
разработчика, необходимость в повторной отправке копии изменённой
|
||||
программы Vim неприменима.
|
||||
https://github.com/orgs/vim/people.
|
||||
При изменении этой информации, актуальные данные будут
|
||||
опубликованы на соответствующих ресурсах (вероятнее всего
|
||||
по интернет‐адресам vim.sf.net, www.vim.org и/или comp.editors).
|
||||
В случае полной невозможности связаться с ответственным
|
||||
разработчиком, обязательства по отправке изменений утрачивают
|
||||
силу. После передачи подтверждения о получении изменений
|
||||
от ответственного разработчика, необходимость в повторной
|
||||
отправке копии изменённой программы Vim неприменима.
|
||||
b) Если лицом получена изменённая версия программа Vim,
|
||||
распространяющаяся на условиях, указанных в ч. II) п. 2) пп. а)
|
||||
допускается дальнейшее её распространение этим лицом без внесения
|
||||
|
||||
78
lang/LICENSE.sv.txt
Normal file
78
lang/LICENSE.sv.txt
Normal file
@@ -0,0 +1,78 @@
|
||||
VIM-LICENS
|
||||
|
||||
I) Det finns inga begränsningar för distribution av oförändrade kopior av Vim förutom
|
||||
att de måste innehålla denna licenstext. Du kan också distribuera
|
||||
oförändrade delar av Vim, likaså utan begränsningar förutom att de måste
|
||||
innehålla denna licenstext. Du får också inkludera körbara filer
|
||||
som du har skapat från de oförändrade Vim-källorna, samt dina egna användningsexempel
|
||||
och Vim-skript.
|
||||
|
||||
II) Det är tillåtet att distribuera en modifierad (eller utökad) version av Vim,
|
||||
inklusive körbara filer och/eller källkod, när följande fyra
|
||||
villkor är uppfyllda:
|
||||
1) Denna licenstext måste inkluderas oförändrad.
|
||||
2) Den modifierade Vim måste distribueras på ett av följande fem sätt:
|
||||
a) Om du själv gör ändringar i Vim måste du tydligt beskriva
|
||||
distributionen hur man kan kontakta dig. När underhållaren ber dig
|
||||
(på något sätt) om en kopia av den modifierade Vim du distribuerat, måste du
|
||||
måste du göra dina ändringar, inklusive källkoden, tillgängliga för
|
||||
underhållaren utan kostnad. Underhållaren förbehåller sig rätten att
|
||||
inkludera dina ändringar i den officiella versionen av Vim. Vad
|
||||
underhållaren kommer att göra med dina ändringar och under vilken licens de
|
||||
kommer att distribueras är förhandlingsbart. Om ingen förhandling har ägt rum
|
||||
gäller denna licens, eller en senare version, även för dina ändringar.
|
||||
De nuvarande underhållarna finns listade här: https://github.com/orgs/vim/people.
|
||||
Om detta ändras kommer det att meddelas på lämpliga platser (troligen
|
||||
vim.sf.net, www.vim.org och/eller comp.editors). När det är helt
|
||||
omöjligt att kontakta underhållaren upphör skyldigheten att skicka
|
||||
dina ändringar upphör. När underhållaren har bekräftat att han har
|
||||
mottagit dina ändringar behöver de inte skickas igen.
|
||||
b) Om du har fått en modifierad Vim som distribuerats enligt
|
||||
nämnts under a) får du distribuera den vidare
|
||||
oförändrat, enligt vad som anges i I). Om du gör ytterligare ändringar gäller
|
||||
gäller texten under a) för dessa ändringar.
|
||||
c) Tillhandahåll alla ändringar, inklusive källkod, med varje kopia av
|
||||
den modifierade Vim du distribuerar. Detta kan göras i form av en
|
||||
kontextdiff. Du kan välja vilken licens du vill använda för ny kod som du
|
||||
lägger till. Ändringarna och deras licens får inte hindra andra från att
|
||||
göra egna ändringar i den officiella versionen av Vim.
|
||||
d) När du har en modifierad Vim som innehåller ändringar enligt
|
||||
under c), kan du distribuera den utan källkoden för
|
||||
ändringarna om följande tre villkor är uppfyllda:
|
||||
- Licensen som gäller för ändringarna tillåter dig att distribuera
|
||||
ändringarna till Vim-underhållaren utan avgift eller begränsningar, och
|
||||
tillåter Vim-underhållaren att inkludera ändringarna i den officiella
|
||||
versionen av Vim utan avgift eller begränsningar.
|
||||
- Du behåller ändringarna i minst tre år efter senaste
|
||||
distribution av motsvarande modifierade Vim. När underhållaren
|
||||
eller någon som du distribuerat den modifierade Vim till ber dig (på
|
||||
något sätt) om ändringarna inom denna period måste du göra dem
|
||||
tillgängliga för honom.
|
||||
- Du beskriver tydligt i distributionen hur man kan kontakta dig. Denna
|
||||
kontaktinformationen måste vara giltig i minst tre år
|
||||
efter den sista distributionen av motsvarande modifierade Vim, eller så länge
|
||||
som möjligt.
|
||||
e) När GNU General Public License (GPL) gäller för ändringarna,
|
||||
kan du distribuera den modifierade Vim under GNU GPL version 2 eller
|
||||
någon senare version.
|
||||
3) Ett meddelande måste läggas till, åtminstone i utdata från kommandot ":version"
|
||||
och i introduktionsskärmen, så att användaren av den modifierade Vim
|
||||
kan se att den har modifierats. Vid distribution enligt
|
||||
under 2)e) krävs det endast att meddelandet läggs till i den mån detta
|
||||
inte strider mot den licens som används för ändringarna.
|
||||
4) Kontaktinformationen som krävs enligt 2)a) och 2)d) får inte
|
||||
tas bort eller ändras, förutom att personen själv kan göra
|
||||
korrigeringar.
|
||||
|
||||
III) Om du distribuerar en modifierad version av Vim uppmuntras du att använda
|
||||
Vim-licensen för dina ändringar och göra dem tillgängliga för
|
||||
underhållaren, inklusive källkoden. Det bästa sättet att göra detta är
|
||||
via e-post eller genom att ladda upp filerna till en server och e-posta URL:en.
|
||||
Om antalet ändringar är litet (t.ex. en modifierad Makefile) räcker det att skicka ett
|
||||
kontextdiff. E-postadressen som ska användas är
|
||||
<maintainer@vim.org>
|
||||
|
||||
IV) Det är inte tillåtet att ta bort denna licens från distributionen av Vim
|
||||
källkoden, delar av den eller från en modifierad version. Du får använda denna
|
||||
licensen för tidigare Vim-utgåvor istället för den licens som de levererades med
|
||||
med, om du så önskar.
|
||||
60
lang/LICENSE.zh_cn.txt
Normal file
60
lang/LICENSE.zh_cn.txt
Normal file
@@ -0,0 +1,60 @@
|
||||
注意: 本译文仅供参考。若因译文错漏引发任何问题,译者概不承担责任。VIM 许可证的
|
||||
完整英文版本为唯一法律依据。如有任何疑问,以英文原文为准。
|
||||
|
||||
VIM 许可证
|
||||
|
||||
I) 可以任意发布没有修改的 Vim 的拷贝,但是必须保证包含本许可证。您也可以发布
|
||||
未经修改的部分 Vim,同样也必须包含这份许可证。发布由未经修改的 Vim 源代码
|
||||
所编译出的 Vim 可执行文件,外加您自己的应用实例和 Vim 脚本也是允许的。
|
||||
|
||||
II) 在满足以下全部四个条件的前提下,您可以发布经过修改 (或扩充) 的 Vim 版本,
|
||||
包括可执行文件 和/或 源代码:
|
||||
1) 本许可证必须包含在内,并且不能被修改。
|
||||
2) 经过修改的 Vim 必须以下述五种方式之一发布:
|
||||
a) 如果您本人对 Vim 做了改动,您必须在发布版本里清楚地说明如何与您联系。
|
||||
当 Vim 的维护者 (以任何方式) 向您索取您所发布的 Vim 时,您必须把所做
|
||||
的改动包括源代码无偿地提供出来。维护者保留把这些改动加入 Vim 正式版本
|
||||
的权利。至于维护者怎样处理这些改动,以及用什么许可证发布,可以协商。
|
||||
如果没有协商,那么,本许可证,或者它更新的版本,同样适用于您做出的改
|
||||
动。Vim 现在的几位维护者可见:
|
||||
https://github.com/orgs/vim/people
|
||||
如果维护者发生变动,会在合适的地方 (很可能是 vim.sf.net、www.vim.org
|
||||
和/或 comp.editors) 公布,当完全不能与维护者联系时,发送变更的约定自
|
||||
动终止。一旦维护者确认收到了您所做的修改,您就不必再次发送了。
|
||||
|
||||
b) 如果您得到的是一个修改过的 Vim,并且它是在条件 a) 下发布的,那么您可
|
||||
以不加改动地在条件 I) 下发布它;如果您又做了额外的改动,则这些改动受
|
||||
到 a) 款条文的约束。
|
||||
|
||||
c) 在您发布的经过修改的 Vim 的每一份拷贝里,提供所有的变更部分,包括源代
|
||||
码。提供的形式可以采用上下文风格的差异比较记录 (context diff)。您可以
|
||||
为添加的新代码选择许可证,但是这些更改和为其选择的许可证不能限制他人
|
||||
对 Vim 正式版本作出自己的改动。
|
||||
|
||||
d) 在满足以下全部三个条件的前提下,您可以继续发布带有条件 c) 所提及之变
|
||||
更的经过修改的 Vim,而不必在发布时提供更改部分的源代码:
|
||||
- 这些变更所附带的许可证允许您把这些变更无偿地并且没有任何限制地提供
|
||||
给 Vim 的维护者,而且允许 Vim 的维护者无偿地并且没有任何限制地把这
|
||||
些更改加入到 Vim 的正式版本中。
|
||||
- 从您最后一次发布更改的 Vim 之日起,您要保存这些改动至少三年时间。在
|
||||
这期间,维护者或别人 (以任何方式) 向您要求提供这些变更时,您必须提
|
||||
供给他。
|
||||
- 您要在发布版本中清楚地说明如何与您联系,这个联系方式必须保证自最后
|
||||
一次发布相应的经过修改的 Vim 之日起至少三年有效,或尽可能长。
|
||||
e) 当这些变更以 GPL (GNU General Public License,GNU 通用公共许可证) 发
|
||||
布时,您可以在 GPL 版本 2,或更高版本的 GPL 下发布修改过的 Vim。
|
||||
3) 必须添加一条改动的信息。至少要放在 "version" 命令的输出和启动画面里,好
|
||||
让用户知道自己用的是一个修改过的 Vim。当以 2)e) 条件发布时,只有不与变
|
||||
更适用的许可证冲突,这个信息的添加才是必要的。
|
||||
4) 在 2)a) 和 2)d) 条件里要求的联系方式不能随便更改或删除,除非是作者自己
|
||||
作出的更正。
|
||||
|
||||
III) 如果您发布一个更改过的 Vim,强烈建议您对变更部分使用 Vim 的许可证,并且对
|
||||
维护者提供变更部分并开放源代码。最好的方式是通过电子邮件或者把文件放到服
|
||||
务器上,通过电子邮件传送 URL。如果只修改了很少的部分 (例如,只是一个修改
|
||||
过的 Makefile),那么传送一个上下文风格的差异比较记录 (context diff) 就可
|
||||
以了。电子邮件的地址是 <maintainer@vim.org>
|
||||
|
||||
IV) 不允许从 Vim 的源代码的发行版本或其中部分的源代码里删除本许可证,即使来自
|
||||
更改过的版本也是如此。您可能想用这份许可证代替以前版本的 Vim 里的许可证,
|
||||
这可以由您自行决定。
|
||||
139
lang/README.sv.txt
Normal file
139
lang/README.sv.txt
Normal file
@@ -0,0 +1,139 @@
|
||||
README.txt för version 9.1 av Vim: Vi IMproved.
|
||||
|
||||
|
||||
VAD ÄR VIM?
|
||||
|
||||
Vim är en kraftigt förbättrad version av den gamla goda UNIX-editorn Vi. Många nya
|
||||
funktioner har lagts till: ångra på flera nivåer, syntaxmarkering, kommandoradshistorik
|
||||
historik, onlinehjälp, stavningskontroll, filnamns komplettering, blockoperationer,
|
||||
skriptspråk etc. Det finns också ett grafiskt användargränssnitt (GUI) tillgängligt.
|
||||
Vi-kompatibiliteten bibehålls dock, så de som har Vi "i fingrarna" kommer
|
||||
känna sig som hemma. Se "runtime/doc/vi_diff.txt" för skillnader jämfört med Vi.
|
||||
|
||||
Denna editor är mycket användbar för att redigera program och andra vanliga textfiler.
|
||||
Alla kommandon ges med vanliga tangentbordstecken, så de som kan skriva
|
||||
med tio fingrar kan arbeta mycket snabbt. Dessutom kan funktionsknapparna
|
||||
mappas till kommandon av användaren, och musen kan användas.
|
||||
|
||||
Vim syftar också till att tillhandahålla en (mestadels) POSIX-kompatibel vi-implementering när
|
||||
kompileras med en minimal uppsättning funktioner (vanligtvis kallad vim.tiny), som används
|
||||
av många Linux-distributioner som standardvi-redigerare.
|
||||
|
||||
Vim körs under MS-Windows (7, 8, 10, 11), macOS, Haiku, VMS och nästan alla
|
||||
varianter av UNIX. Det bör inte vara särskilt svårt att porta till andra system.
|
||||
Äldre versioner av Vim körs på MS-DOS, MS-Windows 95/98/Me/NT/2000/XP/Vista,
|
||||
Amiga DOS, Atari MiNT, BeOS, RISC OS och OS/2. Dessa underhålls inte längre.
|
||||
|
||||
|
||||
DISTRIBUTION
|
||||
|
||||
Du kan ofta använda din favoritpakethanterare för att installera Vim. På Mac och
|
||||
Linux är en liten version av Vim förinstallerad, men du behöver ändå installera Vim
|
||||
om du vill ha fler funktioner.
|
||||
|
||||
Det finns separata distributioner för Unix, PC, Amiga och vissa andra system.
|
||||
Denna README.txt-fil medföljer runtime-arkivet. Den innehåller
|
||||
dokumentation, syntaxfiler och andra filer som används vid körning. För att köra
|
||||
Vim måste du skaffa antingen ett av binärarkiven eller ett källarkiv.
|
||||
Vilket du behöver beror på vilket system du vill köra det på och om du
|
||||
vill eller måste kompilera det själv. Se "https://www.vim.org/download.php" för
|
||||
en översikt över de distributioner som för närvarande finns tillgängliga.
|
||||
|
||||
Några populära ställen att hämta den senaste versionen av Vim:
|
||||
* Kolla in git-arkivet från github: https://github.com/vim/vim.
|
||||
* Hämta källkoden som ett arkiv: https://github.com/vim/vim/tags.
|
||||
* Hämta en Windows-körbar fil från vim-win32-installer-arkivet:
|
||||
https://github.com/vim/vim-win32-installer/releases.
|
||||
|
||||
|
||||
KOMPILERING
|
||||
|
||||
Om du har skaffat en binär distribution behöver du inte kompilera Vim. Om du
|
||||
har skaffat en källkodsdistribution finns allt du behöver för att kompilera Vim i
|
||||
katalogen "src". Se src/INSTALL för instruktioner.
|
||||
|
||||
|
||||
INSTALLATION
|
||||
|
||||
Se någon av dessa filer för systemspecifika instruktioner. Antingen i
|
||||
READMEdir-katalogen (i arkivet) eller i toppkatalogen (om du packar upp en
|
||||
arkiv):
|
||||
|
||||
README_ami.txt Amiga
|
||||
README_unix.txt Unix
|
||||
README_dos.txt MS-DOS och MS-Windows
|
||||
README_mac.txt Macintosh
|
||||
README_haiku.txt Haiku
|
||||
README_vms.txt VMS
|
||||
|
||||
Det finns andra README_*.txt-filer, beroende på vilken distribution du använde.
|
||||
|
||||
|
||||
DOKUMENTATION
|
||||
|
||||
Vim-tutorn är en timmes lång utbildningskurs för nybörjare. Ofta kan den
|
||||
startas som "vimtutor". Se ":help tutor" för mer information.
|
||||
|
||||
Det bästa är att använda ":help" i Vim. Om du ännu inte har en körbar fil, läs
|
||||
"runtime/doc/help.txt". Den innehåller hänvisningar till andra dokumentationsfiler.
|
||||
Användarhandboken läses som en bok och rekommenderas för att lära sig använda Vim. Se
|
||||
":help user-manual".
|
||||
|
||||
|
||||
KOPIERING
|
||||
|
||||
Vim är Charityware. Du kan använda och kopiera det så mycket du vill, men du
|
||||
uppmuntras att göra en donation för att hjälpa föräldralösa barn i Uganda. Läs filen
|
||||
"runtime/doc/uganda.txt" för mer information (skriv ":help uganda" i Vim).
|
||||
|
||||
Sammanfattning av licensen: Det finns inga begränsningar för användning eller distribution av en
|
||||
oförändrad kopia av Vim. Delar av Vim får också distribueras, men licenstexten
|
||||
texten måste alltid inkluderas. För modifierade versioner gäller några begränsningar.
|
||||
Licensen är GPL-kompatibel, du kan kompilera Vim med GPL-bibliotek och
|
||||
distribuera det.
|
||||
|
||||
|
||||
SPONSRING
|
||||
|
||||
Att fixa buggar och lägga till nya funktioner tar mycket tid och ansträngning. För att visa
|
||||
din uppskattning för arbetet och motivera utvecklarna att fortsätta arbeta med
|
||||
Vim, skicka gärna en donation.
|
||||
|
||||
Pengarna du donerar kommer huvudsakligen att användas för att hjälpa barn i Uganda. Se
|
||||
"runtime/doc/uganda.txt". Men samtidigt ökar donationerna
|
||||
utvecklingsteamets motivation att fortsätta arbeta med Vim!
|
||||
|
||||
För den senaste informationen om sponsring, se Vims webbplats:
|
||||
https://www.vim.org/sponsor/
|
||||
|
||||
|
||||
BIDRA
|
||||
|
||||
Om du vill hjälpa till att förbättra Vim, se filen CONTRIBUTING.md.
|
||||
|
||||
|
||||
INFORMATION
|
||||
|
||||
Om du använder macOS kan du använda MacVim: https://macvim.org
|
||||
|
||||
De senaste nyheterna om Vim finns på Vims hemsida:
|
||||
https://www.vim.org/
|
||||
|
||||
Om du har problem, ta en titt på Vims dokumentation eller tips:
|
||||
https://www.vim.org/docs.php
|
||||
https://vim.fandom.com/wiki/Vim_Tips_Wiki
|
||||
|
||||
Om du fortfarande har problem eller andra frågor, använd någon av mailinglistorna
|
||||
för att diskutera dem med Vim-användare och utvecklare:
|
||||
https://www.vim.org/maillist.php
|
||||
|
||||
Om inget annat fungerar, rapportera buggar direkt till vim-dev-maillistan:
|
||||
<vim-dev@vim.org>
|
||||
|
||||
|
||||
HUVUDFÖRFATTARE
|
||||
|
||||
Det mesta av Vim har skapats av Bram Moolenaar <Bram@vim.org>, ":help Bram-Moolenaar"
|
||||
|
||||
Skicka övriga kommentarer, patchar, blommor och förslag till vim-dev
|
||||
: <vim-dev@vim.org>
|
||||
122
lang/README.zh_cn.txt
Normal file
122
lang/README.zh_cn.txt
Normal file
@@ -0,0 +1,122 @@
|
||||
Vim: Vi IMproved 9.1 版本的 README.txt 文件
|
||||
|
||||
|
||||
什 么 是 VIM ?
|
||||
|
||||
Vim 是经典 UNIX 编辑器 Vi 的一个极大改进版本。它新增了许多功能:多级撤销、语法高
|
||||
亮、命令行历史、在线帮助、拼写检查、文件名补全、块操作、脚本语言等。同时也提供了
|
||||
图形用户界面(GUI)。尽管如此,Vi 兼容性依然得以保留,习惯使用 Vi 的用户操作时仍
|
||||
会感到得心应手。与 Vi 的差异请参阅 "runtime/doc/vi_diff.txt"。
|
||||
|
||||
此编辑器对于编辑代码和其他纯文本文件非常有用。所有命令都通过常规键盘字符输入,因
|
||||
此熟练盲打的用户能够高效工作。此外,用户可以将功能键映射到命令,并且可以使用鼠标。
|
||||
|
||||
Vim 也致力于提供一个(基本)符合 POSIX 标准的 vi 实现。当它以最小功能集(通常称
|
||||
为 vim.tiny)编译时,被许多 Linux 发行版用作默认的 vi 编辑器。
|
||||
|
||||
Vim 可在 MS-Windows (7, 8, 10, 11)、macOS、Haiku、VMS 以及几乎所有 UNIX 变体上运
|
||||
行。移植到其他系统应该不太困难。旧版本的 Vim 曾在 Amiga DOS、Atari MiNT、BeOS、
|
||||
MS-DOS、MS-Windows 95/98/Me/NT/2000/XP/Vista、RISC OS 和 OS/2 上运行。这些版本的
|
||||
维护现已终止。
|
||||
|
||||
|
||||
获 取 途 径
|
||||
|
||||
通常你可以使用你喜欢的软件包管理器来安装 Vim。在 Mac 和 Linux 上,会预装一个简化
|
||||
版的 Vim,如果你需要更多功能,仍需要安装完整的 Vim。
|
||||
|
||||
有针对 Unix、PC、Amiga 和其他一些系统的独立发行版。本 README.txt 文件随运行时存
|
||||
档一起提供。该存档包含文档、语法文件以及其他运行时使用的文件。要运行 Vim,你必须
|
||||
获取二进制存档或源代码存档之一。您需要哪一种取决于您想要运行 Vim 的系统以及您是
|
||||
否希望或必须自行编译。请查阅 "https://www.vim.org/download.php" 以了解当前可用的
|
||||
发行版概览。
|
||||
|
||||
获取最新版 Vim 的常见方式:
|
||||
* 从 github 检出 git 仓库:https://github.com/vim/vim。
|
||||
* 以存档形式获取源代码:https://github.com/vim/vim/tags。
|
||||
* 从 vim-win32-installer 仓库获取 Windows 可执行文件:
|
||||
https://github.com/vim/vim-win32-installer/releases。
|
||||
|
||||
|
||||
编 译
|
||||
|
||||
如果你获得的是二进制发行版,则无需编译 Vim。如果你获得的是源代码发行版,编译 Vim
|
||||
所需的所有内容都在 "src" 目录中。请参阅 src/INSTALL 文件中的说明。
|
||||
|
||||
|
||||
安 装
|
||||
|
||||
请查阅以下文件之一以获取系统特定的安装说明。这些文件位于仓库中的 READMEdir 目录,
|
||||
或者在你解压缩存档后的顶级目录中:
|
||||
|
||||
README_ami.txt Amiga
|
||||
README_unix.txt Unix
|
||||
README_dos.txt MS-DOS 和 MS-Windows
|
||||
README_mac.txt Macintosh
|
||||
README_haiku.txt Haiku
|
||||
README_vms.txt VMS
|
||||
|
||||
根据你使用的发行版,可能还有其他 README_*.txt 文件。
|
||||
|
||||
|
||||
文 档
|
||||
|
||||
Vim tutor 是为初学者设计的一小时培训课程。通常可以通过 "vimtutor" 命令启动。更多
|
||||
信息请参阅 ":help tutor"。
|
||||
|
||||
最佳方式是在 Vim 中使用 ":help" 命令。如果您尚未安装可执行文件,请阅读
|
||||
"runtime/doc/help.txt"。该文件包含指向其他文档文件的指引。用户手册采用书籍体例编
|
||||
排,是学习使用 Vim 的推荐资料。具体请参阅 ":help user-manual"。
|
||||
|
||||
|
||||
复 制 与 版 权
|
||||
|
||||
Vim 是慈善软件。您可以尽情使用和复制它,但鼓励您捐款以帮助乌干达的孤儿。请阅读
|
||||
"runtime/doc/uganda.txt" 文件了解详情(在 Vim 中执行 ":help uganda")。
|
||||
|
||||
许可摘要:对于未经修改的 Vim 副本,其使用或分发不受任何限制。Vim 的部分内容亦可
|
||||
分发,但必须始终包含许可文本。对于修改版本,则需遵循若干限制条款。本许可证与 GPL
|
||||
兼容,您可使用 GPL 库编译 Vim 并进行分发。
|
||||
|
||||
|
||||
赞 助
|
||||
|
||||
修复错误与增添新功能均需投入大量时间与精力。为支持开发工作并激励开发者持续完善
|
||||
Vim,敬请通过捐赠表达您的认可。
|
||||
|
||||
您捐赠的资金将主要用于帮助乌干达的儿童。请参阅 "runtime/doc/uganda.txt"。但同时,
|
||||
您的捐赠也将激励开发团队持续投入 Vim 的开发工作。
|
||||
|
||||
关于赞助的最新信息,请查看 Vim 网站:
|
||||
https://www.vim.org/sponsor/
|
||||
|
||||
|
||||
贡 献
|
||||
|
||||
如果您想帮助改进 Vim,请参阅 CONTRIBUTING.md 文件。
|
||||
|
||||
|
||||
信 息 与 支 持
|
||||
|
||||
如果您在 macOS 上,可以使用 MacVim:https://macvim.org
|
||||
|
||||
关于 Vim 的最新消息可以在 Vim 主页上找到:
|
||||
https://www.vim.org/
|
||||
|
||||
如果您遇到问题,请查阅 Vim 文档或使用技巧:
|
||||
https://www.vim.org/docs.php
|
||||
https://vim.fandom.com/wiki/Vim_Tips_Wiki
|
||||
|
||||
如果您仍有问题或其他疑问,请使用其中一个邮件列表与 Vim 用户和开发者讨论:
|
||||
https://www.vim.org/maillist.php
|
||||
|
||||
如果其他方法都无效,请直接将错误报告发送到 vim-dev 邮件列表:
|
||||
<vim-dev@vim.org>
|
||||
|
||||
|
||||
主 要 作 者
|
||||
|
||||
Vim 主要由 Bram Moolenaar <Bram@vim.org> 创建,可通过 ":help Bram-Moolenaar" 命
|
||||
令了解更多信息。
|
||||
|
||||
请将任何其他评论、补丁、鲜花和建议发送到 vim-dev 邮件列表:<vim-dev@vim.org>
|
||||
@@ -35,7 +35,7 @@ Preparatory stage
|
||||
and for the 64-bit version — "winpty.dll" from x64/bin to "winpty64.dll".
|
||||
Put the renamed file and "winpty-agent.exe" in "../.." (above the "vim91"
|
||||
directory). However, you can specify a different directory by specifying
|
||||
the appropriate makefile value. How to do this is described below.
|
||||
the appropriate makefile value. How to do this is described below.
|
||||
|
||||
6. To use stronger encryption, add the Sodium library. You can get it here:
|
||||
https://github.com/jedisct1/libsodium/releases/download/1.0.19-RELEASE/libsodium-1.0.19-msvc.zip
|
||||
@@ -64,7 +64,7 @@ Preparatory stage
|
||||
|
||||
The default <GETTEXT directory> is "../..". However, you can specify a
|
||||
different directory by specifying the appropriate makefile value. How to do
|
||||
this is described below.
|
||||
this is described below.
|
||||
|
||||
8. Install NSIS if you didn't do that already.
|
||||
Download Unicode version the ShellExecAsUser plug-in for NSIS from:
|
||||
@@ -80,7 +80,7 @@ Installer assembly stage
|
||||
After the installer is created and you copy it to the desired location, run
|
||||
the following command in the "/nsis" directory
|
||||
nmake.exe -lf Make_mvc.mak clean
|
||||
|
||||
|
||||
On UNIX-like systems, go to the "/nsis" directory and type the command
|
||||
make -f Makefile [variables] all
|
||||
|
||||
|
||||
@@ -240,6 +240,7 @@ Page custom SetCustom ValidateCustom
|
||||
!include "lang\russian.nsi"
|
||||
!include "lang\serbian.nsi"
|
||||
!include "lang\simpchinese.nsi"
|
||||
!include "lang\swedish.nsi"
|
||||
!include "lang\tradchinese.nsi"
|
||||
!include "lang\turkish.nsi"
|
||||
!endif
|
||||
|
||||
@@ -32,14 +32,14 @@ LangString ^InstallBtn ${LANG_JAPANESE} \
|
||||
##############################################################################
|
||||
|
||||
LicenseLangString page_lic_file 0 "..\lang\LICENSE.nsis.txt"
|
||||
#LicenseLangString page_lic_file ${LANG_JAPANESE} "..\lang\LICENSE.ja.nsis.txt"
|
||||
#LicenseLangString page_lic_file ${LANG_JAPANESE} "..\lang\LICENSE.ja.txt"
|
||||
|
||||
##############################################################################
|
||||
# Translated README.txt file, which is opened after installation {{{1
|
||||
##############################################################################
|
||||
|
||||
LangString vim_readme_file 0 "README.txt"
|
||||
#LangString vim_readme_file ${LANG_JAPANESE} "README.ja.txt"
|
||||
#LangString vim_readme_file ${LANG_JAPANESE} "README.jax.txt"
|
||||
|
||||
##############################################################################
|
||||
# MUI Configuration Strings {{{1
|
||||
|
||||
@@ -22,16 +22,14 @@ LangString ^UninstallCaption ${LANG_SIMPCHINESE} \
|
||||
# Translated license file for the license page {{{1
|
||||
##############################################################################
|
||||
|
||||
LicenseLangString page_lic_file 0 "..\lang\LICENSE.nsis.txt"
|
||||
#LicenseLangString page_lic_file ${LANG_SIMPCHINESE} \
|
||||
# "..\lang\LICENSE.zh_cn.nsis.txt"
|
||||
LicenseLangString page_lic_file ${LANG_SIMPCHINESE} \
|
||||
"..\lang\LICENSE.zh_cn.nsis.txt"
|
||||
|
||||
##############################################################################
|
||||
# Translated README.txt file, which is opened after installation {{{1
|
||||
##############################################################################
|
||||
|
||||
LangString vim_readme_file 0 "README.txt"
|
||||
#LangString vim_readme_file ${LANG_SIMPCHINESE} "README.zh_cn.txt"
|
||||
LangString vim_readme_file ${LANG_SIMPCHINESE} "README.zh_cn.txt"
|
||||
|
||||
##############################################################################
|
||||
# MUI Configuration Strings {{{1
|
||||
|
||||
288
nsis/lang/swedish.nsi
Normal file
288
nsis/lang/swedish.nsi
Normal file
@@ -0,0 +1,288 @@
|
||||
# vi:set ts=8 sts=4 sw=4 et fdm=marker:
|
||||
#
|
||||
# swedish.nsi: Svenska strängar för gvim NSIS-installationsprogram.
|
||||
#
|
||||
# Lokalisering-ID : 1053
|
||||
# Lokalt namn : sv
|
||||
# filkodning : UTF-8
|
||||
# Översättare : Daniel Nylander
|
||||
|
||||
!insertmacro MUI_LANGUAGE "Swedish"
|
||||
|
||||
|
||||
# Skriv över standardöversättningen.
|
||||
# Dessa strängar ska alltid vara på engelska. Annars misslyckas dosinst.c.
|
||||
LangString ^SetupCaption ${LANG_SWEDISH} \
|
||||
"$(^Name) Setup"
|
||||
LangString ^UninstallCaption ${LANG_SWEDISH} \
|
||||
"$(^Name) Uninstall"
|
||||
|
||||
##############################################################################
|
||||
# Licensfil för licenssidan {{{1
|
||||
##############################################################################
|
||||
|
||||
LicenseLangString page_lic_file ${LANG_SWEDISH} "..\lang\LICENSE.sv.nsis.txt"
|
||||
|
||||
##############################################################################
|
||||
# README.txt-fil, som öppnas efter installationen {{{1
|
||||
##############################################################################
|
||||
|
||||
LangString vim_readme_file ${LANG_SWEDISH} "README.sv.txt"
|
||||
|
||||
##############################################################################
|
||||
# MUI-konfigurationssträngar {{{1
|
||||
##############################################################################
|
||||
|
||||
#LangString str_dest_folder ${LANG_SWEDISH} \
|
||||
# "Målmapp (måste sluta med $\"vim$\")"
|
||||
|
||||
LangString str_show_readme ${LANG_SWEDISH} \
|
||||
"Visa README efter avslutad installation"
|
||||
|
||||
# Installationstyper:
|
||||
LangString str_type_typical ${LANG_SWEDISH} \
|
||||
"Typisk"
|
||||
|
||||
LangString str_type_minimal ${LANG_SWEDISH} \
|
||||
"Minimal"
|
||||
|
||||
LangString str_type_full ${LANG_SWEDISH} \
|
||||
"Fullständig"
|
||||
|
||||
|
||||
##############################################################################
|
||||
# Avsnittstitlar och beskrivning {{{1
|
||||
##############################################################################
|
||||
|
||||
LangString str_section_old_ver ${LANG_SWEDISH} \
|
||||
"Avinstallera befintliga versioner"
|
||||
LangString str_desc_old_ver ${LANG_SWEDISH} \
|
||||
"Avinstallera befintliga Vim-versioner från ditt system."
|
||||
|
||||
LangString str_section_exe ${LANG_SWEDISH} \
|
||||
"Vim GUI och runtime-filer"
|
||||
LangString str_desc_exe ${LANG_SWEDISH} \
|
||||
"Vim GUI-körbara filer och runtime-filer. Denna komponent krävs."
|
||||
|
||||
LangString str_section_console ${LANG_SWEDISH} \
|
||||
"Vim-konsolprogram"
|
||||
LangString str_desc_console ${LANG_SWEDISH} \
|
||||
"Konsolversion av Vim (vim.exe)."
|
||||
|
||||
LangString str_section_batch ${LANG_SWEDISH} \
|
||||
"Skapa .bat-filer"
|
||||
LangString str_desc_batch ${LANG_SWEDISH} \
|
||||
"Skapa .bat-filer för Vim-varianter i Windows-katalogen för \
|
||||
kommandoradsanvändning."
|
||||
|
||||
LangString str_group_icons ${LANG_SWEDISH} \
|
||||
"Skapa ikoner för Vim"
|
||||
LangString str_desc_icons ${LANG_SWEDISH} \
|
||||
"Skapa ikoner för Vim på olika platser för att underlätta åtkomsten."
|
||||
|
||||
LangString str_section_desktop ${LANG_SWEDISH} \
|
||||
"På skrivbordet"
|
||||
LangString str_desc_desktop ${LANG_SWEDISH} \
|
||||
"Skapa ikoner för gVim-körbara filer på skrivbordet."
|
||||
|
||||
LangString str_section_start_menu ${LANG_SWEDISH} \
|
||||
"I startmenyns programmapp"
|
||||
LangString str_desc_start_menu ${LANG_SWEDISH} \
|
||||
"Lägg till Vim i programmappen i startmenyn."
|
||||
|
||||
#LangString str_section_quick_launch ${LANG_SWEDISH} \
|
||||
# "I snabbstartfältet"
|
||||
#LangString str_desc_quick_launch ${LANG_SWEDISH} \
|
||||
# "Lägg till Vim-genväg i snabbstartfältet."
|
||||
|
||||
LangString str_section_edit_with ${LANG_SWEDISH} \
|
||||
"Lägg till Vim-kontextmeny"
|
||||
LangString str_desc_edit_with ${LANG_SWEDISH} \
|
||||
"Lägg till Vim i listan över snabbmenyn $\"Öppna med...$\"."
|
||||
|
||||
#LangString str_section_edit_with32 ${LANG_SWEDISH} \
|
||||
# "32-bitarsversion"
|
||||
#LangString str_desc_edit_with32 ${LANG_SWEDISH} \
|
||||
# "Lägg till Vim i listan över snabbmenyn $\"Öppna med...$\" \
|
||||
# för 32-bitarsprogram."
|
||||
|
||||
#LangString str_section_edit_with64 ${LANG_SWEDISH} \
|
||||
# "64-bitarsversion"
|
||||
#LangString str_desc_edit_with64 ${LANG_SWEDISH} \
|
||||
# "Lägg till Vim i listan över kontextmenyn $\"Öppna med...$\" \
|
||||
# för 64-bitarsprogram."
|
||||
|
||||
LangString str_section_vim_rc ${LANG_SWEDISH} \
|
||||
"Skapa standardkonfiguration"
|
||||
LangString str_desc_vim_rc ${LANG_SWEDISH} \
|
||||
"Skapa en standardkonfigurationsfil (_vimrc) om det inte redan finns en."
|
||||
|
||||
LangString str_group_plugin ${LANG_SWEDISH} \
|
||||
"Skapa plugin-kataloger"
|
||||
LangString str_desc_plugin ${LANG_SWEDISH} \
|
||||
"Skapa plugin-kataloger. Plugin-kataloger gör det möjligt att utöka Vim \
|
||||
genom att släppa en fil i en katalog."
|
||||
|
||||
LangString str_section_plugin_home ${LANG_SWEDISH} \
|
||||
"Privat"
|
||||
LangString str_desc_plugin_home ${LANG_SWEDISH} \
|
||||
"Skapa plugin-kataloger i HOME-katalogen."
|
||||
|
||||
LangString str_section_plugin_vim ${LANG_SWEDISH} \
|
||||
"Delad"
|
||||
LangString str_desc_plugin_vim ${LANG_SWEDISH} \
|
||||
"Skapa plugin-kataloger i Vim-installationskatalogen, den används för \
|
||||
alla på systemet."
|
||||
|
||||
LangString str_section_nls ${LANG_SWEDISH} \
|
||||
"Stöd för modersmål"
|
||||
LangString str_desc_nls ${LANG_SWEDISH} \
|
||||
"Installera filer för stöd för modersmål."
|
||||
|
||||
LangString str_unsection_register ${LANG_SWEDISH} \
|
||||
"Avregistrera Vim"
|
||||
LangString str_desc_unregister ${LANG_SWEDISH} \
|
||||
"Avregistrera Vim från systemet."
|
||||
|
||||
LangString str_unsection_exe ${LANG_SWEDISH} \
|
||||
"Ta bort Vim-körbara filer/körningsfiler"
|
||||
LangString str_desc_rm_exe ${LANG_SWEDISH} \
|
||||
"Ta bort alla Vim-körbara filer och runtime-filer."
|
||||
|
||||
LangString str_ungroup_plugin ${LANG_SWEDISH} \
|
||||
"Ta bort plugin-kataloger"
|
||||
LangString str_desc_rm_plugin ${LANG_SWEDISH} \
|
||||
"Ta bort plugin-katalogerna om de är tomma."
|
||||
|
||||
LangString str_unsection_plugin_home ${LANG_SWEDISH} \
|
||||
"Privat"
|
||||
LangString str_desc_rm_plugin_home ${LANG_SWEDISH} \
|
||||
"Ta bort plugin-katalogerna från HOME-katalogen."
|
||||
|
||||
LangString str_unsection_plugin_vim ${LANG_SWEDISH} \
|
||||
"Delad"
|
||||
LangString str_desc_rm_plugin_vim ${LANG_SWEDISH} \
|
||||
"Ta bort plugin-katalogerna från Vim-installationskatalogen."
|
||||
|
||||
LangString str_unsection_rootdir ${LANG_SWEDISH} \
|
||||
"Ta bort Vim-rotkatalogen"
|
||||
LangString str_desc_rm_rootdir ${LANG_SWEDISH} \
|
||||
"Ta bort Vim-rotkatalogen. Den innehåller dina Vim-konfigurationsfiler!"
|
||||
|
||||
|
||||
##############################################################################
|
||||
# Meddelanden {{{1
|
||||
##############################################################################
|
||||
|
||||
#LangString str_msg_too_many_ver ${LANG_SWEDISH} \
|
||||
# "Hittade $vim_old_ver_count Vim-versioner på ditt system.$\r$\n\
|
||||
# Denna installationsprogram kan endast hantera ${VIM_MAX_OLD_VER} versioner \
|
||||
# .$\r$\n\
|
||||
# Ta bort några versioner och börja om."
|
||||
|
||||
#LangString str_msg_invalid_root ${LANG_SWEDISH} \
|
||||
# "Ogiltig installationsväg: $vim_install_root!$\r$\n\
|
||||
# Den ska sluta med $\"vim$\"."
|
||||
|
||||
#LangString str_msg_bin_mismatch ${LANG_SWEDISH} \
|
||||
# "Binär sökväg stämmer inte!$\r$\n$\r$\n\
|
||||
# Förväntar mig att binärvägen är $\"$vim_bin_path$\",$\r$\n\
|
||||
# men systemet anger att binärvägen är $\"$INSTDIR$\"."
|
||||
|
||||
#LangString str_msg_vim_running ${LANG_SWEDISH} \
|
||||
# "Vim körs fortfarande på ditt system.$\r$\n\
|
||||
# Stäng alla instanser av Vim innan du fortsätter."
|
||||
|
||||
#LangString str_msg_register_ole ${LANG_SWEDISH} \
|
||||
# "Försöker registrera Vim med OLE. \
|
||||
# Det finns inget meddelande som anger om detta fungerar eller inte."
|
||||
|
||||
#LangString str_msg_unreg_ole ${LANG_SWEDISH} \
|
||||
# "Försöker avregistrera Vim från OLE. \
|
||||
# Det finns inget meddelande som anger om detta fungerar eller inte."
|
||||
|
||||
#LangString str_msg_rm_start ${LANG_SWEDISH} \
|
||||
# "Avinstallera följande version:"
|
||||
|
||||
#LangString str_msg_rm_fail ${LANG_SWEDISH} \
|
||||
# "Det gick inte att avinstallera följande version:"
|
||||
|
||||
#LangString str_msg_no_rm_key ${LANG_SWEDISH} \
|
||||
# "Kan inte hitta avinstallationsnyckeln i registret."
|
||||
|
||||
#LangString str_msg_no_rm_reg ${LANG_SWEDISH} \
|
||||
# "Kan inte hitta avinstallationsprogrammet i registret."
|
||||
|
||||
#LangString str_msg_no_rm_exe ${LANG_SWEDISH} \
|
||||
# "Kan inte komma åt avinstallationsprogrammet."
|
||||
|
||||
#LangString str_msg_rm_copy_fail ${LANG_SWEDISH} \
|
||||
# "Det gick inte att kopiera avinstallationsprogrammet till den tillfälliga katalogen."
|
||||
|
||||
#LangString str_msg_rm_run_fail ${LANG_SWEDISH} \
|
||||
# "Det gick inte att köra avinstallationsprogrammet."
|
||||
|
||||
#LangString str_msg_abort_install ${LANG_SWEDISH} \
|
||||
# "Installationsprogrammet avbryts."
|
||||
|
||||
LangString str_msg_install_fail ${LANG_SWEDISH} \
|
||||
"Installationen misslyckades. Bättre lycka nästa gång."
|
||||
|
||||
LangString str_msg_rm_exe_fail ${LANG_SWEDISH} \
|
||||
"Vissa filer i $0 har inte raderats!$\r$\n\
|
||||
Du måste göra det manuellt."
|
||||
|
||||
#LangString str_msg_rm_root_fail ${LANG_SWEDISH} \
|
||||
# "VARNING: Kan inte ta bort $\"$vim_install_root$\", den är inte tom!"
|
||||
|
||||
LangString str_msg_uninstalling ${LANG_SWEDISH} \
|
||||
"Avinstallerar den gamla versionen..."
|
||||
|
||||
LangString str_msg_registering ${LANG_SWEDISH} \
|
||||
"Registrerar..."
|
||||
|
||||
LangString str_msg_unregistering ${LANG_SWEDISH} \
|
||||
"Avregistrerar..."
|
||||
|
||||
|
||||
##############################################################################
|
||||
# Dialogruta {{{1
|
||||
##############################################################################
|
||||
|
||||
LangString str_vimrc_page_title ${LANG_SWEDISH} \
|
||||
"Välj _vimrc-inställningar"
|
||||
LangString str_vimrc_page_subtitle ${LANG_SWEDISH} \
|
||||
"Välj inställningar för förbättringar, tangentbord och mus."
|
||||
|
||||
LangString str_msg_compat_title ${LANG_SWEDISH} \
|
||||
" Vi / Vim-beteende "
|
||||
LangString str_msg_compat_desc ${LANG_SWEDISH} \
|
||||
"&Kompatibilitet och förbättringar"
|
||||
LangString str_msg_compat_vi ${LANG_SWEDISH} \
|
||||
"Vi-kompatibel"
|
||||
LangString str_msg_compat_vim ${LANG_SWEDISH} \
|
||||
"Vim original"
|
||||
LangString str_msg_compat_defaults ${LANG_SWEDISH} \
|
||||
"Vim med vissa förbättringar (ladda defaults.vim)"
|
||||
LangString str_msg_compat_all ${LANG_SWEDISH} \
|
||||
"Vim med alla förbättringar (ladda vimrc_example.vim) (Standard)"
|
||||
|
||||
LangString str_msg_keymap_title ${LANG_SWEDISH} \
|
||||
" Mappningar "
|
||||
LangString str_msg_keymap_desc ${LANG_SWEDISH} \
|
||||
"&Omkonfigurera några tangenter för Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)"
|
||||
LangString str_msg_keymap_default ${LANG_SWEDISH} \
|
||||
"Omkonfigurera inte tangenter (standard)"
|
||||
LangString str_msg_keymap_windows ${LANG_SWEDISH} \
|
||||
"Omkonfigurera några tangenter"
|
||||
|
||||
LangString str_msg_mouse_title ${LANG_SWEDISH} \
|
||||
" Mus "
|
||||
LangString str_msg_mouse_desc ${LANG_SWEDISH} \
|
||||
"&Funktion för höger- och vänsterknapp"
|
||||
LangString str_msg_mouse_default ${LANG_SWEDISH} \
|
||||
"Höger: popup-meny, Vänster: visuellt läge (Standard)"
|
||||
LangString str_msg_mouse_windows ${LANG_SWEDISH} \
|
||||
"Höger: popup-meny, Vänster: välj läge (Windows)"
|
||||
LangString str_msg_mouse_unix ${LANG_SWEDISH} \
|
||||
"Höger: utökar valet, Vänster: visuellt läge (Unix)"
|
||||
@@ -3,13 +3,13 @@ vim9script
|
||||
# Language: ConTeXt typesetting engine
|
||||
# Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
|
||||
# Former Maintainers: Nikolai Weibull <now@bitwi.se>
|
||||
# Latest Revision: 2023 Dec 26
|
||||
# Latest Revision: 2026 Feb 03
|
||||
|
||||
# Typesetting {{{
|
||||
import autoload './typeset.vim'
|
||||
|
||||
export def ConTeXtCmd(path: string): list<string>
|
||||
var cmd = ['mtxrun', '--script', 'context', '--nonstopmode', '--autogenerate']
|
||||
var cmd = ['mtxrun', '--script', 'context', '--paranoid', '--autogenerate']
|
||||
if !empty(get(g:, 'context_extra_options', ''))
|
||||
cmd += g:context_extra_options
|
||||
endif
|
||||
@@ -30,14 +30,21 @@ export def StopJobs()
|
||||
enddef
|
||||
|
||||
export def Log(bufname: string)
|
||||
execute 'edit' typeset.LogPath(bufname)
|
||||
var logpath = typeset.LogPath(bufname)
|
||||
|
||||
if filereadable(logpath)
|
||||
execute 'edit' typeset.LogPath(bufname)
|
||||
return
|
||||
endif
|
||||
|
||||
echomsg $'[ConTeXt] No log file found ({logpath})'
|
||||
enddef
|
||||
# }}}
|
||||
|
||||
# Completion {{{
|
||||
def BinarySearch(base: string, keywords: list<string>): list<string>
|
||||
const pat = '^' .. base
|
||||
const len = len(keywords)
|
||||
var pat = '^' .. base
|
||||
var len = len(keywords)
|
||||
var res = []
|
||||
var lft = 0
|
||||
var rgt = len
|
||||
|
||||
87
runtime/autoload/dist/ft.vim
vendored
87
runtime/autoload/dist/ft.vim
vendored
@@ -3,7 +3,7 @@ vim9script
|
||||
# Vim functions for file type detection
|
||||
#
|
||||
# Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
# Last Change: 2025 Nov 11
|
||||
# Last Change: 2026 Feb 06
|
||||
# Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
# These functions are moved here from runtime/filetype.vim to make startup
|
||||
@@ -29,6 +29,28 @@ export def Check_inp()
|
||||
endif
|
||||
enddef
|
||||
|
||||
# Erlang Application Resource Files (*.app.src is matched by extension)
|
||||
# See: https://erlang.org/doc/system/applications
|
||||
export def FTapp()
|
||||
if exists("g:filetype_app")
|
||||
exe "setf " .. g:filetype_app
|
||||
return
|
||||
endif
|
||||
const pat = '^\s*{\s*application\s*,\s*\(''\=\)' .. expand("%:t:r:r") .. '\1\s*,'
|
||||
var line: string
|
||||
for lnum in range(1, min([line("$"), 100]))
|
||||
line = getline(lnum)
|
||||
# skip Erlang comments, might be something else
|
||||
if line =~ '^\s*%' || line =~ '^\s*$'
|
||||
continue
|
||||
elseif line =~ '^\s*{' &&
|
||||
getline(lnum, lnum + 9)->filter((_, v) => v !~ '^\s*%')->join(' ') =~# pat
|
||||
setf erlang
|
||||
endif
|
||||
return
|
||||
endfor
|
||||
enddef
|
||||
|
||||
# This function checks for the kind of assembly that is wanted by the user, or
|
||||
# can be detected from the beginning of the file.
|
||||
export def FTasm()
|
||||
@@ -76,7 +98,7 @@ export def FTasmsyntax()
|
||||
b:asmsyntax = "masm"
|
||||
return
|
||||
elseif line =~ 'Texas Instruments Incorporated' || (line =~ '^\*' && !is_slash_star_encountered)
|
||||
# tiasm uses `* commment`, but detection is unreliable if '/*' is seen
|
||||
# tiasm uses `* comment`, but detection is unreliable if '/*' is seen
|
||||
b:asmsyntax = "tiasm"
|
||||
return
|
||||
elseif ((line =~? '\.title\>\|\.ident\>\|\.macro\>\|\.subtitle\>\|\.library\>'))
|
||||
@@ -451,12 +473,19 @@ def IsHareModule(dir: string, depth: number): bool
|
||||
endif
|
||||
|
||||
# Check all files in the directory before recursing into subdirectories.
|
||||
return glob(dir .. '/*', true, true)
|
||||
const items = glob(dir .. '/*', true, true)
|
||||
->sort((a, b) => isdirectory(a) - isdirectory(b))
|
||||
->reduce((acc, n) => acc
|
||||
|| n =~ '\.ha$'
|
||||
|| isdirectory(n) && IsHareModule(n, depth - 1),
|
||||
false)
|
||||
for n in items
|
||||
if isdirectory(n)
|
||||
if IsHareModule(n, depth - 1)
|
||||
return true
|
||||
endif
|
||||
elseif n =~ '\.ha$'
|
||||
return true
|
||||
endif
|
||||
endfor
|
||||
|
||||
return false
|
||||
enddef
|
||||
|
||||
# Determines whether a README file is inside a Hare module and should receive
|
||||
@@ -1484,7 +1513,7 @@ export def FTdsp()
|
||||
|
||||
# Test the file contents
|
||||
for line in getline(1, 200)
|
||||
# Chech for comment style
|
||||
# Check for comment style
|
||||
if line =~ '^#.*'
|
||||
setf make
|
||||
return
|
||||
@@ -1724,7 +1753,7 @@ const ft_from_ext = {
|
||||
"bst": "bst",
|
||||
# Bicep
|
||||
"bicep": "bicep",
|
||||
"bicepparam": "bicep",
|
||||
"bicepparam": "bicep-params",
|
||||
# BIND zone
|
||||
"zone": "bindzone",
|
||||
# Blank
|
||||
@@ -1736,6 +1765,8 @@ const ft_from_ext = {
|
||||
# BSDL
|
||||
"bsd": "bsdl",
|
||||
"bsdl": "bsdl",
|
||||
# Bpftrace
|
||||
"bt": "bpftrace",
|
||||
# C3
|
||||
"c3": "c3",
|
||||
"c3i": "c3",
|
||||
@@ -1852,6 +1883,9 @@ const ft_from_ext = {
|
||||
"elv": "elvish",
|
||||
# Faust
|
||||
"lib": "faust",
|
||||
# Fennel
|
||||
"fnl": "fennel",
|
||||
"fnlm": "fennel",
|
||||
# Libreoffice config files
|
||||
"xcu": "xml",
|
||||
"xlb": "xml",
|
||||
@@ -1890,6 +1924,9 @@ const ft_from_ext = {
|
||||
# Diff files
|
||||
"diff": "diff",
|
||||
"rej": "diff",
|
||||
# Djot
|
||||
"dj": "djot",
|
||||
"djot": "djot",
|
||||
# DOT
|
||||
"dot": "dot",
|
||||
"gv": "dot",
|
||||
@@ -1952,6 +1989,8 @@ const ft_from_ext = {
|
||||
"fish": "fish",
|
||||
# Flix
|
||||
"flix": "flix",
|
||||
# Fluent
|
||||
"ftl": "fluent",
|
||||
# Focus Executable
|
||||
"fex": "focexec",
|
||||
"focexec": "focexec",
|
||||
@@ -2094,6 +2133,8 @@ const ft_from_ext = {
|
||||
"tmpl": "template",
|
||||
# Hurl
|
||||
"hurl": "hurl",
|
||||
# Hylo
|
||||
"hylo": "hylo",
|
||||
# Hyper Builder
|
||||
"hb": "hb",
|
||||
# Httest
|
||||
@@ -2203,6 +2244,10 @@ const ft_from_ext = {
|
||||
"k": "kwt",
|
||||
# Kivy
|
||||
"kv": "kivy",
|
||||
# Koka
|
||||
"kk": "koka",
|
||||
# Kos
|
||||
"kos": "kos",
|
||||
# Kotlin
|
||||
"kt": "kotlin",
|
||||
"ktm": "kotlin",
|
||||
@@ -2226,6 +2271,8 @@ const ft_from_ext = {
|
||||
"ldg": "ledger",
|
||||
"ledger": "ledger",
|
||||
"journal": "ledger",
|
||||
# Leex
|
||||
"xrl": "leex",
|
||||
# Leo
|
||||
"leo": "leo",
|
||||
# Less
|
||||
@@ -2333,6 +2380,11 @@ const ft_from_ext = {
|
||||
# N1QL
|
||||
"n1ql": "n1ql",
|
||||
"nql": "n1ql",
|
||||
# NetLinx
|
||||
"axs": "netlinx",
|
||||
"axi": "netlinx",
|
||||
# Nickel
|
||||
"ncl": "nickel",
|
||||
# Nim file
|
||||
"nim": "nim",
|
||||
"nims": "nim",
|
||||
@@ -2345,6 +2397,8 @@ const ft_from_ext = {
|
||||
"norg": "norg",
|
||||
# Novell netware batch files
|
||||
"ncf": "ncf",
|
||||
# N-Quads
|
||||
"nq": "nq",
|
||||
# Not Quite C
|
||||
"nqc": "nqc",
|
||||
# NSE - Nmap Script Engine - uses Lua syntax
|
||||
@@ -2705,6 +2759,7 @@ const ft_from_ext = {
|
||||
"nut": "squirrel",
|
||||
# Starlark
|
||||
"ipd": "starlark",
|
||||
"sky": "starlark",
|
||||
"star": "starlark",
|
||||
"starlark": "starlark",
|
||||
# OpenVPN configuration
|
||||
@@ -2782,6 +2837,8 @@ const ft_from_ext = {
|
||||
"txi": "texinfo",
|
||||
# Thrift (Apache)
|
||||
"thrift": "thrift",
|
||||
# Tiger
|
||||
"tig": "tiger",
|
||||
# TLA+
|
||||
"tla": "tla",
|
||||
# TPP - Text Presentation Program
|
||||
@@ -2971,6 +3028,7 @@ const ft_from_ext = {
|
||||
"usd": "usd",
|
||||
# Rofi stylesheet
|
||||
"rasi": "rasi",
|
||||
"rasinc": "rasi",
|
||||
# Zsh module
|
||||
# mdd: https://github.com/zsh-users/zsh/blob/57248b88830ce56adc243a40c7773fb3825cab34/Etc/zsh-development-guide#L285-L288
|
||||
# mdh, pro: https://github.com/zsh-users/zsh/blob/57248b88830ce56adc243a40c7773fb3825cab34/Etc/zsh-development-guide#L268-L271
|
||||
@@ -2985,6 +3043,9 @@ const ft_from_ext = {
|
||||
"blp": "blueprint",
|
||||
# Blueprint build system file
|
||||
"bp": "bp",
|
||||
# Tiltfile
|
||||
"Tiltfile": "tiltfile",
|
||||
"tiltfile": "tiltfile"
|
||||
}
|
||||
# Key: file name (the final path component, excluding the drive and root)
|
||||
# Value: filetype
|
||||
@@ -3071,6 +3132,8 @@ const ft_from_name = {
|
||||
".editorconfig": "editorconfig",
|
||||
# Elinks configuration
|
||||
"elinks.conf": "elinks",
|
||||
# Erlang
|
||||
"rebar.config": "erlang",
|
||||
# Exim
|
||||
"exim.conf": "exim",
|
||||
# Exports
|
||||
@@ -3249,6 +3312,9 @@ const ft_from_name = {
|
||||
# Screen RC
|
||||
".screenrc": "screen",
|
||||
"screenrc": "screen",
|
||||
# skhd (simple hotkey daemon for macOS)
|
||||
".skhdrc": "skhd",
|
||||
"skhdrc": "skhd",
|
||||
# SLRN
|
||||
".slrnrc": "slrnrc",
|
||||
# Squid
|
||||
@@ -3269,6 +3335,9 @@ const ft_from_name = {
|
||||
# TF (TinyFugue) mud client
|
||||
".tfrc": "tf",
|
||||
"tfrc": "tf",
|
||||
# Tilefile
|
||||
"Tiltfile": "tiltfile",
|
||||
"tiltfile": "tiltfile",
|
||||
# Trustees
|
||||
"trustees.conf": "trustees",
|
||||
# Vagrant (uses Ruby syntax)
|
||||
|
||||
6
runtime/autoload/dist/script.vim
vendored
6
runtime/autoload/dist/script.vim
vendored
@@ -4,7 +4,7 @@ vim9script
|
||||
# Invoked from "scripts.vim" in 'runtimepath'
|
||||
#
|
||||
# Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
# Last Change: 2025 Aug 09
|
||||
# Last Change: 2025 Dec 22
|
||||
# Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
export def DetectFiletype()
|
||||
@@ -233,6 +233,10 @@ export def Exe2filetype(name: string, line1: string): string
|
||||
elseif name =~ '^execlineb\>'
|
||||
return 'execline'
|
||||
|
||||
# Bpftrace
|
||||
elseif name =~ '^bpftrace\>'
|
||||
return 'bpftrace'
|
||||
|
||||
# Vim
|
||||
elseif name =~ '^vim\>'
|
||||
return 'vim'
|
||||
|
||||
4
runtime/autoload/dist/vim.vim
vendored
4
runtime/autoload/dist/vim.vim
vendored
@@ -1,9 +1,9 @@
|
||||
" Vim runtime support library,
|
||||
" runs the Vim9 script version or legacy script version
|
||||
" on demand (mostly for Neovim compatability)
|
||||
" on demand (mostly for Neovim compatibility)
|
||||
"
|
||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
" Last Change: 2025 Apr 27
|
||||
" Last Change: 2026 Jan 11
|
||||
|
||||
|
||||
" enable the zip and gzip plugin by default, if not set
|
||||
|
||||
25
runtime/autoload/dist/vim9.vim
vendored
25
runtime/autoload/dist/vim9.vim
vendored
@@ -3,7 +3,7 @@ vim9script
|
||||
# Vim runtime support library
|
||||
#
|
||||
# Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
# Last Change: 2025 Aug 15
|
||||
# Last Change: 2026 Jan 31
|
||||
|
||||
export def IsSafeExecutable(filetype: string, executable: string): bool
|
||||
if empty(exepath(executable))
|
||||
@@ -60,15 +60,18 @@ if has('unix')
|
||||
enddef
|
||||
else
|
||||
export def Launch(args: string)
|
||||
const fork = has('gui_running') ? '' : '&'
|
||||
execute $':silent ! nohup {args} {Redir()} {fork}' | redraw!
|
||||
execute $':silent ! nohup {args} {Redir()} &' | redraw!
|
||||
enddef
|
||||
endif
|
||||
elseif has('win32')
|
||||
export def Launch(args: string)
|
||||
const shell = (&shell =~? '\<cmd\.exe\>') ? '' : 'cmd.exe /c'
|
||||
const quotes = empty(shell) ? '' : '""'
|
||||
execute $'silent ! {shell} start {quotes} /b {args} {Redir()}' | redraw!
|
||||
try
|
||||
execute ':silent !start' args | redraw!
|
||||
catch /^Vim(!):E371:/
|
||||
echohl ErrorMsg
|
||||
echom "dist#vim9#Launch(): can not start" args
|
||||
echohl None
|
||||
endtry
|
||||
enddef
|
||||
else
|
||||
export def Launch(dummy: string)
|
||||
@@ -81,7 +84,10 @@ var os_viewer = null_string
|
||||
if has('win32unix')
|
||||
# (cyg)start suffices
|
||||
os_viewer = ''
|
||||
# Windows / WSL
|
||||
# Windows
|
||||
elseif has('win32')
|
||||
os_viewer = '' # Use :!start
|
||||
# WSL
|
||||
elseif executable('explorer.exe')
|
||||
os_viewer = 'explorer.exe'
|
||||
# Linux / BSD
|
||||
@@ -126,6 +132,11 @@ export def Open(file: string)
|
||||
&shellslash = false
|
||||
defer setbufvar('%', '&shellslash', true)
|
||||
endif
|
||||
if &shell == 'pwsh' || &shell == 'powershell'
|
||||
const shell = &shell
|
||||
setlocal shell&
|
||||
defer setbufvar('%', '&shell', shell)
|
||||
endif
|
||||
Launch($"{Viewer()} {shellescape(file, 1)}")
|
||||
enddef
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
" 2024 Nov 12 by Vim Project: fix problems on Windows (#16036)
|
||||
" 2025 Feb 28 by Vim Project: add support for bzip3 (#16755)
|
||||
" 2025 May 11 by Vim Project: check network connectivity (#17249)
|
||||
" 2025 Dec 21 by Vim Project: make the wget check more robust (#18987)
|
||||
" }}}
|
||||
"
|
||||
" GetLatestVimScripts: 642 1 :AutoInstall: getscript.vim
|
||||
@@ -58,7 +59,10 @@ endif
|
||||
|
||||
" wget vs curl {{{2
|
||||
if !exists("g:GetLatestVimScripts_wget")
|
||||
if executable("wget")
|
||||
if executable("wget.exe")
|
||||
" enforce extension: windows powershell desktop version has a wget alias that hides wget.exe
|
||||
let g:GetLatestVimScripts_wget= "wget.exe"
|
||||
elseif executable("wget")
|
||||
let g:GetLatestVimScripts_wget= "wget"
|
||||
elseif executable("curl.exe")
|
||||
" enforce extension: windows powershell desktop version has a curl alias that hides curl.exe
|
||||
@@ -73,7 +77,7 @@ endif
|
||||
|
||||
" options that wget and curl require:
|
||||
if !exists("g:GetLatestVimScripts_options")
|
||||
if g:GetLatestVimScripts_wget == "wget"
|
||||
if g:GetLatestVimScripts_wget =~ "wget"
|
||||
let g:GetLatestVimScripts_options= "-q -O"
|
||||
elseif g:GetLatestVimScripts_wget =~ "curl"
|
||||
let g:GetLatestVimScripts_options= "-s -o"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
" Language: Ada (GNAT)
|
||||
" $Id: gnat.vim 887 2008-07-08 14:29:01Z krischik $
|
||||
" Copyright: Copyright (C) 2006 Martin Krischik
|
||||
" Maintainer: Martin Krischi <krischik@users.sourceforge.net>k
|
||||
" Maintainer: Martin Krischi <krischik@users.sourceforge.net>
|
||||
" Ned Okie <nokie@radford.edu>
|
||||
" $Author: krischik $
|
||||
" $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
vim9script
|
||||
|
||||
# Helper functions for Hare.
|
||||
# Language: Hare
|
||||
# Maintainer: Amelia Clarke <selene@perilune.dev>
|
||||
# Last Updated: 2025 Sep 06
|
||||
# Upstream: https://git.sr.ht/~sircmpwn/hare.vim
|
||||
# Language: Hare
|
||||
# Maintainer: Amelia Clarke <selene@perilune.dev>
|
||||
# Last Change: 2026 Jan 24
|
||||
# Upstream: https://git.sr.ht/~sircmpwn/hare.vim
|
||||
|
||||
# Returns the value of HAREPATH, if it exists. Otherwise, returns a safe
|
||||
# default.
|
||||
# Returns the value of $HAREPATH, if it exists. Otherwise, returns a safe
|
||||
# default value.
|
||||
export def GetPath(): string
|
||||
var path: list<string>
|
||||
if !empty($HAREPATH)
|
||||
@@ -18,24 +18,7 @@ export def GetPath(): string
|
||||
return '/usr/src/hare/stdlib,/usr/src/hare/third-party'
|
||||
endif
|
||||
endif
|
||||
return mapnew(path, (_, n) => escape(n, ' ,;'))->join(',')
|
||||
enddef
|
||||
|
||||
# Converts a module identifier into a path.
|
||||
export def IncludeExpr(): string
|
||||
var path = trim(v:fname, ':', 2)->substitute('::', '/', 'g')
|
||||
|
||||
# If the module cannot be found, it might be a member instead. Try removing
|
||||
# the final component until a directory is found.
|
||||
while !finddir(path)
|
||||
const head = fnamemodify(path, ':h')
|
||||
if head == '.'
|
||||
break
|
||||
endif
|
||||
path = head
|
||||
endwhile
|
||||
|
||||
return path
|
||||
return map(path, (_, n) => escape(n, ' ,;'))->join(',')
|
||||
enddef
|
||||
|
||||
# Modifies quickfix or location list entries to refer to the correct paths after
|
||||
@@ -61,14 +44,14 @@ export def QuickFixPaths()
|
||||
SetList([], 'r', list)
|
||||
enddef
|
||||
|
||||
# Attempts to parse the directories in $HAREPATH from the output of `hare
|
||||
# version -v`. Otherwise, returns an empty list.
|
||||
# Attempts to parse a list of directories from the output of `hare version -v`.
|
||||
# Otherwise, returns an empty list.
|
||||
def ParsePath(): list<string>
|
||||
if !executable('hare')
|
||||
return []
|
||||
endif
|
||||
|
||||
silent const lines = systemlist('hare version -v')
|
||||
silent final lines = systemlist('hare version -v')
|
||||
const min = match(lines, '^HAREPATH') + 1
|
||||
if min == 0
|
||||
return []
|
||||
@@ -76,7 +59,7 @@ def ParsePath(): list<string>
|
||||
|
||||
const max = match(lines, '^\S', min)
|
||||
return (max < 0 ? slice(lines, min) : slice(lines, min, max))
|
||||
->mapnew((_, n) => matchstr(n, '^\s*\zs.*'))
|
||||
->map((_, n) => matchstr(n, '^\s*\zs.*'))
|
||||
enddef
|
||||
|
||||
# vim: et sts=2 sw=2 ts=8 tw=80
|
||||
|
||||
@@ -3,10 +3,9 @@
|
||||
" Maintainer: Daniel Campoverde <alx@sillybytes.net>
|
||||
" URL: https://github.com/alx741/haskellcomplete.vim
|
||||
" Last Change: 2019 May 14
|
||||
|
||||
" 2026 Feb 04 by Vim project: fix undefined buffer variable: #19259
|
||||
" Usage: setlocal omnifunc=haskellcomplete#Complete
|
||||
|
||||
|
||||
" Language extensions from:
|
||||
" https://hackage.haskell.org/package/Cabal-2.2.0.1/docs/Language-Haskell-Extension.html
|
||||
"
|
||||
@@ -15,12 +14,6 @@
|
||||
" https://downloads.haskell.org/~ghc/8.4.3/docs/html/users_guide/flags.html
|
||||
|
||||
|
||||
|
||||
" Available completions
|
||||
let b:completingLangExtension = 0
|
||||
let b:completingOptionsGHC = 0
|
||||
let b:completingModule = 0
|
||||
|
||||
function! haskellcomplete#Complete(findstart, base)
|
||||
if a:findstart
|
||||
let l:line = getline('.')
|
||||
@@ -52,7 +45,7 @@ function! haskellcomplete#Complete(findstart, base)
|
||||
return start
|
||||
endif
|
||||
|
||||
if b:completingLangExtension
|
||||
if get(b:, 'completingLangExtension', 0)
|
||||
if a:base ==? ""
|
||||
" Return all possible Lang extensions
|
||||
return s:langExtensions
|
||||
@@ -68,7 +61,7 @@ function! haskellcomplete#Complete(findstart, base)
|
||||
endif
|
||||
|
||||
|
||||
elseif b:completingOptionsGHC
|
||||
elseif get(b:, 'completingOptionsGHC', 0)
|
||||
if a:base ==? ""
|
||||
" Return all possible GHC options
|
||||
return s:optionsGHC
|
||||
@@ -84,7 +77,7 @@ function! haskellcomplete#Complete(findstart, base)
|
||||
endif
|
||||
|
||||
|
||||
elseif b:completingModule
|
||||
elseif get(b:, 'completingModule', 0)
|
||||
if a:base ==? ""
|
||||
" Return all possible modules
|
||||
return s:commonModules
|
||||
|
||||
@@ -448,7 +448,7 @@ class PyParser:
|
||||
def _parseassignment(self):
|
||||
assign=''
|
||||
tokentype, token, indent = self.donext()
|
||||
if tokentype == tokenize.STRING or token == 'str':
|
||||
if tokentype == tokenize.STRING or token == 'str':
|
||||
return '""'
|
||||
elif token == '(' or token == 'tuple':
|
||||
return '()'
|
||||
@@ -556,7 +556,7 @@ class PyParser:
|
||||
freshscope = True
|
||||
dbg("new scope: class")
|
||||
self.scope = self.scope.add(cls)
|
||||
|
||||
|
||||
elif token == 'import':
|
||||
imports = self._parseimportlist()
|
||||
for mod, alias in imports:
|
||||
@@ -578,7 +578,7 @@ class PyParser:
|
||||
elif tokentype == STRING:
|
||||
if freshscope: self.scope.doc(token)
|
||||
elif tokentype == NAME:
|
||||
name,token = self._parsedotname(token)
|
||||
name,token = self._parsedotname(token)
|
||||
if token == '=':
|
||||
stmt = self._parseassignment()
|
||||
dbg("parseassignment: %s = %s" % (name, stmt))
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
" Author: Stephen Sugden <stephen@stephensugden.com>
|
||||
" Last Modified: 2023-09-11
|
||||
" Last Change:
|
||||
" 2025 Oct 27 by Vim project don't use rustfmt as 'formatprg' by default
|
||||
" 2025 Oct 27 by Vim project: don't use rustfmt as 'formatprg' by default
|
||||
" 2026 Jan 25 by Vim project: don't hide rustfmt errors, restore default var
|
||||
"
|
||||
"
|
||||
" Adapted from https://github.com/fatih/vim-go
|
||||
@@ -69,6 +70,12 @@ function! s:RustfmtWriteMode()
|
||||
endfunction
|
||||
|
||||
function! s:RustfmtConfigOptions()
|
||||
let default = '--edition 2018'
|
||||
|
||||
if !get(g:, 'rustfmt_find_toml', 0)
|
||||
return default
|
||||
endif
|
||||
|
||||
let l:rustfmt_toml = findfile('rustfmt.toml', expand('%:p:h') . ';')
|
||||
if l:rustfmt_toml !=# ''
|
||||
return '--config-path '.shellescape(fnamemodify(l:rustfmt_toml, ":p"))
|
||||
@@ -199,7 +206,7 @@ function! s:RunRustfmt(command, tmpname, from_writepre)
|
||||
echo "rust.vim: was not able to parse rustfmt messages. Here is the raw output:"
|
||||
echo "\n"
|
||||
for l:line in l:stderr
|
||||
echo l:line
|
||||
echomsg l:line
|
||||
endfor
|
||||
endif
|
||||
|
||||
@@ -218,7 +225,10 @@ function! s:RunRustfmt(command, tmpname, from_writepre)
|
||||
|
||||
" Open lwindow after we have changed back to the previous directory
|
||||
if l:open_lwindow == 1
|
||||
try
|
||||
lwindow
|
||||
catch /^Vim\%((\S\+)\)\=:E776:/
|
||||
endtry
|
||||
endif
|
||||
|
||||
call winrestview(l:view)
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
" 2025 May 19 by Vim Project: restore working directory after read/write
|
||||
" 2025 Jul 13 by Vim Project: warn with path traversal attacks
|
||||
" 2025 Jul 16 by Vim Project: update minimum vim version
|
||||
" 2026 Feb 06 by Vim Project: consider 'nowrapscan' (#19333)
|
||||
" 2026 Feb 07 by Vim Project: make the path traversal detection more robust (#19341)
|
||||
"
|
||||
" Contains many ideas from Michael Toren's <tar.vim>
|
||||
"
|
||||
@@ -110,7 +112,7 @@ if !exists("g:tar_shq")
|
||||
endif
|
||||
|
||||
let g:tar_secure=' -- '
|
||||
let g:tar_leading_pat='^\%([.]\{,2\}/\)\+'
|
||||
let g:tar_leading_pat='\m^\%([.]\{,2\}/\)\+'
|
||||
|
||||
" ----------------
|
||||
" Functions: {{{1
|
||||
@@ -226,7 +228,7 @@ fun! tar#Browse(tarfile)
|
||||
|
||||
" remove tar: Removing leading '/' from member names
|
||||
" Note: the message could be localized
|
||||
if search('^tar: ') > 0 || search(g:tar_leading_pat) > 0
|
||||
if search('\m^g\?tar: ', 'w') > 0 || search(g:tar_leading_pat, 'w') > 0
|
||||
call append(3,'" Note: Path Traversal Attack detected!')
|
||||
let b:leading_slash = 1
|
||||
" remove the message output
|
||||
|
||||
@@ -2,7 +2,7 @@ vim9script
|
||||
|
||||
# Language: Generic TeX typesetting engine
|
||||
# Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
|
||||
# Latest Revision: 2022 Aug 12
|
||||
# Latest Revision: 2026 Feb 03
|
||||
|
||||
# Constants and helpers {{{
|
||||
const SLASH = !exists("+shellslash") || &shellslash ? '/' : '\'
|
||||
@@ -11,7 +11,7 @@ def Echo(msg: string, mode: string, label: string)
|
||||
redraw
|
||||
echo "\r"
|
||||
execute 'echohl' mode
|
||||
echomsg printf('[%s] %s', label, msg)
|
||||
echomsg $'[{label}] {msg}'
|
||||
echohl None
|
||||
enddef
|
||||
|
||||
@@ -29,7 +29,7 @@ enddef
|
||||
# }}}
|
||||
|
||||
# Track jobs {{{
|
||||
var running_jobs = {} # Dictionary of job IDs of jobs currently executing
|
||||
var running_jobs: dict<list<job>> = {}
|
||||
|
||||
def AddJob(label: string, j: job)
|
||||
if !has_key(running_jobs, label)
|
||||
@@ -55,7 +55,7 @@ def ProcessOutput(qfid: number, wd: string, efm: string, ch: channel, msg: strin
|
||||
# Make sure the quickfix list still exists
|
||||
if getqflist({'id': qfid}).id != qfid
|
||||
EchoErr("Quickfix list not found, stopping the job")
|
||||
call job_stop(ch_getjob(ch))
|
||||
job_stop(ch_getjob(ch))
|
||||
return
|
||||
endif
|
||||
|
||||
@@ -106,31 +106,81 @@ enddef
|
||||
#
|
||||
# This function searches for the magic line in the first ten lines of the
|
||||
# given buffer, and returns the full path of the root document.
|
||||
#
|
||||
# NOTE: the value of "% !TEX root" *must* be a relative path.
|
||||
export def FindRootDocument(bufname: string = bufname("%")): string
|
||||
const bufnr = bufnr(bufname)
|
||||
var docpath = fnamemodify(bufname, ":p")
|
||||
var bufnr = bufnr(bufname)
|
||||
var header: list<string>
|
||||
var rootpath = docpath
|
||||
|
||||
if !bufexists(bufnr)
|
||||
return bufname
|
||||
if bufexists(bufnr)
|
||||
header = getbufline(bufnr, 1, 10)
|
||||
elseif filereadable(bufname)
|
||||
header = readfile(bufname, "", 10)
|
||||
else
|
||||
return simplify(rootpath)
|
||||
endif
|
||||
|
||||
var rootpath = fnamemodify(bufname(bufnr), ':p')
|
||||
|
||||
# Search for magic line `% !TEX root = ...` in the first ten lines
|
||||
const header = getbufline(bufnr, 1, 10)
|
||||
const idx = match(header, '^\s*%\s\+!TEX\s\+root\s*=\s*\S')
|
||||
var idx = match(header, '^\s*%\s\+!TEX\s\+root\s*=\s*\S')
|
||||
|
||||
if idx > -1
|
||||
const main = matchstr(header[idx], '!TEX\s\+root\s*=\s*\zs.*$')
|
||||
rootpath = simplify(fnamemodify(rootpath, ":h") .. SLASH .. main)
|
||||
rootpath = matchstr(header[idx], '!TEX\s\+root\s*=\s*\zs.*$')
|
||||
|
||||
if !isabsolutepath(rootpath) # Path is relative to the buffer's path
|
||||
rootpath = fnamemodify(docpath, ":h") .. SLASH .. rootpath
|
||||
endif
|
||||
endif
|
||||
|
||||
return rootpath
|
||||
return simplify(rootpath)
|
||||
enddef
|
||||
|
||||
# ConTeXt documents may specify an output directory in a comment using the
|
||||
# following syntax:
|
||||
#
|
||||
# runpath=texruns:<output directory>
|
||||
#
|
||||
# This function looks for such a comment in the first ten lines of the given
|
||||
# buffer, and returns the full path of the output directory. If the comment is
|
||||
# not found then the output directory coincides with the directory of the
|
||||
# buffer.
|
||||
export def GetOutputDirectory(bufname: string = bufname("%")): string
|
||||
var basedir = fnamemodify(bufname, ':p:h')
|
||||
var bufnr = bufnr(bufname)
|
||||
var header: list<string>
|
||||
var outdir = basedir
|
||||
|
||||
if bufexists(bufnr)
|
||||
header = getbufline(bufnr, 1, 10)
|
||||
elseif filereadable(bufname)
|
||||
header = readfile(bufname, "", 10)
|
||||
else
|
||||
return simplify(outdir)
|
||||
endif
|
||||
|
||||
# Search for output path in the first ten lines
|
||||
var idx = match(header, '^\s*%.*\<runpath\s*=\s*texruns\s*:\s*\S')
|
||||
|
||||
if idx > -1
|
||||
outdir = matchstr(header[idx], '\<runpath\s*=\s*texruns\s*:\s*\zs.*$')
|
||||
|
||||
if !isabsolutepath(outdir) # Path is relative to the buffer's directory
|
||||
outdir = basedir .. SLASH .. outdir
|
||||
endif
|
||||
endif
|
||||
|
||||
return simplify(outdir)
|
||||
enddef
|
||||
|
||||
export def LogPath(bufname: string): string
|
||||
const logfile = FindRootDocument(bufname)
|
||||
return fnamemodify(logfile, ":r") .. ".log"
|
||||
var rootdoc = FindRootDocument(bufname)
|
||||
var docname = fnamemodify(rootdoc, ":t:r")
|
||||
var outdir = GetOutputDirectory(rootdoc)
|
||||
|
||||
if empty(docname) # Set an arbitrary name to avoid returning a dotfile (.log)
|
||||
docname = '[NotFound]'
|
||||
endif
|
||||
|
||||
return $'{outdir}{SLASH}{docname}.log'
|
||||
enddef
|
||||
|
||||
# Typeset the specified path
|
||||
@@ -146,14 +196,15 @@ enddef
|
||||
# true if the job is started successfully;
|
||||
# false otherwise.
|
||||
export def Typeset(
|
||||
label: string,
|
||||
Cmd: func(string): list<string>,
|
||||
path: string,
|
||||
efm: string,
|
||||
env: dict<string> = {}
|
||||
): bool
|
||||
var fp = fnamemodify(path, ":p")
|
||||
var wd = fnamemodify(fp, ":h")
|
||||
label: string,
|
||||
Cmd: func(string): list<string>,
|
||||
path: string,
|
||||
efm: string,
|
||||
env: dict<string> = {}
|
||||
): bool
|
||||
var fp = fnamemodify(path, ':p')
|
||||
var name = fnamemodify(fp, ':t')
|
||||
var wd = fnamemodify(fp, ':h')
|
||||
var qfid = NewQuickfixList(fp)
|
||||
|
||||
if qfid == -1
|
||||
@@ -162,18 +213,22 @@ export def Typeset(
|
||||
endif
|
||||
|
||||
if !filereadable(fp)
|
||||
EchoErr(printf('File not readable: %s', fp), label)
|
||||
EchoErr($'File not readable: {fp}', label)
|
||||
return false
|
||||
endif
|
||||
|
||||
var jobid = job_start(Cmd(path), {
|
||||
# Make sure to pass only the base name of the path to Cmd as this usually
|
||||
# works better with TeX commands (note that the command is executed inside
|
||||
# the file's directory). For instance, ConTeXt writes the path in .synctex
|
||||
# files, and full paths break syncing from the editor to the viewer.
|
||||
var jobid = job_start(Cmd(name), {
|
||||
env: env,
|
||||
cwd: wd,
|
||||
in_io: "null",
|
||||
callback: (c, m) => ProcessOutput(qfid, wd, efm, c, m),
|
||||
close_cb: CloseCb,
|
||||
exit_cb: (j, e) => ExitCb(label, j, e),
|
||||
})
|
||||
})
|
||||
|
||||
if job_status(jobid) ==# "fail"
|
||||
EchoErr("Failed to start job", label)
|
||||
@@ -188,7 +243,7 @@ export def Typeset(
|
||||
enddef
|
||||
|
||||
export def JobStatus(label: string)
|
||||
EchoMsg('Jobs still running: ' .. string(len(GetRunningJobs(label))), label)
|
||||
EchoMsg($'Jobs still running: {len(GetRunningJobs(label))}', label)
|
||||
enddef
|
||||
|
||||
export def StopJobs(label: string)
|
||||
@@ -211,20 +266,20 @@ enddef
|
||||
# true if the job is started successfully;
|
||||
# false otherwise.
|
||||
export def TypesetBuffer(
|
||||
name: string,
|
||||
Cmd: func(string): list<string>,
|
||||
env = {},
|
||||
label = 'Typeset'
|
||||
): bool
|
||||
const bufname = bufname(name)
|
||||
name: string,
|
||||
Cmd: func(string): list<string>,
|
||||
env = {},
|
||||
label = 'Typeset'
|
||||
): bool
|
||||
var bufname = bufname(name)
|
||||
|
||||
if empty(bufname)
|
||||
EchoErr('Please save the buffer first.', label)
|
||||
return false
|
||||
endif
|
||||
|
||||
const efm = getbufvar(bufnr(bufname), "&efm")
|
||||
const rootpath = FindRootDocument(bufname)
|
||||
var efm = getbufvar(bufnr(bufname), "&efm")
|
||||
var rootpath = FindRootDocument(bufname)
|
||||
|
||||
return Typeset('ConTeXt', Cmd, rootpath, efm, env)
|
||||
enddef
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
" Vim plugin for formatting XML
|
||||
" Last Change: 2020 Jan 06
|
||||
" Last Change: 2023 March 15th
|
||||
" Version: 0.3
|
||||
" Author: Christian Brabandt <cb@256bit.org>
|
||||
" Repository: https://github.com/chrisbra/vim-xml-ftplugin
|
||||
@@ -37,13 +37,17 @@ func! xmlformat#Format() abort
|
||||
" Keep empty input lines?
|
||||
if empty(line)
|
||||
call add(result, '')
|
||||
let current += 1
|
||||
continue
|
||||
elseif line !~# '<[/]\?[^>]*>'
|
||||
let nextmatch = match(list, '<[/]\?[^>]*>', current)
|
||||
if nextmatch > -1
|
||||
let line .= ' '. join(list[(current + 1):(nextmatch-1)], " ")
|
||||
call remove(list, current+1, nextmatch-1)
|
||||
let nextmatch = match(list, '^\s*$\|<[/]\?[^>]*>', current)
|
||||
if nextmatch > -1
|
||||
let lineEnd = nextmatch
|
||||
else
|
||||
let lineEnd = len(list)
|
||||
endif
|
||||
let line .= ' '. join(list[(current + 1):(lineEnd-1)], " ")
|
||||
call remove(list, current+1, lineEnd-1)
|
||||
endif
|
||||
" split on `>`, but don't split on very first opening <
|
||||
" this means, items can be like ['<tag>', 'tag content</tag>']
|
||||
@@ -79,9 +83,13 @@ func! xmlformat#Format() abort
|
||||
if s:EndTag(t[1])
|
||||
call s:DecreaseIndent()
|
||||
endif
|
||||
"for y in t[1:]
|
||||
let result+=s:FormatContent(t[1:])
|
||||
"endfor
|
||||
let result+=s:FormatContent(t[1:])
|
||||
if s:IsTag(t[1])
|
||||
let lastitem = t[1]
|
||||
continue
|
||||
endif
|
||||
elseif s:IsComment(item)
|
||||
let result+=s:FormatContent([item])
|
||||
else
|
||||
call add(result, s:Indent(item))
|
||||
endif
|
||||
@@ -94,7 +102,7 @@ func! xmlformat#Format() abort
|
||||
if !empty(result)
|
||||
let lastprevline = getline(v:lnum + count_orig)
|
||||
let delete_lastline = v:lnum + count_orig - 1 == line('$')
|
||||
exe v:lnum. ",". (v:lnum + count_orig - 1). 'd'
|
||||
exe 'silent ' .. v:lnum. ",". (v:lnum + count_orig - 1). 'd'
|
||||
call append(v:lnum - 1, result)
|
||||
" Might need to remove the last line, if it became empty because of the
|
||||
" append() call
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
" 2025 Mar 11 by Vim Project: handle filenames with leading '-' correctly
|
||||
" 2025 Jul 12 by Vim Project: drop ../ on write to prevent path traversal attacks
|
||||
" 2025 Sep 22 by Vim Project: support PowerShell Core
|
||||
" 2025 Dec 20 by Vim Project: use :lcd instead of :cd
|
||||
" License: Vim License (see vim's :help license)
|
||||
" Copyright: Copyright (C) 2005-2019 Charles E. Campbell {{{1
|
||||
" Permission is hereby granted to use and distribute this code,
|
||||
@@ -371,7 +372,7 @@ fun! zip#Write(fname)
|
||||
call mkdir(tmpdir,"p")
|
||||
|
||||
" attempt to change to the indicated directory
|
||||
if s:ChgDir(tmpdir,s:ERROR,"(zip#Write) cannot cd to temporary directory")
|
||||
if s:ChgDir(tmpdir,s:ERROR,"(zip#Write) cannot lcd to temporary directory")
|
||||
return
|
||||
endif
|
||||
|
||||
@@ -380,7 +381,7 @@ fun! zip#Write(fname)
|
||||
call delete("_ZIPVIM_", "rf")
|
||||
endif
|
||||
call mkdir("_ZIPVIM_")
|
||||
cd _ZIPVIM_
|
||||
lcd _ZIPVIM_
|
||||
|
||||
if has("unix")
|
||||
let zipfile = substitute(a:fname,'zipfile://\(.\{-}\)::[^\\].*$','\1','')
|
||||
@@ -455,7 +456,7 @@ fun! zip#Write(fname)
|
||||
endif
|
||||
|
||||
" cleanup and restore current directory
|
||||
cd ..
|
||||
lcd ..
|
||||
call delete("_ZIPVIM_", "rf")
|
||||
call s:ChgDir(curdir,s:WARNING,"(zip#Write) unable to return to ".curdir."!")
|
||||
call delete(tmpdir, "rf")
|
||||
@@ -536,7 +537,7 @@ endfun
|
||||
" s:ChgDir: {{{2
|
||||
fun! s:ChgDir(newdir,errlvl,errmsg)
|
||||
try
|
||||
exe "cd ".fnameescape(a:newdir)
|
||||
exe "lcd ".fnameescape(a:newdir)
|
||||
catch /^Vim\%((\a\+)\)\=:E344/
|
||||
redraw!
|
||||
if a:errlvl == s:NOTE
|
||||
|
||||
808
runtime/colors/catppuccin.vim
Normal file
808
runtime/colors/catppuccin.vim
Normal file
@@ -0,0 +1,808 @@
|
||||
" Name: Catppuccin Latte (for light) and Mocha (for dark)
|
||||
" Description: Soothing pastel theme for the high-spirited!
|
||||
" Author: The Catppuccin Community <catppuccin.com>
|
||||
" Maintainer: Mao-Yining <mao.yining@outlook.com>
|
||||
" URL: https://www.github.com/vim/colorschemes
|
||||
" Last Change: 2026 Jan 31
|
||||
|
||||
" Generated by Colortemplate v3.0.0-beta10
|
||||
|
||||
hi clear
|
||||
let g:colors_name = 'catppuccin'
|
||||
|
||||
let s:t_Co = has('gui_running') ? 16777216 : str2nr(&t_Co)
|
||||
let s:tgc = has('termguicolors') && &termguicolors
|
||||
|
||||
hi! link Boolean Constant
|
||||
hi! link CursorLineFold FoldColumn
|
||||
hi! link CursorLineSign SignColumn
|
||||
hi! link Debug Special
|
||||
hi! link Define PreProc
|
||||
hi! link Float Constant
|
||||
hi! link Ignore Comment
|
||||
hi! link IncSearch CurSearch
|
||||
hi! link LineNrAbove LineNr
|
||||
hi! link LineNrBelow LineNr
|
||||
hi! link Number Constant
|
||||
hi! link PopupNotification WarningMsg
|
||||
hi! link PreCondit PreProc
|
||||
hi! link SpecialChar Special
|
||||
hi! link SpecialComment Special
|
||||
hi! link SpecialKey NonText
|
||||
hi! link StatusLineTerm StatusLine
|
||||
hi! link StatusLineTermNC StatusLineNC
|
||||
hi! link Terminal Normal
|
||||
hi! link Typedef Type
|
||||
|
||||
if &background == 'dark'
|
||||
hi Normal guifg=#cdd6f4 guibg=#1e1e2e guisp=NONE gui=NONE ctermfg=189 ctermbg=233 cterm=NONE term=NONE
|
||||
hi Added guifg=#a6e3a1 guibg=NONE guisp=NONE gui=NONE ctermfg=114 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Bold guifg=NONE guibg=NONE guisp=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold term=bold
|
||||
hi Changed guifg=#89b4fa guibg=NONE guisp=NONE gui=NONE ctermfg=111 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Character guifg=#94e2d5 guibg=NONE guisp=NONE gui=NONE ctermfg=158 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi ColorColumn guifg=NONE guibg=#181825 guisp=NONE gui=NONE ctermfg=NONE ctermbg=232 cterm=NONE term=reverse
|
||||
hi Comment guifg=#9399b2 guibg=NONE guisp=NONE gui=NONE ctermfg=103 ctermbg=NONE cterm=NONE term=bold
|
||||
hi Conceal guifg=#7f849c guibg=NONE guisp=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Conditional guifg=#cba6f7 guibg=NONE guisp=NONE gui=NONE ctermfg=183 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Constant guifg=#fab387 guibg=NONE guisp=NONE gui=NONE ctermfg=216 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi CurSearch guifg=#cdd6f4 guibg=#89556b guisp=NONE gui=NONE ctermfg=189 ctermbg=126 cterm=NONE term=reverse
|
||||
hi Cursor guifg=#1e1e2e guibg=#f5e0dc guisp=NONE gui=NONE ctermfg=233 ctermbg=224 cterm=NONE term=reverse
|
||||
hi CursorColumn guifg=NONE guibg=#181825 guisp=NONE gui=NONE ctermfg=NONE ctermbg=232 cterm=NONE term=NONE
|
||||
hi CursorIM guifg=#1e1e2e guibg=#cba6f7 guisp=NONE gui=NONE ctermfg=233 ctermbg=183 cterm=NONE term=NONE
|
||||
hi CursorLine guifg=NONE guibg=#2a2b3c guisp=NONE gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE term=underline
|
||||
hi CursorLineNr guifg=#b4befe guibg=NONE guisp=NONE gui=NONE ctermfg=147 ctermbg=NONE cterm=NONE term=bold
|
||||
hi Delimiter guifg=#9399b2 guibg=NONE guisp=NONE gui=NONE ctermfg=103 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi DiffAdd guifg=NONE guibg=#364143 guisp=NONE gui=NONE ctermfg=NONE ctermbg=22 cterm=NONE term=reverse
|
||||
hi DiffChange guifg=NONE guibg=#25293c guisp=NONE gui=NONE ctermfg=NONE ctermbg=235 cterm=NONE term=NONE
|
||||
hi DiffDelete guifg=NONE guibg=#443244 guisp=NONE gui=NONE ctermfg=NONE ctermbg=52 cterm=NONE term=reverse
|
||||
hi DiffText guifg=NONE guibg=#3e4b6b guisp=NONE gui=NONE ctermfg=NONE ctermbg=23 cterm=NONE term=reverse
|
||||
hi Directory guifg=#89b4fa guibg=NONE guisp=NONE gui=NONE ctermfg=111 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi EndOfBuffer guifg=#45475a guibg=NONE guisp=NONE gui=NONE ctermfg=240 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Error guifg=#f38ba8 guibg=NONE guisp=NONE gui=NONE ctermfg=211 ctermbg=NONE cterm=NONE term=bold,reverse
|
||||
hi ErrorMsg guifg=#f38ba8 guibg=NONE guisp=NONE gui=bold ctermfg=211 ctermbg=NONE cterm=bold term=bold,reverse
|
||||
hi Exception guifg=#cba6f7 guibg=NONE guisp=NONE gui=NONE ctermfg=183 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi FoldColumn guifg=#6c7086 guibg=NONE guisp=NONE gui=NONE ctermfg=59 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Folded guifg=#89b4fa guibg=NONE guisp=NONE gui=NONE ctermfg=111 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Function guifg=#89b4fa guibg=NONE guisp=NONE gui=NONE ctermfg=111 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Identifier guifg=#f2cdcd guibg=NONE guisp=NONE gui=NONE ctermfg=181 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Include guifg=#cba6f7 guibg=NONE guisp=NONE gui=NONE ctermfg=183 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Italic guifg=NONE guibg=NONE guisp=NONE gui=italic ctermfg=NONE ctermbg=NONE cterm=italic term=italic
|
||||
hi Keyword guifg=#cba6f7 guibg=NONE guisp=NONE gui=NONE ctermfg=183 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Label guifg=#74c7ec guibg=NONE guisp=NONE gui=NONE ctermfg=117 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi LineNr guifg=#45475a guibg=NONE guisp=NONE gui=NONE ctermfg=240 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Macro guifg=#cba6f7 guibg=NONE guisp=NONE gui=NONE ctermfg=183 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi MatchParen guifg=#fab387 guibg=NONE guisp=NONE gui=bold ctermfg=216 ctermbg=NONE cterm=bold term=bold,underline
|
||||
hi ModeMsg guifg=#cdd6f4 guibg=NONE guisp=NONE gui=bold ctermfg=189 ctermbg=NONE cterm=bold term=bold
|
||||
hi MoreMsg guifg=#89b4fa guibg=NONE guisp=NONE gui=NONE ctermfg=111 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi NonText guifg=#6c7086 guibg=NONE guisp=NONE gui=NONE ctermfg=59 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Operator guifg=#89dceb guibg=NONE guisp=NONE gui=NONE ctermfg=116 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Pmenu guifg=#9399b2 guibg=#181825 guisp=NONE gui=NONE ctermfg=103 ctermbg=232 cterm=NONE term=reverse
|
||||
hi PmenuExtra guifg=#6c7086 guibg=#181825 guisp=NONE gui=NONE ctermfg=59 ctermbg=232 cterm=NONE term=NONE
|
||||
hi PmenuExtraSel guifg=#6c7086 guibg=#313244 guisp=NONE gui=bold ctermfg=59 ctermbg=236 cterm=bold term=bold
|
||||
hi PmenuMatch guifg=#cdd6f4 guibg=NONE guisp=NONE gui=bold ctermfg=189 ctermbg=NONE cterm=bold term=bold
|
||||
hi PmenuMatchSel guifg=NONE guibg=NONE guisp=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold term=bold
|
||||
hi PmenuSbar guifg=NONE guibg=#313244 guisp=NONE gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE term=reverse
|
||||
hi PmenuSel guifg=NONE guibg=#313244 guisp=NONE gui=bold ctermfg=NONE ctermbg=236 cterm=bold term=bold
|
||||
hi PmenuThumb guifg=NONE guibg=#6c7086 guisp=NONE gui=NONE ctermfg=NONE ctermbg=59 cterm=NONE term=NONE
|
||||
hi PreInsert guifg=#9399b2 guibg=NONE guisp=NONE gui=NONE ctermfg=103 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi PreProc guifg=#f5c2e7 guibg=NONE guisp=NONE gui=NONE ctermfg=225 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Question guifg=#89b4fa guibg=NONE guisp=NONE gui=NONE ctermfg=111 ctermbg=NONE cterm=NONE term=standout
|
||||
hi QuickFixLine guifg=NONE guibg=#52476a guisp=NONE gui=bold ctermfg=189 ctermbg=60 cterm=bold term=NONE
|
||||
hi Removed guifg=#f38ba8 guibg=NONE guisp=NONE gui=NONE ctermfg=211 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Repeat guifg=#cba6f7 guibg=NONE guisp=NONE gui=NONE ctermfg=183 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Search guifg=#cdd6f4 guibg=#3e5767 guisp=NONE gui=NONE ctermfg=189 ctermbg=24 cterm=NONE term=reverse
|
||||
hi SignColumn guifg=#45475a guibg=NONE guisp=NONE gui=NONE ctermfg=240 ctermbg=NONE cterm=NONE term=reverse
|
||||
hi Special guifg=#f5c2e7 guibg=NONE guisp=NONE gui=NONE ctermfg=225 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi SpellBad guifg=NONE guibg=NONE guisp=#f38ba8 gui=undercurl ctermfg=211 ctermbg=NONE cterm=underline term=underline
|
||||
hi SpellCap guifg=NONE guibg=NONE guisp=#f9e2af gui=undercurl ctermfg=222 ctermbg=NONE cterm=underline term=underline
|
||||
hi SpellLocal guifg=NONE guibg=NONE guisp=#89b4fa gui=undercurl ctermfg=111 ctermbg=NONE cterm=underline term=underline
|
||||
hi SpellRare guifg=NONE guibg=NONE guisp=#a6e3a1 gui=undercurl ctermfg=114 ctermbg=NONE cterm=underline term=underline
|
||||
hi Statement guifg=#cba6f7 guibg=NONE guisp=NONE gui=NONE ctermfg=183 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi StatusLine guifg=#cdd6f4 guibg=#11111b guisp=NONE gui=NONE ctermfg=189 ctermbg=16 cterm=NONE term=bold,reverse
|
||||
hi StatusLineNC guifg=#45475a guibg=#181825 guisp=NONE gui=NONE ctermfg=240 ctermbg=232 cterm=NONE term=bold,underline
|
||||
hi StorageClass guifg=#f9e2af guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi String guifg=#a6e3a1 guibg=NONE guisp=NONE gui=NONE ctermfg=114 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Structure guifg=#f9e2af guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi TabLine guifg=#6c7086 guibg=#11111b guisp=NONE gui=NONE ctermfg=59 ctermbg=16 cterm=NONE term=bold,underline
|
||||
hi TabLineFill guifg=NONE guibg=#181825 guisp=NONE gui=NONE ctermfg=NONE ctermbg=232 cterm=NONE term=NONE
|
||||
hi TabLineSel guifg=#cdd6f4 guibg=#1e1e2e guisp=NONE gui=NONE ctermfg=189 ctermbg=233 cterm=NONE term=bold,reverse
|
||||
hi Tag guifg=#b4befe guibg=NONE guisp=NONE gui=bold ctermfg=147 ctermbg=NONE cterm=bold term=bold
|
||||
hi Title guifg=#89b4fa guibg=NONE guisp=NONE gui=bold ctermfg=111 ctermbg=NONE cterm=bold term=NONE
|
||||
hi TitleBar guifg=#cdd6f4 guibg=#181825 guisp=NONE gui=NONE ctermfg=189 ctermbg=232 cterm=NONE term=NONE
|
||||
hi TitleBarNC guifg=#6c7086 guibg=#11111b guisp=NONE gui=NONE ctermfg=59 ctermbg=16 cterm=NONE term=NONE
|
||||
hi Todo guifg=#f2cdcd guibg=NONE guisp=NONE gui=bold ctermfg=181 ctermbg=NONE cterm=bold term=bold,reverse
|
||||
hi ToolbarButton guifg=#f5e0dc guibg=NONE guisp=NONE gui=NONE ctermfg=224 ctermbg=NONE cterm=NONE term=bold,reverse
|
||||
hi ToolbarLine guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE term=reverse
|
||||
hi Type guifg=#f9e2af guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Underlined guifg=NONE guibg=NONE guisp=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline term=underline
|
||||
hi VertSplit guifg=#11111b guibg=NONE guisp=NONE gui=NONE ctermfg=16 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Visual guifg=NONE guibg=#45475a guisp=NONE gui=NONE ctermfg=240 ctermbg=189 cterm=reverse term=reverse
|
||||
hi VisualNOS guifg=NONE guibg=#45475a guisp=NONE gui=bold ctermfg=NONE ctermbg=240 cterm=bold term=NONE
|
||||
hi WarningMsg guifg=#f9e2af guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE term=standout
|
||||
hi WildMenu guifg=NONE guibg=#6c7086 guisp=NONE gui=NONE ctermfg=NONE ctermbg=59 cterm=NONE term=bold
|
||||
hi csvCol0 guifg=#f38ba8 guibg=NONE guisp=NONE gui=NONE ctermfg=211 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol1 guifg=#fab387 guibg=NONE guisp=NONE gui=NONE ctermfg=216 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol2 guifg=#f9e2af guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol3 guifg=#a6e3a1 guibg=NONE guisp=NONE gui=NONE ctermfg=114 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol4 guifg=#89dceb guibg=NONE guisp=NONE gui=NONE ctermfg=116 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol5 guifg=#89b4fa guibg=NONE guisp=NONE gui=NONE ctermfg=111 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol6 guifg=#b4befe guibg=NONE guisp=NONE gui=NONE ctermfg=147 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol7 guifg=#cba6f7 guibg=NONE guisp=NONE gui=NONE ctermfg=183 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol8 guifg=#f5c2e7 guibg=NONE guisp=NONE gui=NONE ctermfg=225 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi debugBreakpoint guifg=#6c7086 guibg=#1e1e2e guisp=NONE gui=NONE ctermfg=59 ctermbg=233 cterm=NONE term=NONE
|
||||
hi debugPC guifg=NONE guibg=#11111b guisp=NONE gui=NONE ctermfg=NONE ctermbg=16 cterm=NONE term=NONE
|
||||
hi diffAdded guifg=#a6e3a1 guibg=NONE guisp=NONE gui=NONE ctermfg=114 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffChanged guifg=#89b4fa guibg=NONE guisp=NONE gui=NONE ctermfg=111 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffFile guifg=#89b4fa guibg=NONE guisp=NONE gui=NONE ctermfg=111 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffIndexLine guifg=#94e2d5 guibg=NONE guisp=NONE gui=NONE ctermfg=158 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffLine guifg=#6c7086 guibg=NONE guisp=NONE gui=NONE ctermfg=59 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffNewFile guifg=#fab387 guibg=NONE guisp=NONE gui=NONE ctermfg=216 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffOldFile guifg=#f9e2af guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffRemoved guifg=#f38ba8 guibg=NONE guisp=NONE gui=NONE ctermfg=211 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi lCursor guifg=#1e1e2e guibg=#f38ba8 guisp=NONE gui=NONE ctermfg=233 ctermbg=211 cterm=NONE term=NONE
|
||||
hi markdownCode guifg=#f2cdcd guibg=NONE guisp=NONE gui=NONE ctermfg=181 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownCodeBlock guifg=#f2cdcd guibg=NONE guisp=NONE gui=NONE ctermfg=181 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownH1 guifg=#f38ba8 guibg=NONE guisp=NONE gui=NONE ctermfg=211 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownH2 guifg=#fab387 guibg=NONE guisp=NONE gui=NONE ctermfg=216 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownH3 guifg=#f9e2af guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownH4 guifg=#a6e3a1 guibg=NONE guisp=NONE gui=NONE ctermfg=114 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownH5 guifg=#74c7ec guibg=NONE guisp=NONE gui=NONE ctermfg=117 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownH6 guifg=#b4befe guibg=NONE guisp=NONE gui=NONE ctermfg=147 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownHeadingDelimiter guifg=#fab387 guibg=NONE guisp=NONE gui=bold ctermfg=216 ctermbg=NONE cterm=bold term=bold
|
||||
hi markdownLinkText guifg=#89b4fa guibg=NONE guisp=NONE gui=underline ctermfg=111 ctermbg=NONE cterm=underline term=underline
|
||||
hi qfFileName guifg=#89b4fa guibg=NONE guisp=NONE gui=NONE ctermfg=111 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi qfLineNr guifg=#f9e2af guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE term=NONE
|
||||
|
||||
if s:tgc || s:t_Co >= 256
|
||||
if s:tgc
|
||||
hi QuickFixLine cterm=NONE
|
||||
hi Visual cterm=NONE
|
||||
endif
|
||||
finish
|
||||
endif
|
||||
|
||||
if s:t_Co >= 16
|
||||
hi Normal ctermfg=White ctermbg=Black cterm=NONE
|
||||
hi Added ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi Bold ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi Changed ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Character ctermfg=DarkGreen ctermbg=NONE cterm=NONE
|
||||
hi ColorColumn ctermfg=NONE ctermbg=DarkGrey cterm=NONE
|
||||
hi Comment ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Conceal ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Conditional ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Constant ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi CurSearch ctermfg=White ctermbg=Red cterm=NONE
|
||||
hi Cursor ctermfg=Black ctermbg=Yellow cterm=NONE
|
||||
hi CursorColumn ctermfg=NONE ctermbg=DarkGrey cterm=NONE
|
||||
hi CursorIM ctermfg=Black ctermbg=DarkMagenta cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi CursorLineNr ctermfg=White ctermbg=NONE cterm=NONE
|
||||
hi Delimiter ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd ctermfg=Black ctermbg=DarkGreen cterm=NONE
|
||||
hi DiffChange ctermfg=Black ctermbg=DarkYellow cterm=NONE
|
||||
hi DiffDelete ctermfg=Black ctermbg=DarkRed cterm=NONE
|
||||
hi DiffText ctermfg=Black ctermbg=DarkCyan cterm=NONE
|
||||
hi Directory ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi EndOfBuffer ctermfg=DarkGrey ctermbg=NONE cterm=NONE
|
||||
hi Error ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi ErrorMsg ctermfg=Red ctermbg=NONE cterm=bold
|
||||
hi Exception ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi FoldColumn ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Folded ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Function ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Identifier ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Include ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Italic ctermfg=NONE ctermbg=NONE cterm=italic
|
||||
hi Keyword ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Label ctermfg=DarkCyan ctermbg=NONE cterm=NONE
|
||||
hi LineNr ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Macro ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi MatchParen ctermfg=DarkYellow ctermbg=NONE cterm=bold
|
||||
hi ModeMsg ctermfg=White ctermbg=NONE cterm=bold
|
||||
hi MoreMsg ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi NonText ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Operator ctermfg=Cyan ctermbg=NONE cterm=NONE
|
||||
hi Pmenu ctermfg=Grey ctermbg=DarkGrey cterm=NONE
|
||||
hi PmenuExtra ctermfg=Grey ctermbg=DarkGrey cterm=NONE
|
||||
hi PmenuExtraSel ctermfg=Grey ctermbg=DarkYellow cterm=bold
|
||||
hi PmenuMatch ctermfg=White ctermbg=NONE cterm=bold
|
||||
hi PmenuMatchSel ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi PmenuSbar ctermfg=NONE ctermbg=DarkYellow cterm=NONE
|
||||
hi PmenuSel ctermfg=NONE ctermbg=DarkYellow cterm=bold
|
||||
hi PmenuThumb ctermfg=NONE ctermbg=Grey cterm=NONE
|
||||
hi PreInsert ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi PreProc ctermfg=Magenta ctermbg=NONE cterm=NONE
|
||||
hi Question ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi QuickFixLine ctermfg=Black ctermbg=Magenta cterm=bold
|
||||
hi Removed ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi Repeat ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Search ctermfg=White ctermbg=DarkBlue cterm=NONE
|
||||
hi SignColumn ctermfg=Black ctermbg=NONE cterm=NONE
|
||||
hi Special ctermfg=Magenta ctermbg=NONE cterm=NONE
|
||||
hi SpellBad ctermfg=Red ctermbg=NONE cterm=underline
|
||||
hi SpellCap ctermfg=Yellow ctermbg=NONE cterm=underline
|
||||
hi SpellLocal ctermfg=Blue ctermbg=NONE cterm=underline
|
||||
hi SpellRare ctermfg=Green ctermbg=NONE cterm=underline
|
||||
hi Statement ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi StatusLine ctermfg=White ctermbg=DarkGrey cterm=bold,reverse
|
||||
hi StatusLineNC ctermfg=Grey ctermbg=DarkGrey cterm=NONE
|
||||
hi StorageClass ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi String ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi Structure ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi TabLine ctermfg=Grey ctermbg=Black cterm=NONE
|
||||
hi TabLineFill ctermfg=NONE ctermbg=DarkGrey cterm=NONE
|
||||
hi TabLineSel ctermfg=White ctermbg=Black cterm=NONE
|
||||
hi Tag ctermfg=LightGrey ctermbg=NONE cterm=bold
|
||||
hi Title ctermfg=Blue ctermbg=NONE cterm=bold
|
||||
hi TitleBar ctermfg=White ctermbg=DarkGrey cterm=NONE
|
||||
hi TitleBarNC ctermfg=Grey ctermbg=Black cterm=NONE
|
||||
hi Todo ctermfg=Yellow ctermbg=NONE cterm=bold
|
||||
hi ToolbarButton ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi VertSplit ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Visual ctermfg=Blue ctermbg=Black cterm=bold,reverse
|
||||
hi VisualNOS ctermfg=NONE ctermbg=Black cterm=bold
|
||||
hi WarningMsg ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi WildMenu ctermfg=NONE ctermbg=Grey cterm=NONE
|
||||
hi csvCol0 ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi csvCol1 ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi csvCol2 ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi csvCol3 ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi csvCol4 ctermfg=Cyan ctermbg=NONE cterm=NONE
|
||||
hi csvCol5 ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi csvCol6 ctermfg=LightGrey ctermbg=NONE cterm=NONE
|
||||
hi csvCol7 ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi csvCol8 ctermfg=Magenta ctermbg=NONE cterm=NONE
|
||||
hi debugBreakpoint ctermfg=Grey ctermbg=Black cterm=NONE
|
||||
hi debugPC ctermfg=NONE ctermbg=Black cterm=NONE
|
||||
hi diffAdded ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi diffChanged ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi diffFile ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi diffIndexLine ctermfg=DarkGreen ctermbg=NONE cterm=NONE
|
||||
hi diffLine ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi diffNewFile ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi diffOldFile ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi lCursor ctermfg=Black ctermbg=Red cterm=NONE
|
||||
hi markdownCode ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi markdownCodeBlock ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi markdownH1 ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi markdownH2 ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi markdownH3 ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi markdownH4 ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi markdownH5 ctermfg=DarkCyan ctermbg=NONE cterm=NONE
|
||||
hi markdownH6 ctermfg=LightGrey ctermbg=NONE cterm=NONE
|
||||
hi markdownHeadingDelimiter ctermfg=DarkYellow ctermbg=NONE cterm=bold
|
||||
hi markdownLinkText ctermfg=Blue ctermbg=NONE cterm=underline
|
||||
hi qfFileName ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi qfLineNr ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
finish
|
||||
endif
|
||||
|
||||
if s:t_Co >= 8
|
||||
hi Normal ctermfg=White ctermbg=Black cterm=NONE
|
||||
hi Added ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi Bold ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi Changed ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Character ctermfg=DarkGreen ctermbg=NONE cterm=NONE
|
||||
hi ColorColumn ctermfg=Black ctermbg=Grey cterm=NONE
|
||||
hi Comment ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Conceal ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Conditional ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Constant ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi CurSearch ctermfg=White ctermbg=Red cterm=NONE
|
||||
hi Cursor ctermfg=Black ctermbg=Yellow cterm=NONE
|
||||
hi CursorColumn ctermfg=NONE ctermbg=DarkGrey cterm=NONE
|
||||
hi CursorIM ctermfg=Black ctermbg=DarkMagenta cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi CursorLineNr ctermfg=White ctermbg=NONE cterm=NONE
|
||||
hi Delimiter ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd ctermfg=Black ctermbg=DarkGreen cterm=NONE
|
||||
hi DiffChange ctermfg=Black ctermbg=DarkYellow cterm=NONE
|
||||
hi DiffDelete ctermfg=Black ctermbg=DarkRed cterm=NONE
|
||||
hi DiffText ctermfg=Black ctermbg=DarkCyan cterm=NONE
|
||||
hi Directory ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi EndOfBuffer ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Error ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi ErrorMsg ctermfg=Red ctermbg=NONE cterm=bold
|
||||
hi Exception ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi FoldColumn ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Folded ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Function ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Identifier ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Include ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Italic ctermfg=NONE ctermbg=NONE cterm=italic
|
||||
hi Keyword ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Label ctermfg=DarkCyan ctermbg=NONE cterm=NONE
|
||||
hi LineNr ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Macro ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi MatchParen ctermfg=DarkYellow ctermbg=NONE cterm=bold
|
||||
hi ModeMsg ctermfg=White ctermbg=NONE cterm=bold
|
||||
hi MoreMsg ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi NonText ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Operator ctermfg=Cyan ctermbg=NONE cterm=NONE
|
||||
hi Pmenu ctermfg=Grey ctermbg=DarkGrey cterm=NONE
|
||||
hi PmenuExtra ctermfg=Grey ctermbg=DarkGrey cterm=NONE
|
||||
hi PmenuExtraSel ctermfg=Grey ctermbg=DarkYellow cterm=bold
|
||||
hi PmenuMatch ctermfg=White ctermbg=NONE cterm=bold
|
||||
hi PmenuMatchSel ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi PmenuSbar ctermfg=NONE ctermbg=DarkYellow cterm=NONE
|
||||
hi PmenuSel ctermfg=NONE ctermbg=DarkYellow cterm=bold
|
||||
hi PmenuThumb ctermfg=NONE ctermbg=Grey cterm=NONE
|
||||
hi PreInsert ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi PreProc ctermfg=Magenta ctermbg=NONE cterm=NONE
|
||||
hi Question ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi QuickFixLine ctermfg=White ctermbg=Magenta cterm=bold
|
||||
hi Removed ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi Repeat ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Search ctermfg=White ctermbg=DarkBlue cterm=NONE
|
||||
hi SignColumn ctermfg=Black ctermbg=NONE cterm=NONE
|
||||
hi Special ctermfg=Magenta ctermbg=NONE cterm=NONE
|
||||
hi SpellBad ctermfg=Red ctermbg=NONE cterm=underline
|
||||
hi SpellCap ctermfg=Yellow ctermbg=NONE cterm=underline
|
||||
hi SpellLocal ctermfg=Blue ctermbg=NONE cterm=underline
|
||||
hi SpellRare ctermfg=Green ctermbg=NONE cterm=underline
|
||||
hi Statement ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi StatusLine ctermfg=White ctermbg=DarkGrey cterm=bold,reverse
|
||||
hi StatusLineNC ctermfg=Grey ctermbg=DarkGrey cterm=reverse
|
||||
hi StorageClass ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi String ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi Structure ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi TabLine ctermfg=Grey ctermbg=Black cterm=NONE
|
||||
hi TabLineFill ctermfg=NONE ctermbg=DarkGrey cterm=NONE
|
||||
hi TabLineSel ctermfg=White ctermbg=DarkGrey cterm=bold
|
||||
hi Tag ctermfg=LightGrey ctermbg=NONE cterm=bold
|
||||
hi Title ctermfg=Blue ctermbg=NONE cterm=bold
|
||||
hi TitleBar ctermfg=White ctermbg=DarkGrey cterm=NONE
|
||||
hi TitleBarNC ctermfg=Grey ctermbg=Black cterm=NONE
|
||||
hi Todo ctermfg=Yellow ctermbg=NONE cterm=bold
|
||||
hi ToolbarButton ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi VertSplit ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Visual ctermfg=Blue ctermbg=Black cterm=bold,reverse
|
||||
hi VisualNOS ctermfg=NONE ctermbg=Black cterm=bold
|
||||
hi WarningMsg ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi WildMenu ctermfg=NONE ctermbg=Grey cterm=NONE
|
||||
hi csvCol0 ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi csvCol1 ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi csvCol2 ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi csvCol3 ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi csvCol4 ctermfg=Cyan ctermbg=NONE cterm=NONE
|
||||
hi csvCol5 ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi csvCol6 ctermfg=LightGrey ctermbg=NONE cterm=NONE
|
||||
hi csvCol7 ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi csvCol8 ctermfg=Magenta ctermbg=NONE cterm=NONE
|
||||
hi debugBreakpoint ctermfg=Grey ctermbg=Black cterm=NONE
|
||||
hi debugPC ctermfg=NONE ctermbg=Black cterm=NONE
|
||||
hi diffAdded ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi diffChanged ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi diffFile ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi diffIndexLine ctermfg=DarkGreen ctermbg=NONE cterm=NONE
|
||||
hi diffLine ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi diffNewFile ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi diffOldFile ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi lCursor ctermfg=Black ctermbg=Red cterm=NONE
|
||||
hi markdownCode ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi markdownCodeBlock ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi markdownH1 ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi markdownH2 ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi markdownH3 ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi markdownH4 ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi markdownH5 ctermfg=DarkCyan ctermbg=NONE cterm=NONE
|
||||
hi markdownH6 ctermfg=LightGrey ctermbg=NONE cterm=NONE
|
||||
hi markdownHeadingDelimiter ctermfg=DarkYellow ctermbg=NONE cterm=bold
|
||||
hi markdownLinkText ctermfg=Blue ctermbg=NONE cterm=underline
|
||||
hi qfFileName ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi qfLineNr ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
finish
|
||||
endif
|
||||
|
||||
if s:t_Co >= 0
|
||||
hi CursorLineFold term=underline
|
||||
hi CursorLineSign term=underline
|
||||
hi Float term=NONE
|
||||
hi Ignore term=NONE
|
||||
hi IncSearch term=bold,reverse,underline
|
||||
hi Number term=NONE
|
||||
hi SpecialKey term=bold
|
||||
hi StatusLineTerm term=bold,reverse
|
||||
hi StatusLineTermNC term=bold,underline
|
||||
hi Terminal term=NONE
|
||||
finish
|
||||
endif
|
||||
|
||||
finish
|
||||
endif
|
||||
|
||||
if &background == 'light'
|
||||
hi Normal guifg=#4c4f69 guibg=#eff1f5 guisp=NONE gui=NONE ctermfg=236 ctermbg=231 cterm=NONE term=NONE
|
||||
hi Added guifg=#40a02b guibg=NONE guisp=NONE gui=NONE ctermfg=34 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Bold guifg=NONE guibg=NONE guisp=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold term=bold
|
||||
hi Changed guifg=#1e66f5 guibg=NONE guisp=NONE gui=NONE ctermfg=27 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Character guifg=#179299 guibg=NONE guisp=NONE gui=NONE ctermfg=30 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi ColorColumn guifg=NONE guibg=#e6e9ef guisp=NONE gui=NONE ctermfg=NONE ctermbg=255 cterm=NONE term=reverse
|
||||
hi Comment guifg=#7c7f93 guibg=NONE guisp=NONE gui=NONE ctermfg=103 ctermbg=NONE cterm=NONE term=bold
|
||||
hi Conceal guifg=#8c8fa1 guibg=NONE guisp=NONE gui=NONE ctermfg=246 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Conditional guifg=#8839ef guibg=NONE guisp=NONE gui=NONE ctermfg=93 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Constant guifg=#fe640b guibg=NONE guisp=NONE gui=NONE ctermfg=202 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi CurSearch guifg=#4c4f69 guibg=#fc8fc3 guisp=NONE gui=NONE ctermfg=236 ctermbg=211 cterm=NONE term=reverse
|
||||
hi Cursor guifg=#eff1f5 guibg=#dc8a78 guisp=NONE gui=NONE ctermfg=231 ctermbg=174 cterm=NONE term=reverse
|
||||
hi CursorColumn guifg=NONE guibg=#e6e9ef guisp=NONE gui=NONE ctermfg=NONE ctermbg=255 cterm=NONE term=NONE
|
||||
hi CursorIM guifg=#eff1f5 guibg=#8839ef guisp=NONE gui=NONE ctermfg=231 ctermbg=93 cterm=NONE term=NONE
|
||||
hi CursorLine guifg=NONE guibg=#e9ebf1 guisp=NONE gui=NONE ctermfg=NONE ctermbg=253 cterm=NONE term=underline
|
||||
hi CursorLineNr guifg=#7287fd guibg=NONE guisp=NONE gui=NONE ctermfg=69 ctermbg=NONE cterm=NONE term=bold
|
||||
hi Delimiter guifg=#7c7f93 guibg=NONE guisp=NONE gui=NONE ctermfg=103 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi DiffAdd guifg=NONE guibg=#d0e2d1 guisp=NONE gui=NONE ctermfg=NONE ctermbg=152 cterm=NONE term=reverse
|
||||
hi DiffChange guifg=NONE guibg=#e0e7f5 guisp=NONE gui=NONE ctermfg=NONE ctermbg=254 cterm=NONE term=NONE
|
||||
hi DiffDelete guifg=NONE guibg=#eac8d3 guisp=NONE gui=NONE ctermfg=NONE ctermbg=224 cterm=NONE term=reverse
|
||||
hi DiffText guifg=NONE guibg=#b0c7f5 guisp=NONE gui=NONE ctermfg=NONE ctermbg=153 cterm=NONE term=reverse
|
||||
hi Directory guifg=#1e66f5 guibg=NONE guisp=NONE gui=NONE ctermfg=27 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi EndOfBuffer guifg=#bcc0cc guibg=NONE guisp=NONE gui=NONE ctermfg=250 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Error guifg=#d20f39 guibg=NONE guisp=NONE gui=NONE ctermfg=161 ctermbg=NONE cterm=NONE term=bold,reverse
|
||||
hi ErrorMsg guifg=#d20f39 guibg=NONE guisp=NONE gui=bold ctermfg=161 ctermbg=NONE cterm=bold term=bold,reverse
|
||||
hi Exception guifg=#8839ef guibg=NONE guisp=NONE gui=NONE ctermfg=93 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi FoldColumn guifg=#9ca0b0 guibg=NONE guisp=NONE gui=NONE ctermfg=247 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Folded guifg=#1e66f5 guibg=NONE guisp=NONE gui=NONE ctermfg=27 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Function guifg=#1e66f5 guibg=NONE guisp=NONE gui=NONE ctermfg=27 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Identifier guifg=#dd7878 guibg=NONE guisp=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Include guifg=#8839ef guibg=NONE guisp=NONE gui=NONE ctermfg=93 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Italic guifg=NONE guibg=NONE guisp=NONE gui=italic ctermfg=NONE ctermbg=NONE cterm=italic term=italic
|
||||
hi Keyword guifg=#8839ef guibg=NONE guisp=NONE gui=NONE ctermfg=93 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Label guifg=#209fb5 guibg=NONE guisp=NONE gui=NONE ctermfg=38 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi LineNr guifg=#bcc0cc guibg=NONE guisp=NONE gui=NONE ctermfg=250 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Macro guifg=#8839ef guibg=NONE guisp=NONE gui=NONE ctermfg=93 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi MatchParen guifg=#fe640b guibg=NONE guisp=NONE gui=bold ctermfg=202 ctermbg=NONE cterm=bold term=bold,underline
|
||||
hi ModeMsg guifg=#4c4f69 guibg=NONE guisp=NONE gui=bold ctermfg=236 ctermbg=NONE cterm=bold term=bold
|
||||
hi MoreMsg guifg=#1e66f5 guibg=NONE guisp=NONE gui=NONE ctermfg=27 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi NonText guifg=#9ca0b0 guibg=NONE guisp=NONE gui=NONE ctermfg=247 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Operator guifg=#04a5e5 guibg=NONE guisp=NONE gui=NONE ctermfg=39 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Pmenu guifg=#7c7f93 guibg=#e6e9ef guisp=NONE gui=NONE ctermfg=103 ctermbg=255 cterm=NONE term=reverse
|
||||
hi PmenuExtra guifg=#9ca0b0 guibg=#e6e9ef guisp=NONE gui=NONE ctermfg=247 ctermbg=255 cterm=NONE term=NONE
|
||||
hi PmenuExtraSel guifg=#9ca0b0 guibg=#ccd0da guisp=NONE gui=bold ctermfg=247 ctermbg=253 cterm=bold term=bold
|
||||
hi PmenuMatch guifg=#4c4f69 guibg=NONE guisp=NONE gui=bold ctermfg=236 ctermbg=NONE cterm=bold term=bold
|
||||
hi PmenuMatchSel guifg=NONE guibg=NONE guisp=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold term=bold
|
||||
hi PmenuSbar guifg=NONE guibg=#ccd0da guisp=NONE gui=NONE ctermfg=NONE ctermbg=253 cterm=NONE term=reverse
|
||||
hi PmenuSel guifg=NONE guibg=#ccd0da guisp=NONE gui=bold ctermfg=NONE ctermbg=253 cterm=bold term=bold
|
||||
hi PmenuThumb guifg=NONE guibg=#9ca0b0 guisp=NONE gui=NONE ctermfg=NONE ctermbg=247 cterm=NONE term=NONE
|
||||
hi PreInsert guifg=#7c7f93 guibg=NONE guisp=NONE gui=NONE ctermfg=103 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi PreProc guifg=#ea76cb guibg=NONE guisp=NONE gui=NONE ctermfg=206 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Question guifg=#1e66f5 guibg=NONE guisp=NONE gui=NONE ctermfg=27 ctermbg=NONE cterm=NONE term=standout
|
||||
hi QuickFixLine guifg=NONE guibg=#d0baf3 guisp=NONE gui=bold ctermfg=236 ctermbg=183 cterm=bold term=NONE
|
||||
hi Removed guifg=#d20f39 guibg=NONE guisp=NONE gui=NONE ctermfg=161 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Repeat guifg=#8839ef guibg=NONE guisp=NONE gui=NONE ctermfg=93 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Search guifg=#4c4f69 guibg=#a8daf0 guisp=NONE gui=NONE ctermfg=236 ctermbg=117 cterm=NONE term=reverse
|
||||
hi SignColumn guifg=#bcc0cc guibg=NONE guisp=NONE gui=NONE ctermfg=250 ctermbg=NONE cterm=NONE term=reverse
|
||||
hi Special guifg=#ea76cb guibg=NONE guisp=NONE gui=NONE ctermfg=206 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi SpellBad guifg=NONE guibg=NONE guisp=#d20f39 gui=undercurl ctermfg=161 ctermbg=NONE cterm=underline term=underline
|
||||
hi SpellCap guifg=NONE guibg=NONE guisp=#df8e1d gui=undercurl ctermfg=172 ctermbg=NONE cterm=underline term=underline
|
||||
hi SpellLocal guifg=NONE guibg=NONE guisp=#1e66f5 gui=undercurl ctermfg=27 ctermbg=NONE cterm=underline term=underline
|
||||
hi SpellRare guifg=NONE guibg=NONE guisp=#40a02b gui=undercurl ctermfg=34 ctermbg=NONE cterm=underline term=underline
|
||||
hi Statement guifg=#8839ef guibg=NONE guisp=NONE gui=NONE ctermfg=93 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi StatusLine guifg=#4c4f69 guibg=#dce0e8 guisp=NONE gui=NONE ctermfg=236 ctermbg=254 cterm=NONE term=bold,reverse
|
||||
hi StatusLineNC guifg=#bcc0cc guibg=#e6e9ef guisp=NONE gui=NONE ctermfg=250 ctermbg=255 cterm=NONE term=bold,underline
|
||||
hi StorageClass guifg=#df8e1d guibg=NONE guisp=NONE gui=NONE ctermfg=172 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi String guifg=#40a02b guibg=NONE guisp=NONE gui=NONE ctermfg=34 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Structure guifg=#df8e1d guibg=NONE guisp=NONE gui=NONE ctermfg=172 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi TabLine guifg=#9ca0b0 guibg=#dce0e8 guisp=NONE gui=NONE ctermfg=247 ctermbg=254 cterm=NONE term=bold,underline
|
||||
hi TabLineFill guifg=NONE guibg=#e6e9ef guisp=NONE gui=NONE ctermfg=NONE ctermbg=255 cterm=NONE term=NONE
|
||||
hi TabLineSel guifg=#4c4f69 guibg=#eff1f5 guisp=NONE gui=NONE ctermfg=236 ctermbg=231 cterm=NONE term=bold,reverse
|
||||
hi Tag guifg=#7287fd guibg=NONE guisp=NONE gui=bold ctermfg=69 ctermbg=NONE cterm=bold term=bold
|
||||
hi Title guifg=#1e66f5 guibg=NONE guisp=NONE gui=bold ctermfg=27 ctermbg=NONE cterm=bold term=NONE
|
||||
hi TitleBar guifg=#4c4f69 guibg=#e6e9ef guisp=NONE gui=NONE ctermfg=236 ctermbg=255 cterm=NONE term=NONE
|
||||
hi TitleBarNC guifg=#9ca0b0 guibg=#dce0e8 guisp=NONE gui=NONE ctermfg=247 ctermbg=254 cterm=NONE term=NONE
|
||||
hi Todo guifg=#dd7878 guibg=NONE guisp=NONE gui=bold ctermfg=167 ctermbg=NONE cterm=bold term=bold,reverse
|
||||
hi ToolbarButton guifg=#dc8a78 guibg=NONE guisp=NONE gui=NONE ctermfg=174 ctermbg=NONE cterm=NONE term=bold,reverse
|
||||
hi ToolbarLine guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE term=reverse
|
||||
hi Type guifg=#df8e1d guibg=NONE guisp=NONE gui=NONE ctermfg=172 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Underlined guifg=NONE guibg=NONE guisp=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline term=underline
|
||||
hi VertSplit guifg=#dce0e8 guibg=NONE guisp=NONE gui=NONE ctermfg=254 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi Visual guifg=NONE guibg=#bcc0cc guisp=NONE gui=NONE ctermfg=250 ctermbg=236 cterm=reverse term=reverse
|
||||
hi VisualNOS guifg=NONE guibg=#bcc0cc guisp=NONE gui=bold ctermfg=NONE ctermbg=250 cterm=bold term=NONE
|
||||
hi WarningMsg guifg=#df8e1d guibg=NONE guisp=NONE gui=NONE ctermfg=172 ctermbg=NONE cterm=NONE term=standout
|
||||
hi WildMenu guifg=NONE guibg=#9ca0b0 guisp=NONE gui=NONE ctermfg=NONE ctermbg=247 cterm=NONE term=bold
|
||||
hi csvCol0 guifg=#d20f39 guibg=NONE guisp=NONE gui=NONE ctermfg=161 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol1 guifg=#fe640b guibg=NONE guisp=NONE gui=NONE ctermfg=202 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol2 guifg=#df8e1d guibg=NONE guisp=NONE gui=NONE ctermfg=172 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol3 guifg=#40a02b guibg=NONE guisp=NONE gui=NONE ctermfg=34 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol4 guifg=#04a5e5 guibg=NONE guisp=NONE gui=NONE ctermfg=39 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol5 guifg=#1e66f5 guibg=NONE guisp=NONE gui=NONE ctermfg=27 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol6 guifg=#7287fd guibg=NONE guisp=NONE gui=NONE ctermfg=69 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol7 guifg=#8839ef guibg=NONE guisp=NONE gui=NONE ctermfg=93 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi csvCol8 guifg=#ea76cb guibg=NONE guisp=NONE gui=NONE ctermfg=206 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi debugBreakpoint guifg=#9ca0b0 guibg=#eff1f5 guisp=NONE gui=NONE ctermfg=247 ctermbg=231 cterm=NONE term=NONE
|
||||
hi debugPC guifg=NONE guibg=#dce0e8 guisp=NONE gui=NONE ctermfg=NONE ctermbg=254 cterm=NONE term=NONE
|
||||
hi diffAdded guifg=#40a02b guibg=NONE guisp=NONE gui=NONE ctermfg=34 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffChanged guifg=#1e66f5 guibg=NONE guisp=NONE gui=NONE ctermfg=27 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffFile guifg=#1e66f5 guibg=NONE guisp=NONE gui=NONE ctermfg=27 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffIndexLine guifg=#179299 guibg=NONE guisp=NONE gui=NONE ctermfg=30 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffLine guifg=#9ca0b0 guibg=NONE guisp=NONE gui=NONE ctermfg=247 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffNewFile guifg=#fe640b guibg=NONE guisp=NONE gui=NONE ctermfg=202 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffOldFile guifg=#df8e1d guibg=NONE guisp=NONE gui=NONE ctermfg=172 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi diffRemoved guifg=#d20f39 guibg=NONE guisp=NONE gui=NONE ctermfg=161 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi lCursor guifg=#eff1f5 guibg=#d20f39 guisp=NONE gui=NONE ctermfg=231 ctermbg=161 cterm=NONE term=NONE
|
||||
hi markdownCode guifg=#dd7878 guibg=NONE guisp=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownCodeBlock guifg=#dd7878 guibg=NONE guisp=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownH1 guifg=#d20f39 guibg=NONE guisp=NONE gui=NONE ctermfg=161 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownH2 guifg=#fe640b guibg=NONE guisp=NONE gui=NONE ctermfg=202 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownH3 guifg=#df8e1d guibg=NONE guisp=NONE gui=NONE ctermfg=172 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownH4 guifg=#40a02b guibg=NONE guisp=NONE gui=NONE ctermfg=34 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownH5 guifg=#209fb5 guibg=NONE guisp=NONE gui=NONE ctermfg=38 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownH6 guifg=#7287fd guibg=NONE guisp=NONE gui=NONE ctermfg=69 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi markdownHeadingDelimiter guifg=#fe640b guibg=NONE guisp=NONE gui=bold ctermfg=202 ctermbg=NONE cterm=bold term=bold
|
||||
hi markdownLinkText guifg=#1e66f5 guibg=NONE guisp=NONE gui=underline ctermfg=27 ctermbg=NONE cterm=underline term=underline
|
||||
hi qfFileName guifg=#1e66f5 guibg=NONE guisp=NONE gui=NONE ctermfg=27 ctermbg=NONE cterm=NONE term=NONE
|
||||
hi qfLineNr guifg=#df8e1d guibg=NONE guisp=NONE gui=NONE ctermfg=172 ctermbg=NONE cterm=NONE term=NONE
|
||||
|
||||
if s:tgc || s:t_Co >= 256
|
||||
if s:tgc
|
||||
hi QuickFixLine cterm=NONE
|
||||
hi Visual cterm=NONE
|
||||
endif
|
||||
finish
|
||||
endif
|
||||
|
||||
if s:t_Co >= 16
|
||||
hi Normal ctermfg=Black ctermbg=White cterm=NONE
|
||||
hi Added ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi Bold ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi Changed ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Character ctermfg=DarkGreen ctermbg=NONE cterm=NONE
|
||||
hi ColorColumn ctermfg=NONE ctermbg=Grey cterm=NONE
|
||||
hi Comment ctermfg=Black ctermbg=NONE cterm=NONE
|
||||
hi Conceal ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Conditional ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Constant ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi CurSearch ctermfg=Black ctermbg=Red cterm=NONE
|
||||
hi Cursor ctermfg=White ctermbg=Red cterm=NONE
|
||||
hi CursorColumn ctermfg=NONE ctermbg=Grey cterm=NONE
|
||||
hi CursorIM ctermfg=White ctermbg=DarkMagenta cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi CursorLineNr ctermfg=Black ctermbg=NONE cterm=NONE
|
||||
hi Delimiter ctermfg=Black ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd ctermfg=White ctermbg=Green cterm=NONE
|
||||
hi DiffChange ctermfg=White ctermbg=Yellow cterm=NONE
|
||||
hi DiffDelete ctermfg=White ctermbg=Red cterm=NONE
|
||||
hi DiffText ctermfg=White ctermbg=Cyan cterm=NONE
|
||||
hi Directory ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi EndOfBuffer ctermfg=DarkGrey ctermbg=NONE cterm=NONE
|
||||
hi Error ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi ErrorMsg ctermfg=Red ctermbg=NONE cterm=bold
|
||||
hi Exception ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi FoldColumn ctermfg=DarkGrey ctermbg=NONE cterm=NONE
|
||||
hi Folded ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Function ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Identifier ctermfg=DarkRed ctermbg=NONE cterm=NONE
|
||||
hi Include ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Italic ctermfg=NONE ctermbg=NONE cterm=italic
|
||||
hi Keyword ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Label ctermfg=DarkCyan ctermbg=NONE cterm=NONE
|
||||
hi LineNr ctermfg=DarkGrey ctermbg=NONE cterm=NONE
|
||||
hi Macro ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi MatchParen ctermfg=DarkYellow ctermbg=NONE cterm=bold
|
||||
hi ModeMsg ctermfg=Black ctermbg=NONE cterm=bold
|
||||
hi MoreMsg ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi NonText ctermfg=DarkGrey ctermbg=NONE cterm=NONE
|
||||
hi Operator ctermfg=Cyan ctermbg=NONE cterm=NONE
|
||||
hi Pmenu ctermfg=Black ctermbg=Grey cterm=NONE
|
||||
hi PmenuExtra ctermfg=DarkGrey ctermbg=Grey cterm=NONE
|
||||
hi PmenuExtraSel ctermfg=DarkGrey ctermbg=Grey cterm=bold
|
||||
hi PmenuMatch ctermfg=Black ctermbg=NONE cterm=bold
|
||||
hi PmenuMatchSel ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi PmenuSbar ctermfg=NONE ctermbg=Grey cterm=NONE
|
||||
hi PmenuSel ctermfg=NONE ctermbg=Grey cterm=bold
|
||||
hi PmenuThumb ctermfg=NONE ctermbg=DarkGrey cterm=NONE
|
||||
hi PreInsert ctermfg=Black ctermbg=NONE cterm=NONE
|
||||
hi PreProc ctermfg=Magenta ctermbg=NONE cterm=NONE
|
||||
hi Question ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi QuickFixLine ctermfg=White ctermbg=Magenta cterm=bold
|
||||
hi Removed ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi Repeat ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Search ctermfg=Black ctermbg=Cyan cterm=NONE
|
||||
hi SignColumn ctermfg=White ctermbg=NONE cterm=NONE
|
||||
hi Special ctermfg=Magenta ctermbg=NONE cterm=NONE
|
||||
hi SpellBad ctermfg=Red ctermbg=NONE cterm=underline
|
||||
hi SpellCap ctermfg=Yellow ctermbg=NONE cterm=underline
|
||||
hi SpellLocal ctermfg=Blue ctermbg=NONE cterm=underline
|
||||
hi SpellRare ctermfg=Green ctermbg=NONE cterm=underline
|
||||
hi Statement ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi StatusLine ctermfg=Black ctermbg=Grey cterm=bold,reverse
|
||||
hi StatusLineNC ctermfg=DarkGrey ctermbg=Grey cterm=NONE
|
||||
hi StorageClass ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi String ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi Structure ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi TabLine ctermfg=DarkGrey ctermbg=Grey cterm=NONE
|
||||
hi TabLineFill ctermfg=NONE ctermbg=Grey cterm=NONE
|
||||
hi TabLineSel ctermfg=Black ctermbg=White cterm=NONE
|
||||
hi Tag ctermfg=DarkBlue ctermbg=NONE cterm=bold
|
||||
hi Title ctermfg=Blue ctermbg=NONE cterm=bold
|
||||
hi TitleBar ctermfg=Black ctermbg=Grey cterm=NONE
|
||||
hi TitleBarNC ctermfg=DarkGrey ctermbg=Grey cterm=NONE
|
||||
hi Todo ctermfg=DarkRed ctermbg=NONE cterm=bold
|
||||
hi ToolbarButton ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi VertSplit ctermfg=DarkGrey ctermbg=NONE cterm=NONE
|
||||
hi Visual ctermfg=Blue ctermbg=White cterm=bold,reverse
|
||||
hi VisualNOS ctermfg=NONE ctermbg=White cterm=bold
|
||||
hi WarningMsg ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi WildMenu ctermfg=NONE ctermbg=DarkGrey cterm=NONE
|
||||
hi csvCol0 ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi csvCol1 ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi csvCol2 ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi csvCol3 ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi csvCol4 ctermfg=Cyan ctermbg=NONE cterm=NONE
|
||||
hi csvCol5 ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi csvCol6 ctermfg=DarkBlue ctermbg=NONE cterm=NONE
|
||||
hi csvCol7 ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi csvCol8 ctermfg=Magenta ctermbg=NONE cterm=NONE
|
||||
hi debugBreakpoint ctermfg=DarkGrey ctermbg=White cterm=NONE
|
||||
hi debugPC ctermfg=NONE ctermbg=Grey cterm=NONE
|
||||
hi diffAdded ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi diffChanged ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi diffFile ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi diffIndexLine ctermfg=DarkGreen ctermbg=NONE cterm=NONE
|
||||
hi diffLine ctermfg=DarkGrey ctermbg=NONE cterm=NONE
|
||||
hi diffNewFile ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi diffOldFile ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi lCursor ctermfg=White ctermbg=Red cterm=NONE
|
||||
hi markdownCode ctermfg=DarkRed ctermbg=NONE cterm=NONE
|
||||
hi markdownCodeBlock ctermfg=DarkRed ctermbg=NONE cterm=NONE
|
||||
hi markdownH1 ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi markdownH2 ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi markdownH3 ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi markdownH4 ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi markdownH5 ctermfg=DarkCyan ctermbg=NONE cterm=NONE
|
||||
hi markdownH6 ctermfg=DarkBlue ctermbg=NONE cterm=NONE
|
||||
hi markdownHeadingDelimiter ctermfg=DarkYellow ctermbg=NONE cterm=bold
|
||||
hi markdownLinkText ctermfg=Blue ctermbg=NONE cterm=underline
|
||||
hi qfFileName ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi qfLineNr ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
finish
|
||||
endif
|
||||
|
||||
if s:t_Co >= 8
|
||||
hi Normal ctermfg=Black ctermbg=White cterm=NONE
|
||||
hi Added ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi Bold ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi Changed ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Character ctermfg=DarkGreen ctermbg=NONE cterm=NONE
|
||||
hi ColorColumn ctermfg=White ctermbg=DarkGrey cterm=NONE
|
||||
hi Comment ctermfg=Black ctermbg=NONE cterm=NONE
|
||||
hi Conceal ctermfg=Grey ctermbg=NONE cterm=NONE
|
||||
hi Conditional ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Constant ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi CurSearch ctermfg=Black ctermbg=Red cterm=NONE
|
||||
hi Cursor ctermfg=White ctermbg=Red cterm=NONE
|
||||
hi CursorColumn ctermfg=NONE ctermbg=Grey cterm=NONE
|
||||
hi CursorIM ctermfg=White ctermbg=DarkMagenta cterm=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi CursorLineNr ctermfg=Black ctermbg=NONE cterm=NONE
|
||||
hi Delimiter ctermfg=Black ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd ctermfg=White ctermbg=Green cterm=NONE
|
||||
hi DiffChange ctermfg=White ctermbg=Yellow cterm=NONE
|
||||
hi DiffDelete ctermfg=White ctermbg=Red cterm=NONE
|
||||
hi DiffText ctermfg=White ctermbg=Cyan cterm=NONE
|
||||
hi Directory ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi EndOfBuffer ctermfg=DarkGrey ctermbg=NONE cterm=NONE
|
||||
hi Error ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi ErrorMsg ctermfg=Red ctermbg=NONE cterm=bold
|
||||
hi Exception ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi FoldColumn ctermfg=DarkGrey ctermbg=NONE cterm=NONE
|
||||
hi Folded ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Function ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi Identifier ctermfg=DarkRed ctermbg=NONE cterm=NONE
|
||||
hi Include ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Italic ctermfg=NONE ctermbg=NONE cterm=italic
|
||||
hi Keyword ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Label ctermfg=DarkCyan ctermbg=NONE cterm=NONE
|
||||
hi LineNr ctermfg=DarkGrey ctermbg=NONE cterm=NONE
|
||||
hi Macro ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi MatchParen ctermfg=DarkYellow ctermbg=NONE cterm=bold
|
||||
hi ModeMsg ctermfg=Black ctermbg=NONE cterm=bold
|
||||
hi MoreMsg ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi NonText ctermfg=DarkGrey ctermbg=NONE cterm=NONE
|
||||
hi Operator ctermfg=Cyan ctermbg=NONE cterm=NONE
|
||||
hi Pmenu ctermfg=Black ctermbg=Grey cterm=NONE
|
||||
hi PmenuExtra ctermfg=DarkGrey ctermbg=Grey cterm=NONE
|
||||
hi PmenuExtraSel ctermfg=DarkGrey ctermbg=Grey cterm=bold
|
||||
hi PmenuMatch ctermfg=Black ctermbg=NONE cterm=bold
|
||||
hi PmenuMatchSel ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi PmenuSbar ctermfg=NONE ctermbg=Grey cterm=NONE
|
||||
hi PmenuSel ctermfg=NONE ctermbg=Grey cterm=bold
|
||||
hi PmenuThumb ctermfg=NONE ctermbg=DarkGrey cterm=NONE
|
||||
hi PreInsert ctermfg=Black ctermbg=NONE cterm=NONE
|
||||
hi PreProc ctermfg=Magenta ctermbg=NONE cterm=NONE
|
||||
hi Question ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi QuickFixLine ctermfg=Black ctermbg=Magenta cterm=bold
|
||||
hi Removed ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi Repeat ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi Search ctermfg=Black ctermbg=Cyan cterm=NONE
|
||||
hi SignColumn ctermfg=White ctermbg=NONE cterm=NONE
|
||||
hi Special ctermfg=Magenta ctermbg=NONE cterm=NONE
|
||||
hi SpellBad ctermfg=Red ctermbg=NONE cterm=underline
|
||||
hi SpellCap ctermfg=Yellow ctermbg=NONE cterm=underline
|
||||
hi SpellLocal ctermfg=Blue ctermbg=NONE cterm=underline
|
||||
hi SpellRare ctermfg=Green ctermbg=NONE cterm=underline
|
||||
hi Statement ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi StatusLine ctermfg=Black ctermbg=Grey cterm=bold,reverse
|
||||
hi StatusLineNC ctermfg=DarkGrey ctermbg=Grey cterm=reverse
|
||||
hi StorageClass ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi String ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi Structure ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi TabLine ctermfg=DarkGrey ctermbg=Grey cterm=NONE
|
||||
hi TabLineFill ctermfg=NONE ctermbg=Grey cterm=NONE
|
||||
hi TabLineSel ctermfg=Black ctermbg=Grey cterm=bold
|
||||
hi Tag ctermfg=DarkBlue ctermbg=NONE cterm=bold
|
||||
hi Title ctermfg=Blue ctermbg=NONE cterm=bold
|
||||
hi TitleBar ctermfg=Black ctermbg=Grey cterm=NONE
|
||||
hi TitleBarNC ctermfg=DarkGrey ctermbg=Grey cterm=NONE
|
||||
hi Todo ctermfg=DarkRed ctermbg=NONE cterm=bold
|
||||
hi ToolbarButton ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi VertSplit ctermfg=DarkGrey ctermbg=NONE cterm=NONE
|
||||
hi Visual ctermfg=Blue ctermbg=White cterm=bold,reverse
|
||||
hi VisualNOS ctermfg=NONE ctermbg=White cterm=bold
|
||||
hi WarningMsg ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi WildMenu ctermfg=NONE ctermbg=DarkGrey cterm=NONE
|
||||
hi csvCol0 ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi csvCol1 ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi csvCol2 ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi csvCol3 ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi csvCol4 ctermfg=Cyan ctermbg=NONE cterm=NONE
|
||||
hi csvCol5 ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi csvCol6 ctermfg=DarkBlue ctermbg=NONE cterm=NONE
|
||||
hi csvCol7 ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
|
||||
hi csvCol8 ctermfg=Magenta ctermbg=NONE cterm=NONE
|
||||
hi debugBreakpoint ctermfg=DarkGrey ctermbg=White cterm=NONE
|
||||
hi debugPC ctermfg=NONE ctermbg=Grey cterm=NONE
|
||||
hi diffAdded ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi diffChanged ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi diffFile ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi diffIndexLine ctermfg=DarkGreen ctermbg=NONE cterm=NONE
|
||||
hi diffLine ctermfg=DarkGrey ctermbg=NONE cterm=NONE
|
||||
hi diffNewFile ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi diffOldFile ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi diffRemoved ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi lCursor ctermfg=White ctermbg=Red cterm=NONE
|
||||
hi markdownCode ctermfg=DarkRed ctermbg=NONE cterm=NONE
|
||||
hi markdownCodeBlock ctermfg=DarkRed ctermbg=NONE cterm=NONE
|
||||
hi markdownH1 ctermfg=Red ctermbg=NONE cterm=NONE
|
||||
hi markdownH2 ctermfg=DarkYellow ctermbg=NONE cterm=NONE
|
||||
hi markdownH3 ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
hi markdownH4 ctermfg=Green ctermbg=NONE cterm=NONE
|
||||
hi markdownH5 ctermfg=DarkCyan ctermbg=NONE cterm=NONE
|
||||
hi markdownH6 ctermfg=DarkBlue ctermbg=NONE cterm=NONE
|
||||
hi markdownHeadingDelimiter ctermfg=DarkYellow ctermbg=NONE cterm=bold
|
||||
hi markdownLinkText ctermfg=Blue ctermbg=NONE cterm=underline
|
||||
hi qfFileName ctermfg=Blue ctermbg=NONE cterm=NONE
|
||||
hi qfLineNr ctermfg=Yellow ctermbg=NONE cterm=NONE
|
||||
finish
|
||||
endif
|
||||
|
||||
if s:t_Co >= 0
|
||||
hi CursorLineFold term=underline
|
||||
hi CursorLineSign term=underline
|
||||
hi Float term=NONE
|
||||
hi Ignore term=NONE
|
||||
hi IncSearch term=bold,reverse,underline
|
||||
hi Number term=NONE
|
||||
hi SpecialKey term=bold
|
||||
hi StatusLineTerm term=bold,reverse
|
||||
hi StatusLineTermNC term=bold,underline
|
||||
hi Terminal term=NONE
|
||||
finish
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
" vim: et ts=8 sw=2 sts=2
|
||||
39
runtime/compiler/cabal.vim
Normal file
39
runtime/compiler/cabal.vim
Normal file
@@ -0,0 +1,39 @@
|
||||
" Vim compiler file
|
||||
" Compiler: Haskell Cabal Build file
|
||||
" Maintainer: Mateo Gjika <@mateoxh>
|
||||
|
||||
if exists('current_compiler')
|
||||
finish
|
||||
endif
|
||||
|
||||
let current_compiler = 'cabal'
|
||||
|
||||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
CompilerSet makeprg=cabal\ build
|
||||
|
||||
CompilerSet errorformat=
|
||||
\%W%f:(%l\\,%c)-(%e\\,%k):\ %tarning:\ [%.%#],
|
||||
\%W%f:(%l\\,%c)-(%e\\,%k):\ %tarning:%m,
|
||||
\%W%f:(%l\\,%c)-(%e\\,%k):\ %tarning:,
|
||||
\%W%f:%l:%c-%k:\ %tarning:\ [%.%#],
|
||||
\%W%f:%l:%c-%k:\ %tarning:%m,
|
||||
\%W%f:%l:%c-%k:\ %tarning:,
|
||||
\%W%f:%l:%c:\ %tarning:\ [%.%#],
|
||||
\%W%f:%l:%c:\ %tarning:%m,
|
||||
\%W%f:%l:%c:\ %tarning:,
|
||||
\%E%f:(%l\\,%c)-(%e\\,%k):\ %trror:\ [%.%#],
|
||||
\%E%f:(%l\\,%c)-(%e\\,%k):\ %trror:%m,
|
||||
\%E%f:(%l\\,%c)-(%e\\,%k):\ %trror:,
|
||||
\%E%f:%l:%c-%k:\ %trror:\ [%.%#],
|
||||
\%E%f:%l:%c-%k:\ %trror:%m,
|
||||
\%E%f:%l:%c-%k:\ %trror:,
|
||||
\%E%f:%l:%c:\ %trror:\ [%.%#],
|
||||
\%E%f:%l:%c:\ %trror:%m,
|
||||
\%E%f:%l:%c:\ %trror:,
|
||||
\%Z\ %\\+\|%.%#,
|
||||
\%C%m
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
@@ -4,9 +4,7 @@ vim9script
|
||||
# Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
|
||||
# Former Maintainers: Nikolai Weibull <now@bitwi.se>
|
||||
# Contributors: Enno Nagel
|
||||
# Last Change: 2024 Mar 29
|
||||
# 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||
# 2025 Mar 11 by The Vim Project (add comment for Dispatch)
|
||||
# Last Change: 2026 Jan 10
|
||||
|
||||
if exists("g:current_compiler")
|
||||
finish
|
||||
@@ -16,7 +14,6 @@ import autoload '../autoload/context.vim'
|
||||
|
||||
g:current_compiler = 'context'
|
||||
|
||||
# CompilerSet makeprg=context
|
||||
if get(b:, 'context_ignore_makefile', get(g:, 'context_ignore_makefile', 0)) ||
|
||||
(!filereadable('Makefile') && !filereadable('makefile'))
|
||||
var makeprg = join(context.ConTeXtCmd(shellescape(expand('%:p:t'))), ' ')
|
||||
@@ -30,14 +27,14 @@ const context_errorformat = join([
|
||||
"%-Qclose source%.%#> %f",
|
||||
"%-Popen source%.%#name '%f'",
|
||||
"%-Qclose source%.%#name '%f'",
|
||||
"tex %trror%.%#error on line %l in file %f: %m",
|
||||
"%E! %m",
|
||||
"%Ztex %trror%.%#error on line %l in file %f",
|
||||
"%Elua %trror%.%#error on line %l in file %f:",
|
||||
"%+Emetapost %#> error: %#",
|
||||
"%Emetafun%.%#error: %m",
|
||||
"! error: %#%m",
|
||||
"%-C %#",
|
||||
"%C! %m",
|
||||
"%Z[ctxlua]%m",
|
||||
"%Z%.%#[ctxlua]:%l:%m",
|
||||
"%+C<*> %.%#",
|
||||
"%-C%.%#",
|
||||
"%Z...%m",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
" by Daniel Hahler, 2019 Jul 12
|
||||
" added line suggested by Anton Lindqvist 2016 Mar 31
|
||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||
" 2025 Dec 17 by The Vim Project (correctly parse: 'make: *** [Makefile:2: all] Error 1')
|
||||
|
||||
if exists("current_compiler")
|
||||
finish
|
||||
@@ -16,6 +17,7 @@ let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
CompilerSet errorformat=
|
||||
\make:\ ***\ [%f:%l:\ %m,
|
||||
\%*[^\"]\"%f\"%*\\D%l:%c:\ %m,
|
||||
\%*[^\"]\"%f\"%*\\D%l:\ %m,
|
||||
\\"%f\"%*\\D%l:%c:\ %m,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
" Language: Ada (GNAT)
|
||||
" $Id: gnat.vim 887 2008-07-08 14:29:01Z krischik $
|
||||
" Copyright: Copyright (C) 2006 Martin Krischik
|
||||
" Maintainer: Martin Krischi <krischik@users.sourceforge.net>k
|
||||
" Maintainer: Martin Krischi <krischik@users.sourceforge.net>
|
||||
" Ned Okie <nokie@radford.edu>
|
||||
" $Author: krischik $
|
||||
" $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $
|
||||
|
||||
@@ -3,25 +3,30 @@ vim9script
|
||||
# Vim compiler file.
|
||||
# Compiler: Hare
|
||||
# Maintainer: Amelia Clarke <selene@perilune.dev>
|
||||
# Last Change: 2025 Sep 06
|
||||
# Last Change: 2026 Jan 24
|
||||
# Upstream: https://git.sr.ht/~sircmpwn/hare.vim
|
||||
|
||||
if exists('g:current_compiler')
|
||||
finish
|
||||
endif
|
||||
g:current_compiler = 'hare'
|
||||
|
||||
if filereadable('Makefile') || filereadable('makefile')
|
||||
CompilerSet makeprg=make
|
||||
else
|
||||
const makeprg = 'hare build '
|
||||
.. get(b:, 'hare_makeprg_params', get(g:, 'hare_makeprg_params', '-q'))
|
||||
const makeprg = 'hare build ' .. get(g:, 'hare_makeprg_params', '-q')
|
||||
execute 'CompilerSet makeprg=' .. escape(makeprg, ' "\|')
|
||||
endif
|
||||
|
||||
CompilerSet errorformat=
|
||||
\%o:%l:%v:\ syntax\ error:\ %m,
|
||||
\%o:%l:%v:\ error:\ %m,
|
||||
\Error:\ %m,
|
||||
\%E%o:%l:%v:\ error:\ %m,
|
||||
\%E%o:%l:%v:\ syntax\ error:\ %m,
|
||||
\%E%o:%l:%v:\ %\\%%(unexpected\ name\ %\\)%\\@=%m,
|
||||
\%C,%C\ %.%#,%C%l\ %.%#,
|
||||
\%trror:\ %o:\ %\\%%(%\\h%\\w%\\+%\\%%(::%\\h%\\w%\\+%\\)%#:\ %\\)%\\@=%m,
|
||||
\%trror:\ %m,
|
||||
\%+EAbort:\ %m%>,
|
||||
\%C%.%#,
|
||||
\%-G%.%#
|
||||
|
||||
augroup HareQuickFix
|
||||
@@ -30,6 +35,4 @@ augroup HareQuickFix
|
||||
autocmd QuickFixCmdPost lmake hare#QuickFixPaths()
|
||||
augroup END
|
||||
|
||||
g:current_compiler = 'hare'
|
||||
|
||||
# vim: et sts=2 sw=2 ts=8 tw=80
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
" Compiler: Pandoc
|
||||
" Maintainer: Konfekt
|
||||
" Last Change: 2024 Nov 19
|
||||
" 2025 May 15 Update the title regex for CompilerSet #17321
|
||||
" 2025 May 15 by Vim Project: Update the title regex for CompilerSet #17321
|
||||
" 2026 Jan 10 by Vim Project: Do not set the title #19048
|
||||
"
|
||||
" Expects output file extension, say `:make html` or `:make pdf`.
|
||||
" Passes additional arguments to pandoc, say `:make html --self-contained`.
|
||||
@@ -52,8 +53,6 @@ endfunction
|
||||
|
||||
execute 'CompilerSet makeprg=pandoc'..escape(
|
||||
\ ' --standalone'..
|
||||
\ (s:PandocFiletype(&filetype) ==# 'markdown' && (getline(1) =~# '^%\s\+\S\+' || (search('^title:\s\+\S\+', 'cnw') > 0)) ?
|
||||
\ '' : ' --metadata title=%:t:r:S')..
|
||||
\ ' '..s:PandocLang()..
|
||||
\ ' --from='..s:PandocFiletype(&filetype)..
|
||||
\ ' '..get(b:, 'pandoc_compiler_args', get(g:, 'pandoc_compiler_args', ''))..
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Vim compiler file
|
||||
" Compiler: Perl syntax checks (perl -Wc)
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com>
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com> (need to be subscribed to post)
|
||||
" Author: Christian J. Robinson <heptite@gmail.com>
|
||||
" Homepage: https://github.com/vim-perl/vim-perl
|
||||
" Bugs/requests: https://github.com/vim-perl/vim-perl/issues
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Vim compiler file
|
||||
" Compiler: perlcritic
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com>
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com> (need to be subscribed to post)
|
||||
" Author: Doug Kearns <dougkearns@gmail.com>
|
||||
" Homepage: https://github.com/vim-perl/vim-perl
|
||||
" Bugs/requests: https://github.com/vim-perl/vim-perl/issues
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Vim compiler file
|
||||
" Compiler: podchecker
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com>
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com> (need to be subscribed to post)
|
||||
" Author: Doug Kearns <dougkearns@gmail.com>
|
||||
" Homepage: https://github.com/vim-perl/vim-perl
|
||||
" Bugs/requests: https://github.com/vim-perl/vim-perl/issues
|
||||
|
||||
25
runtime/compiler/pyright.vim
Normal file
25
runtime/compiler/pyright.vim
Normal file
@@ -0,0 +1,25 @@
|
||||
" Vim compiler file
|
||||
" Compiler: Pyright (Python Type Checker)
|
||||
" Maintainer: @konfekt
|
||||
" Last Change: 2025 Feb 7
|
||||
|
||||
if exists("current_compiler") | finish | endif
|
||||
let current_compiler = "pyright"
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
" CompilerSet makeprg=pyright
|
||||
" CompilerSet makeprg=basedpyright
|
||||
exe 'CompilerSet makeprg=' .. escape(
|
||||
\ get(b:, 'pyright_makeprg', get(g:, 'pyright_makeprg', 'pyright')),
|
||||
\ ' \|"')
|
||||
CompilerSet errorformat=
|
||||
\%E%f:%l:%c\ -\ error:\ %m,
|
||||
\%W%f:%l:%c\ -\ warning:\ %m,
|
||||
\%N%f:%l:%c\ -\ note:\ %m,
|
||||
\%C[\ \t]\ %.%#,
|
||||
\%-G%.%#
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
@@ -4,6 +4,7 @@
|
||||
" Last Change: 2024 Nov 07
|
||||
" 2024 Nov 19 by the Vim Project (properly escape makeprg setting)
|
||||
" 2025 Nov 06 by the Vim Project (do not set buffer-local makeprg)
|
||||
" 2024 Dec 24 by the Vim Project (mute Found messages)
|
||||
|
||||
if exists("current_compiler") | finish | endif
|
||||
let current_compiler = "ruff"
|
||||
@@ -16,6 +17,7 @@ exe 'CompilerSet makeprg=' .. escape('ruff check --output-format=concise '
|
||||
\ ..get(b:, 'ruff_makeprg_params', get(g:, 'ruff_makeprg_params', '--preview')),
|
||||
\ ' \|"')
|
||||
CompilerSet errorformat=%f:%l:%c:\ %m,%f:%l:\ %m,%f:%l:%c\ -\ %m,%f:
|
||||
CompilerSet errorformat+=%-GFound\ %.%#
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
" Maintainer: Chris Morgan <me@chrismorgan.info>
|
||||
" Latest Revision: 2023-09-11
|
||||
" 2025 Nov 15 by Vim project: remove test for Vim patch 7.4.191
|
||||
" 2025 Dec 18 by Vim project: detect more errors #18957
|
||||
" For bugs, patches and license go to https://github.com/rust-lang/rust.vim
|
||||
|
||||
if exists("current_compiler")
|
||||
@@ -29,8 +30,10 @@ CompilerSet errorformat=
|
||||
\%Eerror:\ %m,
|
||||
\%Eerror[E%n]:\ %m,
|
||||
\%Wwarning:\ %m,
|
||||
\%Wwarning[E%n]:\ %m,
|
||||
\%Inote:\ %m,
|
||||
\%C\ %#-->\ %f:%l:%c,
|
||||
\%C\ %#╭▸\ %f:%l:%c,
|
||||
\%E\ \ left:%m,%C\ right:%m\ %f:%l:%c,%Z
|
||||
|
||||
" Old errorformat (before nightly 2016/08/10)
|
||||
|
||||
20
runtime/compiler/ty.vim
Normal file
20
runtime/compiler/ty.vim
Normal file
@@ -0,0 +1,20 @@
|
||||
" Vim compiler file
|
||||
" Compiler: Ty (Python Type Checker)
|
||||
" Maintainer: @konfekt
|
||||
" Last Change: 2024 Dec 24
|
||||
|
||||
if exists("current_compiler") | finish | endif
|
||||
let current_compiler = "ty"
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
" CompilerSet makeprg=ty
|
||||
exe 'CompilerSet makeprg=' .. escape(
|
||||
\ get(b:, 'ty_makeprg', get(g:, 'ty_makeprg', 'ty check --no-progress --color=never'))
|
||||
\ ..' --output-format=concise', ' \|"')
|
||||
CompilerSet errorformat=%f:%l:%c:\ %m,%f:%l:\ %m,%f:%l:%c\ -\ %m,%f:
|
||||
CompilerSet errorformat+=%-GFound\ %.%#
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
@@ -1,7 +1,7 @@
|
||||
" The default vimrc file.
|
||||
"
|
||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
" Last Change: 2025 Sep 10
|
||||
" Last Change: 2025 Nov 28
|
||||
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
"
|
||||
" This is loaded if no vimrc file was found.
|
||||
@@ -136,7 +136,7 @@ if &t_Co > 2 || has("gui_running")
|
||||
syntax on
|
||||
|
||||
" I like highlighting strings inside C comments.
|
||||
" Revert with ":unlet c_comment_strings".
|
||||
" Revert with ":unlet g:c_comment_strings".
|
||||
let c_comment_strings=1
|
||||
endif
|
||||
|
||||
|
||||
@@ -449,6 +449,61 @@ xxd-ru.UTF-8.1 : xxd-ru.1
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
evim-sv.UTF-8.1 : evim-sv.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vim-sv.UTF-8.1 : vim-sv.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimdiff-sv.UTF-8.1 : vimdiff-sv.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimtutor-sv.UTF-8.1 : vimtutor-sv.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
xxd-sv.UTF-8.1 : xxd-sv.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
evim-tr.UTF-8.1 : evim-tr.1
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*autocmd.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*autocmd.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -874,7 +874,8 @@ FileChangedShell When Vim notices that the modification time of
|
||||
to tell Vim what to do next.
|
||||
NOTE: When this autocommand is executed, the
|
||||
current buffer "%" may be different from the
|
||||
buffer that was changed, which is in "<afile>".
|
||||
buffer that was changed, which is in
|
||||
"<afile>".
|
||||
NOTE: The commands must not change the current
|
||||
buffer, jump to another buffer or delete a
|
||||
buffer. *E246* *E811*
|
||||
@@ -1324,9 +1325,9 @@ TermResponseAll After the response to |t_RV|, |t_RC|, |t_RS|,
|
||||
"osc",
|
||||
"version" (|t_RV|)
|
||||
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.
|
||||
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
|
||||
@@ -1455,8 +1456,9 @@ VimResume When the Vim instance is resumed after being
|
||||
:autocmd VimResume * checktime
|
||||
< *VimSuspend*
|
||||
VimSuspend When the Vim instance is suspended. Only when
|
||||
CTRL-Z was typed inside Vim, or when the SIGTSTP
|
||||
signal was sent to Vim, but not for SIGSTOP.
|
||||
CTRL-Z was typed inside Vim, or when the
|
||||
SIGTSTP signal was sent to Vim, but not for
|
||||
SIGSTOP.
|
||||
*WinClosed*
|
||||
WinClosed When closing a window, just before it is
|
||||
removed from the window layout. The pattern
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*builtin.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*builtin.txt* For Vim version 9.1. Last change: 2026 Feb 2
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -23,9 +23,11 @@ Use CTRL-] on the function name to jump to the full explanation.
|
||||
|
||||
USAGE RESULT DESCRIPTION ~
|
||||
|
||||
abs({expr}) Float or Number absolute value of {expr}
|
||||
abs({expr}) Float/Number
|
||||
absolute value of {expr}
|
||||
acos({expr}) Float arc cosine of {expr}
|
||||
add({object}, {item}) List/Blob append {item} to {object}
|
||||
add({object}, {item}) List/Blob
|
||||
append {item} to {object}
|
||||
and({expr}, {expr}) Number bitwise AND
|
||||
append({lnum}, {text}) Number append {text} below line {lnum}
|
||||
appendbufline({buf}, {lnum}, {text})
|
||||
@@ -33,7 +35,8 @@ appendbufline({buf}, {lnum}, {text})
|
||||
in buffer {buf}
|
||||
argc([{winid}]) Number number of files in the argument list
|
||||
argidx() Number current index in the argument list
|
||||
arglistid([{winnr} [, {tabnr}]]) Number argument list id
|
||||
arglistid([{winnr} [, {tabnr}]])
|
||||
Number argument list id
|
||||
argv({nr} [, {winid}]) String {nr} entry of the argument list
|
||||
argv([-1, {winid}]) List the argument list
|
||||
asin({expr}) Float arc sine of {expr}
|
||||
@@ -43,7 +46,7 @@ assert_equal({exp}, {act} [, {msg}])
|
||||
assert_equalfile({fname-one}, {fname-two} [, {msg}])
|
||||
Number assert file contents are equal
|
||||
assert_exception({error} [, {msg}])
|
||||
Number assert {error} is in v:exception
|
||||
Number assert {error} is in |v:exception|
|
||||
assert_fails({cmd} [, {error} [, {msg} [, {lnum} [, {context}]]]])
|
||||
Number assert {cmd} fails
|
||||
assert_false({actual} [, {msg}])
|
||||
@@ -81,8 +84,8 @@ bufexists({buf}) Number |TRUE| if buffer {buf} exists
|
||||
buflisted({buf}) Number |TRUE| if buffer {buf} is listed
|
||||
bufload({buf}) Number load buffer {buf} if not loaded yet
|
||||
bufloaded({buf}) Number |TRUE| if buffer {buf} is loaded
|
||||
bufname([{buf}]) String Name of the buffer {buf}
|
||||
bufnr([{buf} [, {create}]]) Number Number of the buffer {buf}
|
||||
bufname([{buf}]) String name of the buffer {buf}
|
||||
bufnr([{buf} [, {create}]]) Number number of the buffer {buf}
|
||||
bufwinid({buf}) Number window ID of buffer {buf}
|
||||
bufwinnr({buf}) Number window number of buffer {buf}
|
||||
byte2line({byte}) Number line number at byte count {byte}
|
||||
@@ -121,7 +124,8 @@ ch_setoptions({handle}, {options})
|
||||
ch_status({handle} [, {options}])
|
||||
String status of channel {handle}
|
||||
changenr() Number current change number
|
||||
char2nr({expr} [, {utf8}]) Number ASCII/UTF-8 value of first char in {expr}
|
||||
char2nr({expr} [, {utf8}]) Number ASCII/UTF-8 value of first char in
|
||||
{expr}
|
||||
charclass({string}) Number character class of {string}
|
||||
charcol({expr} [, {winid}]) Number column number of cursor or mark
|
||||
charidx({string}, {idx} [, {countcc} [, {utf16}]])
|
||||
@@ -136,7 +140,6 @@ complete({startcol}, {matches}) none set Insert mode completion
|
||||
complete_add({expr}) Number add completion match
|
||||
complete_check() Number check for key typed during completion
|
||||
complete_info([{what}]) Dict get current completion information
|
||||
complete_match([{lnum}, {col}]) List get completion column and trigger text
|
||||
confirm({msg} [, {choices} [, {default} [, {type}]]])
|
||||
Number number of choice picked by user
|
||||
copy({expr}) any make a shallow copy of {expr}
|
||||
@@ -181,10 +184,12 @@ expand({expr} [, {nosuf} [, {list}]])
|
||||
expandcmd({string} [, {options}])
|
||||
String expand {string} like with `:edit`
|
||||
extend({expr1}, {expr2} [, {expr3}])
|
||||
List/Dict insert items of {expr2} into {expr1}
|
||||
List/Dict
|
||||
insert items of {expr2} into {expr1}
|
||||
extendnew({expr1}, {expr2} [, {expr3}])
|
||||
List/Dict like |extend()| but creates a new
|
||||
List or Dictionary
|
||||
List/Dict
|
||||
like |extend()| but creates a new List
|
||||
or Dictionary
|
||||
feedkeys({string} [, {mode}]) Number add key sequence to typeahead buffer
|
||||
filecopy({from}, {to}) Number |TRUE| if copying file {from} to {to}
|
||||
worked
|
||||
@@ -195,7 +200,8 @@ filter({expr1}, {expr2}) List/Dict/Blob/String
|
||||
{expr2} is 0
|
||||
finddir({name} [, {path} [, {count}]])
|
||||
findfile({name} [, {path} [, {count}]])
|
||||
String/List find dir/file {name} in {path}
|
||||
String/List
|
||||
find dir/file {name} in {path}
|
||||
flatten({list} [, {maxdepth}]) List flatten {list} up to {maxdepth} levels
|
||||
flattennew({list} [, {maxdepth}])
|
||||
List flatten a copy of {list}
|
||||
@@ -217,7 +223,8 @@ funcref({name} [, {arglist}] [, {dict}])
|
||||
Funcref reference to function {name}
|
||||
function({name} [, {arglist}] [, {dict}])
|
||||
Funcref named reference to function {name}
|
||||
garbagecollect([{atexit}]) none free memory, breaking cyclic references
|
||||
garbagecollect([{atexit}]) none free memory, breaking cyclic
|
||||
references
|
||||
get({list}, {idx} [, {def}]) any get item {idx} from {list} or {def}
|
||||
get({dict}, {key} [, {def}]) any get item {key} from {dict} or {def}
|
||||
get({func}, {what}) any get property of funcref/partial {func}
|
||||
@@ -230,7 +237,7 @@ getbufvar({buf}, {varname} [, {def}])
|
||||
getcellpixels() List get character cell pixel size
|
||||
getcellwidths() List get character cell width overrides
|
||||
getchangelist([{buf}]) List list of change list items
|
||||
getchar([{expr} [, {opts}]]) Number or String
|
||||
getchar([{expr} [, {opts}]]) Number/String
|
||||
get one character from the user
|
||||
getcharmod() Number modifiers for the last typed character
|
||||
getcharpos({expr}) List position of cursor, mark, etc.
|
||||
@@ -246,7 +253,8 @@ getcmdprompt() String return the current command-line prompt
|
||||
getcmdscreenpos() Number return cursor screen position in
|
||||
command-line
|
||||
getcmdtype() String return current command-line type
|
||||
getcmdwintype() String return current command-line window type
|
||||
getcmdwintype() String return current command-line window
|
||||
type
|
||||
getcompletion({pat}, {type} [, {filtered}])
|
||||
List list of cmdline completion matches
|
||||
getcompletiontype({pat}) String return the type of the command-line
|
||||
@@ -264,7 +272,8 @@ getimstatus() Number |TRUE| if the IME status is active
|
||||
getjumplist([{winnr} [, {tabnr}]])
|
||||
List list of jump list items
|
||||
getline({lnum}) String line {lnum} of current buffer
|
||||
getline({lnum}, {end}) List lines {lnum} to {end} of current buffer
|
||||
getline({lnum}, {end}) List lines {lnum} to {end} of current
|
||||
buffer
|
||||
getloclist({nr}) List list of location list items
|
||||
getloclist({nr}, {what}) Dict get specific location list properties
|
||||
getmarklist([{buf}]) List list of global/local marks
|
||||
@@ -276,7 +285,8 @@ getpos({expr}) List position of cursor, mark, etc.
|
||||
getqflist() List list of quickfix items
|
||||
getqflist({what}) Dict get specific quickfix list properties
|
||||
getreg([{regname} [, 1 [, {list}]]])
|
||||
String or List contents of a register
|
||||
String/List
|
||||
contents of a register
|
||||
getreginfo([{regname}]) Dict information about a register
|
||||
getregion({pos1}, {pos2} [, {opts}])
|
||||
List get the text from {pos1} to {pos2}
|
||||
@@ -287,7 +297,8 @@ getscriptinfo([{opts}]) List list of sourced scripts
|
||||
getstacktrace() List get current stack trace of Vim scripts
|
||||
gettabinfo([{expr}]) List list of tab pages
|
||||
gettabvar({nr}, {varname} [, {def}])
|
||||
any variable {varname} in tab {nr} or {def}
|
||||
any variable {varname} in tab {nr} or
|
||||
{def}
|
||||
gettabwinvar({tabnr}, {winnr}, {name} [, {def}])
|
||||
any {name} in {winnr} in tab page {tabnr}
|
||||
gettagstack([{nr}]) Dict get the tag stack of window {nr}
|
||||
@@ -306,8 +317,8 @@ globpath({path}, {expr} [, {nosuf} [, {list} [, {alllinks}]]])
|
||||
has({feature} [, {check}]) Number |TRUE| if feature {feature} supported
|
||||
has_key({dict}, {key}) Number |TRUE| if {dict} has entry {key}
|
||||
haslocaldir([{winnr} [, {tabnr}]])
|
||||
Number |TRUE| if the window executed |:lcd|
|
||||
or |:tcd|
|
||||
Number |TRUE| if the window executed `:lcd` or
|
||||
`:tcd`
|
||||
hasmapto({what} [, {mode} [, {abbr}]])
|
||||
Number |TRUE| if mapping to {what} exists
|
||||
histadd({history}, {item}) Number add an item to a history
|
||||
@@ -333,9 +344,13 @@ inputdialog({prompt} [, {text} [, {cancelreturn}]])
|
||||
inputlist({textlist}) Number let the user pick from a choice list
|
||||
inputrestore() Number restore typeahead
|
||||
inputsave() Number save and clear typeahead
|
||||
inputsecret({prompt} [, {text}]) String like input() but hiding the text
|
||||
insert({object}, {item} [, {idx}]) List insert {item} in {object} [before {idx}]
|
||||
instanceof({object}, {class}) Number |TRUE| if {object} is an instance of {class}
|
||||
inputsecret({prompt} [, {text}])
|
||||
String like input() but hiding the text
|
||||
insert({object}, {item} [, {idx}])
|
||||
List insert {item} in {object}
|
||||
[before {idx}]
|
||||
instanceof({object}, {class}) Number |TRUE| if {object} is an instance of
|
||||
{class}
|
||||
interrupt() none interrupt script execution
|
||||
invert({expr}) Number bitwise invert
|
||||
isabsolutepath({path}) Number |TRUE| if {path} is an absolute path
|
||||
@@ -347,7 +362,8 @@ isnan({expr}) Number |TRUE| if {expr} is NaN
|
||||
items({expr}) List key/index-value pairs in {expr}
|
||||
job_getchannel({job}) Channel get the channel handle for {job}
|
||||
job_info([{job}]) Dict get information about {job}
|
||||
job_setoptions({job}, {options}) none set options for {job}
|
||||
job_setoptions({job}, {options})
|
||||
none set options for {job}
|
||||
job_start({command} [, {options}])
|
||||
Job start a job
|
||||
job_status({job}) String get the status of {job}
|
||||
@@ -359,9 +375,10 @@ json_decode({string}) any decode JSON
|
||||
json_encode({expr}) String encode JSON
|
||||
keys({dict}) List keys in {dict}
|
||||
keytrans({string}) String translate internal keycodes to a form
|
||||
that can be used by |:map|
|
||||
that can be used by `:map`
|
||||
len({expr}) Number the length of {expr}
|
||||
libcall({lib}, {func}, {arg}) String call {func} in library {lib} with {arg}
|
||||
libcall({lib}, {func}, {arg}) String call {func} in library {lib} with
|
||||
{arg}
|
||||
libcallnr({lib}, {func}, {arg}) Number idem, but return a Number
|
||||
line({expr} [, {winid}]) Number line nr of cursor, last line or mark
|
||||
line2byte({lnum}) Number byte count of line {lnum}
|
||||
@@ -380,7 +397,7 @@ luaeval({expr} [, {expr}]) any evaluate |Lua| expression
|
||||
map({expr1}, {expr2}) List/Dict/Blob/String
|
||||
change each item in {expr1} to {expr2}
|
||||
maparg({name} [, {mode} [, {abbr} [, {dict}]]])
|
||||
String or Dict
|
||||
String/Dict
|
||||
rhs of mapping {name} in mode {mode}
|
||||
mapcheck({name} [, {mode} [, {abbr}]])
|
||||
String check for mappings matching {name}
|
||||
@@ -395,7 +412,7 @@ matchadd({group}, {pattern} [, {priority} [, {id} [, {dict}]]])
|
||||
Number highlight {pattern} with {group}
|
||||
matchaddpos({group}, {pos} [, {priority} [, {id} [, {dict}]]])
|
||||
Number highlight positions with {group}
|
||||
matcharg({nr}) List arguments of |:match|
|
||||
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}
|
||||
@@ -406,7 +423,8 @@ matchfuzzy({list}, {str} [, {dict}])
|
||||
matchfuzzypos({list}, {str} [, {dict}])
|
||||
List fuzzy match {str} in {list}
|
||||
matchlist({expr}, {pat} [, {start} [, {count}]])
|
||||
List match and submatches of {pat} in {expr}
|
||||
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})
|
||||
@@ -423,11 +441,13 @@ mzeval({expr}) any evaluate |MzScheme| expression
|
||||
nextnonblank({lnum}) Number line nr of non-blank line >= {lnum}
|
||||
ngettext({single}, {plural}, {number}[, {domain}])
|
||||
String translate text based on {number}
|
||||
nr2char({expr} [, {utf8}]) String single char with ASCII/UTF-8 value {expr}
|
||||
nr2char({expr} [, {utf8}]) String single char with ASCII/UTF-8 value
|
||||
{expr}
|
||||
or({expr}, {expr}) Number bitwise OR
|
||||
pathshorten({expr} [, {len}]) String shorten directory names in a path
|
||||
perleval({expr}) any evaluate |Perl| expression
|
||||
popup_atcursor({what}, {options}) Number create popup window near the cursor
|
||||
popup_atcursor({what}, {options})
|
||||
Number create popup window near the cursor
|
||||
popup_beval({what}, {options}) Number create popup window for 'ballooneval'
|
||||
popup_clear() none close all popup windows
|
||||
popup_close({id} [, {result}]) none close popup window {id}
|
||||
@@ -447,7 +467,8 @@ popup_menu({what}, {options}) Number create a popup window used as a menu
|
||||
popup_move({id}, {options}) none set position of popup window {id}
|
||||
popup_notification({what}, {options})
|
||||
Number create a notification popup window
|
||||
popup_setbuf({id}, {buf}) Bool set the buffer for the popup window {id}
|
||||
popup_setbuf({id}, {buf}) Bool set the buffer for the popup window
|
||||
{id}
|
||||
popup_setoptions({id}, {options})
|
||||
none set options for popup window {id}
|
||||
popup_settext({id}, {text}) none set the text of popup window {id}
|
||||
@@ -457,10 +478,13 @@ preinserted() Number whether text is inserted after cursor
|
||||
prevnonblank({lnum}) Number line nr of non-blank line <= {lnum}
|
||||
printf({fmt}, {expr1}...) String format text
|
||||
prompt_getprompt({buf}) String get prompt text
|
||||
prompt_setcallback({buf}, {expr}) none set prompt callback function
|
||||
prompt_setinterrupt({buf}, {text}) none set prompt interrupt function
|
||||
prompt_setcallback({buf}, {expr})
|
||||
none set prompt callback function
|
||||
prompt_setinterrupt({buf}, {text})
|
||||
none set prompt interrupt function
|
||||
prompt_setprompt({buf}, {text}) none set prompt text
|
||||
prop_add({lnum}, {col}, {props}) none add one text property
|
||||
prop_add({lnum}, {col}, {props})
|
||||
none add one text property
|
||||
prop_add_list({props}, [[{lnum}, {col}, {end-lnum}, {end-col}], ...])
|
||||
none add multiple text properties
|
||||
prop_clear({lnum} [, {lnum-end} [, {props}]])
|
||||
@@ -494,6 +518,8 @@ readdirex({dir} [, {expr} [, {dict}]])
|
||||
List file info in {dir} selected by {expr}
|
||||
readfile({fname} [, {type} [, {max}]])
|
||||
List get list of lines from file {fname}
|
||||
redraw_listener_add({opts}) Number add callbacks to listen for redraws
|
||||
redraw_listener_remove({id}) none remove a redraw listener
|
||||
reduce({object}, {func} [, {initial}])
|
||||
any reduce {object} using {func}
|
||||
reg_executing() String get the executing register name
|
||||
@@ -526,9 +552,10 @@ round({expr}) Float round off {expr}
|
||||
rubyeval({expr}) any evaluate |Ruby| expression
|
||||
screenattr({row}, {col}) Number attribute at screen position
|
||||
screenchar({row}, {col}) Number character at screen position
|
||||
screenchars({row}, {col}) List List of characters at screen position
|
||||
screenchars({row}, {col}) List list of characters at screen position
|
||||
screencol() Number current cursor column
|
||||
screenpos({winid}, {lnum}, {col}) Dict screen row and col of a text character
|
||||
screenpos({winid}, {lnum}, {col})
|
||||
Dict screen row and col of a text character
|
||||
screenrow() Number current cursor row
|
||||
screenstring({row}, {col}) String characters at screen position
|
||||
search({pattern} [, {flags} [, {stopline} [, {timeout} [, {skip}]]]])
|
||||
@@ -569,7 +596,9 @@ setqflist({list} [, {action}]) Number modify quickfix list using {list}
|
||||
setqflist({list}, {action}, {what})
|
||||
Number modify specific quickfix list props
|
||||
setreg({n}, {v} [, {opt}]) Number set register to value and type
|
||||
settabvar({nr}, {varname}, {val}) none set {varname} in tab page {nr} to {val}
|
||||
settabvar({nr}, {varname}, {val})
|
||||
none set {varname} in tab page {nr} to
|
||||
{val}
|
||||
settabwinvar({tabnr}, {winnr}, {varname}, {val})
|
||||
none set {varname} in window {winnr} in tab
|
||||
page {tabnr} to {val}
|
||||
@@ -599,7 +628,8 @@ sign_unplacelist({list}) List unplace a list of signs
|
||||
simplify({filename}) String simplify filename as much as possible
|
||||
sin({expr}) Float sine of {expr}
|
||||
sinh({expr}) Float hyperbolic sine of {expr}
|
||||
slice({expr}, {start} [, {end}]) String, List or Blob
|
||||
slice({expr}, {start} [, {end}])
|
||||
String/List/Blob
|
||||
slice of a String, List or Blob
|
||||
sort({list} [, {how} [, {dict}]])
|
||||
List sort {list}, compare with {how}
|
||||
@@ -629,7 +659,8 @@ strcharpart({str}, {start} [, {len} [, {skipcc}]])
|
||||
String {len} characters of {str} at
|
||||
character {start}
|
||||
strchars({expr} [, {skipcc}]) Number character count of the String {expr}
|
||||
strdisplaywidth({expr} [, {col}]) Number display length of the String {expr}
|
||||
strdisplaywidth({expr} [, {col}])
|
||||
Number display length of the String {expr}
|
||||
strftime({format} [, {time}]) String format time with a specified format
|
||||
strgetchar({str}, {index}) Number get char {index} from {str}
|
||||
stridx({haystack}, {needle} [, {start}])
|
||||
@@ -637,20 +668,24 @@ stridx({haystack}, {needle} [, {start}])
|
||||
string({expr}) String String representation of {expr} value
|
||||
strlen({expr}) Number length of the String {expr}
|
||||
strpart({str}, {start} [, {len} [, {chars}]])
|
||||
String {len} bytes/chars of {str} at
|
||||
byte {start}
|
||||
String {len} bytes/chars of {str} at byte
|
||||
{start}
|
||||
strptime({format}, {timestring})
|
||||
Number Convert {timestring} to unix timestamp
|
||||
Number convert {timestring} to unix timestamp
|
||||
strridx({haystack}, {needle} [, {start}])
|
||||
Number last index of {needle} in {haystack}
|
||||
strtrans({expr}) String translate string to make it printable
|
||||
strutf16len({string} [, {countcc}])
|
||||
Number number of UTF-16 code units in {string}
|
||||
strwidth({expr}) Number display cell length of the String {expr}
|
||||
submatch({nr} [, {list}]) String or List
|
||||
specific match in ":s" or substitute()
|
||||
Number number of UTF-16 code units in
|
||||
{string}
|
||||
strwidth({expr}) Number display cell length of the String
|
||||
{expr}
|
||||
submatch({nr} [, {list}]) String/List
|
||||
specific match in `:substitute` or
|
||||
substitute()
|
||||
substitute({expr}, {pat}, {sub}, {flags})
|
||||
String all {pat} in {expr} replaced with {sub}
|
||||
String all {pat} in {expr} replaced with
|
||||
{sub}
|
||||
swapfilelist() List swap files found in 'directory'
|
||||
swapinfo({fname}) Dict information about swap file {fname}
|
||||
swapname({buf}) String swap file of buffer {buf}
|
||||
@@ -659,12 +694,14 @@ synIDattr({synID}, {what} [, {mode}])
|
||||
String attribute {what} of syntax ID {synID}
|
||||
synIDtrans({synID}) Number translated syntax ID of {synID}
|
||||
synconcealed({lnum}, {col}) List info about concealing
|
||||
synstack({lnum}, {col}) List stack of syntax IDs at {lnum} and {col}
|
||||
synstack({lnum}, {col}) List stack of syntax IDs at {lnum} and
|
||||
{col}
|
||||
system({expr} [, {input}]) String output of shell command/filter {expr}
|
||||
systemlist({expr} [, {input}]) List output of shell command/filter {expr}
|
||||
tabpagebuflist([{arg}]) List list of buffer numbers in tab page
|
||||
tabpagenr([{arg}]) Number number of current or last tab page
|
||||
tabpagewinnr({tabarg} [, {arg}]) Number number of current window in tab page
|
||||
tabpagewinnr({tabarg} [, {arg}])
|
||||
Number number of current window in tab page
|
||||
tagfiles() List tags files used
|
||||
taglist({expr} [, {filename}]) List list of tags matching {expr}
|
||||
tan({expr}) Float tangent of {expr}
|
||||
@@ -694,7 +731,8 @@ term_setansicolors({buf}, {colors})
|
||||
none set ANSI palette in GUI color mode
|
||||
term_setapi({buf}, {expr}) none set |terminal-api| function name prefix
|
||||
term_setkill({buf}, {how}) none set signal to stop job in terminal
|
||||
term_setrestore({buf}, {command}) none set command to restore terminal
|
||||
term_setrestore({buf}, {command})
|
||||
none set command to restore terminal
|
||||
term_setsize({buf}, {rows}, {cols})
|
||||
none set the size of a terminal
|
||||
term_start({cmd} [, {options}]) Number open a terminal window and run a job
|
||||
@@ -734,8 +772,10 @@ timer_start({time}, {callback} [, {options}])
|
||||
Number create a timer
|
||||
timer_stop({timer}) none stop a timer
|
||||
timer_stopall() none stop all timers
|
||||
tolower({expr}) String the String {expr} switched to lowercase
|
||||
toupper({expr}) String the String {expr} switched to uppercase
|
||||
tolower({expr}) String the String {expr} switched to
|
||||
lowercase
|
||||
toupper({expr}) String the String {expr} switched to
|
||||
uppercase
|
||||
tr({src}, {fromstr}, {tostr}) String translate chars of {src} in {fromstr}
|
||||
to chars in {tostr}
|
||||
trim({text} [, {mask} [, {dir}]])
|
||||
@@ -754,7 +794,7 @@ utf16idx({string}, {idx} [, {countcc} [, {charidx}]])
|
||||
Number UTF-16 index of byte {idx} in {string}
|
||||
values({dict}) List values in {dict}
|
||||
virtcol({expr} [, {list} [, {winid}])
|
||||
Number or List
|
||||
Number/List
|
||||
screen column of cursor or mark
|
||||
virtcol2col({winid}, {lnum}, {col})
|
||||
Number byte index of a character on screen
|
||||
@@ -781,7 +821,8 @@ winheight({nr}) Number height of window {nr}
|
||||
winlayout([{tabnr}]) List layout of windows in tab {tabnr}
|
||||
winline() Number window line of the cursor
|
||||
winnr([{expr}]) Number number of current window
|
||||
winrestcmd() String returns command to restore window sizes
|
||||
winrestcmd() String returns command to restore window
|
||||
sizes
|
||||
winrestview({dict}) none restore view of current window
|
||||
winsaveview() Dict save view of current window
|
||||
winwidth({nr}) Number width of window {nr}
|
||||
@@ -909,7 +950,7 @@ appendbufline({buf}, {lnum}, {text}) *appendbufline()*
|
||||
for an invalid {lnum}, since {lnum} isn't actually used.
|
||||
|
||||
Can also be used as a |method| after a List, the base is
|
||||
passed as the second argument: >
|
||||
passed as the third argument: >
|
||||
mylist->appendbufline(buf, lnum)
|
||||
<
|
||||
Return type: |Number|
|
||||
@@ -1348,6 +1389,9 @@ blob2str({blob} [, {options}]) *blob2str()*
|
||||
Can also be used as a |method|: >
|
||||
GetBlob()->blob2str()
|
||||
<
|
||||
If `iconv` is not available and the encoding cannot be converted
|
||||
using built-in conversion rules, an error will be reported.
|
||||
|
||||
Return type: list<string>
|
||||
|
||||
|
||||
@@ -2072,51 +2116,6 @@ complete_info([{what}]) *complete_info()*
|
||||
Return type: dict<any>
|
||||
|
||||
|
||||
complete_match([{lnum}, {col}]) *complete_match()*
|
||||
Searches backward from the given position and returns a List
|
||||
of matches according to the 'isexpand' option. When no
|
||||
arguments are provided, uses the current cursor position.
|
||||
|
||||
Each match is represented as a List containing
|
||||
[startcol, trigger_text] where:
|
||||
- startcol: column position where completion should start,
|
||||
or -1 if no trigger position is found. For multi-character
|
||||
triggers, returns the column of the first character.
|
||||
- trigger_text: the matching trigger string from 'isexpand',
|
||||
or empty string if no match was found or when using the
|
||||
default 'iskeyword' pattern.
|
||||
|
||||
When 'isexpand' is empty, uses the 'iskeyword' pattern "\k\+$"
|
||||
to find the start of the current keyword.
|
||||
|
||||
Examples: >
|
||||
set isexpand=.,->,/,/*,abc
|
||||
func CustomComplete()
|
||||
let res = complete_match()
|
||||
if res->len() == 0 | return | endif
|
||||
let [col, trigger] = res[0]
|
||||
let items = []
|
||||
if trigger == '/*'
|
||||
let items = ['/** */']
|
||||
elseif trigger == '/'
|
||||
let items = ['/*! */', '// TODO:', '// fixme:']
|
||||
elseif trigger == '.'
|
||||
let items = ['length()']
|
||||
elseif trigger =~ '^\->'
|
||||
let items = ['map()', 'reduce()']
|
||||
elseif trigger =~ '^\abc'
|
||||
let items = ['def', 'ghk']
|
||||
endif
|
||||
if items->len() > 0
|
||||
let startcol = trigger =~ '^/' ? col : col + len(trigger)
|
||||
call complete(startcol, items)
|
||||
endif
|
||||
endfunc
|
||||
inoremap <Tab> <Cmd>call CustomComplete()<CR>
|
||||
<
|
||||
Return type: list<list<any>>
|
||||
|
||||
|
||||
confirm({msg} [, {choices} [, {default} [, {type}]]]) *confirm()*
|
||||
confirm() offers the user a dialog, from which a choice can be
|
||||
made. It returns the number of the choice. For the first
|
||||
@@ -2757,13 +2756,18 @@ executable({expr}) *executable()*
|
||||
then the name is also tried without adding an extension.
|
||||
On MS-Windows it only checks if the file exists and is not a
|
||||
directory, not if it's really executable.
|
||||
|
||||
On MS-Windows an executable in the same directory as the Vim
|
||||
executable is always found. Since this directory is added to
|
||||
$PATH it should also work to execute it |win32-PATH|.
|
||||
*NoDefaultCurrentDirectoryInExePath*
|
||||
On MS-Windows an executable in Vim's current working directory
|
||||
is also normally found, but this can be disabled by setting
|
||||
the $NoDefaultCurrentDirectoryInExePath environment variable.
|
||||
*$NoDefaultCurrentDirectoryInExePath*
|
||||
On MS-Windows when using cmd.exe as 'shell' an executable in
|
||||
Vim's current working directory is also normally found, which
|
||||
can be disabled by setting the
|
||||
`$NoDefaultCurrentDirectoryInExePath` environment variable.
|
||||
This variable is always set by Vim when executing external
|
||||
commands (e.g., via |:!|, |:make|, or |system()|) for security
|
||||
reasons.
|
||||
|
||||
The result is a Number:
|
||||
1 exists
|
||||
@@ -2933,7 +2937,7 @@ exists({expr}) *exists()*
|
||||
Can also be used as a |method|: >
|
||||
Varname()->exists()
|
||||
<
|
||||
Return type: |String|
|
||||
Return type: |Number|
|
||||
|
||||
|
||||
exists_compiled({expr}) *exists_compiled()*
|
||||
@@ -2950,7 +2954,7 @@ exists_compiled({expr}) *exists_compiled()*
|
||||
Can only be used in a |:def| function. *E1233*
|
||||
This does not work to check for arguments or local variables.
|
||||
|
||||
Return type: |String|
|
||||
Return type: |Number|
|
||||
|
||||
|
||||
exp({expr}) *exp()*
|
||||
@@ -4726,7 +4730,7 @@ getloclist({nr} [, {what}]) *getloclist()*
|
||||
:echo getloclist(3, {'all': 0})
|
||||
:echo getloclist(5, {'filewinid': 0})
|
||||
<
|
||||
Return type: list<dict<any>> or list<any>
|
||||
Return type: list<dict<any>> or dict<any>
|
||||
|
||||
|
||||
getmarklist([{buf}]) *getmarklist()*
|
||||
@@ -4878,6 +4882,11 @@ getpos({expr}) *getpos()*
|
||||
within the line. To get the character position in the line,
|
||||
use |getcharpos()|.
|
||||
|
||||
The visual marks |'<| and |'>| refer to the beginning and end
|
||||
of the visual selection relative to the buffer. Note that
|
||||
this differs from |setpos()|, where they are relative to the
|
||||
cursor position.
|
||||
|
||||
Note that for '< and '> Visual mode matters: when it is "V"
|
||||
(visual line mode) the column of '< is zero and the column of
|
||||
'> is a large number equal to |v:maxcol|.
|
||||
@@ -5002,7 +5011,7 @@ getqflist([{what}]) *getqflist()*
|
||||
:echo getqflist({'nr': 2, 'title': 1})
|
||||
:echo getqflist({'lines' : ["F1:10:L10"]})
|
||||
<
|
||||
Return type: list<dict<any>> or list<any>
|
||||
Return type: list<dict<any>> or dict<any>
|
||||
|
||||
|
||||
getreg([{regname} [, 1 [, {list}]]]) *getreg()*
|
||||
@@ -5389,9 +5398,13 @@ getwininfo([{winid}]) *getwininfo()*
|
||||
{only with the +quickfix feature}
|
||||
quickfix 1 if quickfix or location list window
|
||||
{only with the +quickfix feature}
|
||||
status_height status lines height (0 or 1)
|
||||
tabnr tab page number
|
||||
terminal 1 if a terminal window
|
||||
{only with the +terminal feature}
|
||||
tabnr tab page number
|
||||
textoff number of columns occupied by any
|
||||
'foldcolumn', 'signcolumn' and line
|
||||
number in front of the text
|
||||
topline first displayed buffer line
|
||||
variables a reference to the dictionary with
|
||||
window-local variables
|
||||
@@ -5400,9 +5413,6 @@ getwininfo([{winid}]) *getwininfo()*
|
||||
otherwise
|
||||
wincol leftmost screen column of the window;
|
||||
"col" from |win_screenpos()|
|
||||
textoff number of columns occupied by any
|
||||
'foldcolumn', 'signcolumn' and line
|
||||
number in front of the text
|
||||
winid |window-ID|
|
||||
winnr window number
|
||||
winrow topmost screen line of the window;
|
||||
@@ -6819,9 +6829,10 @@ listener_add({callback} [, {buf} [, {unbuffered}]]) *listener_add()*
|
||||
The entries are in the order the changes were made, thus the
|
||||
most recent change is at the end.
|
||||
|
||||
Because of the third trigger reason for triggering a callback
|
||||
listed above, the line numbers passed to the callback are not
|
||||
guaranteed to be valid. If this is a problem then make
|
||||
Because of the third reason for triggering a callback listed
|
||||
above, the line numbers passed to the callback are not
|
||||
guaranteed to be valid. In particular, the end value can be
|
||||
greater than line('$') + 1. If this is a problem then make
|
||||
{unbuffered} |TRUE|.
|
||||
|
||||
When {unbuffered} is |TRUE| the {callback} is invoked for every
|
||||
@@ -7971,8 +7982,8 @@ nr2char({expr} [, {utf8}]) *nr2char()*
|
||||
value {expr}. Examples: >
|
||||
nr2char(64) returns "@"
|
||||
nr2char(32) returns " "
|
||||
< When {utf8} is omitted or zero, the current 'encoding' is used.
|
||||
Example for "utf-8": >
|
||||
< When {utf8} is omitted or zero, the current 'encoding' is
|
||||
used. Example for "utf-8": >
|
||||
nr2char(300) returns I with bow character
|
||||
< When {utf8} is TRUE, always return UTF-8 characters.
|
||||
Note that a NUL character in the file is specified with
|
||||
@@ -8375,24 +8386,24 @@ printf({fmt}, {expr1} ...) *printf()*
|
||||
|
||||
*E1502*
|
||||
You can re-use a [field-width] (or [precision]) argument: >
|
||||
echo printf("%1$d at width %2$d is: %01$*2$d", 1, 2)
|
||||
echo printf("%1$d at width %2$d is: %1$0*2$d", 1, 2)
|
||||
< 1 at width 2 is: 01
|
||||
|
||||
However, you can't use it as a different type: >
|
||||
echo printf("%1$d at width %2$ld is: %01$*2$d", 1, 2)
|
||||
echo printf("%1$d at width %2$ld is: %1$0*2$d", 1, 2)
|
||||
< E1502: Positional argument 2 used as field width reused as
|
||||
different type: long int/int
|
||||
|
||||
*E1503*
|
||||
When a positional argument is used, but not the correct number
|
||||
or arguments is given, an error is raised: >
|
||||
echo printf("%1$d at width %2$d is: %01$*2$.*3$d", 1, 2)
|
||||
echo printf("%1$d at width %2$d is: %1$0*2$.*3$d", 1, 2)
|
||||
< E1503: Positional argument 3 out of bounds: %1$d at width
|
||||
%2$d is: %01$*2$.*3$d
|
||||
%2$d is: %1$0*2$.*3$d
|
||||
|
||||
Only the first error is reported: >
|
||||
echo printf("%01$*2$.*3$d %4$d", 1, 2)
|
||||
< E1503: Positional argument 3 out of bounds: %01$*2$.*3$d
|
||||
echo printf("%1$0*2$.*3$d %4$d", 1, 2)
|
||||
< E1503: Positional argument 3 out of bounds: %1$0*2$.*3$d
|
||||
%4$d
|
||||
|
||||
*E1504*
|
||||
@@ -8824,6 +8835,48 @@ readfile({fname} [, {type} [, {max}]]) *readfile()*
|
||||
Return type: list<string> or list<any>
|
||||
|
||||
|
||||
redraw_listener_add({opts}) *redraw_listener_add()*
|
||||
Add a listener that holds callback functions that will be
|
||||
called at specific times in the redraw cycle. {opts} is a
|
||||
dictionary that contain the callback functions to be defined.
|
||||
At least one callback must be specified. *E1571*
|
||||
Returns a unique ID that can be passed to
|
||||
|redraw_listener_remove()|.
|
||||
|
||||
{opts} may have the following entries:
|
||||
|
||||
on_start Called first on each screen redraw. Takes no
|
||||
arguments and returns nothing.
|
||||
on_end Called at the end of each screen redraw.
|
||||
Takes no arguments and returns nothing.
|
||||
|
||||
A good use case for this function is with the |listener_add()|
|
||||
callback with unbuffered set to TRUE. This allows you to
|
||||
modify the state on buffer changes, and finally render that
|
||||
state just before the next redraw, only if it has changed.
|
||||
Attempting to render or redraw for every single buffer change
|
||||
would be very inefficient.
|
||||
|
||||
You may not call redraw_listener_add() during any of the
|
||||
callbacks defined in {opts}. *E1570*
|
||||
|
||||
Can also be used as a |method|: >
|
||||
GetOpts()->redraw_listener_add()
|
||||
<
|
||||
Return type: |Number|
|
||||
|
||||
|
||||
redraw_listener_remove({id}) *redraw_listener_remove()*
|
||||
Remove a redraw listener previously added with
|
||||
|redraw_listener_add()|. Returns FALSE when {id} could not be
|
||||
found, TRUE when {id} was removed.
|
||||
|
||||
Can also be used as a |method|: >
|
||||
GetRedrawListenerId()->redraw_listener_remove()
|
||||
<
|
||||
Return type: |Number|
|
||||
|
||||
|
||||
reduce({object}, {func} [, {initial}]) *reduce()* *E998*
|
||||
{func} is called for every item in {object}, which can be a
|
||||
|String|, |List|, |Tuple| or a |Blob|. {func} is called with
|
||||
@@ -10107,9 +10160,14 @@ setpos({expr}, {list}) *setpos()*
|
||||
preferred column is not set. When it is present and setting a
|
||||
mark position it is not used.
|
||||
|
||||
Note that for '< and '> changing the line number may result in
|
||||
the marks to be effectively be swapped, so that '< is always
|
||||
before '>.
|
||||
Note that for |'<| and |'>| changing the line number may
|
||||
result in the marks to be effectively swapped, so that |'<| is
|
||||
always before |'>|.
|
||||
|
||||
The visual marks |'<| and |'>| refer to the beginning and end
|
||||
of the visual selection relative to the cursor position.
|
||||
Note that this differs from |getpos()|, where they are
|
||||
relative to the buffer.
|
||||
|
||||
Returns 0 when the position could be set, -1 otherwise.
|
||||
An error message is given if {expr} is invalid.
|
||||
@@ -12554,8 +12612,7 @@ win_findbuf({bufnr}) *win_findbuf()*
|
||||
Can also be used as a |method|: >
|
||||
GetBufnr()->win_findbuf()
|
||||
<
|
||||
Return type: list<number> or list<any>
|
||||
|
||||
Return type: list<number>
|
||||
|
||||
win_getid([{win} [, {tab}]]) *win_getid()*
|
||||
Get the |window-ID| for the specified window.
|
||||
@@ -12601,7 +12658,8 @@ win_gettype([{nr}]) *win_gettype()*
|
||||
win_gotoid({expr}) *win_gotoid()*
|
||||
Go to window with ID {expr}. This may also change the current
|
||||
tabpage.
|
||||
Return TRUE if successful, FALSE if the window cannot be found.
|
||||
Return TRUE if successful, FALSE if the window cannot be
|
||||
found.
|
||||
|
||||
Can also be used as a |method|: >
|
||||
GetWinid()->win_gotoid()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*change.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*change.txt* For Vim version 9.1. Last change: 2026 Jan 08
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1094,7 +1094,8 @@ inside of strings can change! Also see 'softtabstop' option. >
|
||||
*:y* *:yank* *E850*
|
||||
:[range]y[ank] [x] Yank [range] lines [into register x]. Yanking to the
|
||||
"* or "+ registers is possible only when the
|
||||
|+clipboard| feature is included.
|
||||
|+clipboard| or |+clipboard_provider| features are
|
||||
included.
|
||||
|
||||
:[range]y[ank] [x] {count}
|
||||
Yank {count} lines, starting with last line number
|
||||
@@ -1776,7 +1777,9 @@ l Long lines are not broken in insert mode: When a line was longer than
|
||||
automatically format it.
|
||||
*fo-m*
|
||||
m Also break at a multibyte character above 255. This is useful for
|
||||
Asian text where every character is a word on its own.
|
||||
Asian text where every character is a word on its own. Note that
|
||||
line breaks may also be added after punctuation characters such as
|
||||
colons to match the CJK linebreaking rules.
|
||||
*fo-M*
|
||||
M When joining lines, don't insert a space before or after a multibyte
|
||||
character. Overrules the 'B' flag.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*channel.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*channel.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1583,8 +1583,8 @@ A LSP request message has the following format (expressed as a Vim Dict). The
|
||||
"params": <list|dict>
|
||||
}
|
||||
|
||||
A LSP response message has the following format (expressed as a Vim Dict). The
|
||||
"result" and "error" fields are optional: >
|
||||
A LSP response message has the following format (expressed as a Vim Dict).
|
||||
The "result" and "error" fields are optional: >
|
||||
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*cmdline.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*cmdline.txt* For Vim version 9.1. Last change: 2026 Feb 06
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1381,10 +1381,10 @@ Example: >
|
||||
:au CmdwinLeave : let &cpt = b:cpt_save
|
||||
This sets 'complete' to use completion in the current window for |i_CTRL-N|.
|
||||
Another example: >
|
||||
:au CmdwinEnter [/\?] startinsert
|
||||
:au CmdwinEnter [\/\?] startinsert
|
||||
This will make Vim start in Insert mode in the command-line window.
|
||||
Note: The "?" needs to be escaped, as this is a |file-pattern|. See also
|
||||
|cmdline-autocompletion|.
|
||||
Note: The "\" and "?" needs to be escaped, as this is a |file-pattern|.
|
||||
See also |cmdline-autocompletion|.
|
||||
|
||||
*cmdwin-char*
|
||||
The character used for the pattern indicates the type of command-line:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*develop.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*develop.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -153,7 +153,7 @@ VIM IS... NOT *design-not*
|
||||
everything but the kitchen sink, but some people say that you can clean one
|
||||
with it. ;-)"
|
||||
To use Vim with gdb see |terminal-debugger|. Other (older) tools can be
|
||||
found at http://www.agide.org (link seems dead) and http://clewn.sf.net.
|
||||
found at http://clewn.sf.net.
|
||||
- Vim is not a fancy GUI editor that tries to look nice at the cost of
|
||||
being less consistent over all platforms. But functional GUI features are
|
||||
welcomed.
|
||||
@@ -411,12 +411,12 @@ For any non-trivial change, please always create a pull request on github,
|
||||
since this triggers the test suite.
|
||||
|
||||
A PR should ideally contain a single commit for a single logical change.
|
||||
However, you can include several commits if you want to group multiple logical,
|
||||
atomic changes in one PR. This can also make longer PRs easier to review. Be
|
||||
sure to describe the reasoning for your changes in each commit message, as
|
||||
this greatly helps with the review process. In cases where each commit
|
||||
handles different logical changes, they will also be applied as separate
|
||||
patches in Vim's repository.
|
||||
However, you can include several commits if you want to group multiple
|
||||
logical, atomic changes in one PR. This can also make longer PRs easier to
|
||||
review. Be sure to describe the reasoning for your changes in each commit
|
||||
message, as this greatly helps with the review process. In cases where each
|
||||
commit handles different logical changes, they will also be applied as
|
||||
separate patches in Vim's repository.
|
||||
|
||||
*style-clang-format*
|
||||
sound.c and sign.c can be (semi-) automatically formatted using the
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*eval.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -38,6 +38,7 @@ a remark is given.
|
||||
12. The sandbox |eval-sandbox|
|
||||
13. Textlock |textlock|
|
||||
14. Vim script library |vim-script-library|
|
||||
15. Clipboard providers |clipboard-providers|
|
||||
|
||||
Testing support is documented in |testing.txt|.
|
||||
Profiling is documented at |profiling|.
|
||||
@@ -466,7 +467,13 @@ Changing the order of items in a list: >
|
||||
:call reverse(list) " reverse the order of items
|
||||
:call uniq(sort(list)) " sort and remove duplicates
|
||||
|
||||
|
||||
In a Vim9 script or a def method, a new item can be appended to a List by
|
||||
using the list length as the index: >
|
||||
vim9script
|
||||
var l: list<string>
|
||||
l[0] = 'a'
|
||||
l[1] = 'b'
|
||||
<
|
||||
For loop ~
|
||||
|
||||
The |:for| loop executes commands for each item in a List, Tuple, String or
|
||||
@@ -1348,7 +1355,13 @@ To compare Funcrefs to see if they refer to the same function, ignoring bound
|
||||
Dictionary and arguments, use |get()| to get the function name: >
|
||||
if get(Part1, 'name') == get(Part2, 'name')
|
||||
" Part1 and Part2 refer to the same function
|
||||
< *E1037*
|
||||
<
|
||||
*E1437*
|
||||
An |Object| can only be compared with another |Object|, using only the
|
||||
"equal", "not equal", "is" and "isnot" operators |expr4|. An |enum| is also a
|
||||
type of |Object|, and the same rules apply.
|
||||
|
||||
*E1037*
|
||||
Using "is" or "isnot" with a |List|, |Tuple|, |Dictionary| or |Blob| checks
|
||||
whether the expressions are referring to the same |List|, |Tuple|,
|
||||
|Dictionary| or |Blob| instance. A copy of a |List| or |Tuple| is different
|
||||
@@ -2247,7 +2260,14 @@ v:clipmethod The current method of accessing the clipboard that is being
|
||||
x11 X11 selections are being used.
|
||||
none The above methods are unavailable or
|
||||
cannot be used.
|
||||
See 'clipmethod' for more details.
|
||||
If it is set to a value not in the above list, then a
|
||||
clipboard provider with the given name is being used for the
|
||||
clipboard functionality. See 'clipmethod' for more details.
|
||||
|
||||
*v:clipproviders*
|
||||
v:clipproviders
|
||||
A dictionary containing clipboard providers, see
|
||||
|clipboard-providers| for more information.
|
||||
|
||||
*v:cmdarg* *cmdarg-variable*
|
||||
v:cmdarg This variable is used for two purposes:
|
||||
@@ -2381,8 +2401,8 @@ v:echospace Number of screen cells that can be used for an `:echo` message
|
||||
available above the last line.
|
||||
|
||||
*v:errmsg* *errmsg-variable*
|
||||
v:errmsg Last given error message. It's allowed to set this variable.
|
||||
Example: >
|
||||
v:errmsg Last error message that occurred (not necessarily displayed).
|
||||
It's allowed to set this variable. Example: >
|
||||
:let v:errmsg = ""
|
||||
:silent! next
|
||||
:if v:errmsg != ""
|
||||
@@ -2787,9 +2807,9 @@ v:sizeoflong Number of bytes in a long. Depends on how Vim was compiled.
|
||||
expected result.
|
||||
|
||||
*v:sizeofpointer* *sizeofpointer-variable*
|
||||
v:sizeofpointer Number of bytes in a pointer. Depends on how Vim was compiled.
|
||||
This is only useful for deciding whether a test will give the
|
||||
expected result.
|
||||
v:sizeofpointer Number of bytes in a pointer. Depends on how Vim was
|
||||
compiled. This is only useful for deciding whether a test
|
||||
will give the expected result.
|
||||
|
||||
*v:stacktrace* *stacktrace-variable*
|
||||
v:stacktrace The stack trace of the exception most recently caught and
|
||||
@@ -3698,19 +3718,22 @@ text...
|
||||
|
||||
*:cat* *:catch*
|
||||
*E603* *E604* *E605* *E654* *E1033*
|
||||
:cat[ch] /{pattern}/ The following commands until the next `:catch`,
|
||||
:cat[ch] [/{pattern}/] The following commands until the next `:catch`,
|
||||
`:finally`, or `:endtry` that belongs to the same
|
||||
`:try` as the `:catch` are executed when an exception
|
||||
matching {pattern} is being thrown and has not yet
|
||||
been caught by a previous `:catch`. Otherwise, these
|
||||
commands are skipped.
|
||||
When {pattern} is omitted all errors are caught.
|
||||
Examples: >
|
||||
Pattern can start with "Vim({cmd})" to indicate an
|
||||
exception that occurred when executing the Ex command
|
||||
{cmd}. When {pattern} is omitted all errors are
|
||||
caught. Examples: >
|
||||
:catch /^Vim:Interrupt$/ " catch interrupts (CTRL-C)
|
||||
:catch /^Vim\%((\a\+)\)\=:E/ " catch all Vim errors
|
||||
:catch /^Vim\%((\a\+)\)\=:/ " catch errors and interrupts
|
||||
:catch /^Vim\%((\S\+)\)\=:E/ " catch all Vim errors
|
||||
:catch /^Vim\%((\S\+)\)\=:/ " catch errors and interrupts
|
||||
:catch /^Vim(write):/ " catch all errors in :write
|
||||
:catch /^Vim\%((\a\+)\)\=:E123:/ " catch error E123
|
||||
:catch /^Vim(!):/ " catch all errors in :!
|
||||
:catch /^Vim\%((\S\+)\)\=:E123:/ " catch error E123
|
||||
:catch /my-exception/ " catch user exception
|
||||
:catch /.*/ " catch everything
|
||||
:catch " same as /.*/
|
||||
@@ -3833,7 +3856,7 @@ text...
|
||||
when the screen is redrawn.
|
||||
|
||||
*:echow* *:echowin* *:echowindow*
|
||||
:[N]echow[indow] {expr1} ..
|
||||
:[N]echow[indow] {expr1} ...
|
||||
Like |:echomsg| but when the messages popup window is
|
||||
available the message is displayed there. This means
|
||||
it will show for three seconds and avoid a
|
||||
@@ -5217,7 +5240,7 @@ $VIMRUNTIME/plugin/openPlugin.vim
|
||||
dist#vim9#Open(file: string) ~
|
||||
|
||||
Opens `path` with the system default handler (macOS `open`, Windows
|
||||
`explorer.exe`, Linux `xdg-open`, …). If the variable |g:Openprg| exists the
|
||||
`start`, Linux `xdg-open`, …). If the variable |g:Openprg| exists the
|
||||
string specified in the variable is used instead.
|
||||
|
||||
The |:Open| user command uses file completion for its argument.
|
||||
@@ -5266,5 +5289,117 @@ Usage: >vim
|
||||
:call dist#vim9#Launch(<args>)
|
||||
:Launch <app> <args>.
|
||||
<
|
||||
==============================================================================
|
||||
15. Clipboard providers *clipboard-providers*
|
||||
|
||||
The clipboard provider feature allows the "+" |quoteplus| and "*" |quotestar|
|
||||
registers to be overridden by custom Vim script functions. There can be
|
||||
multiple providers, and Vim chooses which one to use based on 'clipmethod'.
|
||||
|
||||
Despite the name, it should be treated separate from the clipboard
|
||||
functionality. It essentially overrides the existing behaviour of the
|
||||
clipboard registers.
|
||||
|
||||
*clipboard-providers-clipboard*
|
||||
The clipboard provider feature will respect the "unnamed" and "unnamedplus"
|
||||
values in the 'clipboard' option. Any other value will be ignored.
|
||||
|
||||
*clipboard-providers-no-clipboard*
|
||||
If the |+clipboard| feature is not enabled, then the "+" and "*" registers
|
||||
will not be enabled/available unless |v:clipmethod| is set to a provider. If
|
||||
it is set to a provider, then the clipboard registers will be exposed despite
|
||||
not having the |+clipboard| feature.
|
||||
|
||||
*clipboard-providers-plus*
|
||||
If on a platform that only has the "*" register, then the "+" register will
|
||||
only be available when |v:clipmethod| is set to a provider. If you want to
|
||||
check if the "+" is available for use, it can be checked with: >
|
||||
if has('unnamedplus')
|
||||
<
|
||||
*clipboard-providers-clipmethod*
|
||||
To integrate the providers with Vim's clipboard functionality, the
|
||||
'clipmethod' option is used on all platforms. The names of clipboard
|
||||
providers should be put inside the option, and if Vim chooses it, then it
|
||||
overrides the "+" and "*" registers. Note that the "+" and "*" will not be
|
||||
saved in the viminfo at all.
|
||||
|
||||
*clipboard-providers-define*
|
||||
To define a clipboard provider, the |v:clipproviders| vim variable is used. It
|
||||
is a |dict| where each key is the clipboard provider name, and the value is
|
||||
another |dict| declaring the "available", "copy", and "paste" callbacks: >vim
|
||||
let v:clipproviders["myprovider"] = {
|
||||
\ "available": function("Available"),
|
||||
\ "paste": {
|
||||
\ "+": function("Paste"),
|
||||
\ "*": function("Paste")
|
||||
\ },
|
||||
\ "copy": {
|
||||
\ "+": function("Copy"),
|
||||
\ "*": function("Copy")
|
||||
\ }
|
||||
\ }
|
||||
set clipmethod^=myprovider
|
||||
<
|
||||
Each callback can either be a name of a function in a string, a |Funcref|, or
|
||||
a |lambda| expression.
|
||||
|
||||
With the exception of the "available" callback if a callback is not provided,
|
||||
Vim will not invoke anything, and this is not an error.
|
||||
|
||||
*clipboard-providers-textlock*
|
||||
In both the "paste" and "copy" callbacks, it is not allowed to change the
|
||||
buffer text, see |textlock|.
|
||||
|
||||
*clipboard-providers-available*
|
||||
The "available" callback is optional, does not take any arguments and should
|
||||
return a |boolean| or non-zero number, which tells Vim if it is available
|
||||
for use. If it is not, then Vim skips over it and tries the next 'clipmethod'
|
||||
value. If the "available" callback is not provided, Vim assumes the provider
|
||||
is always available for use (true).
|
||||
|
||||
*clipboard-providers-paste*
|
||||
The "paste" callback takes the following arguments in the following order:
|
||||
1. Name of the register being accessed, either "+" or "*".
|
||||
|
||||
It should return a |list| or |tuple| containing the following elements in
|
||||
order:
|
||||
1. Register type (and optional width) conforming to |setreg()|. If it
|
||||
is an empty string, then the type is automatically chosen.
|
||||
2. A |list| of strings to return to Vim, each representing a line.
|
||||
|
||||
*clipboard-providers-copy*
|
||||
The "copy" callback returns nothing and takes the following arguments in the
|
||||
following order:
|
||||
1. Name of the register being accessed, either "+" or "*".
|
||||
2. Register type conforming to |getregtype()|
|
||||
3. List of strings to use, each representing a line.
|
||||
|
||||
Below is a sample script that makes use of the clipboard provider feature: >vim
|
||||
func Available()
|
||||
return v:true
|
||||
endfunc
|
||||
|
||||
func Copy(reg, type, str)
|
||||
echom "Register: " .. a:reg
|
||||
echom "Register type: " .. a:type
|
||||
echom "Contents: " .. string(a:str)
|
||||
endfunc
|
||||
|
||||
func Paste(reg)
|
||||
return ("b40", ["this", "is", "the", a:reg, "register!"])
|
||||
endfunc
|
||||
|
||||
let v:clipproviders["test"] = {
|
||||
\ "available": function("Available"),
|
||||
\ "copy": {
|
||||
\ "+": function("Copy"),
|
||||
\ "*": function("Copy")
|
||||
\ },
|
||||
\ "paste": {
|
||||
\ "+": function("Paste"),
|
||||
\ "*": function("Paste")
|
||||
\ }
|
||||
\ }
|
||||
set clipmethod^=test
|
||||
<
|
||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.TH EVIM 1 "2002 February 16"
|
||||
.TH EVIM 1 "2024 August 12"
|
||||
.SH 名前
|
||||
evim \- easy Vim, モードレスエディタ Vim
|
||||
.SH 書式
|
||||
@@ -34,8 +34,13 @@ CTRL-X が切り取り、CTRL-C がコピー、CTRL-V がペーストです。
|
||||
vim(1) を参照してください。
|
||||
.SH ファイル
|
||||
.TP 15
|
||||
/usr/local/lib/vim/evim.vim
|
||||
/usr/local/share/vim/vim??/evim.vim
|
||||
eVim の初期化スクリプト。
|
||||
.br
|
||||
.I vim??
|
||||
は短いバージョン番号で
|
||||
.B Vim 9.1
|
||||
では vim91 です。
|
||||
.SH 別名
|
||||
evim は "gumbies のための Vim" とも呼ばれています。
|
||||
evim を使っているあなたはきっと、頭にハンカチをかぶっているのです。
|
||||
|
||||
55
runtime/doc/evim-sv.1
Normal file
55
runtime/doc/evim-sv.1
Normal file
@@ -0,0 +1,55 @@
|
||||
.\"*******************************************************************
|
||||
.\"
|
||||
.\" This file was generated with po4a. Translate the source file.
|
||||
.\"
|
||||
.\"*******************************************************************
|
||||
.TH EVIM 1 "12 augusti 2024"
|
||||
.SH NAMN
|
||||
evim enkel Vim, redigera en fil med Vim och konfigurera för lägeslös
|
||||
redigering
|
||||
.SH SYNOPSIS
|
||||
.br
|
||||
\fBevim\fP [flaggor] [fil ..]
|
||||
.br
|
||||
\fBeview\fP
|
||||
.SH BESKRIVNING
|
||||
\fBeVim\fP startar \fBVim\fP och ställer in flaggor så att det fungerar som en
|
||||
lägeslös redigerare. Det är fortfarande Vim, men används som en
|
||||
pek\-och\-klicka\-redigerare. Det känns ungefär som att använda Notepad i
|
||||
MS\-Windows. \fBeVim\fP körs alltid i grafiskt gränssnitt, för att möjliggöra
|
||||
användning av menyer och verktygsfält.
|
||||
.PP
|
||||
Endast för personer som verkligen inte kan arbeta med Vim på normalt
|
||||
sätt. Redigeringen blir mycket mindre effektiv.
|
||||
.PP
|
||||
\fBeview\fP är detsamma, men startar i skrivskyddat läge. Det fungerar precis
|
||||
som evim \-R.
|
||||
.PP
|
||||
Se vim(1) för mer information om Vim, flaggor etc.
|
||||
.PP
|
||||
Flaggan "insertmode" är inställt så att man kan skriva text direkt.
|
||||
.br
|
||||
Mappningar är inställda så att kopiera och klistra in fungerar med
|
||||
MS\-Windows\-tangenterna. CTRL\-X klipper ut text, CTRL\-C kopierar text och
|
||||
CTRL\-V klistrar in text. Använd CTRL\-Q för att få den ursprungliga
|
||||
funktionen för CTRL\-V.
|
||||
.SH FLAGGOR
|
||||
Se vim(1).
|
||||
.SH FILER
|
||||
.TP 15
|
||||
/usr/local/share/vim/vim??/evim.vim
|
||||
Skriptet som läses in för att initialisera eVim.
|
||||
.br
|
||||
\fIvim??\fP är ett kort versionsnummer, till exempel vim91 för \fBVim 9.1\fP
|
||||
.SH AKA
|
||||
Även känt som "Vim för gumbies". När du använder evim förväntas du ta en
|
||||
näsduk, göra en knut i varje hörn och bära den på huvudet.
|
||||
.SH "SE ÄVEN"
|
||||
vim(1)
|
||||
.SH UPPHOVSPERSON
|
||||
Det mesta av \fBVim\fP en har skapats av Bram Moolenaar, med stor hjälp från
|
||||
andra. Se menyn Hjälp/Tack till.
|
||||
.SH SVENSK ÖVERSÄTTNING
|
||||
Vim översattes ursprungligen av Johan Svedberg 2003-2007 och har under 2025
|
||||
uppdaterats av Daniel Nylander, speciellt manualsidor samt själva Vim.
|
||||
Om du hittar fel i översättningen, kontakta <tp-sv@listor.tp-sv.se>.
|
||||
55
runtime/doc/evim-sv.UTF-8.1
Normal file
55
runtime/doc/evim-sv.UTF-8.1
Normal file
@@ -0,0 +1,55 @@
|
||||
.\"*******************************************************************
|
||||
.\"
|
||||
.\" This file was generated with po4a. Translate the source file.
|
||||
.\"
|
||||
.\"*******************************************************************
|
||||
.TH EVIM 1 "12 augusti 2024"
|
||||
.SH NAMN
|
||||
evim – enkel Vim, redigera en fil med Vim och konfigurera för lägeslös
|
||||
redigering
|
||||
.SH SYNOPSIS
|
||||
.br
|
||||
\fBevim\fP [flaggor] [fil ..]
|
||||
.br
|
||||
\fBeview\fP
|
||||
.SH BESKRIVNING
|
||||
\fBeVim\fP startar \fBVim\fP och ställer in flaggor så att det fungerar som en
|
||||
lägeslös redigerare. Det är fortfarande Vim, men används som en
|
||||
pek\-och\-klicka\-redigerare. Det känns ungefär som att använda Notepad i
|
||||
MS\-Windows. \fBeVim\fP körs alltid i grafiskt gränssnitt, för att möjliggöra
|
||||
användning av menyer och verktygsfält.
|
||||
.PP
|
||||
Endast för personer som verkligen inte kan arbeta med Vim på normalt
|
||||
sätt. Redigeringen blir mycket mindre effektiv.
|
||||
.PP
|
||||
\fBeview\fP är detsamma, men startar i skrivskyddat läge. Det fungerar precis
|
||||
som evim \-R.
|
||||
.PP
|
||||
Se vim(1) för mer information om Vim, flaggor etc.
|
||||
.PP
|
||||
Flaggan "insertmode" är inställt så att man kan skriva text direkt.
|
||||
.br
|
||||
Mappningar är inställda så att kopiera och klistra in fungerar med
|
||||
MS\-Windows\-tangenterna. CTRL\-X klipper ut text, CTRL\-C kopierar text och
|
||||
CTRL\-V klistrar in text. Använd CTRL\-Q för att få den ursprungliga
|
||||
funktionen för CTRL\-V.
|
||||
.SH FLAGGOR
|
||||
Se vim(1).
|
||||
.SH FILER
|
||||
.TP 15
|
||||
/usr/local/share/vim/vim??/evim.vim
|
||||
Skriptet som läses in för att initialisera eVim.
|
||||
.br
|
||||
\fIvim??\fP är ett kort versionsnummer, till exempel vim91 för \fBVim 9.1\fP
|
||||
.SH AKA
|
||||
Även känt som "Vim för gumbies". När du använder evim förväntas du ta en
|
||||
näsduk, göra en knut i varje hörn och bära den på huvudet.
|
||||
.SH "SE ÄVEN"
|
||||
vim(1)
|
||||
.SH UPPHOVSPERSON
|
||||
Det mesta av \fBVim\fP en har skapats av Bram Moolenaar, med stor hjälp från
|
||||
andra. Se menyn Hjälp/Tack till.
|
||||
.SH SVENSK ÖVERSÄTTNING
|
||||
Vim översattes ursprungligen av Johan Svedberg 2003-2007 och har under 2025
|
||||
uppdaterats av Daniel Nylander, speciellt manualsidor samt själva Vim.
|
||||
Om du hittar fel i översättningen, kontakta <tp-sv@listor.tp-sv.se>.
|
||||
@@ -1,4 +1,4 @@
|
||||
*filetype.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*filetype.txt* For Vim version 9.1. Last change: 2025 Dec 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -138,6 +138,7 @@ what kind of file it is. This doesn't always work. A number of global
|
||||
variables can be used to overrule the filetype used for certain extensions:
|
||||
|
||||
file name variable ~
|
||||
*.app g:filetype_app
|
||||
*.asa g:filetype_asa |ft-aspperl-syntax|
|
||||
|ft-aspvbs-syntax|
|
||||
*.asm g:asmsyntax |ft-asm-syntax|
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
*ft_context.txt* For Vim version 9.1. Last change: 2024 Jan 01
|
||||
*ft_context.txt* For Vim version 9.2. Last change: 2026 Jan 18
|
||||
|
||||
This is the documentation for the ConTeXt filetype plugin.
|
||||
|
||||
NOTE: the plugin requires +vim9script.
|
||||
NOTE: the plugin requires |+vim9script|.
|
||||
|
||||
==============================================================================
|
||||
CONTENTS *context.vim* *ft-context*
|
||||
@@ -19,11 +19,11 @@ Introduction ~
|
||||
ConTeXt, similarly to LaTeX, is a macro-based typesetting system built on TeX:
|
||||
>
|
||||
https://wiki.contextgarden.net
|
||||
https://wiki.contextgarden.net/Vim
|
||||
https://wiki.contextgarden.net/Input_and_compilation/Text_editors/Vim
|
||||
<
|
||||
The ConTeXt plugin provides syntax highlighting, completion and support for
|
||||
typesetting ConTeXt documents. The recommended way to typeset a document is to
|
||||
use |:ConTeXt|. This will invoke the `mtxrun` script that is found in `$PATH`.
|
||||
use |:ConTeXt|, which invokes the `mtxrun` script that is found in $PATH.
|
||||
|
||||
For more fine grained control over the command and its environment,
|
||||
`context.Typeset()` can be used directly (or `context#Typeset()` from legacy
|
||||
@@ -32,26 +32,31 @@ Vim script). For instance, if a version of ConTeXt is installed in
|
||||
>
|
||||
import autoload 'context.vim'
|
||||
|
||||
var os = "linux" # Update to match your system
|
||||
var arch = "arm64" # Update to match your system
|
||||
|
||||
def MyConTeXt()
|
||||
const env = {'PATH':
|
||||
printf("%s/context/tex/texmf-<os>-<arch>/bin:%s", $HOME, $PATH)}
|
||||
context.Typeset("%", env)
|
||||
var env = {
|
||||
'PATH': $'{$HOME}/context/tex/texmf-{os}-{arch}/bin:{$PATH}'
|
||||
}
|
||||
context.Typeset("%", env)
|
||||
enddef
|
||||
|
||||
This code may go in `~/.vim/after/ftplugin/context.vim`. A mapping can then be
|
||||
defined to invoke the custom command:
|
||||
>
|
||||
nnoremap <silent><buffer><leader>t <scriptcmd>MyConTeXt()<cr>
|
||||
<
|
||||
This code should go in `~/.vim/after/ftplugin/context.vim`.
|
||||
|
||||
`context.Typeset()` accepts a third optional argument to specify a custom
|
||||
typesetting command. That must be a function that takes a path and returns the
|
||||
command as a List. For example:
|
||||
command as a |list|. For example:
|
||||
>
|
||||
def ConTeXtCustomCommand(path: string): list<string>
|
||||
return ['mtxrun', '--script', 'context', '--nonstopmode', path]
|
||||
enddef
|
||||
|
||||
context.ConTeXtTypeset("%", v:none, ConTeXtCustomCommand)
|
||||
def MyContext()
|
||||
context.Typeset("%", v:none, ConTeXtCustomCommand)
|
||||
enddef
|
||||
<
|
||||
Large projects are often organized as a root document and various chapter
|
||||
files. When editing a chapter file, it is convenient to invoke |:ConTeXt|
|
||||
@@ -67,7 +72,7 @@ one in the current buffer. The root document does not have to be opened in
|
||||
Vim.
|
||||
|
||||
To extend completion and syntax highlighting, you may generate supporting
|
||||
files using ConTeXt and add them to your configuration. If you configuration
|
||||
files using ConTeXt and add them to your configuration. If your configuration
|
||||
resides in `~/.vim`, you may use these commands:
|
||||
>
|
||||
mkdir -p ~/.vim/syntax/shared
|
||||
@@ -81,7 +86,8 @@ The last command will create the following syntax files:
|
||||
- `context-data-metafun.vim`;
|
||||
- `context-data-tex.vim`.
|
||||
|
||||
The same command can be used to update those syntax files.
|
||||
If present, such files will be automatically loaded to enhance syntax
|
||||
highlighting. The same command can be used to update those syntax files.
|
||||
|
||||
*ft-context-commands*
|
||||
Commands ~
|
||||
@@ -109,8 +115,9 @@ and this option is not set, standard `make` is used. If this option is set,
|
||||
>
|
||||
g:context_ignore_makefile = 0
|
||||
<
|
||||
NOTE: before using |:make|, set the working directory of the buffer to the
|
||||
directory of the file to be typeset.
|
||||
NOTE: before using |:make|, ensure that the working directory of the buffer is
|
||||
set to the directory of the file you want to typeset. Additionally, be aware
|
||||
that |:make| searches for `mtxrun` in $PATH.
|
||||
|
||||
*'g:context_extra_options'*
|
||||
A list of additional options to pass to `mtxrun`.
|
||||
@@ -135,11 +142,11 @@ When set, do not define any mappings.
|
||||
*ft-context-mappings*
|
||||
Mappings ~
|
||||
|
||||
tp "reflow TeX paragraph".
|
||||
tp "reflow TeX paragraph" (motion).
|
||||
|
||||
i$ "inside inline math block".
|
||||
i$ "inside inline math block" (text object selection).
|
||||
|
||||
a$ "around inline math block".
|
||||
a$ "around inline math block" (text object selection).
|
||||
|
||||
]] [count] start of sections forward.
|
||||
|
||||
|
||||
@@ -19,23 +19,33 @@ functionality for the Hare programming language.
|
||||
FILETYPE PLUGIN *ft-hare-plugin*
|
||||
|
||||
This plugin has a few different variables that can be defined inside your
|
||||
|vimrc| to tweak its behavior.
|
||||
|vimrc| to adjust its behavior.
|
||||
|
||||
Additionally, support is provided for folding `{ }` blocks. To enable folding,
|
||||
add the following to a file inside your |after-directory| (e.g.
|
||||
*hare-folding*
|
||||
This plugin supports folding `{ }` blocks. To enable folding, add the
|
||||
following to a file inside your |after-directory| (e.g.
|
||||
~/.vim/after/ftplugin/hare.vim): >
|
||||
|
||||
setlocal foldmethod=syntax
|
||||
|
||||
Because block-based folding tends to create many small folds, consider setting
|
||||
a few related options, such as 'foldminlines' and 'foldnestmax'.
|
||||
Because syntax-based folding tends to create many small folds, consider
|
||||
setting a few related options, such as 'foldminlines' or 'foldnestmax'.
|
||||
|
||||
*hare-symbol-operators*
|
||||
Most symbolic operators do not receive any highlighting by default (with the
|
||||
exception of "?", "!", and "::"). If you prefer highlighting all operators,
|
||||
you can link them to your preferred highlight group inside your |vimrc|. For
|
||||
example: >
|
||||
|
||||
hi def link hareCast hareSymbolOperator
|
||||
hi def link hareSymbolOperator hareOperator
|
||||
<
|
||||
*g:hare_recommended_style*
|
||||
The following options are set by default, in accordance with Hare's official
|
||||
style guide: >
|
||||
|
||||
setlocal noexpandtab
|
||||
setlocal shiftwidth=0
|
||||
setlocal shiftwidth=8
|
||||
setlocal softtabstop=0
|
||||
setlocal tabstop=8
|
||||
setlocal textwidth=80
|
||||
@@ -43,18 +53,11 @@ style guide: >
|
||||
To disable this behavior, add the following to your |vimrc|: >
|
||||
|
||||
let g:hare_recommended_style = 0
|
||||
<
|
||||
*g:hare_symbol_operators*
|
||||
By default, symbolic operators do not receive any special highlighting (with
|
||||
`!`, `?`, and `::` being the only exceptions). To enable syntax highlighting
|
||||
for most other operators, add the following to your |vimrc|: >
|
||||
|
||||
let g:hare_symbol_operators = 1
|
||||
<
|
||||
*g:hare_space_error*
|
||||
By default, trailing whitespace and spaces followed by <Tab> characters will
|
||||
be highlighted as errors. This is automatically disabled in Insert mode. To
|
||||
turn off this highlighting completely, add the following to your |vimrc|: >
|
||||
By default, trailing whitespace and spaces followed by <Tab> characters are
|
||||
highlighted as errors. This is automatically disabled while in insert mode.
|
||||
To turn off this highlighting completely, add the following to your |vimrc|: >
|
||||
|
||||
let g:hare_space_error = 0
|
||||
|
||||
@@ -67,28 +70,27 @@ this is such a common filename, this plugin only searches for Hare source
|
||||
files within the same directory by default.
|
||||
|
||||
*g:filetype_haredoc*
|
||||
The |g:filetype_haredoc| variable can be used to tweak the depth of this
|
||||
The `g:filetype_haredoc` variable can be used to tweak the depth of this
|
||||
search, or bypass the detection of Hare documentation files altogether:
|
||||
|
||||
Value Effect~
|
||||
0 No automatic detection
|
||||
0 Search disabled
|
||||
1 Search current directory only (this is the default)
|
||||
2 Search one level of subdirectories
|
||||
3 Search two levels of subdirectories
|
||||
|
||||
The search depth may be any positive integer, but values higher than `2` are
|
||||
unlikely to provide a tangible benefit in most situations.
|
||||
The search depth may be any positive integer, but values greater than 2 are
|
||||
very unlikely to provide any tangible benefit and can impact performance.
|
||||
|
||||
|
||||
INDENTATION SETTINGS *ft-hare-indent*
|
||||
|
||||
Unlike most other settings for this plugin, the indentation settings may also
|
||||
be set per-buffer, overriding any global configuration that exists. To do
|
||||
this, simply prefix the variable with |b:| instead of |g:|.
|
||||
Unlike other settings, indentation settings may be configured on a per-buffer
|
||||
basis, overriding any existing global configuration. To do so, simply prefix
|
||||
the variable with |b:| instead of |g:|.
|
||||
|
||||
*g:hare_indent_match_switch*
|
||||
By default, continuation lines for "match" and "switch" conditions are
|
||||
indented only one level: >hare
|
||||
*g:hare_indent_match_switch* *b:hare_indent_match_switch*
|
||||
By default, the continuation lines for "match" and "switch" conditions are
|
||||
only indented one level: >hare
|
||||
|
||||
const file = match (os::create(path, 0o644,
|
||||
flag::WRONLY | flag::TRUNC)) {
|
||||
@@ -96,39 +98,33 @@ indented only one level: >hare
|
||||
yield file;
|
||||
// ...
|
||||
|
||||
If you instead prefer indenting them two levels, to more closely resemble "if"
|
||||
and "for" conditions, add the following line to your |vimrc|: >
|
||||
If you prefer indenting them two levels, more closely resembling "if" and
|
||||
"for" conditions, add the following line to your |vimrc|: >
|
||||
|
||||
let g:hare_indent_match_switch = 2
|
||||
<
|
||||
*g:hare_indent_case*
|
||||
By default, continuation lines for cases in "match" and "switch" expressions
|
||||
are indented two levels, to visually distinguish them from the body of the
|
||||
case: >hare
|
||||
*g:hare_indent_case* *b:hare_indent_case*
|
||||
By default, the continuation lines for "match" and "switch" cases are indented
|
||||
two levels, to visually distinguish them from the case body: >hare
|
||||
|
||||
case ltok::I8, ltok::I16, ltok::I32,
|
||||
ltok::I64, ltok::INT =>
|
||||
// ...
|
||||
|
||||
If you prefer a different amount of indentation, you can adjust it using
|
||||
|g:hare_indent_case|. Valid values include `0`, `1`, and `2`.
|
||||
If you prefer a different level of indentation, you can adjust it using
|
||||
`g:hare_indent_case`. The possible values are 0, 1, and 2.
|
||||
|
||||
|
||||
COMPILER SUPPORT *compiler-hare*
|
||||
|
||||
If this plugin detects a Makefile in the current directory, it will assume you
|
||||
wish to use `make` for your build system, and will leave 'makeprg' untouched.
|
||||
Otherwise, `hare build` will be used.
|
||||
If a Makefile is detected in the current directory, this plugin will assume
|
||||
you are using "make" for your build system, and will leave 'makeprg' as-is.
|
||||
Otherwise, "hare build" will be used.
|
||||
|
||||
*g:hare_makeprg_params*
|
||||
When `hare build` is used, additional compiler options may be appended to
|
||||
'makeprg' with the |g:hare_makeprg_params| variable. It may also be set on a
|
||||
per-buffer basis (using |b:| instead of |g:|), overriding any global
|
||||
configuration that exists. For example: >
|
||||
|
||||
let b:hare_makeprg_params = '-lc -t o'
|
||||
|
||||
The global default is "-q", to suppress writing to stdout while building.
|
||||
*g:hare_makeprg_params*
|
||||
When using "hare build", additional compiler options may be appended to
|
||||
'makeprg' using `g:hare_makeprg_params`. The default is "-q", to suppress
|
||||
printing to stdout when building.
|
||||
|
||||
==============================================================================
|
||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
*ft_mp.txt* For Vim version 9.1. Last change: 2022 Aug 12
|
||||
*ft_mp.txt* For Vim version 9.2. Last change: 2026 Jan 10
|
||||
|
||||
This is the documentation for the METAFONT and MetaPost filetype plugins.
|
||||
Unless otherwise specified, the commands, settings and mappings defined below
|
||||
apply equally to both filetypes.
|
||||
|
||||
NOTE: the plugin requires +vim9script.
|
||||
NOTE: the plugin requires |+vim9script|.
|
||||
|
||||
==============================================================================
|
||||
CONTENTS *mp.vim* *ft-metapost*
|
||||
@@ -38,25 +38,25 @@ next line should not change from whatever it has been manually set.
|
||||
|
||||
For example, this is the default indentation of a simple macro:
|
||||
>
|
||||
def foo =
|
||||
makepen(
|
||||
subpath(T-n,t) of r
|
||||
shifted .5down
|
||||
--subpath(t,T) of r shifted .5up -- cycle
|
||||
)
|
||||
withcolor black
|
||||
enddef
|
||||
def foo =
|
||||
makepen(
|
||||
subpath(T-n,t) of r
|
||||
shifted .5down
|
||||
--subpath(t,T) of r shifted .5up -- cycle
|
||||
)
|
||||
withcolor black
|
||||
enddef
|
||||
<
|
||||
By adding the special comments, the indentation can be adjusted arbitrarily:
|
||||
>
|
||||
def foo =
|
||||
makepen(
|
||||
subpath(T-n,t) of r %>
|
||||
shifted .5down %>
|
||||
--subpath(t,T) of r shifted .5up -- cycle %<<<
|
||||
)
|
||||
withcolor black
|
||||
enddef
|
||||
def foo =
|
||||
makepen(
|
||||
subpath(T-n,t) of r %>
|
||||
shifted .5down %>
|
||||
--subpath(t,T) of r shifted .5up -- cycle %<<<
|
||||
)
|
||||
withcolor black
|
||||
enddef
|
||||
<
|
||||
*ft-metapost-commands*
|
||||
Commands ~
|
||||
|
||||
@@ -60,8 +60,8 @@ g:rust_conceal_pub~
|
||||
*g:rust_recommended_style*
|
||||
g:rust_recommended_style~
|
||||
Set this option to enable vim indentation and textwidth settings to
|
||||
conform to style conventions of the rust standard library (i.e. use 4
|
||||
spaces for indents and sets 'textwidth' to 99). This option is enabled
|
||||
conform to style conventions of the Rust style guide (i.e. use 4
|
||||
spaces for indents and set 'textwidth' to 100). This option is enabled
|
||||
by default. To disable it: >
|
||||
let g:rust_recommended_style = 0
|
||||
<
|
||||
@@ -166,6 +166,13 @@ g:rustfmt_detect_version~
|
||||
Disabled by default for performance reasons
|
||||
>
|
||||
let g:rustfmt_detect_version = 1
|
||||
<
|
||||
*g:rustfmt_find_toml*
|
||||
g:rustfmt_find_toml~
|
||||
When set to 1, will try to find `rustfmt.toml` file by searching from
|
||||
current path upwards. Disabled by default for performance reasons
|
||||
>
|
||||
let g:rustfmt_find_toml = 1
|
||||
<
|
||||
*g:rust_playpen_url*
|
||||
g:rust_playpen_url~
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*gui_w32.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*gui_w32.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -425,8 +425,8 @@ simulating the keystrokes Alt, F. >
|
||||
This maps Alt-Space to pop down the system menu for the Vim window. Note that
|
||||
~ is used by simalt to represent the <Space> character. >
|
||||
:map <C-n> :simalt ~n<CR>
|
||||
Maps Control-N to produce the keys Alt-Space followed by N. This minimizes the
|
||||
Vim window via the system menu.
|
||||
Maps Control-N to produce the keys Alt-Space followed by N. This minimizes
|
||||
the Vim window via the system menu.
|
||||
|
||||
Note that the key changes depending on the language you are using.
|
||||
|
||||
@@ -504,4 +504,26 @@ To use the system's default title bar colors, set highlighting groups to
|
||||
hi TitleBar guibg=NONE guifg=NONE
|
||||
hi TitleBarNC guibg=NONE guifg=NONE
|
||||
<
|
||||
|
||||
Full Screen *gui-w32-fullscreen*
|
||||
|
||||
To enable fullscreen mode in the Windows GUI version of Vim, add the 's' flag
|
||||
to the 'guioptions' setting.
|
||||
|
||||
For convenience, you can define a command or mapping to toggle fullscreen
|
||||
mode:
|
||||
>
|
||||
command ToggleFullscreen {
|
||||
if &guioptions =~# 's'
|
||||
set guioptions-=s
|
||||
else
|
||||
set guioptions+=s
|
||||
endif
|
||||
}
|
||||
|
||||
map <expr> <F11> &go =~# 's' ? ":se go-=s<CR>" : ":se go+=s<CR>"
|
||||
|
||||
The fullscreen mode will occupy the entire screen area while hiding window
|
||||
decorations such as the title bar and borders.
|
||||
|
||||
vim:tw=78:sw=4:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*helphelp.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*helphelp.txt* For Vim version 9.1. Last change: 2026 Feb 06
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -158,11 +158,12 @@ When no argument is given to |:help| the file given with the 'helpfile' option
|
||||
will be opened. Otherwise the specified tag is searched for in all "doc/tags"
|
||||
files in the directories specified in the 'runtimepath' option.
|
||||
|
||||
If you would like to open the help in the current window, see this tip:
|
||||
|help-curwin|.
|
||||
|
||||
The initial height of the help window can be set with the 'helpheight' option
|
||||
(default 20).
|
||||
|
||||
If you want to open help on {subject} in the current window, the helpcurwin
|
||||
optional package can be used. See |package-helpcurwin|.
|
||||
|
||||
*help-buffer-options*
|
||||
When the help buffer is created, several local options are set to make sure
|
||||
the help text is displayed as it was intended:
|
||||
@@ -325,6 +326,7 @@ At this moment translations are available for:
|
||||
Japanese - multiple authors
|
||||
Polish - translated by Mikolaj Machowski
|
||||
Russian - translated by Vassily Ragosin
|
||||
Swedish - translated by Daniel Nylander
|
||||
See the Vim website to find them: http://www.vim.org/translations.php
|
||||
|
||||
A set of translated help files consists of these files:
|
||||
@@ -417,8 +419,9 @@ STYLE
|
||||
If your Vim has 'modeline' enabled, Vim should follow the preferred style
|
||||
automatically when editing built-in help files.
|
||||
|
||||
Vim help files should be formatted for a 'textwidth' of 78 characters, so they
|
||||
look good in a typical 80 x 24 terminal window.
|
||||
Vim help files should be formatted for a 'textwidth' of 78 characters (with
|
||||
'conceal' enabled), so they look good in a typical 80 x 24 terminal window;
|
||||
use `:set colorcolumn=+0` as a visual guide.
|
||||
|
||||
Use two spaces between the final dot of a sentence of the first letter of the
|
||||
next sentence. Like this.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*if_pyth.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*if_pyth.txt* For Vim version 9.1. Last change: 2026 Jan 11
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Paul Moore
|
||||
@@ -183,9 +183,11 @@ vim.eval(str) *python-eval*
|
||||
Evaluates the expression str using the vim internal expression
|
||||
evaluator (see |expression|). Returns the expression result as:
|
||||
- a string if the Vim expression evaluates to a string or number
|
||||
- a list if the Vim expression evaluates to a Vim list
|
||||
- a tuple if the Vim expression evaluates to a Vim tuple
|
||||
- a dictionary if the Vim expression evaluates to a Vim dictionary
|
||||
- a list if the Vim expression evaluates to a Vim |list|
|
||||
- a tuple if the Vim expression evaluates to a Vim |tuple|
|
||||
- a dictionary if the Vim expression evaluates to a Vim |dict|
|
||||
- a boolean if Vim exression evaluates to |v:true| or |v:false|
|
||||
- `None` if Vim expression evaluates to |v:null| or |v:none|
|
||||
Dictionaries, lists and tuples are recursively expanded.
|
||||
Examples: >
|
||||
:" value of the 'textwidth' option
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*insert.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*insert.txt* For Vim version 9.1. Last change: 2026 Jan 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1720,7 +1720,7 @@ Complete:
|
||||
Notes
|
||||
|
||||
- It doesn't complete command arguments that rely on 'shellcmd' completion
|
||||
type in Windows and WSL due to general slowness of canditate gathering,
|
||||
type in Windows and WSL due to general slowness of candidate gathering,
|
||||
e.g.
|
||||
>
|
||||
terminal dir
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*intro.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*intro.txt* For Vim version 9.1. Last change: 2025 Nov 27
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -275,7 +275,7 @@ Vim would never have become what it is now, without the help of these people!
|
||||
improvements
|
||||
Doug Kearns Runtime file maintainer
|
||||
Foxe Chen Wayland support, new features
|
||||
glepnir completion feature
|
||||
glepnir work on improving completion feature, fixes
|
||||
Girish Palya autocompletion (ins/cmdline), omnifunc
|
||||
composing, search/subst completion, and more.
|
||||
Hirohito Higashi lots of patches and fixes
|
||||
@@ -450,6 +450,8 @@ notation meaning equivalent decimal value(s) ~
|
||||
<Del> delete 127
|
||||
<CSI> command sequence intro ALT-Esc 155 *<CSI>*
|
||||
<xCSI> CSI when typed in the GUI *<xCSI>*
|
||||
<OSC> operating system command 157 *<OSC>*
|
||||
<xOSC> received OSC response *<xOSC>*
|
||||
|
||||
<EOL> end-of-line (can be <CR>, <NL> or <CR><NL>,
|
||||
depends on system and 'fileformat') *<EOL>*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*map.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*map.txt* For Vim version 9.1. Last change: 2026 Feb 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1659,7 +1659,9 @@ completion can be enabled:
|
||||
-complete=scriptnames sourced script names
|
||||
-complete=shellcmd Shell command
|
||||
-complete=shellcmdline First is a shell command and subsequent ones
|
||||
are filenames. The same behavior as |:!cmd|
|
||||
are filenames. The same behavior as |:!cmd|.
|
||||
To get correct completion, |:command-nargs|
|
||||
should be '*' or '+'
|
||||
-complete=sign |:sign| suboptions
|
||||
-complete=syntax syntax file names 'syntax'
|
||||
-complete=syntime |:syntime| suboptions
|
||||
@@ -1695,7 +1697,8 @@ candidates as a Vim List. Non-string items in the list are ignored.
|
||||
|
||||
The function arguments are:
|
||||
ArgLead the leading portion of the argument currently being
|
||||
completed on
|
||||
completed on; note that this only captures the current
|
||||
space-separated word, even when using "-nargs=1"
|
||||
CmdLine the entire command line
|
||||
CursorPos the cursor position in it (byte index)
|
||||
The function may use these for determining context. For the "custom"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*mbyte.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*mbyte.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
||||
@@ -455,8 +455,8 @@ Useful utilities for converting the charset:
|
||||
ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/convert/hc-30.tar.gz
|
||||
|
||||
Korean: hmconv
|
||||
Hmconv is Korean code conversion utility especially for E-mail. It can
|
||||
convert between EUC-KR and ISO-2022-KR. Hmconv can be found at:
|
||||
Hmconv is Korean code conversion utility especially for E-mail. It
|
||||
can convert between EUC-KR and ISO-2022-KR. Hmconv can be found at:
|
||||
https://www.freshports.org/korean/hmconv/
|
||||
|
||||
Multilingual: lv
|
||||
@@ -601,7 +601,7 @@ Each field means:
|
||||
- AVE: AVERAGE_WIDTH field. Ten times average width in pixels.
|
||||
- CR: CHARSET_REGISTRY field. The name of the charset group.
|
||||
- CE: CHARSET_ENCODING field. The rest of the charset name. For some
|
||||
charsets, such as JIS X 0208, if this field is 0, code points has
|
||||
charsets, such as JIS X 0208, if this field is 0, codepoints has
|
||||
the same value as GL, and GR if 1.
|
||||
|
||||
For example, in case of a 16 dots font corresponding to JIS X 0208, it is
|
||||
@@ -761,9 +761,9 @@ Then add a command to your |gvimrc| file to set 'guifont': >
|
||||
|
||||
X INPUT METHOD (XIM) BACKGROUND *XIM* *xim* *x-input-method*
|
||||
|
||||
XIM is an international input module for X. There are two kinds of structures,
|
||||
Xlib unit type and |IM-server| (Input-Method server) type. |IM-server| type
|
||||
is suitable for complex input, such as CJK.
|
||||
XIM is an international input module for X. There are two kinds of
|
||||
structures, Xlib unit type and |IM-server| (Input-Method server) type.
|
||||
|IM-server| type is suitable for complex input, such as CJK.
|
||||
|
||||
- IM-server
|
||||
*IM-server*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*message.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*message.txt* For Vim version 9.1. Last change: 2025 Dec 09
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -848,6 +848,8 @@ and the screen is about to be redrawn:
|
||||
like pressing <Space>. This makes it impossible to select text though.
|
||||
-> For the GUI clicking the left mouse button in the last line works like
|
||||
pressing <Space>.
|
||||
-> |q| won't start recording into a register (rationale: it is often used as
|
||||
"quit" prompt key by users)
|
||||
|
||||
If you accidentally hit <Enter> or <Space> and you want to see the displayed
|
||||
text then use |g<|. This only works when 'more' is set.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*netbeans.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*netbeans.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Gordon Prieur et al.
|
||||
@@ -48,7 +48,7 @@ VimIntegration, description of various projects doing Vim Integration:
|
||||
|
||||
Projects using the NetBeans protocol of Vim are or were:
|
||||
- Agide, an IDE for the AAP project, written in Python (now replaced by
|
||||
|:Termdebug|): http://www.a-a-p.org
|
||||
|:Termdebug|): http://www.a-a-p.org (link now dead)
|
||||
- Clewn, a gdb integration into Vim, written in C:
|
||||
http://clewn.sourceforge.net/
|
||||
- Pyclewn, a gdb integration into Vim, written in Python:
|
||||
@@ -262,8 +262,8 @@ connection has been established.
|
||||
The communication between the Vim Controller and Vim uses plain text
|
||||
messages. This protocol was first designed to work with the external editor
|
||||
module of NetBeans. Later it was extended to work with Agide (A-A-P GUI IDE,
|
||||
see http://www.a-a-p.org) and then with other IDE. The extensions are marked
|
||||
with "version 2.1".
|
||||
formerly http://www.a-a-p.org, link now dead) and then with other IDE.
|
||||
The extensions are marked with "version 2.1".
|
||||
|
||||
Version 2.2 of the protocol has several minor changes which should only affect
|
||||
NetBeans users (ie, not Agide users). However, a bug was fixed which could
|
||||
@@ -390,7 +390,8 @@ addAnno serNum typeNum off len
|
||||
typeNum number sequence number of the annotation
|
||||
defined with defineAnnoType for this
|
||||
buffer
|
||||
off number offset where annotation is to be placed
|
||||
off number offset where annotation is to be
|
||||
placed
|
||||
len number not used
|
||||
In version 2.1 "lnum/col" can be used instead of "off".
|
||||
|
||||
@@ -645,7 +646,8 @@ getMark Not implemented.
|
||||
getAnno serNum
|
||||
Return the line number of the annotation in the buffer.
|
||||
Argument:
|
||||
serNum serial number of this placed annotation
|
||||
serNum serial number of this placed
|
||||
annotation
|
||||
The reply is:
|
||||
123 lnum line number of the annotation
|
||||
123 0 invalid annotation serial number
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 9.1. Last change: 2025 Nov 20
|
||||
*options.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1025,8 +1025,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'autowriteall'* *'awa'* *'noautowriteall'* *'noawa'*
|
||||
'autowriteall' 'awa' boolean (default off)
|
||||
global
|
||||
Like 'autowrite', but also used for commands ":edit", ":enew", ":quit",
|
||||
":qall", ":exit", ":xit", ":recover" and closing the Vim window.
|
||||
Like 'autowrite', but also used for commands ":edit", ":enew",
|
||||
":quit", ":qall", ":exit", ":xit", ":recover" and closing the Vim
|
||||
window.
|
||||
Setting this option also implies that Vim behaves like 'autowrite' has
|
||||
been set.
|
||||
|
||||
@@ -1670,7 +1671,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
a modified version of the following command in your vimrc file to
|
||||
override it: >
|
||||
:let &cdpath = ',' .. substitute(substitute($CDPATH, '[, ]', '\\\0', 'g'), ':', ',', 'g')
|
||||
< This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
< Environment variables are expanded |:set_env|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
(parts of 'cdpath' can be passed to the shell to expand file names).
|
||||
|
||||
@@ -1814,13 +1816,19 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
for X-windows, "" otherwise)
|
||||
global
|
||||
{only in GUI versions or when the |+xterm_clipboard|
|
||||
or |+wayland_clipboard| features are included}
|
||||
or |+wayland_clipboard| features or
|
||||
|+clipboard_provider| features are included}
|
||||
This option is a list of comma-separated names.
|
||||
Note: if one of the items is "exclude:", then you can't add an item
|
||||
after that. Therefore do not append an item with += but use ^= to
|
||||
prepend, e.g.: >
|
||||
set clipboard^=unnamed
|
||||
< When using the GUI see |'go-A'|.
|
||||
When using the |clipboard-providers| feature, only the "unnamed" and
|
||||
"unnamedplus" features will be recognized If compiled without the
|
||||
|+clipboard| feature but compiled with the |+clipboard_provider|
|
||||
feature, then they will be the only values allowed and the other
|
||||
values will be invalid.
|
||||
These names are recognized:
|
||||
|
||||
*clipboard-unnamed*
|
||||
@@ -1842,11 +1850,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
option, yank operations (but not delete, change or
|
||||
put) will additionally copy the text into register
|
||||
'*'. If Wayland is being used and the compositor does
|
||||
not support the primary-selection-unstable-v1
|
||||
protocol, then the regular selection is used in its
|
||||
place. Only available with the |+X11| or
|
||||
|+wayland_clipboard| feature. Availability can be
|
||||
checked with: >
|
||||
not support the primary selection then the regular
|
||||
selection is used in its place. Only available with
|
||||
the |+X11| or |+wayland_clipboard| feature.
|
||||
Availability can be checked with: >
|
||||
if has('unnamedplus')
|
||||
<
|
||||
*clipboard-autoselect*
|
||||
@@ -1911,18 +1918,22 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
for VMS: "x11",
|
||||
otherwise: "")
|
||||
global
|
||||
{only when the |+xterm_clipboard| or
|
||||
|+wayland_clipboard| features are included}
|
||||
Specifies which method of accessing the system clipboard is used,
|
||||
depending on which method works first or is available. Supported
|
||||
methods are:
|
||||
{only when the |+xterm_clipboard|, |+wayland_clipboard|,
|
||||
or |+eval| features are included}
|
||||
Specifies which method of accessing the system clipboard (or clipboard
|
||||
provider) is used. Methods are tried in the order given; the first
|
||||
working method is used. Supported methods are:
|
||||
wayland Wayland selections
|
||||
x11 X11 selections
|
||||
<name> Use a clipboard provider with the given name
|
||||
|
||||
Note: This option is ignored when either the GUI is running or if Vim
|
||||
is run on a system without Wayland or X11 support, such as Windows or
|
||||
macOS. The GUI or system way of accessing the clipboard is always
|
||||
used instead.
|
||||
macOS. The GUI or system way of accessing the clipboard is used
|
||||
instead, meaning |v:clipmethod| will be set to "none". The
|
||||
exception to this is the |clipboard-providers| feature, in which if
|
||||
a clipboard provider is being used, then it will override the existing
|
||||
clipboard functionality.
|
||||
|
||||
The option value is a list of comma separated items. The list is
|
||||
parsed left to right in order, and the first method that Vim
|
||||
@@ -2210,11 +2221,13 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'completefuzzycollect'* *'cfc'*
|
||||
'completefuzzycollect' 'cfc' string (default: empty)
|
||||
global
|
||||
A comma-separated list of strings to enable fuzzy collection for
|
||||
specific |ins-completion| modes, affecting how matches are gathered
|
||||
during completion. For specified modes, fuzzy matching is used to
|
||||
find completion candidates instead of the standard prefix-based
|
||||
matching. This option can contain the following values:
|
||||
DEPRECATED: This option is no longer used; changing it has no effect.
|
||||
When 'completeopt' contains "fuzzy", Vim will internally use the
|
||||
equivalent of:
|
||||
"keyword,files,whole_line"
|
||||
|
||||
The values below are kept for compatibility and for scripts that
|
||||
may read this option:
|
||||
|
||||
keyword keywords in the current file |i_CTRL-X_CTRL-N|
|
||||
keywords with flags ".", "w", |i_CTRL-N| |i_CTRL-P|
|
||||
@@ -2225,10 +2238,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
whole_line whole lines |i_CTRL-X_CTRL-L|
|
||||
|
||||
When using the 'completeopt' "longest" option value, fuzzy collection
|
||||
can identify the longest common string among the best fuzzy matches
|
||||
and insert it automatically.
|
||||
|
||||
*'completeitemalign'* *'cia'*
|
||||
'completeitemalign' 'cia' string (default: "abbr,kind,menu")
|
||||
global
|
||||
@@ -2248,12 +2257,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
fuzzy Enable |fuzzy-matching| for completion candidates. This
|
||||
allows for more flexible and intuitive matching, where
|
||||
characters can be skipped and matches can be found even
|
||||
if the exact sequence is not typed. Note: This option
|
||||
does not affect the collection of candidate list, it only
|
||||
controls how completion candidates are reduced from the
|
||||
list of alternatives. If you want to use |fuzzy-matching|
|
||||
to gather more alternatives for your candidate list,
|
||||
see 'completefuzzycollect'.
|
||||
if the exact sequence is not typed.
|
||||
|
||||
longest
|
||||
When 'autocomplete' is not active, only the longest common
|
||||
@@ -2568,8 +2572,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
This makes "y0" fail in the first column.
|
||||
*cpo-f*
|
||||
f When included, a ":read" command with a file name
|
||||
argument will set the file name for the current buffer,
|
||||
if the current buffer doesn't have a file name yet.
|
||||
argument will set the file name for the current
|
||||
buffer, if the current buffer doesn't have a file name
|
||||
yet.
|
||||
*cpo-F*
|
||||
F When included, a ":write" command with a file name
|
||||
argument will set the file name for the current
|
||||
@@ -3064,6 +3069,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
To include a comma in a file name precede it with a backslash. Spaces
|
||||
after a comma are ignored, otherwise spaces are included in the file
|
||||
name. See |option-backslash| about using backslashes.
|
||||
Environment variables are expanded |:set_env|.
|
||||
This has nothing to do with the |Dictionary| variable type.
|
||||
Where to find a list of words?
|
||||
- On FreeBSD, there is the file "/usr/share/dict/words".
|
||||
@@ -3169,8 +3175,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
hiddenoff Do not use diff mode for a buffer when it
|
||||
becomes hidden.
|
||||
|
||||
iblank Ignore changes where lines are all blank. Adds
|
||||
the "-B" flag to the "diff" command if
|
||||
iblank Ignore changes where lines are all blank.
|
||||
Adds the "-B" flag to the "diff" command if
|
||||
'diffexpr' is empty. Check the documentation
|
||||
of the "diff" command for what this does
|
||||
exactly.
|
||||
@@ -3207,9 +3213,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
internal Use the internal diff library. This is
|
||||
ignored when 'diffexpr' is set. *E960*
|
||||
When running out of memory when writing a
|
||||
buffer this item will be ignored for diffs
|
||||
involving that buffer. Set the 'verbose'
|
||||
option to see when this happens.
|
||||
buffer or the diff is larger than 1 GB this
|
||||
item will be ignored for diffs involving that
|
||||
buffer. Set the 'verbose' option to see when
|
||||
this happens.
|
||||
|
||||
iwhite Ignore changes in amount of white space. Adds
|
||||
the "-b" flag to the "diff" command if
|
||||
@@ -3799,9 +3806,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
edit a file, a check is done for the <EOL>:
|
||||
1. If all lines end in <CR><NL>, and 'fileformats' includes "dos",
|
||||
'fileformat' is set to "dos".
|
||||
2. If a <NL> is found and 'fileformats' includes "unix", 'fileformat'
|
||||
is set to "unix". Note that when a <NL> is found without a
|
||||
preceding <CR>, "unix" is preferred over "dos".
|
||||
2. If a <NL> is found and 'fileformats' includes "unix",
|
||||
'fileformat' is set to "unix". Note that when a <NL> is found
|
||||
without a preceding <CR>, "unix" is preferred over "dos".
|
||||
3. If 'fileformat' has not yet been set, and if a <CR> is found, and
|
||||
if 'fileformats' includes "mac", 'fileformat' is set to "mac".
|
||||
This means that "mac" is only chosen when:
|
||||
@@ -4269,15 +4276,17 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
*'fsync'* *'fs'* *'nofsync'* *'nofs'*
|
||||
'fsync' 'fs' boolean (default on)
|
||||
global
|
||||
global or local to buffer |global-local|
|
||||
When on, the library function fsync() will be called after writing a
|
||||
file. This will flush a file to disk, ensuring that it is safely
|
||||
written even on filesystems which do metadata-only journaling. This
|
||||
will force the harddrive to spin up on Linux systems running in laptop
|
||||
mode, so it may be undesirable in some situations. Be warned that
|
||||
turning this off increases the chances of data loss after a crash. On
|
||||
systems without an fsync() implementation, this variable is always
|
||||
off.
|
||||
will force the hard drive to spin up on Linux systems running in
|
||||
laptop mode, so it may be undesirable in some situations. Be warned
|
||||
that turning this off increases the chances of data loss after a
|
||||
crash. On systems without an fsync() implementation, this variable is
|
||||
always off.
|
||||
This is a |global-local| option, so it can be set per buffer, for
|
||||
example when writing to a slow filesystem.
|
||||
Also see 'swapsync' for controlling fsync() on swap files.
|
||||
'fsync' also applies to |writefile()| (unless a flag is used to
|
||||
overrule it) and when writing undo files (see |undo-persistence|).
|
||||
@@ -4508,8 +4517,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
by a yank or delete operation for the "* register.
|
||||
The same applies to the modeless selection.
|
||||
*'go-P'*
|
||||
'P' Like autoselect but using the "+ register instead of the "*
|
||||
register.
|
||||
'P' Like autoselect but only copy to the "+ register instead of
|
||||
the "* register.
|
||||
*'go-A'*
|
||||
'A' Autoselect for the modeless selection. Like 'a', but only
|
||||
applies to the modeless selection.
|
||||
@@ -4527,17 +4536,17 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
choices.
|
||||
*'go-C'*
|
||||
'C' Use |hl-TitleBar| and |hl-TitleBarNC| if available.
|
||||
Currently only works for MS-Window GUI.
|
||||
Currently only works for MS-Windows GUI.
|
||||
See |gui-w32-title-bar| for details.
|
||||
*'go-d'*
|
||||
'd' Use dark theme variant if available. Currently only works for
|
||||
GTK+ GUI.
|
||||
MS-Windows and GTK+ GUI.
|
||||
*'go-e'*
|
||||
'e' Add tab pages when indicated with 'showtabline'.
|
||||
'guitablabel' can be used to change the text in the labels.
|
||||
When 'e' is missing a non-GUI tab pages line may be used.
|
||||
The GUI tabs are only supported on some systems, currently GTK,
|
||||
Motif, Mac OS/X, Haiku, and MS-Windows.
|
||||
The GUI tabs are only supported on some systems, currently
|
||||
GTK, Motif, Mac OS/X, Haiku, and MS-Windows.
|
||||
*'go-f'*
|
||||
'f' Foreground: Don't use fork() to detach the GUI from the shell
|
||||
where it was started. Use this for programs that wait for the
|
||||
@@ -4567,6 +4576,12 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'go-T'*
|
||||
'T' Include Toolbar. Currently only in Win32, GTK+, Motif and
|
||||
Photon GUIs.
|
||||
*'go-s'*
|
||||
's' Enable fullscreen mode. Currently only supported in the
|
||||
MS-Windows GUI version. When set, the window will occupy the
|
||||
entire screen and remove window decorations. Define custom
|
||||
mappings to toggle this mode conveniently. For detailed usage
|
||||
instructions, see |gui-w32-fullscreen|.
|
||||
*'go-r'*
|
||||
'r' Right-hand scrollbar is always present.
|
||||
*'go-R'*
|
||||
@@ -5234,23 +5249,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
and there is a letter before it, the completed part is made uppercase.
|
||||
With 'noinfercase' the match is used as-is.
|
||||
|
||||
*'isexpand'* *'ise'*
|
||||
'isexpand' 'ise' string (default: "")
|
||||
local to buffer
|
||||
Defines characters and patterns for completion in insert mode. Used
|
||||
by the |complete_match()| function to determine the starting position
|
||||
for completion. This is a comma-separated list of triggers. Each
|
||||
trigger can be:
|
||||
- A single character like "." or "/"
|
||||
- A sequence of characters like "->", "/*", or "/**"
|
||||
|
||||
Note: Use "\\," to add a literal comma as trigger character, see
|
||||
|option-backslash|.
|
||||
|
||||
Examples: >
|
||||
set isexpand=.,->,/*,\\,
|
||||
<
|
||||
|
||||
*'insertmode'* *'im'* *'noinsertmode'* *'noim'*
|
||||
'insertmode' 'im' boolean (default off)
|
||||
global
|
||||
@@ -5900,8 +5898,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'makeencoding'* *'menc'*
|
||||
'makeencoding' 'menc' string (default "")
|
||||
global or local to buffer |global-local|
|
||||
Encoding used for reading the output of external commands. When empty,
|
||||
encoding is not converted.
|
||||
Encoding used for reading the output of external commands. When
|
||||
empty, encoding is not converted.
|
||||
This is used for `:make`, `:lmake`, `:grep`, `:lgrep`, `:grepadd`,
|
||||
`:lgrepadd`, `:cfile`, `:cgetfile`, `:caddfile`, `:lfile`, `:lgetfile`,
|
||||
and `:laddfile`.
|
||||
@@ -6045,7 +6043,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
When the number of matches exceeds this value, Vim shows ">" instead
|
||||
of the exact count to keep searching fast.
|
||||
Note: larger values may impact performance.
|
||||
The value must be between 1 and 9999.
|
||||
The value must be between 1 and 9999. See also the |searchcount()|
|
||||
function.
|
||||
|
||||
*'menuitems'* *'mis'*
|
||||
'menuitems' 'mis' number (default 25)
|
||||
@@ -6116,7 +6115,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
:set mkspellmem=900000,3000,800
|
||||
< If you have less than 512 Mbyte |:mkspell| may fail for some
|
||||
languages, no matter what you set 'mkspellmem' to.
|
||||
|
||||
Environment variables are expanded |:set_env|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
@@ -6208,8 +6207,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
< If your terminal can't overrule the mouse events going to the
|
||||
application, use: >
|
||||
:set mouse=nvi
|
||||
< Then you can press ":", select text for the system, and press Esc to go
|
||||
back to Vim using the mouse events.
|
||||
< Then you can press ":", select text for the system, and press Esc to
|
||||
go back to Vim using the mouse events.
|
||||
In |defaults.vim| "nvi" is used if the 'term' option is not matching
|
||||
"xterm".
|
||||
|
||||
@@ -6539,6 +6538,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'packpath'* *'pp'*
|
||||
'packpath' 'pp' string (default: see 'runtimepath')
|
||||
Directories used to find packages. See |packages|.
|
||||
Environment variables are expanded |:set_env|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
@@ -6975,6 +6975,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|lambda| or a |Funcref|. See |option-value-function| for more
|
||||
information.
|
||||
|
||||
It is not allowed to change text or jump to another window while
|
||||
evaluating 'qftf' |textlock|.
|
||||
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
@@ -7363,6 +7366,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
runtime files.
|
||||
When Vim is started with |--clean| the home directory entries are not
|
||||
included.
|
||||
Environment variables are expanded |:set_env|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
@@ -7864,7 +7868,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
"search hit TOP, continuing at BOTTOM" messages are only
|
||||
indicated by a "W" (Mnemonic: Wrapped) letter before the
|
||||
search count statistics. The maximum limit can be set with
|
||||
the 'maxsearchcount' option.
|
||||
the 'maxsearchcount' option, see also |searchcount()|
|
||||
function.
|
||||
|
||||
This gives you the opportunity to avoid that a change between buffers
|
||||
requires you to hit <Enter>, but still gives as useful a message as
|
||||
@@ -8141,7 +8146,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
when it is turned off. It is also reset when 'compatible' is set.
|
||||
|
||||
The 'L' flag in 'cpoptions' alters tab behavior when 'list' is
|
||||
enabled. See also |ins-expandtab| ans user manual section |30.5| for
|
||||
enabled. See also |ins-expandtab| and user manual section |30.5| for
|
||||
in-depth explanations.
|
||||
|
||||
If Vim is compiled with the |+vartabs| feature then the value of
|
||||
@@ -8195,6 +8200,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
name if you want to. However, it will then only be used when
|
||||
'spellfile' is set to it, for entries in 'spelllang' only files
|
||||
without region name will be found.
|
||||
Environment variables are expanded |:set_env|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
@@ -8322,7 +8328,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Only one of "best", "double" or "fast" may be used. The others may
|
||||
appear several times in any order. Example: >
|
||||
:set sps=file:~/.vim/sugg,best,expr:MySuggest()
|
||||
<
|
||||
< Environment variables are expanded |:set_env|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
@@ -8497,9 +8503,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
highlighting is used, also for the statusline of non-current
|
||||
windows.
|
||||
* - Set highlight group to User{N}, where {N} is taken from the
|
||||
minwid field, e.g. %1*. Restore normal highlight with %* or %0*.
|
||||
The difference between User{N} and StatusLine will be applied to
|
||||
StatusLineNC for the statusline of non-current windows.
|
||||
minwid field, e.g. %1*. Restore normal highlight with %* or
|
||||
%0*. The difference between User{N} and StatusLine will be
|
||||
applied to StatusLineNC for the statusline of non-current
|
||||
windows.
|
||||
The number N must be between 1 and 9. See |hl-User1..9|
|
||||
|
||||
When displaying a flag, Vim removes the leading comma, if any, when
|
||||
@@ -8744,7 +8751,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
You can use |g:actual_curtabpage| within a function assigned to
|
||||
tabpanel. |g:actual_curtabpage| represents current tab's label number.
|
||||
The option value can contain line breaks: >
|
||||
The option value can contain "\n" to force line breaks: >
|
||||
|
||||
set tabpanel=%!TabPanel()
|
||||
function! TabPanel() abort
|
||||
@@ -8762,6 +8769,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
| |
|
||||
| |
|
||||
<
|
||||
Note: using "\n" is considered experimental and may change in the
|
||||
future; a %-atom may be used instead.
|
||||
|
||||
*'tabpanelopt'* *'tplo'*
|
||||
'tabpanelopt' 'tplo' string (default "")
|
||||
global
|
||||
@@ -9159,8 +9169,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
name. See |option-backslash| about using backslashes. The use of
|
||||
|:set+=| and |:set-=| is preferred when adding or removing directories
|
||||
from the list. This avoids problems when a future version uses
|
||||
another default. Backticks cannot be used in this option for security
|
||||
reasons.
|
||||
another default.
|
||||
Environment variables are expanded |:set_env|.
|
||||
Backticks cannot be used in this option for security reasons.
|
||||
|
||||
*'thesaurusfunc'* *'tsrfu'*
|
||||
'thesaurusfunc' 'tsrfu' string (default: empty)
|
||||
@@ -9488,6 +9499,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'ttytype' 'tty' string (default from $TERM)
|
||||
global
|
||||
Alias for 'term', see above.
|
||||
Environment variables are expanded |:set_env|.
|
||||
|
||||
*'undodir'* *'udir'*
|
||||
'undodir' 'udir' string (default ".")
|
||||
@@ -9505,6 +9517,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
undo file that exists is used. When it cannot be read an error is
|
||||
given, no further entry is used.
|
||||
See |undo-persistence|.
|
||||
Environment variables are expanded |:set_env|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
@@ -9527,9 +9540,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
global or local to buffer |global-local|
|
||||
Maximum number of changes that can be undone. Since undo information
|
||||
is kept in memory, higher numbers will cause more memory to be used.
|
||||
Nevertheless, a single change can already use a large amount of memory.
|
||||
Set to 0 for Vi compatibility: One level of undo and "u" undoes
|
||||
itself: >
|
||||
Nevertheless, a single change can already use a large amount of
|
||||
memory. Set to 0 for Vi compatibility: One level of undo and "u"
|
||||
undoes itself: >
|
||||
set ul=0
|
||||
< But you can also get Vi compatibility by including the 'u' flag in
|
||||
'cpoptions', and still be able to use CTRL-R to repeat undo.
|
||||
@@ -9656,6 +9669,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Setting 'verbosefile' to a new value is like making it empty first.
|
||||
The difference with |:redir| is that verbose messages are not
|
||||
displayed when 'verbosefile' is set.
|
||||
Environment variables are expanded |:set_env|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
@@ -9670,6 +9684,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
feature}
|
||||
Name of the directory where to store files for |:mkview|.
|
||||
For $XDG_CONFIG_HOME see |xdg-base-dir|.
|
||||
Environment variables are expanded |:set_env|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
@@ -9825,6 +9840,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
When equal to "NONE" no viminfo file will be read or written.
|
||||
This option can be set with the |-i| command line flag. The |--clean|
|
||||
command line flag sets it to "NONE".
|
||||
Environment variables are expanded |:set_env|.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
@@ -9862,9 +9878,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'visualbell'* *'vb'* *'novisualbell'* *'novb'* *beep*
|
||||
'visualbell' 'vb' boolean (default off)
|
||||
global
|
||||
Use a visual bell instead of beeping. The terminal code to display the
|
||||
visual bell is given with 't_vb'. When no beep or flash is wanted,
|
||||
use: >
|
||||
Use a visual bell instead of beeping. The terminal code to display
|
||||
the visual bell is given with 't_vb'. When no beep or flash is
|
||||
wanted, use: >
|
||||
:set vb t_vb=
|
||||
< If you want a short flash, you can use this on many terminals: >
|
||||
:set vb t_vb=[?5h$<100>[?5l
|
||||
@@ -9872,8 +9888,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
to get a shorter or longer flash.
|
||||
|
||||
Note: Vim will limit the bell to once per half a second. This avoids
|
||||
having to wait for the flashing to finish when there are lots of bells,
|
||||
e.g. on key repeat. This also happens without 'visualbell' set.
|
||||
having to wait for the flashing to finish when there are lots of
|
||||
bells, e.g. on key repeat. This also happens without 'visualbell'
|
||||
set.
|
||||
|
||||
In the GUI, 't_vb' defaults to "<Esc>|f", which inverts the display
|
||||
for 20 msec. If you want to use a different time, use "<Esc>|40f",
|
||||
@@ -9960,10 +9977,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'wildcharm' 'wcm' number (default: none (0))
|
||||
global
|
||||
'wildcharm' works exactly like 'wildchar', except that it is
|
||||
recognized when used inside a macro. You can find "spare" command-line
|
||||
keys suitable for this option by looking at |ex-edit-index|. Normally
|
||||
you'll never actually type 'wildcharm', just use it in mappings that
|
||||
automatically invoke completion mode, e.g.: >
|
||||
recognized when used inside a macro. You can find "spare"
|
||||
command-line keys suitable for this option by looking at
|
||||
|ex-edit-index|. Normally you'll never actually type 'wildcharm',
|
||||
just use it in mappings that automatically invoke completion mode,
|
||||
e.g.: >
|
||||
:set wcm=<C-Z>
|
||||
:cnoremap ss so $vim/sessions/*.vim<C-Z>
|
||||
< Then after typing :ss you can use CTRL-P & CTRL-N.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pattern.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*pattern.txt* For Vim version 9.1. Last change: 2026 Jan 28
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1169,13 +1169,15 @@ x A single character, with no special meaning, matches itself
|
||||
*[:graph:]* [:graph:] isgraph ASCII printable characters excluding
|
||||
space
|
||||
*[:lower:]* [:lower:] (1) lowercase letters (all letters when
|
||||
'ignorecase' is used)
|
||||
'ignorecase' is used and the old
|
||||
engine is in use |two-engines|)
|
||||
*[:print:]* [:print:] (2) printable characters including space
|
||||
*[:punct:]* [:punct:] ispunct ASCII punctuation characters
|
||||
*[:space:]* [:space:] whitespace characters: space, tab, CR,
|
||||
NL, vertical tab, form feed
|
||||
*[:upper:]* [:upper:] (3) uppercase letters (all letters when
|
||||
'ignorecase' is used)
|
||||
'ignorecase' is used and the old
|
||||
engine is in use |two-engines|)
|
||||
*[:xdigit:]* [:xdigit:] hexadecimal digits: 0-9, a-f, A-F
|
||||
*[:return:]* [:return:] the <CR> character
|
||||
*[:tab:]* [:tab:] the <Tab> character
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pi_getscript.txt* For Vim version 9.1. Last change: 2025 Aug 10
|
||||
*pi_getscript.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
>
|
||||
GETSCRIPT REFERENCE MANUAL by Charles E. Campbell
|
||||
<
|
||||
@@ -57,7 +57,8 @@ The GetLatestVimScripts.dist file serves as an example and a template for your
|
||||
own personal list. Feel free to remove all the scripts mentioned within it;
|
||||
the "important" part of it is the first two lines.
|
||||
|
||||
Your computer needs to have wget or curl for GetLatestVimScripts to do its work.
|
||||
Your computer needs to have wget or curl for GetLatestVimScripts to do its
|
||||
work.
|
||||
|
||||
1. if compressed: gunzip getscript.vmb.gz
|
||||
2. Unix:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pi_vimball.txt* For Vim version 9.1. Last change: 2025 Aug 06
|
||||
*pi_vimball.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
----------------
|
||||
Vimball Archiver
|
||||
@@ -9,13 +9,13 @@ Author: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
|
||||
Copyright: (c) 2004-2015 by Charles E. Campbell *Vimball-copyright*
|
||||
The VIM LICENSE (see |copyright|) applies to the files in this
|
||||
package, including vimballPlugin.vim, vimball.vim, and pi_vimball.txt.
|
||||
except use "vimball" instead of "VIM". Like anything else that's free,
|
||||
vimball.vim and its associated files are provided *as is* and comes with
|
||||
no warranty of any kind, either expressed or implied. No guarantees
|
||||
of merchantability. No guarantees of suitability for any purpose. By
|
||||
using this plugin, you agree that in no event will the copyright
|
||||
holder be liable for any damages resulting from the use of this
|
||||
software. Use at your own risk!
|
||||
except use "vimball" instead of "VIM". Like anything else that's
|
||||
free, vimball.vim and its associated files are provided *as is* and
|
||||
comes with no warranty of any kind, either expressed or implied. No
|
||||
guarantees of merchantability. No guarantees of suitability for any
|
||||
purpose. By using this plugin, you agree that in no event will the
|
||||
copyright holder be liable for any damages resulting from the use of
|
||||
this software. Use at your own risk!
|
||||
|
||||
==============================================================================
|
||||
1. Contents *vba* *vimball* *vimball-contents*
|
||||
@@ -248,8 +248,8 @@ WINDOWS *vimball-windows*
|
||||
13 : May 01, 2006 * exists("&acd") used to determine if the acd
|
||||
option exists
|
||||
12 : May 01, 2006 * bugfix - the 'acd' option is not always defined
|
||||
11 : Apr 27, 2006 * VimballList would create missing subdirectories that
|
||||
the vimball specified were needed. Fixed.
|
||||
11 : Apr 27, 2006 * VimballList would create missing subdirectories
|
||||
that the vimball specified were needed. Fixed.
|
||||
10 : Apr 27, 2006 * moved all setting saving/restoration to a pair of
|
||||
functions. Included some more settings in them
|
||||
which frequently cause trouble.
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
*popup.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*popup.txt* For Vim version 9.1. Last change: 2026 Jan 08
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
||||
|
||||
Displaying text in a floating window. *popup* *popup-window* *popupwin*
|
||||
Displaying text in a popup window. *popup* *popup-window* *popupwin*
|
||||
|
||||
|
||||
1. Introduction |popup-intro|
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*print.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*print.txt* For Vim version 9.1. Last change: 2025 Dec 17
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -304,7 +304,7 @@ another font will be used as follows:
|
||||
if o: is missing, then use b:
|
||||
|
||||
Some CJK fonts do not contain characters for codes in the ASCII code range.
|
||||
Also, some characters in the CJK ASCII code ranges differ in a few code points
|
||||
Also, some characters in the CJK ASCII code ranges differ in a few codepoints
|
||||
from traditional ASCII characters. There are two additional fields to control
|
||||
printing of characters in the ASCII code range.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*quickfix.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*quickfix.txt* For Vim version 9.1. Last change: 2026 Feb 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -491,8 +491,8 @@ entries parsed from lines. The following shows how to use a custom
|
||||
|
||||
EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST:
|
||||
*:cdo*
|
||||
:cdo[!] {cmd} Execute {cmd} in each valid entry in the quickfix list.
|
||||
It works like doing this: >
|
||||
:cdo[!] {cmd} Execute {cmd} in each valid entry in the quickfix
|
||||
list. It works like doing this: >
|
||||
:cfirst
|
||||
:{cmd}
|
||||
:cnext
|
||||
@@ -625,6 +625,10 @@ can go back to the unfiltered list using the |:colder|/|:lolder| command.
|
||||
errors. If the window is already open and there are
|
||||
no recognized errors, close the window.
|
||||
|
||||
When opening the window and [height] is given, the
|
||||
window becomes that high (if there is room). When
|
||||
[height] is omitted the window is made ten lines high.
|
||||
|
||||
*:lw* *:lwindow*
|
||||
:lw[indow] [height] Same as ":cwindow", except use the window showing the
|
||||
location list for the current window.
|
||||
@@ -1654,6 +1658,22 @@ b/g:mypy_makeprg_params variable. For example: >
|
||||
|
||||
The global default is "--strict --ignore-missing-imports".
|
||||
|
||||
PYRIGHT TYPE CHECKER *compiler-pyright*
|
||||
|
||||
Commonly used compiler options can be added to 'makeprg' by setting the
|
||||
b/g:pyright_makeprg_params variable.
|
||||
|
||||
The global default is "pyright".
|
||||
|
||||
TY TYPE CHECKER *compiler-ty*
|
||||
|
||||
Commonly used compiler options and executable can be set by the
|
||||
b/g:ty_makeprg variable. For example: >
|
||||
|
||||
let b:ty_makeprg = "uv run ty"
|
||||
|
||||
The global default is "ty --no-progress --color=never".
|
||||
|
||||
RUFF LINTER *compiler-ruff*
|
||||
|
||||
Commonly used compiler options can be added to 'makeprg' by setting the
|
||||
@@ -2015,9 +2035,9 @@ case they have to precede the letter, e.g. '%+A' or '%-G':
|
||||
%- do not include the matching multi-line in any output
|
||||
%+ include the whole matching line in the %m error string
|
||||
|
||||
One prefix is only useful in combination with '+' or '-', namely %G. It parses
|
||||
over lines containing general information like compiler version strings or
|
||||
other headers that can be skipped.
|
||||
One prefix is only useful in combination with '+' or '-', namely %G. It
|
||||
parses over lines containing general information like compiler version strings
|
||||
or other headers that can be skipped.
|
||||
%-G ignore this message
|
||||
%+G general message
|
||||
|
||||
@@ -2185,8 +2205,8 @@ prints information about entering a directory in the form "Making all in dir".
|
||||
Making all in dir2 ./dir1/dir2
|
||||
Making all in dir2 ./dir1/dir2
|
||||
|
||||
This can be solved by printing absolute directories in the "enter directory"
|
||||
message or by printing "leave directory" messages.
|
||||
This can be solved by printing absolute directories in the "enter
|
||||
directory" message or by printing "leave directory" messages.
|
||||
|
||||
To avoid this problem, ensure to print absolute directory names and "leave
|
||||
directory" messages.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*repeat.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*repeat.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1220,7 +1220,8 @@ Additionally, these commands can be used:
|
||||
*>bt*
|
||||
*>backtrace*
|
||||
*>where*
|
||||
backtrace Show the call stacktrace for current debugging session.
|
||||
backtrace Show the call stacktrace for current debugging
|
||||
session.
|
||||
bt
|
||||
where
|
||||
*>frame*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*russian.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*russian.txt* For Vim version 9.1. Last change: 2026 Jan 25
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Vassily Ragosin
|
||||
@@ -11,13 +11,13 @@ Russian language localization and support in Vim *russian* *Russian*
|
||||
3. Localization |russian-l18n|
|
||||
4. Known issues |russian-issues|
|
||||
|
||||
===============================================================================
|
||||
==============================================================================
|
||||
1. Introduction *russian-intro*
|
||||
|
||||
Russian language is supported perfectly well in Vim. You can type and view
|
||||
Russian text just as any other, without the need to tweak the settings.
|
||||
|
||||
===============================================================================
|
||||
==============================================================================
|
||||
2. Russian keymaps *russian-keymap*
|
||||
|
||||
To switch between languages you can use your system native keyboard switcher,
|
||||
@@ -41,7 +41,7 @@ This is in utf-8, you cannot read this if your 'encoding' is not utf-8.
|
||||
You have to type this command in one line, it is wrapped for the sake of
|
||||
readability.
|
||||
|
||||
===============================================================================
|
||||
==============================================================================
|
||||
3. Localization *russian-l18n*
|
||||
|
||||
If you wish to use messages, help files, menus and other items translated to
|
||||
@@ -60,7 +60,7 @@ $VIMRUNTIME directory. We recommend using UTF-8 archive.
|
||||
In order to use the Russian documentation, make sure you have set the
|
||||
'helplang' option to "ru".
|
||||
|
||||
===============================================================================
|
||||
==============================================================================
|
||||
4. Known issues *russian-issues*
|
||||
|
||||
-- If you are using Russian message translations in Win32 console, then
|
||||
@@ -69,5 +69,5 @@ In order to use the Russian documentation, make sure you have set the
|
||||
is related to a bug in GNU gettext library and may be fixed in the future
|
||||
releases of gettext.
|
||||
|
||||
===============================================================================
|
||||
==============================================================================
|
||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*spell.txt* For Vim version 9.1. Last change: 2025 Oct 12
|
||||
*spell.txt* For Vim version 9.1. Last change: 2026 Jan 25
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -516,10 +516,6 @@ The older, OpenOffice 2 files may be used if this doesn't work:
|
||||
You can also use a plain word list. The results are the same, the choice
|
||||
depends on what word lists you can find.
|
||||
|
||||
If you install Aap (from www.a-a-p.org) you can use the recipes in the
|
||||
runtime/spell/??/ directories. Aap will take care of downloading the files,
|
||||
apply patches needed for Vim and build the .spl file.
|
||||
|
||||
Make sure your current locale is set properly, otherwise Vim doesn't know what
|
||||
characters are upper/lower case letters. If the locale isn't available (e.g.,
|
||||
when using an MS-Windows codepage on Unix) add tables to the .aff file
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*starting.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*starting.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -890,8 +890,8 @@ accordingly. Vim proceeds in this order:
|
||||
III The environment variable EXINIT.
|
||||
The value of $EXINIT is used as an Ex command line.
|
||||
IV The user exrc file(s). Same as for the user vimrc file, but with
|
||||
"vimrc" replaced by "exrc". But only one of ".exrc" and "_exrc" is
|
||||
used, depending on the system. And without the (*)!
|
||||
"vimrc" replaced by "exrc". But only one of ".exrc" and "_exrc"
|
||||
is used, depending on the system. And without the (*)!
|
||||
V The default vimrc file, $VIMRUNTIME/defaults.vim. This sets up
|
||||
options values and has "syntax on" and "filetype on" commands,
|
||||
which is what most new users will want. See |defaults.vim|.
|
||||
@@ -1287,7 +1287,7 @@ CTRL-Z Suspend Vim, like ":stop".
|
||||
Works in Normal and in Visual mode. In Insert and
|
||||
Command-line mode, the CTRL-Z is inserted as a normal
|
||||
character. In Visual mode Vim goes back to Normal
|
||||
mode.
|
||||
mode before suspending.
|
||||
Note: if CTRL-Z undoes a change see |mswin.vim|.
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 9.1. Last change: 2025 Oct 14
|
||||
*syntax.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -487,10 +487,10 @@ specifying each command separately.
|
||||
*hl-TOhtmlProgress* *TOhtml-progress-color*
|
||||
When displayed, the progress bar will show colored boxes along the statusline
|
||||
as the HTML conversion proceeds. By default, the background color as the
|
||||
current "DiffDelete" highlight group is used. If "DiffDelete" and "StatusLine"
|
||||
have the same background color, TOhtml will automatically adjust the color to
|
||||
differ. If you do not like the automatically selected colors, you can define
|
||||
your own highlight colors for the progress bar. Example: >
|
||||
current "DiffDelete" highlight group is used. If "DiffDelete" and
|
||||
"StatusLine" have the same background color, TOhtml will automatically adjust
|
||||
the color to differ. If you do not like the automatically selected colors,
|
||||
you can define your own highlight colors for the progress bar. Example: >
|
||||
|
||||
hi TOhtmlProgress guifg=#c0ffee ctermbg=7
|
||||
<
|
||||
@@ -615,9 +615,9 @@ browsers; the <input> tags get pasted with the text.
|
||||
|
||||
When "fallback" (default value), the same <input> elements are generated for
|
||||
older browsers, but newer browsers (detected by CSS feature query) hide the
|
||||
<input> elements and instead use generated content in an ::before pseudoelement
|
||||
to display the uncopyable text. This method should work with the largest
|
||||
number of browsers, both old and new.
|
||||
<input> elements and instead use generated content in an ::before
|
||||
pseudoelement to display the uncopyable text. This method should work with
|
||||
the largest number of browsers, both old and new.
|
||||
|
||||
When "none", the <input> elements are not generated at all. Only the
|
||||
generated-content method is used. This means that old browsers, notably
|
||||
@@ -1125,6 +1125,7 @@ new-generation language oriented to full-scenario intelligence.
|
||||
All highlighting is enabled by default. To disable highlighting for a
|
||||
specific group, set the corresponding variable to 0 in your |vimrc|.
|
||||
All options to disable highlighting are: >
|
||||
:let g:cangjie_builtin_color = 0
|
||||
:let g:cangjie_comment_color = 0
|
||||
:let g:cangjie_identifier_color = 0
|
||||
:let g:cangjie_keyword_color = 0
|
||||
@@ -2701,50 +2702,50 @@ If you don't want to highlight these errors, leave it unset.
|
||||
|
||||
NROFF *nroff.vim* *ft-nroff-syntax*
|
||||
|
||||
The nroff syntax file works with AT&T n/troff out of the box. You need to
|
||||
activate the GNU groff extra features included in the syntax file before you
|
||||
can use them.
|
||||
|
||||
For example, Linux and BSD distributions use groff as their default text
|
||||
processing package. In order to activate the extra syntax highlighting
|
||||
features for groff, arrange for files to be recognized as groff (see
|
||||
The nroff syntax file works with AT&T n/troff as-is. To support GNU troff
|
||||
(groff), which Linux and BSD distributions use as their default typesetting
|
||||
package, arrange for files to be recognized as groff input (see
|
||||
|ft-groff-syntax|) or add the following option to your start-up files: >
|
||||
|
||||
:let nroff_is_groff = 1
|
||||
|
||||
Groff is different from the old AT&T n/troff that you may still find in
|
||||
Solaris. Groff macro and request names can be longer than 2 characters and
|
||||
there are extensions to the language primitives. For example, in AT&T troff
|
||||
you access the year as a 2-digit number with the request \(yr. In groff you
|
||||
can use the same request, recognized for compatibility, or you can use groff's
|
||||
native syntax, \[yr]. Furthermore, you can use a 4-digit year directly:
|
||||
\[year]. Macro requests can be longer than 2 characters, for example, GNU mm
|
||||
accepts the requests ".VERBON" and ".VERBOFF" for creating verbatim
|
||||
environments.
|
||||
GNU troff differs from older AT&T n/troff programs (that you may still find in
|
||||
Solaris or Plan 9) by extending the *roff language syntax. For example, in
|
||||
AT&T troff, you access the count of years since 1900 with the escape sequence
|
||||
\n(yr. In groff you can do the same, which it recognizes for compatibility,
|
||||
or use groff's extended syntax, \n[yr]. AT&T troff documented the yr register
|
||||
as storing the "last two digits of current year", but had a Y2K problem; in
|
||||
groff, you can access the Gregorian year correctly: \n[year]. In groff, font,
|
||||
register, macro, string, and request names can exceed two characters; for
|
||||
example, with groff's mm package, the control lines ".VERBON" and ".VERBOFF"
|
||||
call macros of those names to bracket displays of "verbatim" content.
|
||||
|
||||
In order to obtain the best formatted output g/troff can give you, you should
|
||||
follow a few simple rules about spacing and punctuation.
|
||||
|
||||
1. Do not leave empty spaces at the end of lines.
|
||||
1. Break the line (put a carriage return) at the end of every sentence. Don't
|
||||
permit trailing spaces before the newline.
|
||||
|
||||
2. Leave one space and one space only after an end-of-sentence period,
|
||||
exclamation mark, etc.
|
||||
2. If a line ends with a period, question mark, or exclamation point that does
|
||||
not end a sentence, follow it with the dummy character escape sequence \&.
|
||||
|
||||
3. For reasons stated below, it is best to follow all period marks with a
|
||||
carriage return.
|
||||
3. If you're using a macro package, employ its paragraphing macros to achieve
|
||||
indentation of paragraphs and spacing between them.
|
||||
|
||||
The reason behind these unusual tips is that g/n/troff have a line breaking
|
||||
algorithm that can be easily upset if you don't follow the rules given above.
|
||||
4. Use the empty request, a '.' on a line by itself, freely to visually
|
||||
separate material for ease of document maintenance.
|
||||
|
||||
Unlike TeX, troff fills text line-by-line, not paragraph-by-paragraph and,
|
||||
furthermore, it does not have a concept of glue or stretch, all horizontal and
|
||||
vertical space input will be output as is.
|
||||
The reason for these tips is that g/n/troff attempts to detect the ends of
|
||||
sentences, and can use that information to apply inter-sentence space. Using
|
||||
them also minimizes the size of diffs where lines change due only to refilling
|
||||
in the text editor. Macro packages typically employ inter-paragraph spacing
|
||||
amounts other than one vee (which is the result of a blank input line), and
|
||||
typically store that spacing amount, and that of paragraph indentation, in
|
||||
user-configurable registers so that pages lay out consistently.
|
||||
|
||||
Therefore, you should be careful about not using more space between sentences
|
||||
than you intend to have in your final document. For this reason, the common
|
||||
practice is to insert a carriage return immediately after all punctuation
|
||||
marks. If you want to have "even" text in your final processed output, you
|
||||
need to maintain regular spacing in the input text. To mark both trailing
|
||||
Unlike TeX, troff fills text line-by-line, not paragraph-by-paragraph. If you
|
||||
desire consistent spacing between words and sentences in formatted output, you
|
||||
must maintain consistent spacing in the input text. To mark both trailing
|
||||
spaces and two or more spaces after a punctuation as an error, use: >
|
||||
|
||||
:let nroff_space_errors = 1
|
||||
@@ -2764,11 +2765,11 @@ file: >
|
||||
|
||||
let b:preprocs_as_sections = 1
|
||||
|
||||
As well, the syntax file adds an extra paragraph marker for the extended
|
||||
paragraph macro (.XP) in the ms package.
|
||||
Further, the syntax file adds an extra paragraph marker for the XP
|
||||
paragraphing macro in the ms package, a Berkeley and GNU extension.
|
||||
|
||||
Finally, there is a |groff.vim| syntax file that can be used for enabling
|
||||
groff syntax highlighting either on a file basis or globally by default.
|
||||
Finally, there is a |groff.vim| syntax file that can be used to enable groff
|
||||
syntax highlighting either on a per-file basis or globally by default.
|
||||
|
||||
|
||||
OCAML *ocaml.vim* *ft-ocaml-syntax*
|
||||
@@ -3222,7 +3223,7 @@ Pascal. Use this if you don't use assembly and Pascal: >
|
||||
|
||||
PYTHON *python.vim* *ft-python-syntax*
|
||||
|
||||
There are six options to control Python syntax highlighting.
|
||||
There are seven options to control Python syntax highlighting.
|
||||
|
||||
For highlighted numbers: >
|
||||
:let python_no_number_highlight = 1
|
||||
@@ -3242,10 +3243,13 @@ The first option implies the second one.
|
||||
For highlighted trailing whitespace and mix of spaces and tabs: >
|
||||
:let python_space_error_highlight = 1
|
||||
|
||||
For highlighted built-in constants distinguished from other keywords: >
|
||||
:let python_constant_highlight = 1
|
||||
|
||||
If you want all possible Python highlighting: >
|
||||
:let python_highlight_all = 1
|
||||
This has the same effect as setting python_space_error_highlight and
|
||||
unsetting all the other ones.
|
||||
This has the same effect as setting python_space_error_highlight,
|
||||
python_constant_highlight and unsetting all the other ones.
|
||||
|
||||
If you use Python 2 or straddling code (Python 2 and 3 compatible),
|
||||
you can enforce the use of an older syntax file with support for
|
||||
@@ -4698,7 +4702,7 @@ the region, but not the contents of the region, are marked as concealable.
|
||||
Whether or not they are actually concealed depends on the setting on the
|
||||
'conceallevel' option. The ends of a region can only be concealed separately
|
||||
in this way when they have their own highlighting via "matchgroup". The
|
||||
|synconcealed()| function can be used to retrieve information about conealed
|
||||
|synconcealed()| function can be used to retrieve information about concealed
|
||||
items.
|
||||
|
||||
cchar *:syn-cchar*
|
||||
|
||||
@@ -9,6 +9,7 @@ $HOME-windows options.txt /*$HOME-windows*
|
||||
$MYGVIMRC gui.txt /*$MYGVIMRC*
|
||||
$MYVIMDIR starting.txt /*$MYVIMDIR*
|
||||
$MYVIMRC starting.txt /*$MYVIMRC*
|
||||
$NoDefaultCurrentDirectoryInExePath builtin.txt /*$NoDefaultCurrentDirectoryInExePath*
|
||||
$VIM starting.txt /*$VIM*
|
||||
$VIM-use version5.txt /*$VIM-use*
|
||||
$VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
@@ -376,6 +377,7 @@ $quote eval.txt /*$quote*
|
||||
'go-m' options.txt /*'go-m'*
|
||||
'go-p' options.txt /*'go-p'*
|
||||
'go-r' options.txt /*'go-r'*
|
||||
'go-s' options.txt /*'go-s'*
|
||||
'go-t' options.txt /*'go-t'*
|
||||
'go-v' options.txt /*'go-v'*
|
||||
'gp' options.txt /*'gp'*
|
||||
@@ -449,8 +451,6 @@ $quote eval.txt /*$quote*
|
||||
'infercase' options.txt /*'infercase'*
|
||||
'insertmode' options.txt /*'insertmode'*
|
||||
'is' options.txt /*'is'*
|
||||
'ise' options.txt /*'ise'*
|
||||
'isexpand' options.txt /*'isexpand'*
|
||||
'isf' options.txt /*'isf'*
|
||||
'isfname' options.txt /*'isfname'*
|
||||
'isi' options.txt /*'isi'*
|
||||
@@ -1411,6 +1411,7 @@ $quote eval.txt /*$quote*
|
||||
+cindent various.txt /*+cindent*
|
||||
+clientserver various.txt /*+clientserver*
|
||||
+clipboard various.txt /*+clipboard*
|
||||
+clipboard_provider various.txt /*+clipboard_provider*
|
||||
+clipboard_working various.txt /*+clipboard_working*
|
||||
+cmd editing.txt /*+cmd*
|
||||
+cmdline_compl various.txt /*+cmdline_compl*
|
||||
@@ -3841,6 +3842,7 @@ $quote eval.txt /*$quote*
|
||||
<NL> motion.txt /*<NL>*
|
||||
<Nop> map.txt /*<Nop>*
|
||||
<Nul> intro.txt /*<Nul>*
|
||||
<OSC> intro.txt /*<OSC>*
|
||||
<PageDown> scroll.txt /*<PageDown>*
|
||||
<PageUp> scroll.txt /*<PageUp>*
|
||||
<Plug> map.txt /*<Plug>*
|
||||
@@ -3961,6 +3963,7 @@ $quote eval.txt /*$quote*
|
||||
<xHome> term.txt /*<xHome>*
|
||||
<xHome>-xterm term.txt /*<xHome>-xterm*
|
||||
<xLeft> term.txt /*<xLeft>*
|
||||
<xOSC> intro.txt /*<xOSC>*
|
||||
<xRight> term.txt /*<xRight>*
|
||||
<xUp> term.txt /*<xUp>*
|
||||
= change.txt /*=*
|
||||
@@ -4668,6 +4671,7 @@ E1433 vim9.txt /*E1433*
|
||||
E1434 vim9.txt /*E1434*
|
||||
E1435 vim9class.txt /*E1435*
|
||||
E1436 vim9class.txt /*E1436*
|
||||
E1437 eval.txt /*E1437*
|
||||
E144 various.txt /*E144*
|
||||
E145 starting.txt /*E145*
|
||||
E146 change.txt /*E146*
|
||||
@@ -4753,6 +4757,8 @@ E1567 remote.txt /*E1567*
|
||||
E1568 options.txt /*E1568*
|
||||
E1569 builtin.txt /*E1569*
|
||||
E157 sign.txt /*E157*
|
||||
E1570 builtin.txt /*E1570*
|
||||
E1571 builtin.txt /*E1571*
|
||||
E158 sign.txt /*E158*
|
||||
E159 sign.txt /*E159*
|
||||
E16 cmdline.txt /*E16*
|
||||
@@ -5777,7 +5783,6 @@ Neovim intro.txt /*Neovim*
|
||||
NetBSD-backspace options.txt /*NetBSD-backspace*
|
||||
NetBeans netbeans.txt /*NetBeans*
|
||||
NetUserPass() pi_netrw.txt /*NetUserPass()*
|
||||
NoDefaultCurrentDirectoryInExePath builtin.txt /*NoDefaultCurrentDirectoryInExePath*
|
||||
None eval.txt /*None*
|
||||
Normal intro.txt /*Normal*
|
||||
Normal-mode intro.txt /*Normal-mode*
|
||||
@@ -6310,6 +6315,8 @@ b:changelog_name filetype.txt /*b:changelog_name*
|
||||
b:clojure_syntax_keywords syntax.txt /*b:clojure_syntax_keywords*
|
||||
b:clojure_syntax_without_core_keywords syntax.txt /*b:clojure_syntax_without_core_keywords*
|
||||
b:current_syntax-variable syntax.txt /*b:current_syntax-variable*
|
||||
b:hare_indent_case ft_hare.txt /*b:hare_indent_case*
|
||||
b:hare_indent_match_switch ft_hare.txt /*b:hare_indent_match_switch*
|
||||
b:lf_shell_syntax syntax.txt /*b:lf_shell_syntax*
|
||||
b:netrw_lastfile pi_netrw.txt /*b:netrw_lastfile*
|
||||
b:rust_cargo_avoid_whole_workspace ft_rust.txt /*b:rust_cargo_avoid_whole_workspace*
|
||||
@@ -6692,6 +6699,16 @@ clipboard-autoselectml options.txt /*clipboard-autoselectml*
|
||||
clipboard-autoselectplus options.txt /*clipboard-autoselectplus*
|
||||
clipboard-exclude options.txt /*clipboard-exclude*
|
||||
clipboard-html options.txt /*clipboard-html*
|
||||
clipboard-providers eval.txt /*clipboard-providers*
|
||||
clipboard-providers-available eval.txt /*clipboard-providers-available*
|
||||
clipboard-providers-clipboard eval.txt /*clipboard-providers-clipboard*
|
||||
clipboard-providers-clipmethod eval.txt /*clipboard-providers-clipmethod*
|
||||
clipboard-providers-copy eval.txt /*clipboard-providers-copy*
|
||||
clipboard-providers-define eval.txt /*clipboard-providers-define*
|
||||
clipboard-providers-no-clipboard eval.txt /*clipboard-providers-no-clipboard*
|
||||
clipboard-providers-paste eval.txt /*clipboard-providers-paste*
|
||||
clipboard-providers-plus eval.txt /*clipboard-providers-plus*
|
||||
clipboard-providers-textlock eval.txt /*clipboard-providers-textlock*
|
||||
clipboard-unnamed options.txt /*clipboard-unnamed*
|
||||
clipboard-unnamedplus options.txt /*clipboard-unnamedplus*
|
||||
clojure-indent indent.txt /*clojure-indent*
|
||||
@@ -6757,6 +6774,7 @@ compiler-mypy quickfix.txt /*compiler-mypy*
|
||||
compiler-pandoc quickfix.txt /*compiler-pandoc*
|
||||
compiler-perl quickfix.txt /*compiler-perl*
|
||||
compiler-pylint quickfix.txt /*compiler-pylint*
|
||||
compiler-pyright quickfix.txt /*compiler-pyright*
|
||||
compiler-pytest quickfix.txt /*compiler-pytest*
|
||||
compiler-pyunit quickfix.txt /*compiler-pyunit*
|
||||
compiler-ruff quickfix.txt /*compiler-ruff*
|
||||
@@ -6765,6 +6783,7 @@ compiler-spotbugs quickfix.txt /*compiler-spotbugs*
|
||||
compiler-tex quickfix.txt /*compiler-tex*
|
||||
compiler-tombi quickfix.txt /*compiler-tombi*
|
||||
compiler-tsc quickfix.txt /*compiler-tsc*
|
||||
compiler-ty quickfix.txt /*compiler-ty*
|
||||
compiler-typst quickfix.txt /*compiler-typst*
|
||||
compiler-vaxada ft_ada.txt /*compiler-vaxada*
|
||||
compl-current insert.txt /*compl-current*
|
||||
@@ -6799,7 +6818,6 @@ complete_add() builtin.txt /*complete_add()*
|
||||
complete_check() builtin.txt /*complete_check()*
|
||||
complete_info() builtin.txt /*complete_info()*
|
||||
complete_info_mode builtin.txt /*complete_info_mode*
|
||||
complete_match() builtin.txt /*complete_match()*
|
||||
completed_item-variable eval.txt /*completed_item-variable*
|
||||
completion-functions usr_41.txt /*completion-functions*
|
||||
complex-change change.txt /*complex-change*
|
||||
@@ -6816,6 +6834,7 @@ conversion-server mbyte.txt /*conversion-server*
|
||||
convert-to-HTML syntax.txt /*convert-to-HTML*
|
||||
convert-to-XHTML syntax.txt /*convert-to-XHTML*
|
||||
convert-to-XML syntax.txt /*convert-to-XML*
|
||||
convert_:function_to_:def vim9.txt /*convert_:function_to_:def*
|
||||
convert_legacy_function_to_vim9 vim9.txt /*convert_legacy_function_to_vim9*
|
||||
copy() builtin.txt /*copy()*
|
||||
copy-diffs diff.txt /*copy-diffs*
|
||||
@@ -7802,7 +7821,6 @@ g:hare_indent_match_switch ft_hare.txt /*g:hare_indent_match_switch*
|
||||
g:hare_makeprg_params ft_hare.txt /*g:hare_makeprg_params*
|
||||
g:hare_recommended_style ft_hare.txt /*g:hare_recommended_style*
|
||||
g:hare_space_error ft_hare.txt /*g:hare_space_error*
|
||||
g:hare_symbol_operators ft_hare.txt /*g:hare_symbol_operators*
|
||||
g:help_example_languages helphelp.txt /*g:help_example_languages*
|
||||
g:html_charset_override syntax.txt /*g:html_charset_override*
|
||||
g:html_diff_one_file syntax.txt /*g:html_diff_one_file*
|
||||
@@ -7958,6 +7976,7 @@ g:rustfmt_command ft_rust.txt /*g:rustfmt_command*
|
||||
g:rustfmt_detect_version ft_rust.txt /*g:rustfmt_detect_version*
|
||||
g:rustfmt_emit_files ft_rust.txt /*g:rustfmt_emit_files*
|
||||
g:rustfmt_fail_silently ft_rust.txt /*g:rustfmt_fail_silently*
|
||||
g:rustfmt_find_toml ft_rust.txt /*g:rustfmt_find_toml*
|
||||
g:rustfmt_options ft_rust.txt /*g:rustfmt_options*
|
||||
g:statusline_winid options.txt /*g:statusline_winid*
|
||||
g:syntax_on syntax.txt /*g:syntax_on*
|
||||
@@ -8234,6 +8253,7 @@ gui-vert-scroll gui.txt /*gui-vert-scroll*
|
||||
gui-w32 gui_w32.txt /*gui-w32*
|
||||
gui-w32-cmdargs gui_w32.txt /*gui-w32-cmdargs*
|
||||
gui-w32-dialogs gui_w32.txt /*gui-w32-dialogs*
|
||||
gui-w32-fullscreen gui_w32.txt /*gui-w32-fullscreen*
|
||||
gui-w32-printing gui_w32.txt /*gui-w32-printing*
|
||||
gui-w32-start gui_w32.txt /*gui-w32-start*
|
||||
gui-w32-title-bar gui_w32.txt /*gui-w32-title-bar*
|
||||
@@ -8294,6 +8314,8 @@ haiku-vimdir os_haiku.txt /*haiku-vimdir*
|
||||
hangul hangulin.txt /*hangul*
|
||||
hangulin.txt hangulin.txt /*hangulin.txt*
|
||||
hare ft_hare.txt /*hare*
|
||||
hare-folding ft_hare.txt /*hare-folding*
|
||||
hare-symbol-operators ft_hare.txt /*hare-symbol-operators*
|
||||
hare.vim ft_hare.txt /*hare.vim*
|
||||
has() builtin.txt /*has()*
|
||||
has-patch builtin.txt /*has-patch*
|
||||
@@ -8309,7 +8331,6 @@ help helphelp.txt /*help*
|
||||
help-TOC helphelp.txt /*help-TOC*
|
||||
help-buffer-options helphelp.txt /*help-buffer-options*
|
||||
help-context help.txt /*help-context*
|
||||
help-curwin tips.txt /*help-curwin*
|
||||
help-notation helphelp.txt /*help-notation*
|
||||
help-summary usr_02.txt /*help-summary*
|
||||
help-tags tags 1
|
||||
@@ -9605,6 +9626,7 @@ os_risc.txt os_risc.txt /*os_risc.txt*
|
||||
os_unix.txt os_unix.txt /*os_unix.txt*
|
||||
os_vms.txt os_vms.txt /*os_vms.txt*
|
||||
os_win32.txt os_win32.txt /*os_win32.txt*
|
||||
osc52-install usr_05.txt /*osc52-install*
|
||||
other-features vi_diff.txt /*other-features*
|
||||
out_buf channel.txt /*out_buf*
|
||||
out_cb channel.txt /*out_cb*
|
||||
@@ -9622,12 +9644,14 @@ package-create repeat.txt /*package-create*
|
||||
package-doc repeat.txt /*package-doc*
|
||||
package-documentation repeat.txt /*package-documentation*
|
||||
package-editorconfig usr_05.txt /*package-editorconfig*
|
||||
package-helpcurwin tips.txt /*package-helpcurwin*
|
||||
package-helptoc helphelp.txt /*package-helptoc*
|
||||
package-hlyank usr_05.txt /*package-hlyank*
|
||||
package-justify usr_25.txt /*package-justify*
|
||||
package-matchit usr_05.txt /*package-matchit*
|
||||
package-nohlsearch usr_05.txt /*package-nohlsearch*
|
||||
package-open eval.txt /*package-open*
|
||||
package-osc52 usr_05.txt /*package-osc52*
|
||||
package-termdebug terminal.txt /*package-termdebug*
|
||||
package-translate_example repeat.txt /*package-translate_example*
|
||||
package-translation repeat.txt /*package-translation*
|
||||
@@ -10018,6 +10042,8 @@ recovery recover.txt /*recovery*
|
||||
recursive_mapping map.txt /*recursive_mapping*
|
||||
redo undo.txt /*redo*
|
||||
redo-register undo.txt /*redo-register*
|
||||
redraw_listener_add() builtin.txt /*redraw_listener_add()*
|
||||
redraw_listener_remove() builtin.txt /*redraw_listener_remove()*
|
||||
reduce() builtin.txt /*reduce()*
|
||||
ref intro.txt /*ref*
|
||||
reference intro.txt /*reference*
|
||||
@@ -10954,6 +10980,7 @@ termcap-cursor-shape term.txt /*termcap-cursor-shape*
|
||||
termcap-options term.txt /*termcap-options*
|
||||
termcap-title term.txt /*termcap-title*
|
||||
termda1-variable eval.txt /*termda1-variable*
|
||||
termdebug terminal.txt /*termdebug*
|
||||
termdebug-commands terminal.txt /*termdebug-commands*
|
||||
termdebug-communication terminal.txt /*termdebug-communication*
|
||||
termdebug-customizing terminal.txt /*termdebug-customizing*
|
||||
@@ -11258,6 +11285,7 @@ v:char eval.txt /*v:char*
|
||||
v:charconvert_from eval.txt /*v:charconvert_from*
|
||||
v:charconvert_to eval.txt /*v:charconvert_to*
|
||||
v:clipmethod eval.txt /*v:clipmethod*
|
||||
v:clipproviders eval.txt /*v:clipproviders*
|
||||
v:cmdarg eval.txt /*v:cmdarg*
|
||||
v:cmdbang eval.txt /*v:cmdbang*
|
||||
v:collate eval.txt /*v:collate*
|
||||
@@ -11638,6 +11666,7 @@ vim9-types vim9.txt /*vim9-types*
|
||||
vim9-unpack-ignore vim9.txt /*vim9-unpack-ignore*
|
||||
vim9-user-command vim9.txt /*vim9-user-command*
|
||||
vim9-variable-arguments vim9.txt /*vim9-variable-arguments*
|
||||
vim9-white-space vim9.txt /*vim9-white-space*
|
||||
vim9.txt vim9.txt /*vim9.txt*
|
||||
vim9class.txt vim9class.txt /*vim9class.txt*
|
||||
vim9script vim9.txt /*vim9script*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*tagsrch.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*tagsrch.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -872,9 +872,9 @@ Common arguments for the commands above:
|
||||
When excluded, a match is ignored when the line is recognized as a
|
||||
comment (according to 'comments'), or the match is in a C comment
|
||||
(after "//" or inside /* */). Note that a match may be missed if a
|
||||
line is recognized as a comment, but the comment ends halfway the line.
|
||||
And if the line is a comment, but it is not recognized (according to
|
||||
'comments') a match may be found in it anyway. Example: >
|
||||
line is recognized as a comment, but the comment ends halfway the
|
||||
line. And if the line is a comment, but it is not recognized
|
||||
(according to 'comments') a match may be found in it anyway. Example: >
|
||||
/* comment
|
||||
foobar */
|
||||
< A match for "foobar" is found, because this line is not recognized as
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*term.txt* For Vim version 9.1. Last change: 2025 Nov 11
|
||||
*term.txt* For Vim version 9.1. Last change: 2026 Jan 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -196,8 +196,8 @@ try the entry ":ku=\233A:".
|
||||
|
||||
Some termcap entries have the entry ":ku=\E[A:". But the Amiga really sends
|
||||
"\233A". On output "\E[" and "\233" are often equivalent, on input they
|
||||
aren't. You will have to change the termcap entry, or change the key code with
|
||||
the :set command to fix this.
|
||||
aren't. You will have to change the termcap entry, or change the key code
|
||||
with the :set command to fix this.
|
||||
|
||||
Many cursor key codes start with an <Esc>. Vim must find out if this is a
|
||||
single hit of the <Esc> key or the start of a cursor key sequence. It waits
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*terminal.txt* For Vim version 9.1. Last change: 2025 Oct 14
|
||||
*terminal.txt* For Vim version 9.1. Last change: 2026 Feb 06
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -525,10 +525,12 @@ term_dumpdiff({filename}, {filename} [, {options}])
|
||||
of the first file name.
|
||||
"term_rows" vertical size to use for the terminal,
|
||||
instead of using 'termwinsize', but
|
||||
respecting the minimal size
|
||||
respecting the minimal size; valid range
|
||||
is from 0 to 1000
|
||||
"term_cols" horizontal size to use for the terminal,
|
||||
instead of using 'termwinsize', but
|
||||
respecting the minimal size
|
||||
respecting the minimal size; valid range
|
||||
is from 0 to 1000
|
||||
"vertical" split the window vertically
|
||||
"curwin" use the current window, do not split the
|
||||
window; fails if the current buffer
|
||||
@@ -951,9 +953,10 @@ term_start({cmd} [, {options}]) *term_start()*
|
||||
of the command name.
|
||||
"term_rows" vertical size to use for the terminal,
|
||||
instead of using 'termwinsize'; valid
|
||||
range is from zero to 1000
|
||||
range is from 0 to 1000
|
||||
"term_cols" horizontal size to use for the terminal,
|
||||
instead of using 'termwinsize'
|
||||
instead of using 'termwinsize'; valid
|
||||
range is from 0 to 1000
|
||||
"vertical" split the window vertically; note that
|
||||
other window position can be defined with
|
||||
command modifiers, such as |:belowright|.
|
||||
@@ -1263,7 +1266,8 @@ Alternatively, press "s" to swap the first and second dump. Do this several
|
||||
times so that you can spot the difference in the context of the text.
|
||||
|
||||
==============================================================================
|
||||
6. Debugging *terminal-debug* *terminal-debugger* *package-termdebug*
|
||||
6. Debugging *terminal-debug* *terminal-debugger*
|
||||
*package-termdebug* *termdebug*
|
||||
|
||||
The Terminal debugging plugin can be used to debug a program with gdb and view
|
||||
the source code in a Vim window. Since this is completely contained inside
|
||||
@@ -1877,7 +1881,7 @@ Contributions for termdebug improvements are welcome.
|
||||
However, it is fairly common that during the development process you need some
|
||||
mechanisms like `echo` statements (or similar) to help you in your job.
|
||||
For this reason, you can set: >
|
||||
let g:termdebug_config['debug'] = true
|
||||
let g:termdebug_config['debug'] = v:true
|
||||
<
|
||||
This sets the `DEBUG` variable to `true`, which can be referenced in the
|
||||
source code. An example of its usage follows: >
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*tips.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*tips.txt* For Vim version 9.1. Last change: 2025 Dec 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -30,7 +30,7 @@ Executing shell commands in a window |shell-window|
|
||||
Hex editing |hex-editing|
|
||||
Using <> notation in autocommands |autocmd-<>|
|
||||
Highlighting matching parens |match-parens|
|
||||
Opening help in the current window |help-curwin|
|
||||
Opening help in the current window |package-helpcurwin|
|
||||
|
||||
==============================================================================
|
||||
Editing C programs *C-editing*
|
||||
@@ -544,28 +544,22 @@ A slightly more advanced version is used in the |matchparen| plugin.
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
Opening help in the current window *help-curwin*
|
||||
Opening help in the current window *package-helpcurwin*
|
||||
|
||||
By default, help is displayed in a split window. If you prefer it opens in
|
||||
the current window, try this custom `:HelpCurwin` command:
|
||||
>
|
||||
command -bar -nargs=? -complete=help HelpCurwin execute s:HelpCurwin(<q-args>)
|
||||
let s:did_open_help = v:false
|
||||
By default, help is displayed in a split window. In some scenarios, you may
|
||||
prefer to open the help in the current window. The optional helpcurwin
|
||||
package makes this possible. Load the package manually, or in your |vimrc|,
|
||||
with: >vim
|
||||
|
||||
function s:HelpCurwin(subject) abort
|
||||
let mods = 'silent noautocmd keepalt'
|
||||
if !s:did_open_help
|
||||
execute mods .. ' help'
|
||||
execute mods .. ' helpclose'
|
||||
let s:did_open_help = v:true
|
||||
endif
|
||||
if !getcompletion(a:subject, 'help')->empty()
|
||||
execute mods .. ' edit ' .. &helpfile
|
||||
set buftype=help
|
||||
endif
|
||||
return 'help ' .. a:subject
|
||||
endfunction
|
||||
packadd helpcurwin
|
||||
<
|
||||
|
||||
After it has loaded:
|
||||
- The command `:HelpCurwin` {subject} can be used to open help in the current
|
||||
window.
|
||||
- If the current window contains a modified buffer, the plugin asks for
|
||||
confirmation before replacing it. If confirmed, the buffer becomes
|
||||
hidden |hidden-buffer|.
|
||||
- The help file, |helpcurwin.txt|, will be available and describes the plugin
|
||||
in more details.
|
||||
|
||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 9.1. Last change: 2025 Nov 18
|
||||
*todo.txt* For Vim version 9.1. Last change: 2025 Dec 26
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -205,11 +205,8 @@ Popup windows:
|
||||
positioned? PopupNew? Could be used to set some options or move it out of
|
||||
the way. (#5737)
|
||||
However, it may also cause trouble, changing the popup of another plugin.
|
||||
- Should popup_getoptions() also return the mask? #7774
|
||||
- Add a way to use popup_menu() synchronously: instead of invoking the
|
||||
callback, return the choice. (Ben Jackson, #6534)
|
||||
- When using a popup for the info of a completion menu, and there is not
|
||||
enough space, let the popup overlap with the menu. (#4544)
|
||||
- Implement flip option.
|
||||
- Make redrawing more efficient and avoid flicker:
|
||||
- put popup menu also in popup_mask?
|
||||
@@ -309,8 +306,6 @@ Problem with Visual highlight when 'linebreak' and 'showbreak' are set.
|
||||
GUI Scroll test fails on FreeBSD when using Motif. See FIXME in
|
||||
Test_scrollbars in src/test_gui.vim
|
||||
|
||||
Support dark mode for MS-Windows: #12282
|
||||
|
||||
Remote command escapes single quote with backslash, should be doubling the
|
||||
single quote in vim_strsave_escaped_ext() #12202.
|
||||
|
||||
@@ -370,9 +365,6 @@ Can we not request XT key sequences, or reduce them drastically?
|
||||
Issue #10512: Dynamic loading broken with Perl 5.36
|
||||
Damien has a patch (2022 Dec 4)
|
||||
|
||||
Request #11965: Allow several "%=" items in 'statusline', makes it possible
|
||||
to have text in the center.
|
||||
|
||||
Add some kind of ":whathappend" command and functions to make visible what the
|
||||
last few typed keys and executed commands are. To be used when the user
|
||||
wonders what went wrong. Could also be used for statistics #12046.
|
||||
@@ -382,10 +374,6 @@ wonders what went wrong. Could also be used for statistics #12046.
|
||||
- executed command lines
|
||||
- with more verbosity: what scripts/functions/autocommands were executed
|
||||
|
||||
NFA regexp does not handle composing characters well: #10286
|
||||
[ɔ̃] matches both ɔ and ɔ̃
|
||||
\(ɔ\|ɔ̃\) matches ɔ and not ɔ̃
|
||||
|
||||
Is there a way to make 'autowriteall' make a clean exit when the xterm is
|
||||
closed? (Dennis Nazic says files are preserved, okt 28). Perhaps handle TERM
|
||||
like HUP?
|
||||
@@ -419,8 +407,6 @@ In a timer callback, when using ":echo" and then input() the message is
|
||||
overwritten. Could use ":echowin" and call redraw_cmd() in get_user_input().
|
||||
#11299
|
||||
|
||||
Syntax include problem: #11277. Related to Patch 8.2.2761
|
||||
|
||||
To avoid flicker: add an option that when a screen clear is requested, instead
|
||||
of clearing it draws everything and uses "clear to end of line" for every line.
|
||||
Resetting 't_ut' already causes this?
|
||||
@@ -519,8 +505,6 @@ there is a match do not scan the directory (possibly speeds up :find a lot).
|
||||
|
||||
globpath() does not use 'wildignorecase' at all? (related to #8350)
|
||||
|
||||
mksession uses :buffer instead of :edit in one place but not another. #10629
|
||||
|
||||
Add 'termguiattr' option, use "gui=" attributes in the terminal? Would work
|
||||
with 'termguicolors'. #1740
|
||||
|
||||
@@ -5783,7 +5767,6 @@ Argument list:
|
||||
|
||||
|
||||
Registers:
|
||||
8 Don't display empty registers with ":display". (Etienne)
|
||||
8 Add put command that overwrites existing text. Should also work for
|
||||
blocks. Useful to move text around in a table. Works like using "R ^R r"
|
||||
for every line.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*uganda.txt* For Vim version 9.1. Last change: 2025 Nov 13
|
||||
*uganda.txt* For Vim version 9.1. Last change: 2026 Jan 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -21,7 +21,7 @@ ICCF Holland and Kuwasha~
|
||||
|
||||
|Bram| Moolenaar's charity, ICCF Holland, has long supported the education of
|
||||
children in Uganda through the Kibaale Children's Centre. Following Bram's
|
||||
passing in 2023, ICCF Holland transfered all activities to its sister charity
|
||||
passing in 2023, ICCF Holland transferred all activities to its sister charity
|
||||
Kuwasha in Canada and dissolved at the end of 2025.
|
||||
|
||||
Donations from Vim users are still welcome and will continue to go directly to
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*userfunc.txt* For Vim version 9.1. Last change: 2025 Oct 28
|
||||
*userfunc.txt* For Vim version 9.1. Last change: 2025 Dec 20
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -80,11 +80,11 @@ See |:verbose-cmd| for more information.
|
||||
matching |:endfunction|.
|
||||
*E1267*
|
||||
The name must be made of alphanumeric characters and
|
||||
'_', and must start with a capital or "s:" (see
|
||||
above). Note that using "b:" or "g:" is not allowed.
|
||||
(since patch 7.4.260 E884 is given if the function
|
||||
name has a colon in the name, e.g. for "foo:bar()".
|
||||
Before that patch no error was given).
|
||||
'_' and must start with a capital or "s:" (see above).
|
||||
Note that using "b:", "l:", etc. is not allowed (since
|
||||
patch 7.4.260 E884 is given if the function name has a
|
||||
colon, e.g. for "foo:bar()"), while a leading "g:" is
|
||||
skipped and still requires a following capital letter.
|
||||
|
||||
{name} can also be a |Dictionary| entry that is a
|
||||
|Funcref|: >
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_05.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*usr_05.txt* For Vim version 9.1. Last change: 2025 Dec 15
|
||||
|
||||
|
||||
VIM USER MANUAL by Bram Moolenaar
|
||||
@@ -399,13 +399,17 @@ The ":map" command (with no arguments) lists your current mappings. At
|
||||
least the ones for Normal mode. More about mappings in section |40.1|.
|
||||
|
||||
==============================================================================
|
||||
*05.5* Adding a package *add-package* *matchit-install* *package-matchit*
|
||||
*05.5* Adding a package *add-package*
|
||||
|
||||
A package is a set of files that you can add to Vim. There are two kinds of
|
||||
packages: optional and automatically loaded on startup.
|
||||
|
||||
The Vim distribution comes with a few packages that you can optionally use.
|
||||
For example, the matchit plugin. This plugin makes the "%" command jump to
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
Adding the matchit package *matchit-install* *package-matchit*
|
||||
------------------------------------------------------------------------------
|
||||
For example, the matchit package This plugin makes the "%" command jump to
|
||||
matching HTML tags, if/else/endif in Vim scripts, etc. Very useful, although
|
||||
it's not backwards compatible (that's why it is not enabled by default).
|
||||
|
||||
@@ -434,7 +438,9 @@ an archive or as a repository. For an archive you can follow these steps:
|
||||
Here "fancytext" is the name of the package, it can be anything
|
||||
else.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
Adding the editorconfig package *editorconfig-install* *package-editorconfig*
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
Similar to the matchit package, to load the distributed editorconfig plugin
|
||||
when Vim starts, add the following line to your vimrc file: >
|
||||
@@ -444,7 +450,9 @@ After restarting your Vim, the plugin is active and you can read about it at: >
|
||||
:h editorconfig.txt
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
Adding the comment package *comment-install* *package-comment*
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
Load the plugin with this command: >
|
||||
packadd comment
|
||||
@@ -457,7 +465,9 @@ the package loaded. Once the package is loaded, read about it at: >
|
||||
:h comment.txt
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
Adding the nohlsearch package *nohlsearch-install* *package-nohlsearch*
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
Load the plugin with this command: >
|
||||
packadd nohlsearch
|
||||
@@ -471,7 +481,9 @@ To disable the effect of the plugin after it has been loaded: >
|
||||
au! nohlsearch
|
||||
<
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
Adding the highlight-yank package *hlyank-install* *package-hlyank*
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
Load the plugin with this command: >
|
||||
packadd hlyank
|
||||
@@ -497,6 +509,20 @@ To highlight in visual mode, use: >
|
||||
To disable the effect of the plugin after it has been loaded: >
|
||||
au! hlyank
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
Adding the osc52 package *osc52-install* *package-osc52*
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
Load the plugin with this command: >
|
||||
packadd osc52
|
||||
<
|
||||
The osc52.vim package provides support for the OSC 52 terminal command, which
|
||||
allows an application to access the clipboard by communicating directly with
|
||||
your terminal.
|
||||
|
||||
Once the package is loaded, read about it at: >
|
||||
:h osc52.txt
|
||||
|
||||
More information about packages can be found here: |packages|.
|
||||
|
||||
==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_08.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*usr_08.txt* For Vim version 9.1. Last change: 2025 Nov 26
|
||||
|
||||
|
||||
VIM USER MANUAL by Bram Moolenaar
|
||||
@@ -444,7 +444,8 @@ To go the other way use: >
|
||||
|
||||
[c
|
||||
|
||||
Prepended a count to jump further away.
|
||||
Prepend a count to jump further away. Thus "4]c" jumps to the fourth next
|
||||
change, and "3[c" jumps to the third previous change.
|
||||
|
||||
|
||||
REMOVING CHANGES
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_30.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*usr_30.txt* For Vim version 9.1. Last change: 2025 Nov 28
|
||||
|
||||
|
||||
VIM USER MANUAL by Bram Moolenaar
|
||||
@@ -544,7 +544,7 @@ reach the nearest soft tab stop. The following example uses
|
||||
<Tab><Tab>a<Tab><BS> ------->a
|
||||
|
||||
To maintain global coherence, one can `:set softtabstop=-1` so that
|
||||
the value of 'shiftwidth' is use for the number of columns between two soft
|
||||
the value of 'shiftwidth' is used for the number of columns between two soft
|
||||
tab stops.
|
||||
|
||||
If you prefer to have different values for 'shiftwidth' and 'softtabstop',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_41.txt* For Vim version 9.1. Last change: 2025 Nov 09
|
||||
*usr_41.txt* For Vim version 9.1. Last change: 2025 Dec 13
|
||||
|
||||
|
||||
VIM USER MANUAL by Bram Moolenaar
|
||||
@@ -1137,8 +1137,6 @@ Insert mode completion: *completion-functions*
|
||||
complete_add() add to found matches
|
||||
complete_check() check if completion should be aborted
|
||||
complete_info() get current completion information
|
||||
complete_match() get insert completion start match col and
|
||||
trigger text
|
||||
preinserted() check if text is inserted after cursor
|
||||
pumvisible() check if the popup menu is displayed
|
||||
pum_getpos() position and size of popup menu if visible
|
||||
@@ -1475,6 +1473,9 @@ Various: *various-functions*
|
||||
|
||||
debugbreak() interrupt a program being debugged
|
||||
|
||||
redraw_listener_add() add callbacks to listen for redraws
|
||||
redraw_listener_remove() remove a redraw listener
|
||||
|
||||
==============================================================================
|
||||
*41.7* Defining a function
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user