Compare commits
258 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
83a52533b2 | ||
|
|
d863728913 | ||
|
|
eaa3e0dae5 | ||
|
|
a09195f29e | ||
|
|
74c6963656 | ||
|
|
be593bf135 | ||
|
|
904e48a22b | ||
|
|
37ebd42f16 | ||
|
|
88d68de95d | ||
|
|
d098b824c1 | ||
|
|
1e1d2e89fa | ||
|
|
c33b3216c8 | ||
|
|
b5383b174b | ||
|
|
843700875e | ||
|
|
66b3101672 | ||
|
|
deb17451ed | ||
|
|
a2e408f598 | ||
|
|
0b39ec3c7d | ||
|
|
6fc3b59ee9 | ||
|
|
94d729cbe8 | ||
|
|
c4c9f7e43e | ||
|
|
df1643a6a7 | ||
|
|
9309eb2f28 | ||
|
|
2d2970ea59 | ||
|
|
f4e16ae041 | ||
|
|
d4a5f40c0c | ||
|
|
ed37d9b324 | ||
|
|
79ea680e6b | ||
|
|
e178ba3654 | ||
|
|
eb04f0893a | ||
|
|
26e86445bf | ||
|
|
3b1f18f785 | ||
|
|
df671b4629 | ||
|
|
6f5b6dfb16 | ||
|
|
aa5fc4ec51 | ||
|
|
129d6bf6b3 | ||
|
|
e75ba268b3 | ||
|
|
645e3fe3fe | ||
|
|
e882f7a73c | ||
|
|
fd615a3c90 | ||
|
|
a6e67e4f41 | ||
|
|
4457e1d98f | ||
|
|
76cb683097 | ||
|
|
4aeeb63938 | ||
|
|
4dac32caf3 | ||
|
|
270d0388d2 | ||
|
|
cb7904016e | ||
|
|
4902ab16cb | ||
|
|
7e6f3fcc3c | ||
|
|
227a69de1e | ||
|
|
a5d0077efb | ||
|
|
32e351179e | ||
|
|
e06a28f5e3 | ||
|
|
2b72821924 | ||
|
|
7e9f351b2e | ||
|
|
37d1b4f941 | ||
|
|
55ba4b844f | ||
|
|
ef6b979bfa | ||
|
|
03a9f84817 | ||
|
|
d502aa4c10 | ||
|
|
06f0853cb0 | ||
|
|
47e13953ff | ||
|
|
9e6ba8cbef | ||
|
|
5aed0ccb96 | ||
|
|
48a687148c | ||
|
|
c3fd98cf8e | ||
|
|
86181df9f5 | ||
|
|
b415168a98 | ||
|
|
91689ea8ae | ||
|
|
5c3128efe6 | ||
|
|
aacc6afdb8 | ||
|
|
bc38f25c02 | ||
|
|
04816717df | ||
|
|
cb2bdb1c6d | ||
|
|
f163bd5e41 | ||
|
|
7e5bd91dc9 | ||
|
|
1cc2a94f80 | ||
|
|
89483d4043 | ||
|
|
69212b11d1 | ||
|
|
d695ba732d | ||
|
|
3b6a6eb7b4 | ||
|
|
09689a0284 | ||
|
|
396f3138ca | ||
|
|
1c74721233 | ||
|
|
7f14155f42 | ||
|
|
497f76bfbf | ||
|
|
b1062eb23e | ||
|
|
a5565e4189 | ||
|
|
7d3664df90 | ||
|
|
7d131b0715 | ||
|
|
5c2fe64443 | ||
|
|
cca34aa4be | ||
|
|
f0eefce93b | ||
|
|
2cfb4a2a72 | ||
|
|
6115481053 | ||
|
|
0ff5dedf0f | ||
|
|
b2d0e51366 | ||
|
|
4a070cc82e | ||
|
|
ea554ca4fa | ||
|
|
61a8981699 | ||
|
|
f391586f3f | ||
|
|
8a1c101315 | ||
|
|
3657686a0e | ||
|
|
f821ddaa0c | ||
|
|
b68b346e6d | ||
|
|
54ed0dff29 | ||
|
|
2a1381c305 | ||
|
|
40ee466c36 | ||
|
|
015f4267f4 | ||
|
|
f9ab52e155 | ||
|
|
221fcc741a | ||
|
|
0e65d3de0a | ||
|
|
04b1269783 | ||
|
|
80a8d3889b | ||
|
|
2fd4cd755c | ||
|
|
4515bcdec8 | ||
|
|
7779ee30d9 | ||
|
|
5125874951 | ||
|
|
a38b2b737e | ||
|
|
647a530b33 | ||
|
|
41d4299f26 | ||
|
|
2eaeaf3c31 | ||
|
|
3df02f507f | ||
|
|
f7779c63d4 | ||
|
|
5adc55cb74 | ||
|
|
1c0d44f8ef | ||
|
|
0b6849e9e3 | ||
|
|
01f731e97c | ||
|
|
bf67ea1af0 | ||
|
|
d58a662f44 | ||
|
|
c8cd2b34d1 | ||
|
|
37addecc42 | ||
|
|
7ceefb35c8 | ||
|
|
b84a381c75 | ||
|
|
11abd09521 | ||
|
|
4cfde1d273 | ||
|
|
6ab0953fef | ||
|
|
9e175141f3 | ||
|
|
6adb9ea0a6 | ||
|
|
4e5534fab7 | ||
|
|
7f6f56f43c | ||
|
|
2c5c1638a9 | ||
|
|
88e6cc2539 | ||
|
|
a161cb5ddd | ||
|
|
8dbafd0790 | ||
|
|
512fe833c3 | ||
|
|
dfc33a665d | ||
|
|
339d60c89b | ||
|
|
ed8ce057b7 | ||
|
|
939b5db480 | ||
|
|
affc8fd2cd | ||
|
|
a0a9f43ab2 | ||
|
|
7ed8f59ae0 | ||
|
|
224a5f17c6 | ||
|
|
a14bb7e113 | ||
|
|
03afdcf1f4 | ||
|
|
909ed7e902 | ||
|
|
57700ee4ac | ||
|
|
4c17ad94ec | ||
|
|
db93495d27 | ||
|
|
0e71704b77 | ||
|
|
bc970da807 | ||
|
|
759d81549c | ||
|
|
07b761a012 | ||
|
|
99fa721944 | ||
|
|
e297802d6d | ||
|
|
7d41aa8874 | ||
|
|
6378c4fef3 | ||
|
|
cfe435d7fe | ||
|
|
49b2fb36ca | ||
|
|
47a1a8baf9 | ||
|
|
333015a46e | ||
|
|
41f6918bf4 | ||
|
|
e93c968f52 | ||
|
|
92b83ccfda | ||
|
|
9d8d0b5c64 | ||
|
|
92c461ef1b | ||
|
|
b52575f9cf | ||
|
|
7714d7b31f | ||
|
|
65d032c779 | ||
|
|
e71ebb46a2 | ||
|
|
b8ce6b0005 | ||
|
|
f93c7fea08 | ||
|
|
1df8b3fb04 | ||
|
|
a72cfb80cd | ||
|
|
f7b398c6a9 | ||
|
|
beae4084fd | ||
|
|
95a467e7ee | ||
|
|
0d6fe631f7 | ||
|
|
ea04a6e8ba | ||
|
|
db950e4c03 | ||
|
|
d2662ad2de | ||
|
|
e770598f31 | ||
|
|
ad48e6c159 | ||
|
|
ff06f283e3 | ||
|
|
1966c24881 | ||
|
|
2c7f8c574f | ||
|
|
2c5ed4e330 | ||
|
|
faac410409 | ||
|
|
08f4157c5c | ||
|
|
ad4dc83389 | ||
|
|
4da6df40f5 | ||
|
|
2bb76accc6 | ||
|
|
fbf2122cf9 | ||
|
|
7bdaea6e0d | ||
|
|
eb58a24658 | ||
|
|
f49e564082 | ||
|
|
7e0868efcf | ||
|
|
d72c1bf0a6 | ||
|
|
d3aac2917d | ||
|
|
173d841e86 | ||
|
|
61fbb3371e | ||
|
|
90455cfa87 | ||
|
|
ec9749f33d | ||
|
|
a26b9700d7 | ||
|
|
b6fb0516ec | ||
|
|
a494f56f88 | ||
|
|
2695de63e3 | ||
|
|
aa82259fef | ||
|
|
aa0489e12d | ||
|
|
0fc1288aef | ||
|
|
314ca7cbb4 | ||
|
|
21cfe500f3 | ||
|
|
4a8d9f2ed8 | ||
|
|
7a09224583 | ||
|
|
c5f33db888 | ||
|
|
cb711abf0f | ||
|
|
b4a549fb16 | ||
|
|
81ccbf199f | ||
|
|
edd327cc07 | ||
|
|
4d5d0dfe94 | ||
|
|
6c2b7b8055 | ||
|
|
7a1637f4c0 | ||
|
|
067297e16a | ||
|
|
e3242346cf | ||
|
|
352f554b85 | ||
|
|
278e83863b | ||
|
|
df1956075d | ||
|
|
0015795baa | ||
|
|
6e949784be | ||
|
|
fbda69b309 | ||
|
|
55b0fb7001 | ||
|
|
2c330432cf | ||
|
|
1a2f4bf6c8 | ||
|
|
675f716efb | ||
|
|
23e032523e | ||
|
|
5e774c7579 | ||
|
|
9c7e6dd653 | ||
|
|
e6085c5350 | ||
|
|
2196bce56f | ||
|
|
a80faa8930 | ||
|
|
82de464f76 | ||
|
|
bfe13ccc58 | ||
|
|
c5f1ef53c2 | ||
|
|
4fdae9996f | ||
|
|
acc770a10f | ||
|
|
cd630becc8 | ||
|
|
99aaf0ce7c |
@@ -13,5 +13,4 @@ freebsd_12_task:
|
||||
- make -j${NPROC}
|
||||
- src/vim --version
|
||||
test_script:
|
||||
# Runtime Indent tests do not work, run only the normal test suite
|
||||
- cd src && make test
|
||||
- make test
|
||||
|
||||
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@@ -8,7 +8,7 @@ labels: enhancement
|
||||
|
||||
_Instructions: Replace the template text and remove irrelevant text (including this line)_
|
||||
|
||||
**Is your feature request related something that is currently hard to do? Please describe.**
|
||||
**Is your feature request about something that is currently impossible or hard to do? Please describe the problem.**
|
||||
A clear and concise description of what is hard to do. Ex. It is difficult to [...] when [...]
|
||||
(If it is related to runtime files, please check their header for where to discuss enhancements.)
|
||||
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,6 +5,7 @@ src/xxd/xxd
|
||||
src/auto/if_perl.c
|
||||
src/auto/gui_gtk_gresources.c
|
||||
src/auto/gui_gtk_gresources.h
|
||||
src/auto/os_haiku.rdef
|
||||
src/objects/.dirstamp
|
||||
src/objects
|
||||
src/tags
|
||||
|
||||
@@ -11,13 +11,13 @@ _anchors:
|
||||
- &normal
|
||||
BUILD=yes TEST=test FEATURES=normal CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||
- &linux-huge
|
||||
BUILD=yes TEST="scripttests test_libvterm" CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||
BUILD=yes TEST="scripttests test_libvterm" CFLAGS="--coverage -DUSE_GCOV_FLUSH" LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||
CONFOPT="--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp"
|
||||
- &osx-huge # macOS build
|
||||
BUILD=yes TEST=test FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||
CONFOPT="--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp"
|
||||
- &unittests
|
||||
BUILD=no TEST=unittests CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
||||
BUILD=no TEST=unittests CFLAGS="--coverage -DUSE_GCOV_FLUSH" LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
||||
- &asan # ASAN build
|
||||
SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
||||
ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
|
||||
@@ -62,9 +62,7 @@ _anchors:
|
||||
sudo update-alternatives --install /usr/bin/lua lua /usr/bin/lua5.3 10
|
||||
fi
|
||||
before_script:
|
||||
# On travis bionic-amd64 gethostbyname() resolves "localhost" to 127.0.1.1
|
||||
# so that makes various channel tests fail.
|
||||
- sudo sed -i '/^127\.0\.1\.1\s/s/\blocalhost\b//g' /etc/hosts
|
||||
- sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0
|
||||
- sudo bash ci/load-snd-dummy.sh || true
|
||||
- sudo usermod -a -G audio $USER
|
||||
- do_test() { sg audio "sg $(id -gn) '$*'"; }
|
||||
|
||||
36
Filelist
36
Filelist
@@ -13,6 +13,7 @@ SRC_ALL = \
|
||||
ci/appveyor.bat \
|
||||
ci/if_ver*.vim \
|
||||
ci/load-snd-dummy.sh \
|
||||
ci/config.mk*.sed \
|
||||
src/Make_all.mak \
|
||||
src/README.md \
|
||||
src/alloc.h \
|
||||
@@ -128,6 +129,8 @@ SRC_ALL = \
|
||||
src/term.h \
|
||||
src/termlib.c \
|
||||
src/testing.c \
|
||||
src/textformat.c \
|
||||
src/textobject.c \
|
||||
src/textprop.c \
|
||||
src/time.c \
|
||||
src/ui.c \
|
||||
@@ -162,12 +165,12 @@ SRC_ALL = \
|
||||
src/testdir/setup.vim \
|
||||
src/testdir/setup_gui.vim \
|
||||
src/testdir/shared.vim \
|
||||
src/testdir/vim9.vim \
|
||||
src/testdir/summarize.vim \
|
||||
src/testdir/term_util.vim \
|
||||
src/testdir/view_util.vim \
|
||||
src/testdir/test[0-9]*.ok \
|
||||
src/testdir/test[0-9]*a.ok \
|
||||
src/testdir/test_[a-z]*.ok \
|
||||
src/testdir/test49.vim \
|
||||
src/testdir/test83-tags? \
|
||||
src/testdir/test77a.com \
|
||||
@@ -182,8 +185,6 @@ SRC_ALL = \
|
||||
src/testdir/python_after/*.py \
|
||||
src/testdir/python_before/*.py \
|
||||
src/testdir/pyxfile/*.py \
|
||||
src/testdir/bench*.in \
|
||||
src/testdir/bench*.vim \
|
||||
src/testdir/dumps/*.dump \
|
||||
src/testdir/samples/*.txt \
|
||||
src/testdir/samples/test000 \
|
||||
@@ -280,6 +281,8 @@ SRC_ALL = \
|
||||
src/proto/terminal.pro \
|
||||
src/proto/termlib.pro \
|
||||
src/proto/testing.pro \
|
||||
src/proto/textformat.pro \
|
||||
src/proto/textobject.pro \
|
||||
src/proto/textprop.pro \
|
||||
src/proto/time.pro \
|
||||
src/proto/ui.pro \
|
||||
@@ -298,10 +301,12 @@ SRC_ALL = \
|
||||
src/libvterm/LICENSE \
|
||||
src/libvterm/Makefile \
|
||||
src/libvterm/README \
|
||||
src/libvterm/CONTRIBUTING \
|
||||
src/libvterm/tbl2inc_c.pl \
|
||||
src/libvterm/vterm.pc.in \
|
||||
src/libvterm/doc/URLs \
|
||||
src/libvterm/doc/seqs.txt \
|
||||
src/libvterm/find-wide-chars.pl \
|
||||
src/libvterm/include/vterm.h \
|
||||
src/libvterm/include/vterm_keycodes.h \
|
||||
src/libvterm/src/encoding.c \
|
||||
@@ -309,6 +314,7 @@ SRC_ALL = \
|
||||
src/libvterm/src/encoding/DECdrawing.tbl \
|
||||
src/libvterm/src/encoding/uk.inc \
|
||||
src/libvterm/src/encoding/uk.tbl \
|
||||
src/libvterm/src/fullwidth.inc \
|
||||
src/libvterm/src/keyboard.c \
|
||||
src/libvterm/src/mouse.c \
|
||||
src/libvterm/src/parser.c \
|
||||
@@ -339,16 +345,17 @@ SRC_ALL = \
|
||||
src/libvterm/t/27state_reset.test \
|
||||
src/libvterm/t/28state_dbl_wh.test \
|
||||
src/libvterm/t/29state_fallback.test \
|
||||
src/libvterm/t/30pen.test \
|
||||
src/libvterm/t/40screen_ascii.test \
|
||||
src/libvterm/t/41screen_unicode.test \
|
||||
src/libvterm/t/42screen_damage.test \
|
||||
src/libvterm/t/43screen_resize.test \
|
||||
src/libvterm/t/44screen_pen.test \
|
||||
src/libvterm/t/45screen_protect.test \
|
||||
src/libvterm/t/46screen_extent.test \
|
||||
src/libvterm/t/47screen_dbl_wh.test \
|
||||
src/libvterm/t/48screen_termprops.test \
|
||||
src/libvterm/t/30state_pen.test \
|
||||
src/libvterm/t/31state_rep.test \
|
||||
src/libvterm/t/60screen_ascii.test \
|
||||
src/libvterm/t/61screen_unicode.test \
|
||||
src/libvterm/t/62screen_damage.test \
|
||||
src/libvterm/t/63screen_resize.test \
|
||||
src/libvterm/t/64screen_pen.test \
|
||||
src/libvterm/t/65screen_protect.test \
|
||||
src/libvterm/t/66screen_extent.test \
|
||||
src/libvterm/t/67screen_dbl_wh.test \
|
||||
src/libvterm/t/68screen_termprops.test \
|
||||
src/libvterm/t/90vttest_01-movement-1.test \
|
||||
src/libvterm/t/90vttest_01-movement-2.test \
|
||||
src/libvterm/t/90vttest_01-movement-3.test \
|
||||
@@ -607,8 +614,9 @@ SRC_AMI = \
|
||||
|
||||
# source files for Haiku (also in the extra archive)
|
||||
SRC_HAIKU = \
|
||||
README_haiku.txt \
|
||||
src/os_haiku.h \
|
||||
src/os_haiku.rdef \
|
||||
src/os_haiku.rdef.in \
|
||||
src/gui_haiku.cc \
|
||||
src/gui_haiku.h \
|
||||
src/proto/gui_haiku.pro \
|
||||
|
||||
@@ -26,8 +26,8 @@ All commands are given with normal keyboard characters, so those who can type
|
||||
with ten fingers can work very fast. Additionally, function keys can be
|
||||
mapped to commands by the user, and the mouse can be used.
|
||||
|
||||
Vim runs under MS-Windows (XP, Vista, 7, 8, 10), macOS, VMS and almost all
|
||||
flavours of UNIX. Porting to other systems should not be very difficult.
|
||||
Vim runs under MS-Windows (XP, Vista, 7, 8, 10), macOS, Haiku, VMS and almost
|
||||
all flavours of UNIX. Porting to other systems should not be very difficult.
|
||||
Older versions of Vim run on MS-DOS, MS-Windows 95/98/Me/NT/2000, Amiga DOS,
|
||||
Atari MiNT, BeOS, RISC OS and OS/2. These are no longer maintained.
|
||||
|
||||
@@ -72,6 +72,7 @@ archive):
|
||||
README_unix.txt Unix
|
||||
README_dos.txt MS-DOS and MS-Windows
|
||||
README_mac.txt Macintosh
|
||||
README_haiku.txt Haiku
|
||||
README_vms.txt VMS
|
||||
|
||||
There are other `README_*.txt` files, depending on the distribution you used.
|
||||
|
||||
13
READMEdir/README_haiku.txt
Normal file
13
READMEdir/README_haiku.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
README_haiku.txt for version 8.2 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on Haiku operating system.
|
||||
See "README.txt" for general information about Vim.
|
||||
|
||||
Preferred (and easy) way to get Vim on Haiku is to use default Haiku
|
||||
software repository HaikuPorts. To get Vim:
|
||||
|
||||
- Open HaikuDepot application and search for "vim" package, then install,
|
||||
- Open a Terminal and type "pkgman install vim", then follow instructions.
|
||||
|
||||
If you prefer to install Vim from source, follow the instructions on
|
||||
"runtime/doc/os_haiku.txt", "Compiling Vim" section.
|
||||
@@ -1,4 +1,4 @@
|
||||
*change.txt* For Vim version 8.2. Last change: 2020 Feb 09
|
||||
*change.txt* For Vim version 8.2. Last change: 2020 Apr 26
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -209,7 +209,7 @@ gR Enter Virtual Replace mode: Each character you type
|
||||
start insert (for {Visual} see |Visual-mode|).
|
||||
|
||||
*v_r*
|
||||
{Visual}["x]r{char} Replace all selected characters by {char}.
|
||||
{Visual}r{char} Replace all selected characters by {char}.
|
||||
|
||||
*v_C*
|
||||
{Visual}["x]C Delete the highlighted lines [into register x] and
|
||||
@@ -996,9 +996,9 @@ inside of strings can change! Also see 'softtabstop' option. >
|
||||
5. Copying and moving text *copy-move*
|
||||
|
||||
*quote*
|
||||
"{a-zA-Z0-9.%#:-"} Use register {a-zA-Z0-9.%#:-"} for next delete, yank
|
||||
or put (use uppercase character to append with
|
||||
delete and yank) ({.%#:} only work with put).
|
||||
"{register} Use {register} for next delete, yank or put. Use
|
||||
an uppercase character to append with delete and yank.
|
||||
Registers ".", "%", "#" and ":" only work with put.
|
||||
|
||||
*:reg* *:registers*
|
||||
:reg[isters] Display the type and contents of all numbered and
|
||||
|
||||
@@ -120,6 +120,9 @@ Use |ch_status()| to see if the channel could be opened.
|
||||
|
||||
{address} has the form "hostname:port". E.g., "localhost:8765".
|
||||
|
||||
When using an IPv6 address, enclose it within square brackets. E.g.,
|
||||
"[2001:db8::1]:8765".
|
||||
|
||||
{options} is a dictionary with optional entries: *channel-open-options*
|
||||
|
||||
"mode" can be: *channel-mode*
|
||||
@@ -621,6 +624,9 @@ ch_open({address} [, {options}]) *ch_open()*
|
||||
{address} has the form "hostname:port", e.g.,
|
||||
"localhost:8765".
|
||||
|
||||
When using an IPv6 address, enclose it within square brackets.
|
||||
E.g., "[2001:db8::1]:8765".
|
||||
|
||||
If {options} is given it must be a |Dictionary|.
|
||||
See |channel-open-options|.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*cmdline.txt* For Vim version 8.2. Last change: 2020 Feb 29
|
||||
*cmdline.txt* For Vim version 8.2. Last change: 2020 Apr 23
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -615,6 +615,7 @@ followed by another Vim command:
|
||||
:tcl
|
||||
:tcldo
|
||||
:tclfile
|
||||
:terminal
|
||||
:vglobal
|
||||
:windo
|
||||
:write !
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*develop.txt* For Vim version 8.2. Last change: 2019 Nov 22
|
||||
*develop.txt* For Vim version 8.2. Last change: 2020 Apr 13
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -151,7 +151,8 @@ VIM IS... NOT *design-not*
|
||||
A satirical way to say this: "Unlike Emacs, Vim does not attempt to include
|
||||
everything but the kitchen sink, but some people say that you can clean one
|
||||
with it. ;-)"
|
||||
To use Vim with gdb see: http://www.agide.org and http://clewn.sf.net.
|
||||
To use Vim with gdb see |terminal-debugger|. Other (older) tools can be
|
||||
found at http://www.agide.org and 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.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*editing.txt* For Vim version 8.2. Last change: 2019 Dec 22
|
||||
*editing.txt* For Vim version 8.2. Last change: 2020 May 12
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -475,6 +475,9 @@ This edits the same file again with 'fileformat' set to "unix". >
|
||||
:w ++enc=latin1 newfile
|
||||
This writes the current buffer to "newfile" in latin1 format.
|
||||
|
||||
The message given when writing a file will show "[converted]" when
|
||||
'fileencoding' or the value specified with ++enc differs from 'encoding'.
|
||||
|
||||
There may be several ++opt arguments, separated by white space. They must all
|
||||
appear before any |+cmd| argument.
|
||||
|
||||
@@ -1079,9 +1082,9 @@ The names can be in upper- or lowercase.
|
||||
|
||||
*:q* *:quit*
|
||||
:q[uit] Quit the current window. Quit Vim if this is the last
|
||||
window. This fails when changes have been made and
|
||||
Vim refuses to |abandon| the current buffer, and when
|
||||
the last file in the argument list has not been
|
||||
|edit-window|. This fails when changes have been made
|
||||
and Vim refuses to |abandon| the current buffer, and
|
||||
when the last file in the argument list has not been
|
||||
edited.
|
||||
If there are other tab pages and quitting the last
|
||||
window in the current tab page the current tab page is
|
||||
@@ -1107,18 +1110,22 @@ The names can be in upper- or lowercase.
|
||||
|quickfix|).
|
||||
|
||||
*:wq*
|
||||
:wq [++opt] Write the current file and quit. Writing fails when
|
||||
the file is read-only or the buffer does not have a
|
||||
name. Quitting fails when the last file in the
|
||||
argument list has not been edited.
|
||||
:wq [++opt] Write the current file and close the window. If this
|
||||
was the last |edit-window| Vim quits.
|
||||
Writing fails when the file is read-only or the buffer
|
||||
does not have a name. Quitting fails when the last
|
||||
file in the argument list has not been edited.
|
||||
|
||||
:wq! [++opt] Write the current file and quit. Writing fails when
|
||||
the current buffer does not have a name.
|
||||
:wq! [++opt] Write the current file and close the window. If this
|
||||
was the last |edit-window| Vim quits. Writing fails
|
||||
when the current buffer does not have a name.
|
||||
|
||||
:wq [++opt] {file} Write to {file} and quit. Quitting fails when the
|
||||
:wq [++opt] {file} Write to {file} and close the window. If this was the
|
||||
last |edit-window| Vim quits. Quitting fails when the
|
||||
last file in the argument list has not been edited.
|
||||
|
||||
:wq! [++opt] {file} Write to {file} and quit.
|
||||
:wq! [++opt] {file} Write to {file} and close the current window. Quit
|
||||
Vim if this was the last |edit-window|.
|
||||
|
||||
:[range]wq[!] [++opt] [file]
|
||||
Same as above, but only write the lines in [range].
|
||||
@@ -1135,10 +1142,10 @@ The names can be in upper- or lowercase.
|
||||
Same as :xit.
|
||||
|
||||
*ZZ*
|
||||
ZZ Write current file, if modified, and quit (same as
|
||||
":x"). (Note: If there are several windows for the
|
||||
current file, the file is written if it was modified
|
||||
and the window is closed).
|
||||
ZZ Write current file, if modified, and close the current
|
||||
window (same as ":x").
|
||||
If there are several windows for the current file,
|
||||
only the current window is closed.
|
||||
|
||||
*ZQ*
|
||||
ZQ Quit without checking for changes (same as ":q!").
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 8.2. Last change: 2020 Apr 08
|
||||
*eval.txt* For Vim version 8.2. Last change: 2020 Apr 19
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1809,10 +1809,12 @@ v:errors Errors found by assert functions, such as |assert_true()|.
|
||||
v:event Dictionary containing information about the current
|
||||
|autocommand|. See the specific event for what it puts in
|
||||
this dictionary.
|
||||
The dictionary is emptied when the |autocommand|
|
||||
finishes, please refer to |dict-identity| for how to get an
|
||||
independent copy of it.
|
||||
|
||||
The dictionary is emptied when the |autocommand| finishes,
|
||||
please refer to |dict-identity| for how to get an independent
|
||||
copy of it. Use |deepcopy()| if you want to keep the
|
||||
information after the event triggers. Example: >
|
||||
au TextYankPost * let g:foo = deepcopy(v:event)
|
||||
<
|
||||
*v:exception* *exception-variable*
|
||||
v:exception The value of the exception most recently caught and not
|
||||
finished. See also |v:throwpoint| and |throw-variables|.
|
||||
@@ -2625,6 +2627,8 @@ popup_findpreview() Number get window ID of preview popup window
|
||||
popup_getoptions({id}) Dict get options of popup window {id}
|
||||
popup_getpos({id}) Dict get position of popup window {id}
|
||||
popup_hide({id}) none hide popup menu {id}
|
||||
popup_list() List get a list of window IDs of al popups
|
||||
popup_locate({row}, {col}) Number get window ID of popup at position
|
||||
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})
|
||||
@@ -2644,7 +2648,7 @@ prop_clear({lnum} [, {lnum-end} [, {props}]])
|
||||
none remove all text properties
|
||||
prop_find({props} [, {direction}])
|
||||
Dict search for a text property
|
||||
prop_list({lnum} [, {props}) List text properties in {lnum}
|
||||
prop_list({lnum} [, {props}]) List text properties in {lnum}
|
||||
prop_remove({props} [, {lnum} [, {lnum-end}]])
|
||||
Number remove a text property
|
||||
prop_type_add({name}, {props}) none define a new property type
|
||||
@@ -2652,7 +2656,7 @@ prop_type_change({name}, {props})
|
||||
none change an existing property type
|
||||
prop_type_delete({name} [, {props}])
|
||||
none delete a property type
|
||||
prop_type_get([{name} [, {props}])
|
||||
prop_type_get([{name} [, {props}]])
|
||||
Dict get property type values
|
||||
prop_type_list([{props}]) List get list of property types
|
||||
pum_getpos() Dict position and size of pum if visible
|
||||
@@ -2901,13 +2905,13 @@ win_execute({id}, {command} [, {silent}])
|
||||
String execute {command} in window {id}
|
||||
win_findbuf({bufnr}) List find windows containing {bufnr}
|
||||
win_getid([{win} [, {tab}]]) Number get window ID for {win} in {tab}
|
||||
win_gettype([{nr}]) String type of window {nr}
|
||||
win_gotoid({expr}) Number go to window with ID {expr}
|
||||
win_id2tabwin({expr}) List get tab and window nr from window ID
|
||||
win_id2win({expr}) Number get window nr from window ID
|
||||
win_screenpos({nr}) List get screen position of window {nr}
|
||||
win_splitmove({nr}, {target} [, {options}])
|
||||
Number move window {nr} to split of {target}
|
||||
win_type([{nr}]) String type of window {nr}
|
||||
winbufnr({nr}) Number buffer number of window {nr}
|
||||
wincol() Number window column of the cursor
|
||||
winheight({nr}) Number height of window {nr}
|
||||
@@ -3048,7 +3052,7 @@ arglistid([{winnr} [, {tabnr}]])
|
||||
{winnr} can be the window number or the |window-ID|.
|
||||
|
||||
*argv()*
|
||||
argv([{nr} [, {winid}])
|
||||
argv([{nr} [, {winid}]])
|
||||
The result is the {nr}th file in the argument list. See
|
||||
|arglist|. "argv(0)" is the first one. Example: >
|
||||
:let i = 0
|
||||
@@ -5852,7 +5856,7 @@ has({feature} [, {check}])
|
||||
|
||||
Note that to skip code that has a syntax error when the
|
||||
feature is not available, Vim may skip the rest of the line
|
||||
and miss a following `endif`. Therfore put the `endif` on a
|
||||
and miss a following `endif`. Therefore put the `endif` on a
|
||||
separate line: >
|
||||
if has('feature')
|
||||
let x = this->breaks->without->the->feature
|
||||
@@ -7766,7 +7770,7 @@ range({expr} [, {max} [, {stride}]]) *range()*
|
||||
GetExpr()->range()
|
||||
<
|
||||
|
||||
rand([{expr}]) *rand()*
|
||||
rand([{expr}]) *rand()* *random*
|
||||
Return a pseudo-random Number generated with an xoshiro128**
|
||||
algorithm using seed {expr}. The returned number is 32 bits,
|
||||
also on 64 bits systems, for consistency.
|
||||
@@ -8639,8 +8643,8 @@ setloclist({nr}, {list} [, {action} [, {what}]]) *setloclist()*
|
||||
GetLoclist()->setloclist(winnr)
|
||||
|
||||
setmatches({list} [, {win}]) *setmatches()*
|
||||
Restores a list of matches saved by |getmatches() for the
|
||||
current window|. Returns 0 if successful, otherwise -1. All
|
||||
Restores a list of matches saved by |getmatches()| for the
|
||||
current window. Returns 0 if successful, otherwise -1. All
|
||||
current matches are cleared before the list is restored. See
|
||||
example for |getmatches()|.
|
||||
If {win} is specified, use the window with this number or
|
||||
@@ -10870,6 +10874,7 @@ iconv Can use iconv() for conversion.
|
||||
insert_expand Compiled with support for CTRL-X expansion commands in
|
||||
Insert mode. (always true)
|
||||
job Compiled with support for |channel| and |job|
|
||||
ipv6 Compiled with support for IPv6 networking in |channel|.
|
||||
jumplist Compiled with |jumplist| support.
|
||||
keymap Compiled with 'keymap' support.
|
||||
lambda Compiled with |lambda| support.
|
||||
|
||||
@@ -198,13 +198,13 @@ Remarks about specific systems ~
|
||||
|os_amiga.txt| Amiga
|
||||
|os_beos.txt| BeOS and BeBox
|
||||
|os_dos.txt| MS-DOS and MS-Windows common items
|
||||
|os_haiku.txt| Haiku
|
||||
|os_mac.txt| Macintosh
|
||||
|os_mint.txt| Atari MiNT
|
||||
|os_msdos.txt| MS-DOS (plain DOS and DOS box under Windows)
|
||||
|os_os2.txt| OS/2
|
||||
|os_qnx.txt| QNX
|
||||
|os_risc.txt| RISC-OS
|
||||
|os_haiku.txt| Haiku
|
||||
|os_unix.txt| Unix
|
||||
|os_vms.txt| VMS
|
||||
|os_win32.txt| MS-Windows
|
||||
|
||||
@@ -32,7 +32,7 @@ Examples:
|
||||
:lua local curbuf = vim.buffer() curbuf[7] = "line #7"
|
||||
<
|
||||
|
||||
:[range]lua << [endmarker]
|
||||
:[range]lua << [trim] [{endmarker}]
|
||||
{script}
|
||||
{endmarker}
|
||||
Execute Lua script {script}.
|
||||
@@ -40,10 +40,9 @@ Examples:
|
||||
feature wasn't compiled in. To avoid errors, see
|
||||
|script-here|.
|
||||
|
||||
The {endmarker} must NOT be preceded by any white space.
|
||||
|
||||
If [endmarker] is omitted from after the "<<", a dot '.' must be used after
|
||||
{script}, like for the |:append| and |:insert| commands.
|
||||
{script}, like for the |:append| and |:insert| commands. Refer to
|
||||
|:let-heredoc| for more information.
|
||||
|
||||
This form of the |:lua| command is mainly useful for including Lua code
|
||||
in Vim scripts.
|
||||
@@ -200,6 +199,15 @@ Vim evaluation and command execution, and others.
|
||||
returns it. Note that the buffer is not set as
|
||||
current.
|
||||
|
||||
vim.call({name} [,{args}])
|
||||
Proxy to call Vim function named {name} with
|
||||
arguments {args}. Example: >
|
||||
:lua print(vim.call('has', 'timers'))
|
||||
<
|
||||
vim.fn Proxy to call Vim functions. Proxy methods are
|
||||
created on demand. Example: >
|
||||
:lua print(vim.fn.has('timers'))
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
3. List userdata *lua-list*
|
||||
|
||||
@@ -39,7 +39,7 @@ To speed up the process, you might also want to use --disable-gracket and
|
||||
:[range]mz[scheme] {stmt}
|
||||
Execute MzScheme statement {stmt}.
|
||||
|
||||
:[range]mz[scheme] << [endmarker]
|
||||
:[range]mz[scheme] << [trim] [{endmarker}]
|
||||
{script}
|
||||
{endmarker}
|
||||
Execute inlined MzScheme script {script}.
|
||||
@@ -47,12 +47,11 @@ To speed up the process, you might also want to use --disable-gracket and
|
||||
feature wasn't compiled in. To avoid errors, see
|
||||
|script-here|.
|
||||
|
||||
The {endmarker} below the {script} must NOT be
|
||||
preceded by any white space.
|
||||
|
||||
If [endmarker] is omitted from after the "<<", a dot
|
||||
'.' must be used after {script}, like for the
|
||||
|:append| and |:insert| commands.
|
||||
|:append| and |:insert| commands. Refer to
|
||||
|:let-heredoc| for more information.
|
||||
|
||||
|
||||
*:mzfile* *:mzf*
|
||||
:[range]mzf[ile] {file} Execute the MzScheme script in {file}.
|
||||
|
||||
@@ -55,7 +55,7 @@ The ActiveState one should work, Strawberry Perl is a good alternative.
|
||||
working: >
|
||||
:perl VIM::Msg("Hello")
|
||||
|
||||
:pe[rl] << [endmarker]
|
||||
:pe[rl] << [trim] [{endmarker}]
|
||||
{script}
|
||||
{endmarker}
|
||||
Execute Perl script {script}.
|
||||
|
||||
@@ -34,7 +34,7 @@ Both can be available at the same time, but read |python-2-and-3|.
|
||||
the `:python` command is working: >
|
||||
:python print "Hello"
|
||||
|
||||
:[range]py[thon] << [endmarker]
|
||||
:[range]py[thon] << [trim] [{endmarker}]
|
||||
{script}
|
||||
{endmarker}
|
||||
Execute Python script {script}.
|
||||
@@ -42,10 +42,9 @@ Both can be available at the same time, but read |python-2-and-3|.
|
||||
feature wasn't compiled in. To avoid errors, see
|
||||
|script-here|.
|
||||
|
||||
The {endmarker} below the {script} must NOT be preceded by any white space.
|
||||
|
||||
If [endmarker] is omitted from after the "<<", a dot '.' must be used after
|
||||
{script}, like for the |:append| and |:insert| commands.
|
||||
{script}, like for the |:append| and |:insert| commands. Refer to
|
||||
|:let-heredoc| for more information.
|
||||
|
||||
This form of the |:python| command is mainly useful for including python code
|
||||
in Vim scripts.
|
||||
@@ -768,12 +767,12 @@ match the Python 2.x or Python 3 version Vim was compiled with.
|
||||
|
||||
*:py3* *:python3*
|
||||
:[range]py3 {stmt}
|
||||
:[range]py3 << [endmarker]
|
||||
:[range]py3 << [trim] [{endmarker}]
|
||||
{script}
|
||||
{endmarker}
|
||||
|
||||
:[range]python3 {stmt}
|
||||
:[range]python3 << [endmarker]
|
||||
:[range]python3 << [trim] [{endmarker}]
|
||||
{script}
|
||||
{endmarker}
|
||||
The `:py3` and `:python3` commands work similar to `:python`. A
|
||||
|
||||
@@ -28,15 +28,15 @@ downloading Ruby there.
|
||||
:rub[y] {cmd} Execute Ruby command {cmd}. A command to try it out: >
|
||||
:ruby print "Hello"
|
||||
|
||||
:rub[y] << [endmarker]
|
||||
:rub[y] << [trim] [{endmarker}]
|
||||
{script}
|
||||
{endmarker}
|
||||
Execute Ruby script {script}.
|
||||
The {endmarker} after {script} must NOT be preceded by
|
||||
any white space.
|
||||
|
||||
If [endmarker] is omitted, it defaults to a dot '.'
|
||||
like for the |:append| and |:insert| commands.
|
||||
like for the |:append| and |:insert| commands. Refer
|
||||
to |:let-heredoc| for more information.
|
||||
|
||||
|
||||
This form of the |:ruby| command is mainly useful for
|
||||
including ruby code in vim scripts.
|
||||
|
||||
@@ -30,7 +30,7 @@ comments, ideas etc to <Ingo.Wilken@informatik.uni-oldenburg.de>
|
||||
is working: >
|
||||
:tcl puts "Hello"
|
||||
|
||||
:[range]tc[l] << [endmarker]
|
||||
:[range]tc[l] << [trim] [{endmarker}]
|
||||
{script}
|
||||
{endmarker}
|
||||
Execute Tcl script {script}.
|
||||
@@ -38,10 +38,9 @@ comments, ideas etc to <Ingo.Wilken@informatik.uni-oldenburg.de>
|
||||
wasn't compiled in. To avoid errors, see
|
||||
|script-here|.
|
||||
|
||||
The {endmarker} after {script} must NOT be preceded by any white space.
|
||||
|
||||
If [endmarker] is omitted from after the "<<", a dot '.' must be used after
|
||||
{script}, like for the |:append| and |:insert| commands.
|
||||
{script}, like for the |:append| and |:insert| commands. Refer to
|
||||
|:let-heredoc| for more information.
|
||||
|
||||
This form of the |:tcl| command is mainly useful for including tcl code in Vim
|
||||
scripts.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*index.txt* For Vim version 8.2. Last change: 2020 Mar 27
|
||||
*index.txt* For Vim version 8.2. Last change: 2020 May 10
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -246,8 +246,7 @@ tag char note action in Normal mode ~
|
||||
2 filter Nmove text through the {filter}
|
||||
command
|
||||
|!!| !!{filter} 2 filter N lines through the {filter} command
|
||||
|quote| "{a-zA-Z0-9.%#:-"} use register {a-zA-Z0-9.%#:-"} for next
|
||||
delete, yank or put (uppercase to append)
|
||||
|quote| "{register} use {register} for next delete, yank or put
|
||||
({.%#:} only work with put)
|
||||
|#| # 1 search backward for the Nth occurrence of
|
||||
the ident under the cursor
|
||||
@@ -365,8 +364,8 @@ tag char note action in Normal mode ~
|
||||
register x]
|
||||
|Y| ["x]Y yank N lines [into register x]; synonym for
|
||||
"yy"
|
||||
|ZZ| ZZ store current file if modified, and exit
|
||||
|ZQ| ZQ exit current file always
|
||||
|ZZ| ZZ write if buffer changed and close window
|
||||
|ZQ| ZQ close window without writing
|
||||
|[| [{char} square bracket command (see |[| below)
|
||||
\ not used
|
||||
|]| ]{char} square bracket command (see |]| below)
|
||||
@@ -1115,7 +1114,7 @@ tag char action in Terminal-Job mode ~
|
||||
|t_CTRL-W_:| CTRL-W : enter an Ex command
|
||||
|t_CTRL-W_.| CTRL-W . type CTRL-W in the terminal
|
||||
CTRL-W CTRL-\ send a CTRL-\ to the job in the terminal
|
||||
|t_CTRL-W_quote| CTRL-W " {0-9a-z"%#*:=}
|
||||
|t_CTRL-W_quote| CTRL-W " {register}
|
||||
paste register in the terminal
|
||||
|t_CTRL-W_CTRL-C| CTRL-W CTRL-C forcefully ends the job
|
||||
|t_CTRL-W_CTRL-W| CTRL-W CTRL-W move focus to the next window
|
||||
@@ -1722,7 +1721,7 @@ tag command action ~
|
||||
|:wqall| :wqa[ll] write all changed buffers and quit Vim
|
||||
|:wundo| :wu[ndo] write undo information to a file
|
||||
|:wviminfo| :wv[iminfo] write to viminfo file
|
||||
|:xit| :x[it] write if buffer changed and quit window or Vim
|
||||
|:xit| :x[it] write if buffer changed and close window
|
||||
|:xall| :xa[ll] same as ":wqall"
|
||||
|:xmapclear| :xmapc[lear] remove all mappings for Visual mode
|
||||
|:xmap| :xm[ap] like ":map" but for Visual mode
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*insert.txt* For Vim version 8.2. Last change: 2020 Mar 25
|
||||
*insert.txt* For Vim version 8.2. Last change: 2020 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -666,8 +666,10 @@ Note: The keys that are valid in CTRL-X mode are not mapped. This allows for
|
||||
ends CTRL-X mode (any key that is not a valid CTRL-X mode command) is mapped.
|
||||
Also, when doing completion with 'complete' mappings apply as usual.
|
||||
|
||||
Note: While completion is active Insert mode can't be used recursively.
|
||||
Mappings that somehow invoke ":normal i.." will generate an E523 error.
|
||||
*E578* *E565*
|
||||
Note: While completion is active Insert mode can't be used recursively and
|
||||
buffer text cannot be changed. Mappings that somehow invoke ":normal i.."
|
||||
will generate an E565 error.
|
||||
|
||||
The following mappings are suggested to make typing the completion commands
|
||||
a bit easier (although they will hide other commands): >
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*map.txt* For Vim version 8.2. Last change: 2019 Dec 19
|
||||
*map.txt* For Vim version 8.2. Last change: 2020 Apr 23
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1492,7 +1492,7 @@ The valid escape sequences are
|
||||
<bang> (See the '-bang' attribute) Expands to a ! if the
|
||||
command was executed with a ! modifier, otherwise
|
||||
expands to nothing.
|
||||
*<mods>*
|
||||
*<mods>* *:command-modifiers*
|
||||
<mods> The command modifiers, if specified. Otherwise, expands to
|
||||
nothing. Supported modifiers are |:aboveleft|, |:belowright|,
|
||||
|:botright|, |:browse|, |:confirm|, |:hide|, |:keepalt|,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*netbeans.txt* For Vim version 8.2. Last change: 2019 May 05
|
||||
*netbeans.txt* For Vim version 8.2. Last change: 2020 Apr 19
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Gordon Prieur et al.
|
||||
@@ -40,21 +40,26 @@ or environment providing a socket interface can control Vim using this
|
||||
protocol. There are existing implementations in C, C++, Python and Java. The
|
||||
name NetBeans is kept today for historical reasons.
|
||||
|
||||
Current projects using the NetBeans protocol of Vim are:
|
||||
- VimIntegration, description of various projects doing Vim Integration:
|
||||
Active project using the NetBeans protocol of Vim:
|
||||
- Eclim, http://eclim.org/
|
||||
|
||||
VimIntegration, description of various projects doing Vim Integration:
|
||||
http://www.freehackers.org/VimIntegration
|
||||
- Agide, an IDE for the AAP project, written in Python:
|
||||
http://www.a-a-p.org
|
||||
|
||||
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
|
||||
- Clewn, a gdb integration into Vim, written in C:
|
||||
http://clewn.sourceforge.net/
|
||||
- Pyclewn, a gdb integration into Vim, written in Python:
|
||||
http://pyclewn.sourceforge.net/
|
||||
- VimWrapper, library to easy Vim integration into IDE:
|
||||
http://www.freehackers.org/VimWrapper
|
||||
Outdated projects (links don't work):
|
||||
- VimPlugin, integration of Vim inside Eclipse:
|
||||
http://vimplugin.sourceforge.net/wiki/pmwiki.php
|
||||
- PIDA, IDE written in Python integrating Vim:
|
||||
http://pida.co.uk/
|
||||
- VimWrapper, library to easy Vim integration into IDE:
|
||||
http://www.freehackers.org/VimWrapper
|
||||
|
||||
Check the specific project pages to see how to use Vim with these projects.
|
||||
|
||||
@@ -461,11 +466,13 @@ guard off len
|
||||
initDone Mark the buffer as ready for use. Implicitly makes the buffer
|
||||
the current buffer. Fires the BufReadPost autocommand event.
|
||||
|
||||
insertDone
|
||||
insertDone starteol readonly
|
||||
Sent by Vim Controller to tell Vim an initial file insert is
|
||||
done. This triggers a read message being printed. Prior to
|
||||
version 2.3, no read messages were displayed after opening a
|
||||
file. New in version 2.3.
|
||||
done. This triggers a read message being printed. If
|
||||
"starteol" is "F" then the last line doesn't have a EOL. If
|
||||
"readonly" is "T" then the file is marked as readonly. Prior
|
||||
to version 2.3, no read messages were displayed after opening
|
||||
a file. New in version 2.3.
|
||||
|
||||
moveAnnoToFront serNum
|
||||
Not implemented.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 8.2. Last change: 2020 Apr 10
|
||||
*options.txt* For Vim version 8.2. Last change: 2020 May 03
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -915,6 +915,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
eol allow backspacing over line breaks (join lines)
|
||||
start allow backspacing over the start of insert; CTRL-W and CTRL-U
|
||||
stop once at the start of insert.
|
||||
nostop like start, except CTRL-W and CTRL-U do not stop at the start of
|
||||
insert.
|
||||
|
||||
When the value is empty, Vi compatible backspacing is used.
|
||||
|
||||
@@ -923,6 +925,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
0 same as ":set backspace=" (Vi compatible)
|
||||
1 same as ":set backspace=indent,eol"
|
||||
2 same as ":set backspace=indent,eol,start"
|
||||
3 same as ":set backspace=indent,eol,nostop"
|
||||
|
||||
See |:fixdel| if your <BS> or <Del> key does not do what you want.
|
||||
NOTE: This option is set to "" when 'compatible' is set.
|
||||
@@ -8320,9 +8323,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Currently, these messages are given:
|
||||
>= 1 When the viminfo file is read or written.
|
||||
>= 2 When a file is ":source"'ed.
|
||||
>= 4 Shell commands.
|
||||
>= 5 Every searched tags file and include file.
|
||||
>= 8 Files for which a group of autocommands is executed.
|
||||
>= 9 Every executed autocommand.
|
||||
>= 11 Finding items in a path
|
||||
>= 12 Every executed function.
|
||||
>= 13 When an exception is thrown, caught, finished, or discarded.
|
||||
>= 14 Anything pending in a ":finally" clause.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*os_haiku.txt* For Vim version 8.2. Last change: 2020 Mar 19
|
||||
*os_haiku.txt* For Vim version 8.2. Last change: 2020 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -25,8 +25,9 @@ targets personal computing.
|
||||
9. The meta key modifier |haiku-meta|
|
||||
10. Mouse key mappings |haiku-mouse|
|
||||
11. Color names |haiku-colors|
|
||||
12. Credits |haiku-support-credits|
|
||||
13. Bugs & to-do |haiku-bugs|
|
||||
12. GUI Toolbar Images |haiku-toolbar-images|
|
||||
13. Credits |haiku-support-credits|
|
||||
14. Bugs & to-do |haiku-bugs|
|
||||
|
||||
|
||||
1. General *haiku-general*
|
||||
@@ -46,12 +47,11 @@ features you can enable/disable.
|
||||
|
||||
Haiku uses "ncurses6" as its terminal library, therefore you need to have
|
||||
"ncurses6_devel" package installed from HaikuDepot in order to configure
|
||||
the Haiku build. Just append "--with-tlib=ncurses6" to ./configure command
|
||||
below for the initial build.
|
||||
the Haiku build. Just append "--with-tlib=ncurses6" to ./configure command
|
||||
|
||||
Now you should use "make" to compile Vim, then "make install" to install it.
|
||||
For seamless integration into Haiku, the GUI-less vim binary should be
|
||||
additionally installed over the GUI version. Typical build commands are: >
|
||||
additionally installed over the GUI version. Typical build commands are:
|
||||
|
||||
./configure --prefix=`finddir B_SYSTEM_NONPACKAGED_DIRECTORY` \
|
||||
--datarootdir=`finddir B_SYSTEM_NONPACKAGED_DATA_DIRECTORY` \
|
||||
@@ -71,25 +71,28 @@ additionally installed over the GUI version. Typical build commands are: >
|
||||
|
||||
Normally Vim starts with the GUI if you start it as gvim or vim -g. The vim
|
||||
version with GUI tries to determine if it was started from the Tracker instead
|
||||
of the Terminal, and if so, uses the GUI anyway. However, the current detection
|
||||
of the Terminal, and if so, uses the GUI anyway. However, the current detection
|
||||
scheme is fooled if you use the command "vim - </dev/null".
|
||||
|
||||
Stuff that does not work yet:
|
||||
|
||||
- Mouse up events are not generated when outside the window. This may be a bug in
|
||||
Haiku. You can notice this when selecting text and moving the cursor outside
|
||||
the window, then letting go of the mouse button. Another way is when you
|
||||
drag the scrollbar and do the same thing. Because Vim still thinks you are
|
||||
still playing with the scrollbar it won't change it itself. I provided a
|
||||
workaround which kicks in when the window is activated or deactivated (so it
|
||||
works best with focus- follows-mouse turned on).
|
||||
- Mouse up events are not generated when outside the window. You can notice
|
||||
this when selecting text and moving the cursor outside the window, then
|
||||
letting go of the mouse button. Another way is when you drag the scrollbar
|
||||
and do the same thing. Because Vim still thinks you are still playing with
|
||||
the scrollbar it won't change it itself. There is a workaround which kicks
|
||||
in when the window is activated or deactivated (so it works best with focus-
|
||||
follows-mouse turned on).
|
||||
- The cursor does not flash.
|
||||
- Built-in terminal is not available in GUI, and does not work reliably on
|
||||
console version as well; e.g. it is not possible to exit using the 'exit'
|
||||
command. If you need to use it, enable at your own risk.
|
||||
|
||||
|
||||
4. The $VIM directory *haiku-vimdir*
|
||||
|
||||
$VIM is the symbolic name for the place where Vim's support files are stored.
|
||||
The default value for $VIM is set at compile time and can be determined with >
|
||||
The default value for $VIM is set at compile time and can be determined with:
|
||||
|
||||
:version
|
||||
|
||||
@@ -117,7 +120,7 @@ The normal value is /boot/home/config/settings.
|
||||
You can drop files and directories on either the Vim icon (starts a new Vim
|
||||
session, unless you use the File Types application to set Vim to be "Single
|
||||
Launch") or on the Vim window (starts editing the files). Dropping a folder
|
||||
sets Vim's current working directory. |:cd| |:pwd| If you drop files or
|
||||
sets Vim's current working directory |:cd| |:pwd|. If you drop files or
|
||||
folders with either SHIFT key pressed, Vim changes directory to the folder
|
||||
that contains the first item dropped. When starting Vim, there is no need to
|
||||
press shift: Vim behaves as if you do.
|
||||
@@ -164,7 +167,7 @@ isn't a dotted-y, then for this font the encoding does not work.
|
||||
|
||||
If the font you specify is unavailable, you get the system fixed font.
|
||||
|
||||
GUI Font Selection Dialog is available at giving the >
|
||||
GUI Font Selection Dialog is available at giving the:
|
||||
|
||||
:set guifont=*
|
||||
|
||||
@@ -221,7 +224,7 @@ All the changes and patches released under vim-license.
|
||||
Thank you, all!
|
||||
|
||||
|
||||
13. Bugs & to-do *haiku-bugs*
|
||||
14. Bugs & to-do *haiku-bugs*
|
||||
|
||||
The port is under development now and far away from the perfect state. For bug
|
||||
reports, patches and wishes, please use the Vim mailing list or Vim Github
|
||||
|
||||
@@ -230,7 +230,7 @@ A. VisionFS can't handle certain dot (.) three letter extension file names.
|
||||
SCO declares this behavior required for backwards compatibility with 16bit
|
||||
DOS/Windows environments. The two commands below demonstrate the behavior:
|
||||
>
|
||||
echo Hello > file.bat~
|
||||
echo Hello > file.bat~
|
||||
dir > file.bat
|
||||
<
|
||||
The result is that the "dir" command updates the "file.bat~" file, instead
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*popup.txt* For Vim version 8.2. Last change: 2020 Mar 21
|
||||
*popup.txt* For Vim version 8.2. Last change: 2020 May 12
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -150,6 +150,7 @@ different: *E863*
|
||||
- When the job ends, the popup window closes.
|
||||
- The popup window can be closed with `popup_close()`, the terminal buffer
|
||||
then becomes hidden.
|
||||
- It is not possible to open a second popup window with a terminal. *E861*
|
||||
- The default Pmenu color is only used for the border and padding. To change
|
||||
the color of the terminal itself set the Terminal highlight group before
|
||||
creating the terminal. Setting 'wincolor' later can work but requires the
|
||||
@@ -197,6 +198,7 @@ Other:
|
||||
|popup_getoptions()| get current options for a popup
|
||||
|popup_getpos()| get actual position and size of a popup
|
||||
|popup_locate()| find popup window at a screen position
|
||||
|popup_list()| get list of all popups
|
||||
|
||||
|
||||
DETAILS *popup-function-details*
|
||||
@@ -235,8 +237,15 @@ popup_beval({what}, {options}) *popup_beval()*
|
||||
GetText()->popup_beval({})
|
||||
<
|
||||
*popup_clear()*
|
||||
popup_clear() Emergency solution to a misbehaving plugin: close all popup
|
||||
popup_clear([{force}])
|
||||
Emergency solution to a misbehaving plugin: close all popup
|
||||
windows for the current tab and global popups.
|
||||
Close callbacks are not invoked.
|
||||
When {force} is not present this will fail if the current
|
||||
window is a popup.
|
||||
When {force} is present and |TRUE| the popup is also closed
|
||||
when it is the current window. If a terminal is running in a
|
||||
popup it is killed.
|
||||
|
||||
|
||||
popup_close({id} [, {result}]) *popup_close()*
|
||||
@@ -415,6 +424,10 @@ popup_hide({id}) *popup_hide()*
|
||||
Can also be used as a |method|: >
|
||||
GetPopup()->popup_hide()
|
||||
|
||||
popup_list() *popup_list()*
|
||||
Return a List with the |window-ID| of all existing popups.
|
||||
|
||||
|
||||
popup_locate({row}, {col}) *popup_locate()*
|
||||
Return the |window-ID| of the popup at screen position {row}
|
||||
and {col}. If there are multiple popups the one with the
|
||||
@@ -535,6 +548,8 @@ popup_setoptions({id}, {options}) *popup_setoptions()*
|
||||
wrap
|
||||
zindex
|
||||
The options from |popup_move()| can also be used.
|
||||
Generally, setting an option to zero or an empty string resets
|
||||
it to the default value, but there are exceptions.
|
||||
For "hidden" use |popup_hide()| and |popup_show()|.
|
||||
"tabpage" cannot be changed.
|
||||
|
||||
@@ -579,15 +594,15 @@ The second argument of |popup_create()| is a dictionary with options:
|
||||
line Screen line where to position the popup. Can use a
|
||||
number or "cursor", "cursor+1" or "cursor-1" to use
|
||||
the line of the cursor and add or subtract a number of
|
||||
lines. If omitted the popup is vertically centered.
|
||||
The first line is 1.
|
||||
lines. If omitted or zero the popup is vertically
|
||||
centered. The first line is 1.
|
||||
When using "textprop" the number is relative to the
|
||||
text property and can be negative.
|
||||
col Screen column where to position the popup. Can use a
|
||||
number or "cursor" to use the column of the cursor,
|
||||
"cursor+9" or "cursor-9" to add or subtract a number
|
||||
of columns. If omitted the popup is horizontally
|
||||
centered. The first column is 1.
|
||||
of columns. If omitted or zero the popup is
|
||||
horizontally centered. The first column is 1.
|
||||
When using "textprop" the number is relative to the
|
||||
text property and can be negative.
|
||||
pos "topleft", "topright", "botleft" or "botright":
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*recover.txt* For Vim version 8.2. Last change: 2020 Mar 24
|
||||
*recover.txt* For Vim version 8.2. Last change: 2020 May 09
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -125,12 +125,12 @@ If you want to make sure that your changes are in the swap file use this
|
||||
command:
|
||||
|
||||
*:pre* *:preserve* *E313* *E314*
|
||||
:pre[serve] Write all text for all buffers into swap files. The
|
||||
original file is no longer needed for recovery.
|
||||
This sets a flag in the current buffer. When the '&'
|
||||
flag is present in 'cpoptions' the swap file will not
|
||||
be deleted for this buffer when Vim exits and the
|
||||
buffer is still loaded |cpo-&|.
|
||||
:pre[serve] Write all text for the current buffer into its swap
|
||||
file. The original file is no longer needed for
|
||||
recovery. This sets a flag in the current buffer.
|
||||
When the '&' flag is present in 'cpoptions' the swap
|
||||
file will not be deleted for this buffer when Vim
|
||||
exits and the buffer is still loaded |cpo-&|.
|
||||
|
||||
A Vim swap file can be recognized by the first six characters: "b0VIM ".
|
||||
After that comes the version number, e.g., "3.0".
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*repeat.txt* For Vim version 8.2. Last change: 2019 Dec 07
|
||||
*repeat.txt* For Vim version 8.2. Last change: 2020 Apr 26
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -166,7 +166,7 @@ q Stops recording. (Implementation note: The 'q' that
|
||||
[addr] (default is current line).
|
||||
|
||||
:[addr]@ *:@@*
|
||||
:[addr]@@ Repeat the previous :@{0-9a-z"}. First set cursor at
|
||||
:[addr]@@ Repeat the previous :@{register}. First set cursor at
|
||||
line [addr] (default is current line).
|
||||
|
||||
==============================================================================
|
||||
|
||||
@@ -1315,6 +1315,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
||||
+iconv various.txt /*+iconv*
|
||||
+iconv/dyn various.txt /*+iconv\/dyn*
|
||||
+insert_expand various.txt /*+insert_expand*
|
||||
+ipv6 various.txt /*+ipv6*
|
||||
+job various.txt /*+job*
|
||||
+jumplist various.txt /*+jumplist*
|
||||
+keymap various.txt /*+keymap*
|
||||
@@ -2271,6 +2272,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
||||
:command-completion-custom map.txt /*:command-completion-custom*
|
||||
:command-completion-customlist map.txt /*:command-completion-customlist*
|
||||
:command-count map.txt /*:command-count*
|
||||
:command-modifiers map.txt /*:command-modifiers*
|
||||
:command-nargs map.txt /*:command-nargs*
|
||||
:command-range map.txt /*:command-range*
|
||||
:command-register map.txt /*:command-register*
|
||||
@@ -4362,6 +4364,7 @@ E561 if_cscop.txt /*E561*
|
||||
E562 if_cscop.txt /*E562*
|
||||
E563 if_cscop.txt /*E563*
|
||||
E564 if_cscop.txt /*E564*
|
||||
E565 insert.txt /*E565*
|
||||
E566 if_cscop.txt /*E566*
|
||||
E567 if_cscop.txt /*E567*
|
||||
E568 if_cscop.txt /*E568*
|
||||
@@ -4373,6 +4376,7 @@ E574 starting.txt /*E574*
|
||||
E575 starting.txt /*E575*
|
||||
E576 starting.txt /*E576*
|
||||
E577 starting.txt /*E577*
|
||||
E578 insert.txt /*E578*
|
||||
E579 eval.txt /*E579*
|
||||
E580 eval.txt /*E580*
|
||||
E581 eval.txt /*E581*
|
||||
@@ -6123,6 +6127,7 @@ edit-files editing.txt /*edit-files*
|
||||
edit-intro editing.txt /*edit-intro*
|
||||
edit-no-break usr_25.txt /*edit-no-break*
|
||||
edit-paragraph-join usr_25.txt /*edit-paragraph-join*
|
||||
edit-window windows.txt /*edit-window*
|
||||
editing.txt editing.txt /*editing.txt*
|
||||
efm-%> quickfix.txt /*efm-%>*
|
||||
efm-entries quickfix.txt /*efm-entries*
|
||||
@@ -8579,6 +8584,7 @@ quote~ change.txt /*quote~*
|
||||
r change.txt /*r*
|
||||
r.vim syntax.txt /*r.vim*
|
||||
rand() eval.txt /*rand()*
|
||||
random eval.txt /*random*
|
||||
range() eval.txt /*range()*
|
||||
raw-terminal-mode term.txt /*raw-terminal-mode*
|
||||
rcp pi_netrw.txt /*rcp*
|
||||
@@ -9957,6 +9963,7 @@ vim-variable eval.txt /*vim-variable*
|
||||
vim.vim syntax.txt /*vim.vim*
|
||||
vim7 version7.txt /*vim7*
|
||||
vim8 version8.txt /*vim8*
|
||||
vim9 vim9.txt /*vim9*
|
||||
vim9-differences vim9.txt /*vim9-differences*
|
||||
vim9-export vim9.txt /*vim9-export*
|
||||
vim9-import vim9.txt /*vim9-import*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*tagsrch.txt* For Vim version 8.2. Last change: 2020 Apr 03
|
||||
*tagsrch.txt* For Vim version 8.2. Last change: 2020 Apr 19
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -527,10 +527,13 @@ a tag for each "#defined" macro, typedefs, enums, etc.
|
||||
Some programs that generate tags files:
|
||||
ctags As found on most Unix systems. Only supports C. Only
|
||||
does the basic work.
|
||||
universal ctags A maintained version of ctags based on exuberant
|
||||
ctags. See https://ctags.io.
|
||||
*Exuberant_ctags*
|
||||
exuberant ctags This is a very good one. It works for C, C++, Java,
|
||||
Fortran, Eiffel and others. It can generate tags for
|
||||
many items. See http://ctags.sourceforge.net.
|
||||
No new version since 2009.
|
||||
etags Connected to Emacs. Supports many languages.
|
||||
JTags For Java, in Java. It can be found at
|
||||
http://www.fleiner.com/jtags/.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*term.txt* For Vim version 8.2. Last change: 2019 Dec 07
|
||||
*term.txt* For Vim version 8.2. Last change: 2020 Apr 12
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -545,6 +545,7 @@ Note about colors: The 't_Co' option tells Vim the number of colors available.
|
||||
When it is non-zero, the 't_AB' and 't_AF' options are used to set the color.
|
||||
If one of these is not available, 't_Sb' and 't_Sf' are used. 't_me' is used
|
||||
to reset to the default colors. Also see 'termguicolors'.
|
||||
When the GUI is running 't_Co' is set to 16777216.
|
||||
|
||||
*termcap-cursor-shape* *termcap-cursor-color*
|
||||
When Vim enters Insert mode the 't_SI' escape sequence is sent. When Vim
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*terminal.txt* For Vim version 8.2. Last change: 2020 Mar 26
|
||||
*terminal.txt* For Vim version 8.2. Last change: 2020 Apr 23
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -120,7 +120,7 @@ break (cursor keys start with an Esc, so they may break): >
|
||||
You can also create menus similar to terminal mode mappings, but you have to
|
||||
use |:tlmenu| instead of |:tmenu|.
|
||||
|
||||
< *options-in-terminal*
|
||||
*options-in-terminal*
|
||||
After opening the terminal window and setting 'buftype' to "terminal" the
|
||||
TerminalOpen autocommand event is triggered. This makes it possible to set
|
||||
options specifically for the window and buffer. Example: >
|
||||
@@ -183,6 +183,10 @@ Command syntax ~
|
||||
keep the terminal open in Terminal-Normal mode. This
|
||||
can be changed with the ++close argument.
|
||||
|
||||
No Vim command can follow, any | is included in
|
||||
[command]. Use `:execute` if you must have a Vim
|
||||
command following in the same line.
|
||||
|
||||
A new buffer will be created, using [command] or
|
||||
'shell' as the name, prefixed with a "!". If a buffer
|
||||
by this name already exists a number is added in
|
||||
|
||||
@@ -101,7 +101,7 @@ Manipulating text property types:
|
||||
prop_type_add({name}, {props}) define a new property type
|
||||
prop_type_change({name}, {props}) change an existing property type
|
||||
prop_type_delete({name} [, {props}]) delete a property type
|
||||
prop_type_get([{name} [, {props}]) get property type values
|
||||
prop_type_get([{name} [, {props}]]) get property type values
|
||||
prop_type_list([{props}]) get list of property types
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ prop_add({lnum}, {col}, {props}) add a text property
|
||||
prop_clear({lnum} [, {lnum-end} [, {bufnr}]])
|
||||
remove all text properties
|
||||
prop_find({props} [, {direction}]) search for a text property
|
||||
prop_list({lnum} [, {props}) text properties in {lnum}
|
||||
prop_list({lnum} [, {props}]) text properties in {lnum}
|
||||
prop_remove({props} [, {lnum} [, {lnum-end}]])
|
||||
remove a text property
|
||||
|
||||
@@ -291,7 +291,7 @@ prop_type_delete({name} [, {props}]) *prop_type_delete()*
|
||||
Can also be used as a |method|: >
|
||||
GetPropName()->prop_type_delete()
|
||||
|
||||
prop_type_get([{name} [, {props}]) *prop_type_get()*
|
||||
prop_type_get([{name} [, {props}]]) *prop_type_get()*
|
||||
Returns the properties of property type {name}. This is a
|
||||
dictionary with the same fields as was given to
|
||||
prop_type_add().
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 8.2. Last change: 2020 Apr 10
|
||||
*todo.txt* For Vim version 8.2. Last change: 2020 May 11
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -38,29 +38,62 @@ browser use: https://github.com/vim/vim/issues/1234
|
||||
*known-bugs*
|
||||
-------------------- Known bugs and current work -----------------------
|
||||
|
||||
Patch to test TERM signal. (Dominique, #6055)
|
||||
|
||||
Include src/po/vim.pot
|
||||
|
||||
Vim9 script:
|
||||
func and partial types:
|
||||
- check using func type with default arguments and varargs.
|
||||
func(type, type?, ...): rettype
|
||||
- Type checking arguments when calling :def function and test
|
||||
- Calling unknown user function does not give proper error message:
|
||||
assert_equal('123text', RefDef2Arg()) typo for "RetDef2Arg"
|
||||
- "func" inside "vim9script" doesn't work? (Ben Jackson, #5670)
|
||||
- :func inside vim9script must still use a:arg
|
||||
- define function and create funcref in one step:
|
||||
let ref = def(arg: type): rettype
|
||||
body
|
||||
enddef
|
||||
Also:
|
||||
Make closures work:
|
||||
- call closure from not compiled context
|
||||
- Create closure in a loop. Need to make a list of them.
|
||||
Forward declarations:
|
||||
- Cleanup when sourcing a script again: all script-local variables, imports
|
||||
and functions are deleted.
|
||||
- make sure only constants in declarations are executed, no function calls.
|
||||
- Declare a variable at script level without an assignment.
|
||||
let var: string
|
||||
Error without a type or assignment
|
||||
let var # error!
|
||||
Making everything work:
|
||||
- Test that a script-local function in Vim9 script cannot be deleted.
|
||||
- Test that a function defined inside a :def function is local to that
|
||||
function, g: functions can be defined and script-local functions cannot be
|
||||
defined.
|
||||
- Check that when using a user function name without prefix, it does not find
|
||||
a global function. Prefixing g: is required.
|
||||
- Compile: let [var, var] = expr
|
||||
- Compile: for [key, value] in items(map)
|
||||
- Assignment to dict doesn't work:
|
||||
let ret: dict<string> = #{}
|
||||
ret[i] = string(i)
|
||||
- Appending to dict item doesn't work:
|
||||
let d[i] ..= value
|
||||
- Compile replacement of :s command: s/pat/\=expr/
|
||||
- Compile redir to local variable: var_redir_start().
|
||||
- Compile builtin functions that access local variables:
|
||||
islocked()
|
||||
- Expand `=expr` in :next, :argedit, :argadd, :argdelete, :drop
|
||||
- Expand `=expr` in :vimgrep, :vimgrepadd, :lvimgrep, :lvimgrepadd
|
||||
- Expand `=expr` in :mkspell
|
||||
- Support type for ":let"/":const" at script level for Vim9 script.
|
||||
(Ben Jackson, #5671)
|
||||
Can we share the code from ex_let_const() between direct execution and
|
||||
compiling?
|
||||
- Disallow unlet for local/script/imported vars
|
||||
- Make "++nr" work.
|
||||
- expandcmd() with `=expr` in filename uses legacy expression.
|
||||
- eval_expr() in ex_cexpr()
|
||||
- eval_expr() call in dbg_parsearg() and debuggy_find()
|
||||
- Make "true" and "false" work in vim9script
|
||||
New syntax and functionality:
|
||||
Improve error checking:
|
||||
- "echo Func()" is an error if Func() does not return anything.
|
||||
Also:
|
||||
- For range: make table of first ASCII character with flag to quickly check if
|
||||
it can be a Vim9 command. E.g. "+" can, but "." can't.
|
||||
- better implementation for partial and tests for that.
|
||||
- Make "g:imported = Export.exported" work in Vim9 script.
|
||||
- Make Foo.Bar() work to call the dict function. (#5676)
|
||||
- make "let var: string" work in a vim9script.
|
||||
- Disallow unlet for local/script/imported vars
|
||||
- Support type for ":let"/":const" at script level for Vim9 script.
|
||||
(Ben Jackson, #5671)
|
||||
- Make "++nr" work.
|
||||
- Check that import in legacy script works and puts item in s:
|
||||
- Error in any command in "vim9script" aborts sourcing.
|
||||
- Find a way to test expressions in legacy and Vim9 script without duplication
|
||||
@@ -75,8 +108,6 @@ Also:
|
||||
map(list, SomeFunc)
|
||||
- Test: Function declared inside a :def function is local, disappears at the
|
||||
end of the function. Unless g: is used, just like with variables.
|
||||
- Can we omit \ for line continuation inside (), {}, ?
|
||||
Requires parsing while reading a function. Like fgetline in do_one_cmd()?
|
||||
- implement :type
|
||||
- import type declaration?
|
||||
- implement class
|
||||
@@ -85,6 +116,17 @@ Also:
|
||||
- Make accessing varargs faster: arg[expr]
|
||||
EVAL expr
|
||||
LOADVARARG (varags idx)
|
||||
Further improvements:
|
||||
- compile options that are an expression, e.g. "expr:" in 'spellsuggest',
|
||||
'foldexpr', 'foldtext', 'printexpr', 'diffexpr', 'patchexpr', 'charconvert',
|
||||
'balloonexpr', 'includeexpr', 'indentexpr', 'formatexpr'.
|
||||
- Make inline function work, to be used as a funcref:
|
||||
let ref = def(arg: type): rettype
|
||||
body
|
||||
enddef
|
||||
- compile get_lambda_tv() in popup_add_timeout()
|
||||
- compile "skip" argument of searchpair()
|
||||
- compile "expr" and "call" expression of a channel in channel_exe_cmd()?
|
||||
|
||||
Popup windows:
|
||||
- With some sequence get get hidden finished terminal buffer. (#5768)
|
||||
@@ -93,6 +135,7 @@ Popup windows:
|
||||
Is buf->nwindows incorrect?
|
||||
- popup_clear() and popup_close() should close the terminal popup, and
|
||||
make the buffer hidden. #5745
|
||||
- Cursor not updated before a redraw, making it jump. (#5943)
|
||||
- With terminal in popup, allow for popup_hide() to temporarily hide it.?
|
||||
- Fire some autocommand event after a new popup window was created and
|
||||
positioned? PopupNew? Could be used to set some options or move it out of
|
||||
@@ -113,6 +156,8 @@ Popup windows:
|
||||
Text properties:
|
||||
- Patch to fix that split / join does not update properties properly (Axel
|
||||
Forsman, #5839) Alternative: #5875.
|
||||
- :goto does not go to the right place when test properties are present.
|
||||
(#5930)
|
||||
- "cc" does not call inserted_bytes(). (Axel Forsman, #5763)
|
||||
- Get E685 with a sequence of commands. (#5674)
|
||||
- Combining text property with 'cursorline' does not always work (Billie
|
||||
@@ -152,6 +197,10 @@ Terminal debugger:
|
||||
with another Vim instance.
|
||||
|
||||
Terminal emulator window:
|
||||
- When started with ":terminal ++close" and the shell exits but there is a
|
||||
background process, the window remains open, because the channel still
|
||||
exists (and output still shows). Perhaps close the window when an explicit
|
||||
++close was used? (#5931)
|
||||
- When the job in the terminal doesn't use mouse events, let the scroll wheel
|
||||
scroll the scrollback, like a terminal does at the shell prompt. #2490
|
||||
And use modeless selection. #2962
|
||||
@@ -183,8 +232,8 @@ Terminal emulator window:
|
||||
conversions.
|
||||
|
||||
Error numbers available:
|
||||
E453, E454, E460, E489, E491, E565, E578, E610, E611, E653,
|
||||
E654, E856, E857, E861, E900
|
||||
E453, E454, E460, E489, E491, E610, E611, E653,
|
||||
E856, E857, E861, E900
|
||||
|
||||
Buffer autocommands are a bit inconsistent. Add a separate set of
|
||||
autocommands for the buffer lifecycle:
|
||||
@@ -198,7 +247,7 @@ The buffer list and windows are locked, no changes possible
|
||||
Patch to fix drawing error with DirectX. (James Grant, #5688)
|
||||
Causes flicker on resizing.
|
||||
|
||||
In gvim always set t_Co to 16777216 (#5903)
|
||||
Patch to support ipv6 for channel. (Ozaki Kiichi, #5893)
|
||||
|
||||
Patch to explain use of "%" in :!. (David Briscoe, #5591)
|
||||
|
||||
@@ -207,8 +256,18 @@ Ready to include.
|
||||
|
||||
Patch to add "-d" to xxd. (#5616)
|
||||
|
||||
Patch for the Haiku port: #5961
|
||||
|
||||
Patch to add Turkish manual. (Emir Sarı, #5641)
|
||||
|
||||
Patch to add lua sleep function. (Prabir Shrestha, #6057)
|
||||
Alternative: use vim.call and vim.fn: #6063
|
||||
|
||||
Patch to add getmarklist() (Yegappan, #6032)
|
||||
|
||||
Patch to support different color for undercurl in cterm.
|
||||
(Timur Celik, #6011)
|
||||
|
||||
Patch to support cindent option to handle pragmas differently.
|
||||
(Max Rumpf, #5468)
|
||||
|
||||
@@ -219,6 +278,9 @@ manager. Problem with Motif? Now test_gui crashes in submenu_change().
|
||||
Athena is OK.
|
||||
Motif: Build on Ubuntu can't enter any text in dialog text fields.
|
||||
|
||||
:map output does not clear the reset of the command line.
|
||||
(#5623, also see #5962)
|
||||
|
||||
Patch to properly break CJK lines: Anton Kochkov, #3875
|
||||
Flag in 'formatoptions' is not used in the tests.
|
||||
|
||||
@@ -233,7 +295,14 @@ Ready to include? Review the code.
|
||||
When 'lazyredraw' is set sometimes the title is not updated.
|
||||
(Jason Franklin, 2020 Feb 3) Looks like a race condition.
|
||||
|
||||
Patch to delete BeOS code. (#5817)
|
||||
Patch to delete BeOS code. (#5817) Anyone who wants to keep it?
|
||||
|
||||
With bash ":make" does not set v:shell_error. Possible solution: set
|
||||
'shellpipe' to "2>&1| tee %s; exit ${PIPESTATUS[0]}" #5994
|
||||
|
||||
When changing the crypt key the buffer should be considered modified.
|
||||
Like when changing 'fileformat'. Save the old key in save_file_ff().
|
||||
(Ninu-Ciprian Marginean)
|
||||
|
||||
Strange sequence of BufWipeout and BufNew events while doing omni-complete.
|
||||
(Paul Jolly, #5656)
|
||||
@@ -316,11 +385,6 @@ Python 3.8 doesn't work. (Antonios Hadjigeorgalis, #5509)
|
||||
The :syntax cchar value can only be a single character. It would be useful to
|
||||
support combining characters. (Charles Campbell) Also #4687
|
||||
|
||||
Include Haiku port. (Adrien Destugues, Siarzhuk Zharski, 2013 Oct 24)
|
||||
It can replace the BeOS code, which is likely not used anymore.
|
||||
Now on github: #1856. Updated Oct 2017
|
||||
Got permission to include this under the Vim license.
|
||||
|
||||
"--cleanFOO" does not result in an error. (#5537)
|
||||
|
||||
Add "t" action to settagstack(): truncate and add new entries. (#5405)
|
||||
|
||||
@@ -402,7 +402,7 @@ Another way to start in diff mode can be done from inside Vim. Edit the
|
||||
"main.c" file, then make a split and show the differences: >
|
||||
|
||||
:edit main.c
|
||||
:vertical diffsplit main.c~
|
||||
:vertical diffsplit main.c~
|
||||
|
||||
The ":vertical" command is used to make the window split vertically. If you
|
||||
omit this, you will get a horizontal split.
|
||||
|
||||
@@ -687,7 +687,7 @@ with any motion command, with text objects and in Visual mode.
|
||||
lowercase. This can be shortened to "guu". "gUgU" is shortened to "gUU" and
|
||||
"g~g~" to "g~~". Example: >
|
||||
|
||||
g~~
|
||||
g~~
|
||||
< Some GIRLS have Fun ----> sOME girls HAVE fUN ~
|
||||
|
||||
==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*various.txt* For Vim version 8.2. Last change: 2020 Mar 19
|
||||
*various.txt* For Vim version 8.2. Last change: 2020 Apr 13
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -375,6 +375,7 @@ m *+hangul_input* Hangul input support |hangul|
|
||||
*+iconv* Compiled with the |iconv()| function
|
||||
*+iconv/dyn* Likewise |iconv-dynamic| |/dyn|
|
||||
T *+insert_expand* |insert_expand| Insert mode completion
|
||||
m *+ipv6* Support for IPv6 networking |channel|
|
||||
m *+job* starting and stopping jobs |job|
|
||||
S *+jumplist* |jumplist|
|
||||
B *+keymap* |'keymap'|
|
||||
@@ -542,7 +543,7 @@ N *+X11* Unix only: can restore window title |X11|
|
||||
locked or the variable type is changed, then further
|
||||
command output messages will cause errors.
|
||||
To get the output of one command the |execute()|
|
||||
function can be used.
|
||||
function can be used instead of redirection.
|
||||
|
||||
:redi[r] =>> {var} Append messages to an existing variable. Only string
|
||||
variables can be used.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*vim9.txt* For Vim version 8.2. Last change: 2020 Apr 09
|
||||
*vim9.txt* For Vim version 8.2. Last change: 2020 May 09
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
THIS IS STILL UNDER DEVELOPMENT - ANYTHING CAN BREAK - ANYTHING CAN CHANGE
|
||||
|
||||
Vim9 script commands and expressions.
|
||||
Vim9 script commands and expressions. *vim9*
|
||||
|
||||
Most expression help is in |eval.txt|. This file is about the new syntax and
|
||||
features in Vim9 script.
|
||||
@@ -28,29 +28,32 @@ THIS IS STILL UNDER DEVELOPMENT - ANYTHING CAN BREAK - ANYTHING CAN CHANGE
|
||||
|
||||
THIS IS STILL UNDER DEVELOPMENT - ANYTHING CAN BREAK - ANYTHING CAN CHANGE
|
||||
|
||||
Vim script has been growing over time, while keeping backwards compatibility.
|
||||
That means bad choices from the past often can't be changed. Execution is
|
||||
quite slow, every line is parsed every time it is executed.
|
||||
Vim script has been growing over time, while preserving backwards
|
||||
compatibility. That means bad choices from the past often can't be changed
|
||||
and compability with Vi restricts possible solutions. Execution is quite
|
||||
slow, each line is parsed every time it is executed.
|
||||
|
||||
The main goal of Vim9 script is to drastically improve performance. An
|
||||
increase in execution speed of 10 to 100 times can be expected. A secondary
|
||||
goal is to avoid Vim-specific constructs and get closer to commonly used
|
||||
programming languages, such as JavaScript, TypeScript and Java.
|
||||
The main goal of Vim9 script is to drastically improve performance. This is
|
||||
accomplished by compiling commands into instructions that can be efficiently
|
||||
executed. An increase in execution speed of 10 to 100 times can be expected.
|
||||
|
||||
A secondary goal is to avoid Vim-specific constructs and get closer to
|
||||
commonly used programming languages, such as JavaScript, TypeScript and Java.
|
||||
|
||||
The performance improvements can only be achieved by not being 100% backwards
|
||||
compatible. For example, in a function the arguments are not available in the
|
||||
"a:" dictionary, as creating that dictionary adds quite a lot of overhead.
|
||||
Other differences are more subtle, such as how errors are handled.
|
||||
"a:" dictionary, because creating that dictionary adds quite a lot of
|
||||
overhead. Other differences are more subtle, such as how errors are handled.
|
||||
|
||||
The Vim9 script syntax and semantics are used in:
|
||||
- a function defined with the `:def` command
|
||||
- a script file where the first command is `vim9script`
|
||||
|
||||
When using `:function` in a Vim9 script file the legacy syntax is used.
|
||||
However, this is discouraged.
|
||||
However, this can be confusing and is therefore discouraged.
|
||||
|
||||
Vim9 script and legacy Vim script can be mixed. There is no need to rewrite
|
||||
old scripts, they keep working as before.
|
||||
Vim9 script and legacy Vim script can be mixed. There is no requirement to
|
||||
rewrite old scripts, they keep working as before.
|
||||
|
||||
==============================================================================
|
||||
|
||||
@@ -58,21 +61,125 @@ old scripts, they keep working as before.
|
||||
|
||||
THIS IS STILL UNDER DEVELOPMENT - ANYTHING CAN BREAK - ANYTHING CAN CHANGE
|
||||
|
||||
Comments starting with # ~
|
||||
|
||||
In Vim script comments normally start with double quote. That can also be the
|
||||
start of a string, thus in many places it cannot be used. In Vim9 script a
|
||||
comment can also start with #. In Vi this is a command to list text with
|
||||
numbers, but you can also use `:number` for that. >
|
||||
let count = 0 # number of occurences
|
||||
|
||||
To improve readability there must be a space between the command and the #
|
||||
that starts a comment. Note that #{ is the start of a dictionary, therefore
|
||||
it cannot start a comment.
|
||||
|
||||
|
||||
Vim9 functions ~
|
||||
|
||||
A function defined with `:def` is compiled. Execution is many times faster,
|
||||
often 10x to 100x times.
|
||||
|
||||
Many errors are already found when compiling, before the function is called.
|
||||
The syntax is strict, to enforce code that is easy to read and understand.
|
||||
|
||||
`:def` has no extra arguments like `:function` does: "range", "abort", "dict"
|
||||
or "closure". A `:def` function always aborts on an error, does not get a
|
||||
range passed and cannot be a "dict" function.
|
||||
|
||||
In the function body:
|
||||
- Arguments are accessed by name, without "a:".
|
||||
- There is no "a:" dictionary or "a:000" list. Variable arguments are defined
|
||||
with a name and have a list type: >
|
||||
def MyFunc(...itemlist: list<type>)
|
||||
The argument types and return type need to be specified. The "any" type can
|
||||
be used, type checking will then be done at runtime, like with legacy
|
||||
functions.
|
||||
|
||||
Arguments are accessed by name, without "a:". There is no "a:" dictionary or
|
||||
"a:000" list.
|
||||
|
||||
Variable arguments are defined as the last argument, with a name and have a
|
||||
list type, similar to Typescript. For example, a list of numbers: >
|
||||
def MyFunc(...itemlist: list<number>)
|
||||
for item in itemlist
|
||||
...
|
||||
|
||||
|
||||
Functions and variables are script-local by default ~
|
||||
|
||||
When using `:function` or `:def` to specify a new function at the script level
|
||||
in a Vim9 script, the function is local to the script, as if "s:" was
|
||||
prefixed. Using the "s:" prefix is optional.
|
||||
|
||||
To define or use a global function or variable the "g:" prefix must be used.
|
||||
|
||||
When using `:function` or `:def` to specify a new function inside a function,
|
||||
the function is local to the function. It is not possible to define a
|
||||
script-local function inside a function. It is possible to define a global
|
||||
function, using the "g:" prefix.
|
||||
|
||||
When referring to a function and no "s:" or "g:" prefix is used, Vim will
|
||||
search for the function in this order:
|
||||
- Local to the current scope and outer scopes up to the function scope.
|
||||
- Local to the current script file.
|
||||
- Imported functions, see `:import`.
|
||||
In all cases the function must be defined before used. To make a call cycle a
|
||||
global function needs to be used. (TODO: can we fix this?)
|
||||
|
||||
The result is that functions and variables without a namespace can always be
|
||||
found in the script, either defined there or imported. Global functions and
|
||||
variables could be defined anywhere (good luck finding where!).
|
||||
|
||||
Global functions can be still be defined and deleted at nearly any time. In
|
||||
Vim9 script script-local functions are defined once when the script is sourced
|
||||
and cannot be deleted.
|
||||
|
||||
|
||||
Four phases when loading a Vim9 script ~
|
||||
|
||||
In legacy script the functions are created when encountered, but parsed only
|
||||
when used. This allows for defining functions in any order and having them
|
||||
call each other, so long as the function is defined when it is called: >
|
||||
func One()
|
||||
call Two()
|
||||
endfunc
|
||||
func Two()
|
||||
if cond
|
||||
call One() " recursive call
|
||||
endif
|
||||
endfunc
|
||||
call One()
|
||||
|
||||
In Vim9 script the functions are compiled. When using the same functions as
|
||||
the above example it is not possible to compile function One without knowing
|
||||
that function Two exists. Or this would require a runtime check, which is slow
|
||||
and does not allow for compile time type checking.
|
||||
|
||||
When sourcing a Vim9 script this happens in four phases:
|
||||
1. Cleanup: If the script was sourced before all script-local variables,
|
||||
imports and functions are deleted.
|
||||
2. Discovery: The script is read and declarations of functions, imports and
|
||||
variables are recognized and the type is parsed. Variable initializers
|
||||
that are a constant are evaluated, this can also give the type of the
|
||||
variable.
|
||||
3. Compilation: Functions are compiled. The script-local functions, imports
|
||||
and variables from the discovery phase are found and types are checked.
|
||||
4. Execution: the commands in the script are executed, top to bottom.
|
||||
Functions are skipped over, they do do not need to be processed again.
|
||||
Variable initializers are evaluated when encountered. Note that if a
|
||||
function called earlier has set the value this will be over-written. It is
|
||||
best to declare variables before where they are used to avoid confusion.
|
||||
|
||||
The result is that items defined at the script level can be used anywhere in
|
||||
the script. This allows for putting the main function at the top: >
|
||||
def Main()
|
||||
SubOne()
|
||||
SubTwo()
|
||||
enddef
|
||||
def SubOne()
|
||||
...
|
||||
def SubTwo()
|
||||
...
|
||||
|
||||
Note that script-local variables should either have a type defined or have a
|
||||
constant initializer. Otherwise an error is given for the type being unknown.
|
||||
|
||||
|
||||
Variable declarations with :let and :const ~
|
||||
|
||||
Local variables need to be declared with `:let`. Local constants need to be
|
||||
@@ -120,12 +227,12 @@ and without `:let`, because there is no rule about where they are declared.
|
||||
Variables cannot shadow previously defined variables.
|
||||
Variables may shadow Ex commands, rename the variable if needed.
|
||||
|
||||
Global variables must be prefixed with "g:", also at the script level.
|
||||
However, global user defined functions are used without "g:". >
|
||||
Global variables and user defined functions must be prefixed with "g:", also
|
||||
at the script level. >
|
||||
vim9script
|
||||
let script_local = 'text'
|
||||
let g:global = 'value'
|
||||
let Funcref = ThatFunction
|
||||
let Funcref = g:ThatFunction
|
||||
|
||||
Since "&opt = value" is now assigning a value to option "opt", ":&" cannot be
|
||||
used to repeat a `:substitute` command.
|
||||
@@ -175,6 +282,49 @@ When using `function()` the resulting type is "func", a function with any
|
||||
number of arguments and any return type. The function can be defined later.
|
||||
|
||||
|
||||
Automatic line continuation ~
|
||||
|
||||
In many cases it is obvious that an expression continues on the next line. In
|
||||
those cases there is no need to prefix the line with a backslash. For
|
||||
example, when a list spans multiple lines: >
|
||||
let mylist = [
|
||||
'one',
|
||||
'two',
|
||||
]
|
||||
And when a dict spans multiple lines: >
|
||||
let mydict = #{
|
||||
one: 1,
|
||||
two: 2,
|
||||
}
|
||||
Function call: >
|
||||
let result = Func(
|
||||
arg1,
|
||||
arg2
|
||||
)
|
||||
|
||||
For binary operators iin expressions not in [], {} or () a line break is
|
||||
possible AFTER the operators. For example: >
|
||||
let text = lead ..
|
||||
middle ..
|
||||
end
|
||||
let total = start +
|
||||
end -
|
||||
correction
|
||||
let result = positive ?
|
||||
PosFunc(arg) :
|
||||
NegFunc(arg)
|
||||
|
||||
Note that "enddef" cannot be used at the start of a continuation line, it ends
|
||||
the current function.
|
||||
|
||||
It is also possible to split a function header over multiple lines, in between
|
||||
arguments: >
|
||||
def MyFunc(
|
||||
text: string,
|
||||
separator = '-'
|
||||
): string
|
||||
|
||||
|
||||
No curly braces expansion ~
|
||||
|
||||
|curly-braces-names| cannot be used.
|
||||
@@ -198,6 +348,9 @@ Vim9 script enforces proper use of white space. This is no longer allowed: >
|
||||
let var =234 " Error!
|
||||
There must be white space before and after the "=": >
|
||||
let var = 234 " OK
|
||||
White space must also be put before the # that starts a comment: >
|
||||
let var = 234# Error!
|
||||
let var = 234 # OK
|
||||
|
||||
White space is required around most operators.
|
||||
|
||||
@@ -413,9 +566,12 @@ Then "myvar" will only exist in this file. While without `vim9script` it would
|
||||
be available as `g:myvar` from any other script and function.
|
||||
|
||||
The variables at the file level are very much like the script-local "s:"
|
||||
variables in legacy Vim script, but the "s:" is omitted.
|
||||
variables in legacy Vim script, but the "s:" is omitted. And they cannot be
|
||||
deleted.
|
||||
|
||||
In Vim9 script the global "g:" namespace can still be used as before.
|
||||
In Vim9 script the global "g:" namespace can still be used as before. And the
|
||||
"w:", "b:" and "t:" namespaces. These have in common that variables are not
|
||||
declared and they can be deleted.
|
||||
|
||||
A side effect of `:vim9script` is that the 'cpoptions' option is set to the
|
||||
Vim default value, like with: >
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*windows.txt* For Vim version 8.2. Last change: 2020 Mar 19
|
||||
*windows.txt* For Vim version 8.2. Last change: 2020 May 10
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -291,9 +291,9 @@ CTRL-W q *CTRL-W_q*
|
||||
CTRL-W CTRL-Q *CTRL-W_CTRL-Q*
|
||||
Without {count}: Quit the current window. If {count} is
|
||||
given quit the {count} window.
|
||||
|
||||
When quitting the last window (not counting a help window),
|
||||
exit Vim.
|
||||
*edit-window*
|
||||
When quitting the last edit window (not counting help or
|
||||
preview windows), exit Vim.
|
||||
|
||||
When 'hidden' is set, and there is only one window for the
|
||||
current buffer, it becomes hidden. When 'hidden' is not set,
|
||||
@@ -312,8 +312,9 @@ CTRL-W CTRL-Q *CTRL-W_CTRL-Q*
|
||||
:+quit " quit the next window
|
||||
:+2quit " quit the second next window
|
||||
<
|
||||
When closing a help window, Vim will try to restore the
|
||||
previous window layout |:helpclose|.
|
||||
When closing a help window, and this is not the only window,
|
||||
Vim will try to restore the previous window layout, see
|
||||
|:helpclose|.
|
||||
|
||||
:q[uit]!
|
||||
:{count}q[uit]!
|
||||
@@ -335,9 +336,9 @@ CTRL-W c *CTRL-W_c* *:clo* *:close*
|
||||
changed and the [!] is used, the buffer becomes hidden (unless
|
||||
there is another window editing it).
|
||||
|
||||
When there is only one window in the current tab page and
|
||||
there is another tab page, this closes the current tab page.
|
||||
|tab-page|.
|
||||
When there is only one |edit-window| in the current tab page
|
||||
and there is another tab page, this closes the current tab
|
||||
page. |tab-page|.
|
||||
|
||||
This command fails when: *E444*
|
||||
- There is only one window on the screen.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim support file to detect file types
|
||||
"
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2020 Apr 12
|
||||
" Last Change: 2020 May 07
|
||||
|
||||
" Listen very carefully, I will say this only once
|
||||
if exists("did_load_filetypes")
|
||||
@@ -234,13 +234,13 @@ au BufNewFile,BufRead *.bl setf blank
|
||||
au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml
|
||||
|
||||
" BSDL
|
||||
au BufNewFile,BufRead *.bsdl setf bsdl
|
||||
au BufNewFile,BufRead *bsd,*.bsdl setf bsdl
|
||||
|
||||
" Bazel (http://bazel.io)
|
||||
autocmd BufRead,BufNewFile *.bzl,WORKSPACE,BUILD.bazel setf bzl
|
||||
if has("fname_case")
|
||||
" There is another check for BUILD further below.
|
||||
autocmd BufRead,BufNewFile BUILD setf bzl
|
||||
autocmd BufRead,BufNewFile BUILD setf bzl
|
||||
endif
|
||||
|
||||
" C or lpc
|
||||
@@ -1133,6 +1133,9 @@ au BufNewFile,BufRead pf.conf setf pf
|
||||
" Pam conf
|
||||
au BufNewFile,BufRead */etc/pam.conf setf pamconf
|
||||
|
||||
" Pam environment
|
||||
au BufNewFile,BufRead pam_env.conf,.pam_environment setf pamenv
|
||||
|
||||
" PApp
|
||||
au BufNewFile,BufRead *.papp,*.pxml,*.pxsl setf papp
|
||||
|
||||
@@ -1650,7 +1653,9 @@ au BufNewFile,BufRead */etc/systemd/system/*.d/*.conf setf systemd
|
||||
au BufNewFile,BufRead */.config/systemd/user/*.d/*.conf setf systemd
|
||||
" Systemd temp files
|
||||
au BufNewFile,BufRead */etc/systemd/system/*.d/.#* setf systemd
|
||||
au BufNewFile,BufRead */etc/systemd/system/.#* setf systemd
|
||||
au BufNewFile,BufRead */.config/systemd/user/*.d/.#* setf systemd
|
||||
au BufNewFile,BufRead */.config/systemd/user/.#* setf systemd
|
||||
|
||||
" Synopsys Design Constraints
|
||||
au BufNewFile,BufRead *.sdc setf sdc
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: MS-DOS .bat files
|
||||
" Maintainer: Mike Williams <mrw@eandem.co.uk>
|
||||
" Last Change: 14th April 2019
|
||||
" Last Change: 7th May 2020
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
if exists("b:did_ftplugin")
|
||||
@@ -19,12 +19,21 @@ setlocal comments=b:rem,b:@rem,b:REM,b:@REM,:::
|
||||
setlocal commentstring=::\ %s
|
||||
setlocal formatoptions-=t formatoptions+=rol
|
||||
|
||||
" Lookup DOS keywords using Windows command help.
|
||||
if executable('help.exe')
|
||||
if has('terminal')
|
||||
setlocal keywordprg=:term\ help.exe
|
||||
else
|
||||
setlocal keywordprg=help.exe
|
||||
endif
|
||||
endif
|
||||
|
||||
" Define patterns for the browse file filter
|
||||
if has("gui_win32") && !exists("b:browsefilter")
|
||||
let b:browsefilter = "DOS Batch Files (*.bat, *.cmd)\t*.bat;*.cmd\nAll Files (*.*)\t*.*\n"
|
||||
endif
|
||||
|
||||
let b:undo_ftplugin = "setlocal comments< formatoptions<"
|
||||
let b:undo_ftplugin = "setlocal comments< formatoptions< keywordprg<"
|
||||
\ . "| unlet! b:browsefiler"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
" Vim settings file
|
||||
" Language: Fortran 2008 (and older: Fortran 2003, 95, 90, 77, 66)
|
||||
" Version: 0.50
|
||||
" Last Change: 2015 Nov. 30
|
||||
" Last Change: 2020 Apr 20
|
||||
" Patched By: Eisuke Kawashima
|
||||
" Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/>
|
||||
" Usage: For instructions, do :help fortran-plugin from Vim
|
||||
" Credits:
|
||||
@@ -31,10 +32,10 @@ if !exists("b:fortran_fixed_source")
|
||||
elseif exists("fortran_fixed_source")
|
||||
" User guarantees fixed source form
|
||||
let b:fortran_fixed_source = 1
|
||||
elseif expand("%:e") ==? "f\<90\|95\|03\|08\>"
|
||||
elseif expand("%:e") =~? '^f\%(90\|95\|03\|08\)$'
|
||||
" Free-form file extension defaults as in Intel ifort, gcc(gfortran), NAG, Pathscale, and Cray compilers
|
||||
let b:fortran_fixed_source = 0
|
||||
elseif expand("%:e") ==? "f\|f77\|for"
|
||||
elseif expand("%:e") =~? '^\%(f\|f77\|for\)$'
|
||||
" Fixed-form file extension defaults
|
||||
let b:fortran_fixed_source = 1
|
||||
else
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: man
|
||||
" Maintainer: Jason Franklin <vim@justemail.net>
|
||||
" Maintainer: SungHyun Nam <goweol@gmail.com>
|
||||
" Last Change: 2020 Apr 6
|
||||
" Last Change: 2020 May 07
|
||||
|
||||
" To make the ":Man" command available before editing a manual page, source
|
||||
" this script from your startup vimrc file.
|
||||
@@ -188,7 +189,7 @@ func <SID>GetPage(cmdmods, ...)
|
||||
setl buftype=nofile noswapfile
|
||||
|
||||
setl fdc=0 ma nofen nonu nornu
|
||||
silent exec "norm! 1GdG"
|
||||
%delete _
|
||||
let unsetwidth = 0
|
||||
if empty($MANWIDTH)
|
||||
let $MANWIDTH = winwidth(0)
|
||||
@@ -213,10 +214,10 @@ func <SID>GetPage(cmdmods, ...)
|
||||
endif
|
||||
" Remove blank lines from top and bottom.
|
||||
while line('$') > 1 && getline(1) =~ '^\s*$'
|
||||
silent keepj norm! ggdd
|
||||
1delete _
|
||||
endwhile
|
||||
while line('$') > 1 && getline('$') =~ '^\s*$'
|
||||
silent keepj norm! Gdd
|
||||
$delete _
|
||||
endwhile
|
||||
1
|
||||
setl ft=man nomod
|
||||
|
||||
19
runtime/ftplugin/masm.vim
Normal file
19
runtime/ftplugin/masm.vim
Normal file
@@ -0,0 +1,19 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Microsoft Macro Assembler (80x86)
|
||||
" Maintainer: Wu Yongwei <wuyongwei@gmail.com>
|
||||
" Last Change: 2020-05-09 23:02:05 +0800
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
let b:undo_ftplugin = "setl iskeyword<"
|
||||
|
||||
setlocal iskeyword=@,48-57,_,36,60,62,63,@-@
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
@@ -1,9 +1,9 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Perl
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com>
|
||||
" Homepage: http://github.com/vim-perl/vim-perl
|
||||
" Bugs/requests: http://github.com/vim-perl/vim-perl/issues
|
||||
" Last Change: 2015-02-09
|
||||
" Homepage: https://github.com/vim-perl/vim-perl
|
||||
" Bugs/requests: https://github.com/vim-perl/vim-perl/issues
|
||||
" Last Change: 2020 Apr 15
|
||||
|
||||
if exists("b:did_ftplugin") | finish | endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Perl 6
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com>
|
||||
" Homepage: http://github.com/vim-perl/vim-perl
|
||||
" Bugs/requests: http://github.com/vim-perl/vim-perl/issues
|
||||
" Last Change: 2013-07-21
|
||||
" Homepage: https://github.com/vim-perl/vim-perl
|
||||
" Bugs/requests: https://github.com/vim-perl/vim-perl/issues
|
||||
" Last Change: 2020 Apr 15
|
||||
" Contributors: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
|
||||
"
|
||||
" Based on ftplugin/perl.vim by Dan Sharp <dwsharp at hotmail dot com>
|
||||
|
||||
@@ -1,7 +1,41 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: systemd.unit(5)
|
||||
" Language: systemd.unit(5)
|
||||
" Keyword Lookup Support: Enno Nagel <enno.nagel+vim@gmail.com>
|
||||
|
||||
if !exists('b:did_ftplugin')
|
||||
" Looks a lot like dosini files.
|
||||
runtime! ftplugin/dosini.vim
|
||||
endif
|
||||
|
||||
if !has('unix')
|
||||
finish
|
||||
endif
|
||||
|
||||
if !has('gui_running')
|
||||
command! -buffer -nargs=1 Sman silent exe '!' . KeywordLookup_systemd(<q-args>) | redraw!
|
||||
elseif has('terminal')
|
||||
command! -buffer -nargs=1 Sman silent exe 'term ' . KeywordLookup_systemd(<q-args>)
|
||||
else
|
||||
finish
|
||||
endif
|
||||
|
||||
if !exists('*KeywordLookup_systemd')
|
||||
function KeywordLookup_systemd(keyword) abort
|
||||
let matches = matchlist(getline(search('\v^\s*\[\s*.+\s*\]\s*$', 'nbWz')), '\v^\s*\[\s*(\k+).*\]\s*$')
|
||||
if len(matches) > 1
|
||||
let section = matches[1]
|
||||
return 'LESS= MANPAGER="less --pattern=''(^|,)\s+' . a:keyword . '=$'' --hilite-search" man ' . 'systemd.' . section
|
||||
else
|
||||
return 'LESS= MANPAGER="less --pattern=''(^|,)\s+' . a:keyword . '=$'' --hilite-search" man ' . 'systemd'
|
||||
endif
|
||||
endfunction
|
||||
endif
|
||||
|
||||
setlocal iskeyword+=-
|
||||
setlocal keywordprg=:Sman
|
||||
|
||||
if !exists('b:undo_ftplugin') || empty(b:undo_ftplugin)
|
||||
let b:undo_ftplugin = 'setlocal keywordprg< iskeyword<'
|
||||
else
|
||||
let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword<'
|
||||
endif
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
" Vim indent file
|
||||
" Language: Fortran 2008 (and older: Fortran 2003, 95, 90, and 77)
|
||||
" Version: 47
|
||||
" Last Change: 2016 Oct. 29
|
||||
" Last Change: 2020 Apr 20
|
||||
" Patched By: Eisuke Kawashima
|
||||
" Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/>
|
||||
" Usage: For instructions, do :help fortran-indent from Vim
|
||||
" Credits:
|
||||
@@ -39,10 +40,10 @@ if !exists("b:fortran_fixed_source")
|
||||
elseif exists("fortran_fixed_source")
|
||||
" User guarantees fixed source form
|
||||
let b:fortran_fixed_source = 1
|
||||
elseif expand("%:e") ==? "f\<90\|95\|03\|08\>"
|
||||
elseif expand("%:e") =~? '^f\%(90\|95\|03\|08\)$'
|
||||
" Free-form file extension defaults as in Intel ifort, gcc(gfortran), NAG, Pathscale, and Cray compilers
|
||||
let b:fortran_fixed_source = 0
|
||||
elseif expand("%:e") ==? "f\|f77\|for"
|
||||
elseif expand("%:e") =~? '^\%(f\|f77\|for\)$'
|
||||
" Fixed-form file extension defaults
|
||||
let b:fortran_fixed_source = 1
|
||||
else
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
" Vim indent file
|
||||
" Language: Perl 5
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com>
|
||||
" Homepage: http://github.com/vim-perl/vim-perl
|
||||
" Bugs/requests: http://github.com/vim-perl/vim-perl/issues
|
||||
" Last Change: 2017-01-04
|
||||
" Homepage: https://github.com/vim-perl/vim-perl
|
||||
" Bugs/requests: https://github.com/vim-perl/vim-perl/issues
|
||||
" Last Change: 2020 Apr 15
|
||||
|
||||
" Suggestions and improvements by :
|
||||
" Aaron J. Sherman (use syntax for hints)
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
" Vim indent file
|
||||
" Language: Perl 6
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com>
|
||||
" Homepage: http://github.com/vim-perl/vim-perl
|
||||
" Bugs/requests: http://github.com/vim-perl/vim-perl/issues
|
||||
" Last Change: 2017 Jun 13
|
||||
" Homepage: https://github.com/vim-perl/vim-perl
|
||||
" Bugs/requests: https://github.com/vim-perl/vim-perl/issues
|
||||
" Last Change: 2020 Apr 15
|
||||
" Contributors: Andy Lester <andy@petdance.com>
|
||||
" Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
|
||||
"
|
||||
|
||||
@@ -28,6 +28,11 @@ set cpo&vim
|
||||
|
||||
let s:maxoff = 50 " maximum number of lines to look backwards for ()
|
||||
|
||||
" See if the specified line is already user-dedented from the expected value.
|
||||
function s:Dedented(lnum, expected)
|
||||
return indent(a:lnum) <= a:expected - shiftwidth()
|
||||
endfunction
|
||||
|
||||
function GetPythonIndent(lnum)
|
||||
|
||||
" If this line is explicitly joined: If the previous line was also joined,
|
||||
@@ -158,12 +163,12 @@ function GetPythonIndent(lnum)
|
||||
" If the previous line was a stop-execution statement...
|
||||
if getline(plnum) =~ '^\s*\(break\|continue\|raise\|return\|pass\)\>'
|
||||
" See if the user has already dedented
|
||||
if indent(a:lnum) > indent(plnum) - shiftwidth()
|
||||
" If not, recommend one dedent
|
||||
return indent(plnum) - shiftwidth()
|
||||
if s:Dedented(a:lnum, indent(plnum))
|
||||
" If so, trust the user
|
||||
return -1
|
||||
endif
|
||||
" Otherwise, trust the user
|
||||
return -1
|
||||
" If not, recommend one dedent
|
||||
return indent(plnum) - shiftwidth()
|
||||
endif
|
||||
|
||||
" If the current line begins with a keyword that lines up with "try"
|
||||
@@ -191,7 +196,7 @@ function GetPythonIndent(lnum)
|
||||
endif
|
||||
|
||||
" Or the user has already dedented
|
||||
if indent(a:lnum) <= plindent - shiftwidth()
|
||||
if s:Dedented(a:lnum, plindent)
|
||||
return -1
|
||||
endif
|
||||
|
||||
@@ -203,7 +208,12 @@ function GetPythonIndent(lnum)
|
||||
" + c)
|
||||
" here
|
||||
if parlnum > 0
|
||||
return plindent
|
||||
" ...unless the user has already dedented
|
||||
if s:Dedented(a:lnum, plindent)
|
||||
return -1
|
||||
else
|
||||
return plindent
|
||||
endif
|
||||
endif
|
||||
|
||||
return -1
|
||||
|
||||
@@ -10,6 +10,7 @@ filetype indent on
|
||||
syn on
|
||||
set nowrapscan
|
||||
set report=9999
|
||||
set modeline
|
||||
|
||||
au! SwapExists * call HandleSwapExists()
|
||||
func HandleSwapExists()
|
||||
|
||||
@@ -79,7 +79,7 @@ menutrans &Global\ Settings Opcions\ &globals
|
||||
menutrans Never &Mai
|
||||
menutrans Block\ Selection &Selecció\ de\ blocs
|
||||
menutrans Insert\ mode Mode\ d'&inserció
|
||||
menutrans Block\ and\ Insert &Blocs i inserció
|
||||
menutrans Block\ and\ Insert &Blocs\ i\ inserció
|
||||
menutrans Always S&empre
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Mode\ d'&inserció<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Co&mpatible\ amb\ Vi<Tab>:set\ cp!
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Menu Translations: Simplified Chinese
|
||||
" Maintainer: Shun Bai <baishunde@gmail.com>
|
||||
" Previous Maintainer: Yuheng Xie <elephant@linux.net.cn>
|
||||
" Last Change: 2019-09-10
|
||||
" Last Change: 2020 Apr 23
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
if exists("did_menu_trans")
|
||||
@@ -122,7 +122,7 @@ menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin!
|
||||
|
||||
" other options
|
||||
menutrans &Shiftwidth 缩进宽度(&S)
|
||||
menutrans Soft\ &Tabstop 软制表位宽度(Soft Tabstop)(&T)
|
||||
menutrans Soft\ &Tabstop 软制表位宽度(Soft\ Tabstop)(&T)
|
||||
menutrans Te&xt\ Width\.\.\. 文本宽度(&X)\.\.\.
|
||||
menutrans &File\ Format\.\.\. 文件格式(&F)\.\.\.
|
||||
|
||||
@@ -435,8 +435,8 @@ menutrans Set\ '&filetype'\ Too Ҳ
|
||||
menutrans Sorting\ Method 排序方式
|
||||
" Netrw.Style.Sorting Method menuitems {{{3
|
||||
menutrans Name<tab>s 文件名<tab>s
|
||||
menutrans Time<tab>s 修改时间<tab>s
|
||||
menutrans Size<tab>s 大小<tab>s
|
||||
menutrans Time<tab>s 修改时间<tab>s
|
||||
menutrans Size<tab>s 大小<tab>s
|
||||
menutrans Exten<tab>s 扩展名<tab>s
|
||||
" }}}
|
||||
" }}}
|
||||
|
||||
@@ -110,7 +110,7 @@ menutrans Build\ &Tags\ File &Vytvo
|
||||
if has("spell")
|
||||
menutrans &Spelling &Kontrola\ pravopisu
|
||||
menutrans &Spell\ Check\ On &Zapnout\ kontrolu\ pravopisu
|
||||
menutrans Spell\ Check\ &Off &Vypnout \kontrolu\ pravopisu
|
||||
menutrans Spell\ Check\ &Off &Vypnout\ kontrolu\ pravopisu
|
||||
menutrans To\ &Next\ error<Tab>]s &Dal¹í\ chyba<Tab>]s
|
||||
menutrans To\ &Previous\ error<Tab>[s &Pøedchozí\ chyba<Tab>[s
|
||||
menutrans Suggest\ &Corrections<Tab>z= &Navrhnout\ opravy<Tab>z=
|
||||
|
||||
@@ -110,7 +110,7 @@ menutrans Build\ &Tags\ File &Vytvořit\ soubor\ tagů
|
||||
if has("spell")
|
||||
menutrans &Spelling &Kontrola\ pravopisu
|
||||
menutrans &Spell\ Check\ On &Zapnout\ kontrolu\ pravopisu
|
||||
menutrans Spell\ Check\ &Off &Vypnout \kontrolu\ pravopisu
|
||||
menutrans Spell\ Check\ &Off &Vypnout\ kontrolu\ pravopisu
|
||||
menutrans To\ &Next\ error<Tab>]s &Další\ chyba<Tab>]s
|
||||
menutrans To\ &Previous\ error<Tab>[s &Předchozí\ chyba<Tab>[s
|
||||
menutrans Suggest\ &Corrections<Tab>z= &Navrhnout\ opravy<Tab>z=
|
||||
|
||||
@@ -110,7 +110,7 @@ menutrans Build\ &Tags\ File &Vytvo
|
||||
if has("spell")
|
||||
menutrans &Spelling &Kontrola\ pravopisu
|
||||
menutrans &Spell\ Check\ On &Zapnout\ kontrolu\ pravopisu
|
||||
menutrans Spell\ Check\ &Off &Vypnout \kontrolu\ pravopisu
|
||||
menutrans Spell\ Check\ &Off &Vypnout\ kontrolu\ pravopisu
|
||||
menutrans To\ &Next\ error<Tab>]s &Další\ chyba<Tab>]s
|
||||
menutrans To\ &Previous\ error<Tab>[s &Pøedchozí\ chyba<Tab>[s
|
||||
menutrans Suggest\ &Corrections<Tab>z= &Navrhnout\ opravy<Tab>z=
|
||||
|
||||
@@ -110,7 +110,7 @@ menutrans Build\ &Tags\ File &Vytvorit\ soubor\ tagu
|
||||
if has("spell")
|
||||
menutrans &Spelling &Kontrola\ pravopisu
|
||||
menutrans &Spell\ Check\ On &Zapnout\ kontrolu\ pravopisu
|
||||
menutrans Spell\ Check\ &Off &Vypnout \kontrolu\ pravopisu
|
||||
menutrans Spell\ Check\ &Off &Vypnout\ kontrolu\ pravopisu
|
||||
menutrans To\ &Next\ error<Tab>]s &Dalsi\ chyba<Tab>]s
|
||||
menutrans To\ &Previous\ error<Tab>[s &Predchozi\ chyba<Tab>[s
|
||||
menutrans Suggest\ &Corrections<Tab>z= &Navrhnout\ opravy<Tab>z=
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Menu Translations: Danish
|
||||
" Maintainer: scootergrisen
|
||||
" Last Change: 2018 Aug 17
|
||||
" Last Change: 2020 Apr 23
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
if exists("did_menu_trans")
|
||||
@@ -390,7 +390,7 @@ menut Preview<tab>p Forhåndsvis<tab>p
|
||||
menut Edit\ File\ Hiding\ List<tab><ctrl-h> Rediger\ liste\ til\ filskjulning
|
||||
menut Edit\ Sorting\ Sequence<tab>S Rediger\ sorteringssekvens<tab>S
|
||||
menut Quick\ Hide/Unhide\ Dot\ Files<tab>gh Hurtig\ skjul/vis\ punktum-filer<tab>gh
|
||||
menut Refresh\ Listing<tab><ctrl-l> Genopfrisk\ oplistning<tab>\<c-l> ikke sikker det med \ er korrekt
|
||||
menut Refresh\ Listing<tab><ctrl-l> Genopfrisk\ oplistning<tab>\<c-l>\ ikke\ sikker\ det\ med\ er\ korrekt
|
||||
menut Settings/Options<tab>:NetrwSettings Indstillinger/valgmuligheder<tab>
|
||||
|
||||
menut Delete\ File/Directory<tab>D Slet\ fil/mappe<tab>D
|
||||
@@ -406,10 +406,10 @@ menut In\ New\ Vertical\ Window<tab>v I\ nyt\ lodret\ vindue<tab>v
|
||||
|
||||
menut Explore Gennemse
|
||||
menut Directory\ Name Mappenavn<tab>:Explore
|
||||
menut Filenames\ Matching\ Pattern\ (curdir\ only)<tab>:Explore\ */ test29<tab>:Explore */
|
||||
menut Filenames\ Matching\ Pattern\ (+subdirs)<tab>:Explore\ **/ test30<tab>:Explore **/
|
||||
menut Files\ Containing\ String\ Pattern\ (curdir\ only)<tab>:Explore\ *// test31<tab>:Explore *//
|
||||
menut Files\ Containing\ String\ Pattern\ (+subdirs)<tab>:Explore\ **// test32<tab>:Explore **//
|
||||
menut Filenames\ Matching\ Pattern\ (curdir\ only)<tab>:Explore\ */ test29<tab>:Explore\ */
|
||||
menut Filenames\ Matching\ Pattern\ (+subdirs)<tab>:Explore\ **/ test30<tab>:Explore\ **/
|
||||
menut Files\ Containing\ String\ Pattern\ (curdir\ only)<tab>:Explore\ *// test31<tab>:Explore\ *//
|
||||
menut Files\ Containing\ String\ Pattern\ (+subdirs)<tab>:Explore\ **// test32<tab>:Explore\ **//
|
||||
menut Next\ Match<tab>:Nexplore Næste\ match<tab>:Nexplore<cr>
|
||||
menut Prev\ Match<tab>:Pexplore Forrige\ match<tab>:Pexplore<cr>
|
||||
|
||||
|
||||
@@ -188,7 +188,7 @@ menutrans Set\ '&filetype'\ too Auch\ '&filetype'\ setzen
|
||||
menutrans &Off &Aus
|
||||
menutrans &Manual &Manuell
|
||||
menutrans A&utomatic A&utomatisch
|
||||
menutrans on/off\ for\ &This\ file An/Aus (diese\ &Datei)
|
||||
menutrans on/off\ for\ &This\ file An/Aus\ (diese\ &Datei)
|
||||
menutrans Co&lor\ test Test\ der\ Farben
|
||||
menutrans &Highlight\ test Test\ der\ Un&terstreichungen
|
||||
menutrans &Convert\ to\ HTML Konvertieren\ nach\ &HTML
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Menu Translations: Finnish
|
||||
" Maintainer: Flammie Pirinen <flammie@iki.fi>
|
||||
" Last Change: 2012 May 01
|
||||
" Last Change: 2020 Apr 23
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
if exists("did_menu_trans")
|
||||
@@ -70,7 +70,7 @@ menutrans &Context\ lines &Huomioitavat\ kontekstirivit
|
||||
" Subsubmenu:
|
||||
" Accels: ELSOA
|
||||
menutrans &Virtual\ Edit &Virtuaalimuokkaus
|
||||
menutrans Never &Ei koskaan
|
||||
menutrans Never &Ei\ koskaan
|
||||
menutrans Block\ Selection &Lohkovalinta
|
||||
menutrans Insert\ mode &Syöttötila
|
||||
menutrans Block\ and\ Insert L&ohkosyöttötila
|
||||
@@ -95,7 +95,7 @@ menutrans F&ile\ Settings Tiedostoasetu&kset
|
||||
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Rivi&numerointi<Tab>:set\ nu!
|
||||
menutrans Toggle\ &List\ Mode<Tab>:set\ list! &Listaustila<Tab>:set\ list!
|
||||
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! &Rivitys<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! &Sanoittainen rivitys<Tab>:set\ lbr!
|
||||
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! &Sanoittainen\ rivitys<Tab>:set\ lbr!
|
||||
menutrans Toggle\ &expand-tab<Tab>:set\ et! Muuta\ &tabit\ väleiksi<Tab>:set\ et!
|
||||
menutrans Toggle\ &auto-indent<Tab>:set\ ai! &Automaattinen\ sisennys<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-indenting<Tab>:set\ cin! &C-kielen\ sisennys<Tab>:set\ cin!
|
||||
@@ -111,7 +111,7 @@ let g:menutrans_fileformat_choices = " &Unix \n &Dos \n &Mac \n &Peru "
|
||||
|
||||
menutrans C&olor\ Scheme &Väriteema
|
||||
menutrans &Keymap &Näppäinkartta
|
||||
menutrans None Ei mikään
|
||||
menutrans None Ei\ mikään
|
||||
menutrans Select\ Fo&nt\.\.\. Valitse\ &fontti\.\.\.
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Menu Translations: Hungarian (Magyar)
|
||||
" Original Translation: Zoltán Árpádffy
|
||||
" Maintained By: Kontra Gergely <kgergely@mcl.hu>
|
||||
" Last Change: 2012 May 01
|
||||
" Last Change: 2020 Apr 23
|
||||
" I'm working on defining (unaccented) hotkeys for everything.
|
||||
" I want to remove y and z hotkeys, because on the hungarian keymap they're at
|
||||
" a differrent place.
|
||||
@@ -68,7 +68,7 @@ menutrans &Paste<Tab>"+gP &Beilleszt
|
||||
menutrans Put\ &Before<Tab>[p Berakás\ e&lé<Tab>[p
|
||||
menutrans Put\ &After<Tab>]p Berakás\ &mögé<Tab>]p
|
||||
menutrans &Delete<Tab>x &Törlés<Tab>x
|
||||
menutrans &Select\ all<Tab>ggVG A&z\ összes kijelölése<Tab>ggvG
|
||||
menutrans &Select\ all<Tab>ggVG A&z\ összes\ kijelölése<Tab>ggvG
|
||||
menutrans &Find\.\.\. Ke&resés\.\.\.
|
||||
menutrans Find\ and\ Rep&lace\.\.\. Keresés\ és\ c&sere\.\.\.
|
||||
menutrans Find\ and\ Rep&lace<Tab>:%s Keresés\ és\ c&sere<Tab>:%s
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Menu Translations: Hungarian (Magyar)
|
||||
" Original Translation: Zoltán Árpádffy
|
||||
" Maintained By: Kontra Gergely <kgergely@mcl.hu>
|
||||
" Last Change: 2012 May 01
|
||||
" Last Change: 2020 Apr 23
|
||||
"
|
||||
" This file was converted from menu_hu_hu.iso_8859-2.vim. See there for
|
||||
" remarks.
|
||||
@@ -52,7 +52,7 @@ menutrans &Paste<Tab>"+gP &Beillesztés<Tab>"+gP
|
||||
menutrans Put\ &Before<Tab>[p Berakás\ e&lé<Tab>[p
|
||||
menutrans Put\ &After<Tab>]p Berakás\ &mögé<Tab>]p
|
||||
menutrans &Delete<Tab>x &Törlés<Tab>x
|
||||
menutrans &Select\ all<Tab>ggVG A&z\ összes kijelölése<Tab>ggvG
|
||||
menutrans &Select\ all<Tab>ggVG A&z\ összes\ kijelölése<Tab>ggvG
|
||||
menutrans &Find\.\.\. Ke&resés\.\.\.
|
||||
menutrans Find\ and\ Rep&lace\.\.\. Keresés\ és\ c&sere\.\.\.
|
||||
menutrans Find\ and\ Rep&lace<Tab>:%s Keresés\ és\ c&sere<Tab>:%s
|
||||
|
||||
@@ -59,7 +59,7 @@ menutrans Startup\ &Settings R
|
||||
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Munsturauðkenning\ á\/af<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! Hunsa\ há-lágstafi\ á\/af<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Sýna\ Pörun á\/af<Tab>:set\ sm!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Sýna\ Pörun\ á\/af<Tab>:set\ sm!
|
||||
|
||||
menutrans &Context\ lines Samhengislínur
|
||||
|
||||
@@ -70,7 +70,7 @@ menutrans Insert\ mode Innskotshamur
|
||||
menutrans Block\ and\ Insert Bálkval\ og\ Innskotshamur
|
||||
menutrans Always Alltaf
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Innskotshamur\ á\/af<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! Vi\ Samhæfanleiki á\/af<Tab>:set\ cp!
|
||||
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! Vi\ Samhæfanleiki\ á\/af<Tab>:set\ cp!
|
||||
|
||||
menutrans Search\ &Path\.\.\. Leita\ í\ Slóð\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Merkja\ Skrár\.\.\.
|
||||
@@ -90,7 +90,7 @@ menutrans Toggle\ &List\ Mode<Tab>:set\ list! Listahamur\
|
||||
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! Línuhlaup\ á\/af<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! Línuhlaup\ á\ orði\ á\/af<Tab>:set\ lbr!
|
||||
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! Tab-víkkun\ á\/af<Tab>:set\ et!
|
||||
menutrans Toggle\ &Auto Indenting<Tab>:set\ ai! Sjálfvirkur\ Inndráttur\ á\/af<Tab>:set\ ai!
|
||||
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! Sjálfvirkur\ Inndráttur\ á\/af<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! C-Inndráttur\ á\/af<Tab>:set\ cin!
|
||||
|
||||
" other options
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
" Maintainer: Antonio Colombo <azc100@gmail.com>
|
||||
" Vlad Sandrini <vlad.gently@gmail.com>
|
||||
" Luciano Montanaro <mikelima@cirulla.net>
|
||||
" Last Change: 2018 May 16
|
||||
" Last Change: 2020 Apr 23
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
if exists("did_menu_trans")
|
||||
@@ -116,8 +116,8 @@ menut Toggle\ &List\ Mode<Tab>:set\ list! Modo\ &List\ S
|
||||
menut Toggle\ Line\ &Wrapping<Tab>:set\ wrap! Linee\ &Continuate\ Sì/No<Tab>:set\ wrap!
|
||||
menut Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! A\ capo\ alla\ &Parola\ Sì/No<Tab>:set\ lbr!
|
||||
menut Toggle\ Tab\ &expanding<Tab>:set\ et! &Espandi\ Tabulazione\ Sì/No<Tab>:set\ et!
|
||||
menut Toggle\ &Auto\ Indenting<Tab>:set\ ai! Indentazione\ &Automatica\ Sì/No<Tab>:set ai!
|
||||
menut Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Indentazione\ stile\ &C\ Sì/No<Tab>:set cin!
|
||||
menut Toggle\ &Auto\ Indenting<Tab>:set\ ai! Indentazione\ &Automatica\ Sì/No<Tab>:set\ ai!
|
||||
menut Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Indentazione\ stile\ &C\ Sì/No<Tab>:set\ cin!
|
||||
" -SEP2-
|
||||
menut &Shiftwidth &Spazi\ rientranza
|
||||
"menut &Shiftwidth.2<Tab>:set\ sw=2\ sw?<CR> &Spazi\ rientranza.2<Tab>:set\ sw=2\ sw?<CR>
|
||||
@@ -360,8 +360,8 @@ menut Copy Copia
|
||||
menut Paste Incolla
|
||||
" -sep3-
|
||||
menut Find Cerca
|
||||
menut FindNext Cerca Successivo
|
||||
menut FindPrev Cerca Precedente
|
||||
menut FindNext Cerca\ Successivo
|
||||
menut FindPrev Cerca\ Precedente
|
||||
menut Replace Sostituisci
|
||||
" -sep4-
|
||||
menut New Nuova\ finestra
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Menu Translations: Norwegian / Norsk (Bokmål)
|
||||
" Maintainer: Øyvind A. Holm <sunny@sunbase.org>
|
||||
" Last Change: 2012 May 01
|
||||
" Last Change: 2020 Apr 23
|
||||
" menu_no_no.latin1.vim 289 2004-05-16 18:00:52Z sunny
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
@@ -46,7 +46,7 @@ menutrans &Edit &Rediger
|
||||
menutrans Settings\ &Window &Innstillinger
|
||||
menutrans &Global\ Settings Glo&bale\ innstillinger
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! &Utheving\ av\ søketekst\ av/på<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! &Forskjell\ mellom\ store/små bokstaver\ av/på<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! &Forskjell\ mellom\ store/små\ bokstaver\ av/på<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! &Indikering\ av\ samsvarende\ parentes\ av/på<Tab>:set\ sm!
|
||||
menutrans &Context\ lines &Kontekstlinjer
|
||||
menutrans &Virtual\ Edit Vi&rtuell\ redigering
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Menu Translations: Português do Brasil
|
||||
" Maintainer: José de Paula <jose@infoviaweb.com>
|
||||
" Last Change: 2012 May 01
|
||||
" Last Change: 2020 Apr 23
|
||||
"
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
@@ -101,9 +101,9 @@ menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Ativar/Desativar\ &numera
|
||||
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Ativar/Desativar\ modo\ &list<Tab>:set\ list!
|
||||
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Ativar/Desativar\ &quebra\ de\ linhas<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Ativar/Desativar\ quebra\ na\ &palavra<Tab>:set\ lbr!
|
||||
menutrans Toggle\ &expand-tab<Tab>:set\ et! Ativar/Desativar\ expansão de tabs<Tab>:set\ et!
|
||||
menutrans Toggle\ &expand-tab<Tab>:set\ et! Ativar/Desativar\ expansão\ de\ tabs<Tab>:set\ et!
|
||||
menutrans Toggle\ &auto-indent<Tab>:set\ ai! Ativar/Desativar\ &auto-indentação<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-indenting<Tab>:set\ cin! Ativar/Desativar\ indentação estilo &C<Tab>:set\ cin!
|
||||
menutrans Toggle\ &C-indenting<Tab>:set\ cin! Ativar/Desativar\ indentação\ estilo\ &C<Tab>:set\ cin!
|
||||
|
||||
" other options
|
||||
menutrans &Shiftwidth Largura\ da\ &indentação
|
||||
@@ -144,12 +144,12 @@ menutrans &Convert\ to\ HEX<Tab>:%!xxd Converter\ para\ hexadecimal<Tab>:%!xxd
|
||||
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Conver&ter\ de\ volta<Tab>:%!xxd\ -r
|
||||
|
||||
" Tools.Spelling menu
|
||||
menutrans &Spell Check On &Ativar Correção Ortográfica
|
||||
menutrans &Spell Check Off &Desativar Correção Ortográfica
|
||||
menutrans To &Next error<Tab>]s &Próximo Erro<Tab>]s
|
||||
menutrans To &Previous Error<Tab>[s Erro A&nterior<Tab>[s
|
||||
menutrans Suggest &Corrections<Tab>z= &Sugerir Correções<Tab>z=
|
||||
menutrans &Repeat correction<Tab>:spellrepall &Repetir Correção<Tab>:spellrepall
|
||||
menutrans &Spell\ Check\ On &Ativar\ Correção\ Ortográfica
|
||||
menutrans &Spell\ Check\ Off &Desativar\ Correção\ Ortográfica
|
||||
menutrans To\ &Next\ error<Tab>]s &Próximo\ Erro<Tab>]s
|
||||
menutrans To\ &Previous\ Error<Tab>[s Erro\ A&nterior<Tab>[s
|
||||
menutrans Suggest\ &Corrections<Tab>z= &Sugerir\ Correções<Tab>z=
|
||||
menutrans &Repeat\ correction<Tab>:spellrepall &Repetir\ Correção<Tab>:spellrepall
|
||||
|
||||
menutrans Set\ language\ to\ "en" Inglês
|
||||
menutrans Set\ language\ to\ "en_au" Inglês\ (en_au)
|
||||
@@ -158,7 +158,7 @@ menutrans Set\ language\ to\ "en_gb" Ingl
|
||||
menutrans Set\ language\ to\ "en_nz" Inglês\ (en_nz)
|
||||
menutrans Set\ language\ to\ "en_us" Inglês\ (en_us)
|
||||
|
||||
menutrans &Find\ More\ Languages &Buscar mais idiomas
|
||||
menutrans &Find\ More\ Languages &Buscar\ mais\ idiomas
|
||||
|
||||
" Tools.Fold Menu
|
||||
menutrans &Enable/Disable\ folds<Tab>zi &Ativar/Desativar\ dobras<Tab>zi
|
||||
|
||||
@@ -98,9 +98,9 @@ menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Activar/Desactivar\ &numera
|
||||
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Activar/Desactivar\ modo\ &list<Tab>:set\ list!
|
||||
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Activar/Desactivar\ &quebra\ de\ linhas<Tab>:set\ wrap!
|
||||
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Activar/Desactivar\ quebra\ na\ &palavra<Tab>:set\ lbr!
|
||||
menutrans Toggle\ &expand-tab<Tab>:set\ et! Activar/Desactivar\ expansão de tabs<Tab>:set\ et!
|
||||
menutrans Toggle\ &expand-tab<Tab>:set\ et! Activar/Desactivar\ expansão\ de\ tabs<Tab>:set\ et!
|
||||
menutrans Toggle\ &auto-indent<Tab>:set\ ai! Activar/Desactivar\ &auto-indentação<Tab>:set\ ai!
|
||||
menutrans Toggle\ &C-indenting<Tab>:set\ cin! Activar/Desactivar\ indentação estilo &C<Tab>:set\ cin!
|
||||
menutrans Toggle\ &C-indenting<Tab>:set\ cin! Activar/Desactivar\ indentação\ estilo\ &C<Tab>:set\ cin!
|
||||
|
||||
" other options
|
||||
menutrans &Shiftwidth Largura\ da\ &indentação
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Menu Translations: Slovak
|
||||
" Translated By: Martin Lacko <lacko@host.sk>
|
||||
" Last Change: 2012 May 01
|
||||
" Last Change: 2020 Apr 23
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
if exists("did_menu_trans")
|
||||
@@ -53,12 +53,12 @@ menutrans &Delete<Tab>x Vy&maza
|
||||
menutrans &Find\.\.\. &Nájs»\.\.\.
|
||||
menutrans Find\ and\ Rep&lace\.\.\. N&ahradi»\.\.\.
|
||||
menutrans Settings\ &Window Mo&¾nosti
|
||||
menutrans &Global\ Settings &Globálne mo¾nosti
|
||||
menutrans &Global\ Settings &Globálne\ mo¾nosti
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Prepnú»\ paletu\ zvýrazòovania<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Prepnú»\ &ignorovanie veµkosti<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Prepnú»\ &ignorovanie\ veµkosti<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Prepnú»\ &ukáza»\ zhodu<Tab>:set\ sm!
|
||||
menutrans &Context\ lines &Kontextové\ riadky
|
||||
menutrans &Virtual\ Edit &Virtuálne úpravy
|
||||
menutrans &Virtual\ Edit &Virtuálne\ úpravy
|
||||
menutrans Never Nikdy
|
||||
menutrans Block\ Selection Blokový\ výber
|
||||
menutrans Insert\ mode Re¾im\ vkladania
|
||||
@@ -67,7 +67,7 @@ menutrans Always V
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Prepnú»\ re¾i&m\ vkladania<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Prepnú»\ vi\ kompatibilitu<Tab>:set\ cp!
|
||||
menutrans Search\ &Path\.\.\. Cesta\ &hµadania\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Ta&gové súbory\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Ta&gové\ súbory\.\.\.
|
||||
menutrans Toggle\ &Toolbar Prepnú»\ &panel
|
||||
menutrans Toggle\ &Bottom\ Scrollbar Prepnú»\ spodný\ posuvník
|
||||
menutrans Toggle\ &Left\ Scrollbar Prepnú»\ µavý\ posuvník
|
||||
@@ -95,7 +95,7 @@ menutrans &Folding &Vn
|
||||
menutrans &Enable/Disable\ folds<Tab>zi Zapnú»/Vypnú»\ vnárani&e<Tab>zi
|
||||
menutrans &View\ Cursor\ Line<Tab>zv Zobrazi»\ kurzoro&vý\ riadok<Tab>zv
|
||||
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Zobrazi»\ iba\ kurzorový\ riadok<Tab>zMzx
|
||||
menutrans C&lose\ more\ folds<Tab>zm Zatvori»\ viac \vnorení<Tab>zm
|
||||
menutrans C&lose\ more\ folds<Tab>zm Zatvori»\ viac\ vnorení<Tab>zm
|
||||
menutrans &Close\ all\ folds<Tab>zM Zatvor&i»\ v¹etky\ vnorenia<Tab>zM
|
||||
menutrans O&pen\ more\ folds<Tab>zr O&tvori»\ viac\ vnorení<Tab>zr
|
||||
menutrans &Open\ all\ folds<Tab>zR &Otvori»\ v¹etky\ vnorenia<Tab>zR
|
||||
@@ -139,7 +139,7 @@ menutrans &Delete Vymaza
|
||||
menutrans &Alternate Zmeni»
|
||||
menutrans &Next Ï&al¹ia
|
||||
menutrans &Previous &Predchádzajúca
|
||||
menutrans [No File] [®iadny\ súbor]
|
||||
menutrans [No\ File] [®iadny\ súbor]
|
||||
|
||||
" Window menu
|
||||
menutrans &Window &Okná
|
||||
@@ -161,7 +161,7 @@ menutrans &Equal\ Size<Tab>^W= Rovnak
|
||||
menutrans &Max\ Height<Tab>^W_ &Maximálna\ vý¹ka<Tab>^W_
|
||||
menutrans M&in\ Height<Tab>^W1_ Minimálna\ vý&¹ka<Tab>^W1_
|
||||
menutrans Max\ &Width<Tab>^W\| Maximálna\ ¹írka<Tab>^W\|
|
||||
menutrans Min\ Widt&h<Tab>^W1\| Minimálna ¹irka<Tab>^W1\|
|
||||
menutrans Min\ Widt&h<Tab>^W1\| Minimálna\ ¹irka<Tab>^W1\|
|
||||
menutrans Rotate\ &Up<Tab>^WR Rotova&»\ nahor<Tab>^WR
|
||||
menutrans Rotate\ &Down<Tab>^Wr Rotova»\ na&dol<Tab>^Wr
|
||||
menutrans Select\ Fo&nt\.\.\. Vy&bra»\ písmo\.\.\.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Menu Translations: Slovenian / Slovensko
|
||||
" Maintainer: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
|
||||
" Originally By: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
|
||||
" Last Change: 2016 Oct 17
|
||||
" Last Change: 2020 Apr 23
|
||||
" vim:set foldmethod=marker tabstop=8:
|
||||
|
||||
" TODO: add/check all '&'s
|
||||
@@ -52,7 +52,7 @@ menutrans Find\ and\ Rep&lace\.\.\. Poi
|
||||
|
||||
" [-- SETTINGS --]
|
||||
menutrans Settings\ &Window Nastavitve\ \.\.\.
|
||||
menutrans Startup\ &Settings Zaèetne nastavitve
|
||||
menutrans Startup\ &Settings Zaèetne\ nastavitve
|
||||
menutrans &Global\ Settings &Globalne\ nastavitve
|
||||
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Vkljuèi/izkljuèi\ poudarjanje\ iskanega\ niza<Tab>:set\ hls!
|
||||
@@ -92,7 +92,7 @@ menutrans Toggle\ &C-indenting<Tab>:set\ cin! Vklju
|
||||
|
||||
" other options
|
||||
menutrans &Shiftwidth ©irina\ zamika\ vrstic
|
||||
menutrans Soft\ &Tabstop ©irina &tabulatorja
|
||||
menutrans Soft\ &Tabstop ©irina\ &tabulatorja
|
||||
menutrans Te&xt\ Width\.\.\. ©irina\ besedila\ \.\.\.
|
||||
menutrans &File\ Format\.\.\. Format\ &datoteke\ \.\.\.
|
||||
menutrans C&olor\ Scheme &Barvna\ shema\ \.\.\.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Menu Translations: Slovak
|
||||
" Translated By: Martin Lacko <lacko@host.sk>
|
||||
" Last Change: 2012 May 01
|
||||
" Last Change: 2020 Apr 23
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
if exists("did_menu_trans")
|
||||
@@ -53,12 +53,12 @@ menutrans &Delete<Tab>x Vy&maza
|
||||
menutrans &Find\.\.\. &Nájs<EFBFBD>\.\.\.
|
||||
menutrans Find\ and\ Rep&lace\.\.\. N&ahradi<EFBFBD>\.\.\.
|
||||
menutrans Settings\ &Window Mo&žnosti
|
||||
menutrans &Global\ Settings &Globálne možnosti
|
||||
menutrans &Global\ Settings &Globálne\ možnosti
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Prepnú<EFBFBD>\ paletu\ zvýrazòovania<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Prepnú<EFBFBD>\ &ignorovanie ve¾kosti<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Prepnú<EFBFBD>\ &ignorovanie\ ve¾kosti<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Prepnú<EFBFBD>\ &ukáza<EFBFBD>\ zhodu<Tab>:set\ sm!
|
||||
menutrans &Context\ lines &Kontextové\ riadky
|
||||
menutrans &Virtual\ Edit &Virtuálne úpravy
|
||||
menutrans &Virtual\ Edit &Virtuálne\ úpravy
|
||||
menutrans Never Nikdy
|
||||
menutrans Block\ Selection Blokový\ výber
|
||||
menutrans Insert\ mode Režim\ vkladania
|
||||
@@ -67,7 +67,7 @@ menutrans Always V
|
||||
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Prepnú<EFBFBD>\ reži&m\ vkladania<Tab>:set\ im!
|
||||
menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Prepnú<EFBFBD>\ vi\ kompatibilitu<Tab>:set\ cp!
|
||||
menutrans Search\ &Path\.\.\. Cesta\ &h¾adania\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Ta&gové súbory\.\.\.
|
||||
menutrans Ta&g\ Files\.\.\. Ta&gové\ súbory\.\.\.
|
||||
menutrans Toggle\ &Toolbar Prepnú<EFBFBD>\ &panel
|
||||
menutrans Toggle\ &Bottom\ Scrollbar Prepnú<EFBFBD>\ spodný\ posuvník
|
||||
menutrans Toggle\ &Left\ Scrollbar Prepnú<EFBFBD>\ ¾avý\ posuvník
|
||||
@@ -95,7 +95,7 @@ menutrans &Folding &Vn
|
||||
menutrans &Enable/Disable\ folds<Tab>zi Zapnú<6E>/Vypnú<EFBFBD>\ vnárani&e<Tab>zi
|
||||
menutrans &View\ Cursor\ Line<Tab>zv Zobrazi<EFBFBD>\ kurzoro&vý\ riadok<Tab>zv
|
||||
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Zobrazi<EFBFBD>\ iba\ kurzorový\ riadok<Tab>zMzx
|
||||
menutrans C&lose\ more\ folds<Tab>zm Zatvori<EFBFBD>\ viac \vnorení<Tab>zm
|
||||
menutrans C&lose\ more\ folds<Tab>zm Zatvori<EFBFBD>\ viac\ vnorení<Tab>zm
|
||||
menutrans &Close\ all\ folds<Tab>zM Zatvor&i<EFBFBD>\ všetky\ vnorenia<Tab>zM
|
||||
menutrans O&pen\ more\ folds<Tab>zr O&tvori<EFBFBD>\ viac\ vnorení<Tab>zr
|
||||
menutrans &Open\ all\ folds<Tab>zR &Otvori<EFBFBD>\ všetky\ vnorenia<Tab>zR
|
||||
@@ -139,7 +139,7 @@ menutrans &Delete Vymaza
|
||||
menutrans &Alternate Zmeni<EFBFBD>
|
||||
menutrans &Next Ï&alšia
|
||||
menutrans &Previous &Predchádzajúca
|
||||
menutrans [No File] [Žiadny\ súbor]
|
||||
menutrans [No\ File] [Žiadny\ súbor]
|
||||
|
||||
" Window menu
|
||||
menutrans &Window &Okná
|
||||
@@ -161,7 +161,7 @@ menutrans &Equal\ Size<Tab>^W= Rovnak
|
||||
menutrans &Max\ Height<Tab>^W_ &Maximálna\ výška<Tab>^W_
|
||||
menutrans M&in\ Height<Tab>^W1_ Minimálna\ vý&ška<Tab>^W1_
|
||||
menutrans Max\ &Width<Tab>^W\| Maximálna\ šírka<Tab>^W\|
|
||||
menutrans Min\ Widt&h<Tab>^W1\| Minimálna širka<Tab>^W1\|
|
||||
menutrans Min\ Widt&h<Tab>^W1\| Minimálna\ širka<Tab>^W1\|
|
||||
menutrans Rotate\ &Up<Tab>^WR Rotova&<26>\ nahor<Tab>^WR
|
||||
menutrans Rotate\ &Down<Tab>^Wr Rotova<EFBFBD>\ na&dol<Tab>^Wr
|
||||
menutrans Select\ Fo&nt\.\.\. Vy&bra<EFBFBD>\ písmo\.\.\.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Menu Translations: Swedish
|
||||
" Maintainer: Johan Svedberg <johan@svedberg.com>
|
||||
" Last Change: 2012 May 01
|
||||
" Last Change: 2020 Apr 22
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
if exists("did_menu_trans")
|
||||
@@ -51,7 +51,7 @@ menutrans &Redo<Tab>^R &G
|
||||
menutrans Rep&eat<Tab>\. &Repetera<Tab>\.
|
||||
menutrans Cu&t<Tab>"+x Klipp\ &ut<Tab>"+x
|
||||
menutrans &Copy<Tab>"+y &Kopiera<Tab>"+y
|
||||
menutrans &Paste<Tab>"+gP Klistra &in<Tab>"+gP
|
||||
menutrans &Paste<Tab>"+gP Klistra\ &in<Tab>"+gP
|
||||
menutrans Put\ &Before<Tab>[p Sätt\ in\ &före<Tab>[p
|
||||
menutrans Put\ &After<Tab>]p Sätt\ in\ &efter<Tab>]p
|
||||
menutrans &Select\ All<Tab>ggVG &Markera\ allt<Tab>ggVG
|
||||
|
||||
@@ -11,19 +11,19 @@ set cpo&vim
|
||||
scriptencoding cp1254
|
||||
|
||||
" Top
|
||||
menutrans &File &Dosya
|
||||
menutrans &Edit Dü&zen
|
||||
menutrans &File &Dosya
|
||||
menutrans &Edit Dü&zen
|
||||
menutrans &Tools &Araçlar
|
||||
menutrans &Syntax &Sözdizim
|
||||
menutrans &Buffers A&rabellekler
|
||||
menutrans &Window &Pencere
|
||||
menutrans &Help &Yardým
|
||||
menutrans &Help &Yardým
|
||||
|
||||
" Help menu
|
||||
menutrans &Overview<Tab><F1> &Genel\ Bakýþ<Tab><F1>
|
||||
menutrans &User\ Manual &Kullaným\ Kýlavuzu
|
||||
menutrans &User\ Manual &Kullaným\ Kýlavuzu
|
||||
menutrans &How-To\ Links &Nasýl\ Yapýlýr?
|
||||
menutrans &Find\.\.\. &Bul\.\.\.
|
||||
menutrans &Find\.\.\. &Bul\.\.\.
|
||||
"--------------------
|
||||
menutrans &Credits &Teþekkürler
|
||||
menutrans Co&pying &Daðýtým
|
||||
@@ -37,38 +37,38 @@ menutrans &About &Hakk
|
||||
menutrans &Open\.\.\.<Tab>:e &Aç\.\.\.<Tab>:e
|
||||
menutrans Sp&lit-Open\.\.\.<Tab>:sp &Yeni\ Bölümde\ Aç\.\.\.<Tab>:sp
|
||||
menutrans Open\ Tab\.\.\.<Tab>:tabnew S&ekme\ Aç\.\.\.<Tab>:tabnew
|
||||
menutrans &New<Tab>:enew Yeni\ &Sekme<Tab>:enew
|
||||
menutrans &New<Tab>:enew Yeni\ &Sekme<Tab>:enew
|
||||
menutrans &Close<Tab>:close Ka&pat<Tab>:close
|
||||
"--------------------
|
||||
menutrans &Save<Tab>:w Kayde&t<Tab>:w
|
||||
menutrans Save\ &As\.\.\.<Tab>:sav &Farklý Kaydet\.\.\.<Tab>:sav
|
||||
menutrans Save\ &As\.\.\.<Tab>:sav &Farklý\ Kaydet\.\.\.<Tab>:sav
|
||||
"--------------------
|
||||
menutrans Split\ &Diff\ With\.\.\. Ka&rþýlaþtýr\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. Ya&malar\ Dahil\ Karþýlaþtýr\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. Ya&ma\ Ýle\ Karþýlaþtýr\.\.\.
|
||||
"--------------------
|
||||
menutrans &Print Ya&zdýr
|
||||
menutrans Sa&ve-Exit<Tab>:wqa Kaydet\ &ve Çýk<Tab>:wqa
|
||||
menutrans Sa&ve-Exit<Tab>:wqa Kaydet\ &ve\ Çýk<Tab>:wqa
|
||||
menutrans E&xit<Tab>:qa Çý&k<Tab>:qa
|
||||
|
||||
" Edit menu
|
||||
menutrans &Undo<Tab>u &Geri\ Al<Tab>u
|
||||
menutrans &Redo<Tab>^R &Yinele<Tab>^R
|
||||
menutrans Rep&eat<Tab>\. Son\ Komutu\ Y&inele<Tab>\.
|
||||
menutrans &Undo<Tab>u &Geri\ Al<Tab>u
|
||||
menutrans &Redo<Tab>^R &Yinele<Tab>^R
|
||||
menutrans Rep&eat<Tab>\. Son\ Komutu\ Y&inele<Tab>\.
|
||||
"--------------------
|
||||
menutrans Cu&t<Tab>"+x &Kes<Tab>"+x
|
||||
menutrans &Copy<Tab>"+y K&opyala<Tab>"+y
|
||||
menutrans &Paste<Tab>"+gP Ya&pýþtýr<Tab>"+gP
|
||||
menutrans Put\ &Before<Tab>[p Ö&nüne Koy<Tab>[p
|
||||
menutrans Put\ &After<Tab>]p A&rkasýna Koy<Tab>]p
|
||||
menutrans &Delete<Tab>x Si&l<Tab>x
|
||||
menutrans Cu&t<Tab>"+x &Kes<Tab>"+x
|
||||
menutrans &Copy<Tab>"+y K&opyala<Tab>"+y
|
||||
menutrans &Paste<Tab>"+gP Ya&pýþtýr<Tab>"+gP
|
||||
menutrans Put\ &Before<Tab>[p Ö&nüne\ Koy<Tab>[p
|
||||
menutrans Put\ &After<Tab>]p A&rkasýna\ Koy<Tab>]p
|
||||
menutrans &Delete<Tab>x Si&l<Tab>x
|
||||
menutrans &Select\ All<Tab>ggVG Tü&münü\ Seç<Tab>ggVG
|
||||
"--------------------
|
||||
" Athena GUI only
|
||||
menutrans &Find<Tab>/ &Bul<Tab>/
|
||||
menutrans Find\ and\ Rep&lace<Tab>:%s Bul\ &ve\ Deðiþtir<Tab>:%s
|
||||
menutrans &Find<Tab>/ &Bul<Tab>/
|
||||
menutrans Find\ and\ Rep&lace<Tab>:%s Bul\ &ve\ Deðiþtir<Tab>:%s
|
||||
" End Athena GUI only
|
||||
menutrans &Find\.\.\.<Tab>/ &Bul\.\.\.<Tab>/
|
||||
menutrans Find\ and\ Rep&lace\.\.\. Bul\ ve\ &Deðiþtir\.\.\.
|
||||
menutrans &Find\.\.\.<Tab>/ &Bul\.\.\.<Tab>/
|
||||
menutrans Find\ and\ Rep&lace\.\.\. Bul\ ve\ &Deðiþtir\.\.\.
|
||||
menutrans Find\ and\ Rep&lace\.\.\.<Tab>:%s Bul\ ve\ &Deðiþtir\.\.\.<Tab>:%s
|
||||
menutrans Find\ and\ Rep&lace\.\.\.<Tab>:s Bul\ ve\ &Deðiþtir\.\.\.<Tab>:s
|
||||
"--------------------
|
||||
@@ -78,11 +78,11 @@ menutrans &Global\ Settings Ge&nel\ Ayarlar
|
||||
menutrans F&ile\ Settings &Dosya\ Ayarlarý
|
||||
menutrans C&olor\ Scheme &Renk\ Düzeni
|
||||
menutrans &Keymap Düðme\ &Eþlem
|
||||
menutrans Select\ Fo&nt\.\.\. Ya&zýtipi Seç\.\.\.
|
||||
menutrans Select\ Fo&nt\.\.\. Ya&zýtipi\ Seç\.\.\.
|
||||
|
||||
">>>----------------- Edit/Global settings
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Dizgi\ &Vurgulamasýný\ Aç/Kapat<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! BÜYÜK/küçük\ Harf\ &Duyarlý\ Aç/Kapat<Tab>:set\ ic!
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Dizgi\ &Vurgulamasýný\ Aç/Kapat<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! BÜYÜK/küçük\ Harf\ &Duyarlý\ Aç/Kapat<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Eþ&leþen\ Ýkilileri\ Aç/Kapat<Tab>:set\ sm!
|
||||
menutrans &Context\ Lines Ý&mleçle\ Oynayan\ Satýrlar
|
||||
menutrans &Virtual\ Edit &Sanal\ Düzenleme
|
||||
@@ -97,11 +97,11 @@ menutrans Toggle\ &Left\ Scrollbar &Sol\ Kayd
|
||||
menutrans Toggle\ &Right\ Scrollbar S&að\ Kaydýrma\ Çubuðunu\ Aç/Kapat
|
||||
|
||||
">>>->>>------------- Edit/Global settings/Virtual edit
|
||||
menutrans Never Kapalý
|
||||
menutrans Never Kapalý
|
||||
menutrans Block\ Selection Blok\ Seçimi
|
||||
menutrans Insert\ Mode Ekleme\ Kipi
|
||||
menutrans Block\ and\ Insert Blok\ Seçiminde\ ve\ Ekleme\ Kipinde
|
||||
menutrans Always Her\ Zaman\ Açýk
|
||||
menutrans Always Her\ Zaman\ Açýk
|
||||
">>>----------------- Edit/File settings
|
||||
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! &Satýr\ Numaralandýrmayý\ Aç/Kapat<Tab>:set\ nu!
|
||||
menutrans Toggle\ Relati&ve\ Line\ Numbering<Tab>:set\ rnu! &Göreceli\ Satýr\ Numaralandýrmayý\ Aç/Kapat<Tab>:set\ nru!
|
||||
@@ -124,10 +124,10 @@ menutrans Build\ &Tags\ File &Etiket\ Dosyas
|
||||
"-------------------
|
||||
menutrans &Folding &Kývýrmalar
|
||||
menutrans &Spelling &Yazým\ Denetimi
|
||||
menutrans &Diff &Ayrýmlar\ (diff)
|
||||
menutrans &Diff K&arþýlaþtýrma\ (diff)
|
||||
"-------------------
|
||||
menutrans &Make<Tab>:make &Derle<Tab>:make
|
||||
menutrans &List\ Errors<Tab>:cl &Hatalarý\ Listele<Tab>:cl
|
||||
menutrans &List\ Errors<Tab>:cl &Hatalarý\ Listele<Tab>:cl
|
||||
menutrans L&ist\ Messages<Tab>:cl! Ý&letileri\ Listele<Tab>:cl!
|
||||
menutrans &Next\ Error<Tab>:cn Bir\ &Sonraki\ Hata<Tab>:cn
|
||||
menutrans &Previous\ Error<Tab>:cp Bir\ Ö&nceki\ Hata<Tab>:cp
|
||||
@@ -137,8 +137,8 @@ menutrans Error\ &Window Hatalar\ &Penceresi
|
||||
menutrans Se&t\ Compiler De&rleyici\ Seç
|
||||
menutrans Show\ Compiler\ Se&ttings\ in\ Menu Derleyici\ Ayarlarýný\ Menüde\ &Göster
|
||||
"-------------------
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd HEX'e\ Dö&nüþtür<Tab>:%!xxd
|
||||
menutrans Conve&rt\ Back<Tab>:%!xxd\ -r HEX'&ten\ Dönüþtür<Tab>:%!xxd\ -r
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd HEX'e\ Dö&nüþtür<Tab>:%!xxd
|
||||
menutrans Conve&rt\ Back<Tab>:%!xxd\ -r HEX'&ten\ Dönüþtür<Tab>:%!xxd\ -r
|
||||
">>>---------------- Tools/Spelling
|
||||
menutrans &Spell\ Check\ On Yazým\ Denetimini\ &Aç
|
||||
menutrans Spell\ Check\ &Off Yazým\ Denetimini\ &Kapat
|
||||
@@ -191,7 +191,7 @@ menutrans &Open<Tab>:copen &A
|
||||
" Syntax menu
|
||||
menutrans &Show\ File\ Types\ in\ Menu Dosya\ Türlerini\ Menüde\ &Göster
|
||||
menutrans Set\ '&syntax'\ only Yalnýzca\ 'syntax'\ &Ayarla
|
||||
menutrans Set\ '&filetype'\ too 'filetype'\ Ýçin\ &de\ Ayarla
|
||||
menutrans Set\ '&filetype'\ too 'filetype'\ Ýçin\ &de\ Ayarla
|
||||
menutrans &Off &Kapat
|
||||
menutrans &Manual &El\ Ýle
|
||||
menutrans A&utomatic &Otomatik
|
||||
@@ -204,7 +204,7 @@ menutrans &Convert\ to\ HTML &HTML'ye\ D
|
||||
menutrans &Refresh\ menu &Menüyü\ Güncelle
|
||||
menutrans Delete &Sil
|
||||
menutrans &Alternate Ö&teki
|
||||
menutrans &Next So&nraki
|
||||
menutrans &Next So&nraki
|
||||
menutrans &Previous Ön&ceki
|
||||
menutrans [No\ File] [Dosya\ Yok]
|
||||
|
||||
@@ -235,16 +235,16 @@ menutrans &Left\ Side<Tab>^WH So&la<Tab>^WH
|
||||
menutrans &Right\ Side<Tab>^WL &Saða<Tab>^WL
|
||||
|
||||
" The popup menu
|
||||
menutrans &Undo &Geri\ Al
|
||||
menutrans &Undo &Geri\ Al
|
||||
menutrans Cu&t &Kes
|
||||
menutrans &Copy K&opyala
|
||||
menutrans &Copy K&opyala
|
||||
menutrans &Paste &Yapýþtýr
|
||||
menutrans &Delete &Sil
|
||||
menutrans Select\ Blockwise &Blok\ Biçiminde\ Seç
|
||||
menutrans Select\ &Word Sö&zcük\ Seç
|
||||
menutrans Select\ &Word Sö&zcük\ Seç
|
||||
menutrans Select\ &Sentence &Tümce\ Seç
|
||||
menutrans Select\ Pa&ragraph &Paragraf\ Seç
|
||||
menutrans Select\ &Line S&atýr\ Seç
|
||||
menutrans Select\ &Line S&atýr\ Seç
|
||||
menutrans Select\ &Block Bl&ok\ Seç
|
||||
menutrans Select\ &All Tümü&nü\ Seç
|
||||
|
||||
|
||||
@@ -11,19 +11,19 @@ set cpo&vim
|
||||
scriptencoding iso-8859-9
|
||||
|
||||
" Top
|
||||
menutrans &File &Dosya
|
||||
menutrans &Edit Dü&zen
|
||||
menutrans &File &Dosya
|
||||
menutrans &Edit Dü&zen
|
||||
menutrans &Tools &Araçlar
|
||||
menutrans &Syntax &Sözdizim
|
||||
menutrans &Buffers A&rabellekler
|
||||
menutrans &Window &Pencere
|
||||
menutrans &Help &Yardým
|
||||
menutrans &Help &Yardým
|
||||
|
||||
" Help menu
|
||||
menutrans &Overview<Tab><F1> &Genel\ Bakýþ<Tab><F1>
|
||||
menutrans &User\ Manual &Kullaným\ Kýlavuzu
|
||||
menutrans &User\ Manual &Kullaným\ Kýlavuzu
|
||||
menutrans &How-To\ Links &Nasýl\ Yapýlýr?
|
||||
menutrans &Find\.\.\. &Bul\.\.\.
|
||||
menutrans &Find\.\.\. &Bul\.\.\.
|
||||
"--------------------
|
||||
menutrans &Credits &Teþekkürler
|
||||
menutrans Co&pying &Daðýtým
|
||||
@@ -37,38 +37,38 @@ menutrans &About &Hakk
|
||||
menutrans &Open\.\.\.<Tab>:e &Aç\.\.\.<Tab>:e
|
||||
menutrans Sp&lit-Open\.\.\.<Tab>:sp &Yeni\ Bölümde\ Aç\.\.\.<Tab>:sp
|
||||
menutrans Open\ Tab\.\.\.<Tab>:tabnew S&ekme\ Aç\.\.\.<Tab>:tabnew
|
||||
menutrans &New<Tab>:enew Yeni\ &Sekme<Tab>:enew
|
||||
menutrans &New<Tab>:enew Yeni\ &Sekme<Tab>:enew
|
||||
menutrans &Close<Tab>:close Ka&pat<Tab>:close
|
||||
"--------------------
|
||||
menutrans &Save<Tab>:w Kayde&t<Tab>:w
|
||||
menutrans Save\ &As\.\.\.<Tab>:sav &Farklý Kaydet\.\.\.<Tab>:sav
|
||||
menutrans Save\ &As\.\.\.<Tab>:sav &Farklý\ Kaydet\.\.\.<Tab>:sav
|
||||
"--------------------
|
||||
menutrans Split\ &Diff\ With\.\.\. Ka&rþýlaþtýr\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. Ya&malar\ Dahil\ Karþýlaþtýr\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. Ya&ma\ Ýle\ Karþýlaþtýr\.\.\.
|
||||
"--------------------
|
||||
menutrans &Print Ya&zdýr
|
||||
menutrans Sa&ve-Exit<Tab>:wqa Kaydet\ &ve Çýk<Tab>:wqa
|
||||
menutrans Sa&ve-Exit<Tab>:wqa Kaydet\ &ve\ Çýk<Tab>:wqa
|
||||
menutrans E&xit<Tab>:qa Çý&k<Tab>:qa
|
||||
|
||||
" Edit menu
|
||||
menutrans &Undo<Tab>u &Geri\ Al<Tab>u
|
||||
menutrans &Redo<Tab>^R &Yinele<Tab>^R
|
||||
menutrans Rep&eat<Tab>\. Son\ Komutu\ Y&inele<Tab>\.
|
||||
menutrans &Undo<Tab>u &Geri\ Al<Tab>u
|
||||
menutrans &Redo<Tab>^R &Yinele<Tab>^R
|
||||
menutrans Rep&eat<Tab>\. Son\ Komutu\ Y&inele<Tab>\.
|
||||
"--------------------
|
||||
menutrans Cu&t<Tab>"+x &Kes<Tab>"+x
|
||||
menutrans &Copy<Tab>"+y K&opyala<Tab>"+y
|
||||
menutrans &Paste<Tab>"+gP Ya&pýþtýr<Tab>"+gP
|
||||
menutrans Put\ &Before<Tab>[p Ö&nüne Koy<Tab>[p
|
||||
menutrans Put\ &After<Tab>]p A&rkasýna Koy<Tab>]p
|
||||
menutrans &Delete<Tab>x Si&l<Tab>x
|
||||
menutrans Cu&t<Tab>"+x &Kes<Tab>"+x
|
||||
menutrans &Copy<Tab>"+y K&opyala<Tab>"+y
|
||||
menutrans &Paste<Tab>"+gP Ya&pýþtýr<Tab>"+gP
|
||||
menutrans Put\ &Before<Tab>[p Ö&nüne\ Koy<Tab>[p
|
||||
menutrans Put\ &After<Tab>]p A&rkasýna\ Koy<Tab>]p
|
||||
menutrans &Delete<Tab>x Si&l<Tab>x
|
||||
menutrans &Select\ All<Tab>ggVG Tü&münü\ Seç<Tab>ggVG
|
||||
"--------------------
|
||||
" Athena GUI only
|
||||
menutrans &Find<Tab>/ &Bul<Tab>/
|
||||
menutrans Find\ and\ Rep&lace<Tab>:%s Bul\ &ve\ Deðiþtir<Tab>:%s
|
||||
menutrans &Find<Tab>/ &Bul<Tab>/
|
||||
menutrans Find\ and\ Rep&lace<Tab>:%s Bul\ &ve\ Deðiþtir<Tab>:%s
|
||||
" End Athena GUI only
|
||||
menutrans &Find\.\.\.<Tab>/ &Bul\.\.\.<Tab>/
|
||||
menutrans Find\ and\ Rep&lace\.\.\. Bul\ ve\ &Deðiþtir\.\.\.
|
||||
menutrans &Find\.\.\.<Tab>/ &Bul\.\.\.<Tab>/
|
||||
menutrans Find\ and\ Rep&lace\.\.\. Bul\ ve\ &Deðiþtir\.\.\.
|
||||
menutrans Find\ and\ Rep&lace\.\.\.<Tab>:%s Bul\ ve\ &Deðiþtir\.\.\.<Tab>:%s
|
||||
menutrans Find\ and\ Rep&lace\.\.\.<Tab>:s Bul\ ve\ &Deðiþtir\.\.\.<Tab>:s
|
||||
"--------------------
|
||||
@@ -78,11 +78,11 @@ menutrans &Global\ Settings Ge&nel\ Ayarlar
|
||||
menutrans F&ile\ Settings &Dosya\ Ayarlarý
|
||||
menutrans C&olor\ Scheme &Renk\ Düzeni
|
||||
menutrans &Keymap Düðme\ &Eþlem
|
||||
menutrans Select\ Fo&nt\.\.\. Ya&zýtipi Seç\.\.\.
|
||||
menutrans Select\ Fo&nt\.\.\. Ya&zýtipi\ Seç\.\.\.
|
||||
|
||||
">>>----------------- Edit/Global settings
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Dizgi\ &Vurgulamasýný\ Aç/Kapat<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! BÜYÜK/küçük\ Harf\ &Duyarlý\ Aç/Kapat<Tab>:set\ ic!
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Dizgi\ &Vurgulamasýný\ Aç/Kapat<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! BÜYÜK/küçük\ Harf\ &Duyarlý\ Aç/Kapat<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Eþ&leþen\ Ýkilileri\ Aç/Kapat<Tab>:set\ sm!
|
||||
menutrans &Context\ Lines Ý&mleçle\ Oynayan\ Satýrlar
|
||||
menutrans &Virtual\ Edit &Sanal\ Düzenleme
|
||||
@@ -97,11 +97,11 @@ menutrans Toggle\ &Left\ Scrollbar &Sol\ Kayd
|
||||
menutrans Toggle\ &Right\ Scrollbar S&að\ Kaydýrma\ Çubuðunu\ Aç/Kapat
|
||||
|
||||
">>>->>>------------- Edit/Global settings/Virtual edit
|
||||
menutrans Never Kapalý
|
||||
menutrans Never Kapalý
|
||||
menutrans Block\ Selection Blok\ Seçimi
|
||||
menutrans Insert\ Mode Ekleme\ Kipi
|
||||
menutrans Block\ and\ Insert Blok\ Seçiminde\ ve\ Ekleme\ Kipinde
|
||||
menutrans Always Her\ Zaman\ Açýk
|
||||
menutrans Always Her\ Zaman\ Açýk
|
||||
">>>----------------- Edit/File settings
|
||||
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! &Satýr\ Numaralandýrmayý\ Aç/Kapat<Tab>:set\ nu!
|
||||
menutrans Toggle\ Relati&ve\ Line\ Numbering<Tab>:set\ rnu! &Göreceli\ Satýr\ Numaralandýrmayý\ Aç/Kapat<Tab>:set\ nru!
|
||||
@@ -124,10 +124,10 @@ menutrans Build\ &Tags\ File &Etiket\ Dosyas
|
||||
"-------------------
|
||||
menutrans &Folding &Kývýrmalar
|
||||
menutrans &Spelling &Yazým\ Denetimi
|
||||
menutrans &Diff &Ayrýmlar\ (diff)
|
||||
menutrans &Diff K&arþýlaþtýrma\ (diff)
|
||||
"-------------------
|
||||
menutrans &Make<Tab>:make &Derle<Tab>:make
|
||||
menutrans &List\ Errors<Tab>:cl &Hatalarý\ Listele<Tab>:cl
|
||||
menutrans &List\ Errors<Tab>:cl &Hatalarý\ Listele<Tab>:cl
|
||||
menutrans L&ist\ Messages<Tab>:cl! Ý&letileri\ Listele<Tab>:cl!
|
||||
menutrans &Next\ Error<Tab>:cn Bir\ &Sonraki\ Hata<Tab>:cn
|
||||
menutrans &Previous\ Error<Tab>:cp Bir\ Ö&nceki\ Hata<Tab>:cp
|
||||
@@ -137,8 +137,8 @@ menutrans Error\ &Window Hatalar\ &Penceresi
|
||||
menutrans Se&t\ Compiler De&rleyici\ Seç
|
||||
menutrans Show\ Compiler\ Se&ttings\ in\ Menu Derleyici\ Ayarlarýný\ Menüde\ &Göster
|
||||
"-------------------
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd HEX'e\ Dö&nüþtür<Tab>:%!xxd
|
||||
menutrans Conve&rt\ Back<Tab>:%!xxd\ -r HEX'&ten\ Dönüþtür<Tab>:%!xxd\ -r
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd HEX'e\ Dö&nüþtür<Tab>:%!xxd
|
||||
menutrans Conve&rt\ Back<Tab>:%!xxd\ -r HEX'&ten\ Dönüþtür<Tab>:%!xxd\ -r
|
||||
">>>---------------- Tools/Spelling
|
||||
menutrans &Spell\ Check\ On Yazým\ Denetimini\ &Aç
|
||||
menutrans Spell\ Check\ &Off Yazým\ Denetimini\ &Kapat
|
||||
@@ -191,7 +191,7 @@ menutrans &Open<Tab>:copen &A
|
||||
" Syntax menu
|
||||
menutrans &Show\ File\ Types\ in\ Menu Dosya\ Türlerini\ Menüde\ &Göster
|
||||
menutrans Set\ '&syntax'\ only Yalnýzca\ 'syntax'\ &Ayarla
|
||||
menutrans Set\ '&filetype'\ too 'filetype'\ Ýçin\ &de\ Ayarla
|
||||
menutrans Set\ '&filetype'\ too 'filetype'\ Ýçin\ &de\ Ayarla
|
||||
menutrans &Off &Kapat
|
||||
menutrans &Manual &El\ Ýle
|
||||
menutrans A&utomatic &Otomatik
|
||||
@@ -204,7 +204,7 @@ menutrans &Convert\ to\ HTML &HTML'ye\ D
|
||||
menutrans &Refresh\ menu &Menüyü\ Güncelle
|
||||
menutrans Delete &Sil
|
||||
menutrans &Alternate Ö&teki
|
||||
menutrans &Next So&nraki
|
||||
menutrans &Next So&nraki
|
||||
menutrans &Previous Ön&ceki
|
||||
menutrans [No\ File] [Dosya\ Yok]
|
||||
|
||||
@@ -235,16 +235,16 @@ menutrans &Left\ Side<Tab>^WH So&la<Tab>^WH
|
||||
menutrans &Right\ Side<Tab>^WL &Saða<Tab>^WL
|
||||
|
||||
" The popup menu
|
||||
menutrans &Undo &Geri\ Al
|
||||
menutrans &Undo &Geri\ Al
|
||||
menutrans Cu&t &Kes
|
||||
menutrans &Copy K&opyala
|
||||
menutrans &Copy K&opyala
|
||||
menutrans &Paste &Yapýþtýr
|
||||
menutrans &Delete &Sil
|
||||
menutrans Select\ Blockwise &Blok\ Biçiminde\ Seç
|
||||
menutrans Select\ &Word Sö&zcük\ Seç
|
||||
menutrans Select\ &Word Sö&zcük\ Seç
|
||||
menutrans Select\ &Sentence &Tümce\ Seç
|
||||
menutrans Select\ Pa&ragraph &Paragraf\ Seç
|
||||
menutrans Select\ &Line S&atýr\ Seç
|
||||
menutrans Select\ &Line S&atýr\ Seç
|
||||
menutrans Select\ &Block Bl&ok\ Seç
|
||||
menutrans Select\ &All Tümü&nü\ Seç
|
||||
|
||||
|
||||
@@ -11,19 +11,19 @@ set cpo&vim
|
||||
scriptencoding utf-8
|
||||
|
||||
" Top
|
||||
menutrans &File &Dosya
|
||||
menutrans &Edit Dü&zen
|
||||
menutrans &File &Dosya
|
||||
menutrans &Edit Dü&zen
|
||||
menutrans &Tools &Araçlar
|
||||
menutrans &Syntax &Sözdizim
|
||||
menutrans &Buffers A&rabellekler
|
||||
menutrans &Window &Pencere
|
||||
menutrans &Help &Yardım
|
||||
menutrans &Help &Yardım
|
||||
|
||||
" Help menu
|
||||
menutrans &Overview<Tab><F1> &Genel\ Bakış<Tab><F1>
|
||||
menutrans &User\ Manual &Kullanım\ Kılavuzu
|
||||
menutrans &User\ Manual &Kullanım\ Kılavuzu
|
||||
menutrans &How-To\ Links &Nasıl\ Yapılır?
|
||||
menutrans &Find\.\.\. &Bul\.\.\.
|
||||
menutrans &Find\.\.\. &Bul\.\.\.
|
||||
"--------------------
|
||||
menutrans &Credits &Teşekkürler
|
||||
menutrans Co&pying &Dağıtım
|
||||
@@ -37,38 +37,38 @@ menutrans &About &Hakkında
|
||||
menutrans &Open\.\.\.<Tab>:e &Aç\.\.\.<Tab>:e
|
||||
menutrans Sp&lit-Open\.\.\.<Tab>:sp &Yeni\ Bölümde\ Aç\.\.\.<Tab>:sp
|
||||
menutrans Open\ Tab\.\.\.<Tab>:tabnew S&ekme\ Aç\.\.\.<Tab>:tabnew
|
||||
menutrans &New<Tab>:enew Yeni\ &Sekme<Tab>:enew
|
||||
menutrans &New<Tab>:enew Yeni\ &Sekme<Tab>:enew
|
||||
menutrans &Close<Tab>:close Ka&pat<Tab>:close
|
||||
"--------------------
|
||||
menutrans &Save<Tab>:w Kayde&t<Tab>:w
|
||||
menutrans Save\ &As\.\.\.<Tab>:sav &Farklı Kaydet\.\.\.<Tab>:sav
|
||||
menutrans Save\ &As\.\.\.<Tab>:sav &Farklı\ Kaydet\.\.\.<Tab>:sav
|
||||
"--------------------
|
||||
menutrans Split\ &Diff\ With\.\.\. Ka&rşılaştır\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. Ya&malar\ Dahil\ Karşılaştır\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. Ya&ma\ İle\ Karşılaştır\.\.\.
|
||||
"--------------------
|
||||
menutrans &Print Ya&zdır
|
||||
menutrans Sa&ve-Exit<Tab>:wqa Kaydet\ &ve Çık<Tab>:wqa
|
||||
menutrans Sa&ve-Exit<Tab>:wqa Kaydet\ &ve\ Çık<Tab>:wqa
|
||||
menutrans E&xit<Tab>:qa Çı&k<Tab>:qa
|
||||
|
||||
" Edit menu
|
||||
menutrans &Undo<Tab>u &Geri\ Al<Tab>u
|
||||
menutrans &Redo<Tab>^R &Yinele<Tab>^R
|
||||
menutrans Rep&eat<Tab>\. Son\ Komutu\ Y&inele<Tab>\.
|
||||
menutrans &Undo<Tab>u &Geri\ Al<Tab>u
|
||||
menutrans &Redo<Tab>^R &Yinele<Tab>^R
|
||||
menutrans Rep&eat<Tab>\. Son\ Komutu\ Y&inele<Tab>\.
|
||||
"--------------------
|
||||
menutrans Cu&t<Tab>"+x &Kes<Tab>"+x
|
||||
menutrans &Copy<Tab>"+y K&opyala<Tab>"+y
|
||||
menutrans &Paste<Tab>"+gP Ya&pıştır<Tab>"+gP
|
||||
menutrans Put\ &Before<Tab>[p Ö&nüne Koy<Tab>[p
|
||||
menutrans Put\ &After<Tab>]p A&rkasına Koy<Tab>]p
|
||||
menutrans &Delete<Tab>x Si&l<Tab>x
|
||||
menutrans Cu&t<Tab>"+x &Kes<Tab>"+x
|
||||
menutrans &Copy<Tab>"+y K&opyala<Tab>"+y
|
||||
menutrans &Paste<Tab>"+gP Ya&pıştır<Tab>"+gP
|
||||
menutrans Put\ &Before<Tab>[p Ö&nüne\ Koy<Tab>[p
|
||||
menutrans Put\ &After<Tab>]p A&rkasına\ Koy<Tab>]p
|
||||
menutrans &Delete<Tab>x Si&l<Tab>x
|
||||
menutrans &Select\ All<Tab>ggVG Tü&münü\ Seç<Tab>ggVG
|
||||
"--------------------
|
||||
" Athena GUI only
|
||||
menutrans &Find<Tab>/ &Bul<Tab>/
|
||||
menutrans Find\ and\ Rep&lace<Tab>:%s Bul\ &ve\ Değiştir<Tab>:%s
|
||||
menutrans &Find<Tab>/ &Bul<Tab>/
|
||||
menutrans Find\ and\ Rep&lace<Tab>:%s Bul\ &ve\ Değiştir<Tab>:%s
|
||||
" End Athena GUI only
|
||||
menutrans &Find\.\.\.<Tab>/ &Bul\.\.\.<Tab>/
|
||||
menutrans Find\ and\ Rep&lace\.\.\. Bul\ ve\ &Değiştir\.\.\.
|
||||
menutrans &Find\.\.\.<Tab>/ &Bul\.\.\.<Tab>/
|
||||
menutrans Find\ and\ Rep&lace\.\.\. Bul\ ve\ &Değiştir\.\.\.
|
||||
menutrans Find\ and\ Rep&lace\.\.\.<Tab>:%s Bul\ ve\ &Değiştir\.\.\.<Tab>:%s
|
||||
menutrans Find\ and\ Rep&lace\.\.\.<Tab>:s Bul\ ve\ &Değiştir\.\.\.<Tab>:s
|
||||
"--------------------
|
||||
@@ -78,11 +78,11 @@ menutrans &Global\ Settings Ge&nel\ Ayarlar
|
||||
menutrans F&ile\ Settings &Dosya\ Ayarları
|
||||
menutrans C&olor\ Scheme &Renk\ Düzeni
|
||||
menutrans &Keymap Düğme\ &Eşlem
|
||||
menutrans Select\ Fo&nt\.\.\. Ya&zıtipi Seç\.\.\.
|
||||
menutrans Select\ Fo&nt\.\.\. Ya&zıtipi\ Seç\.\.\.
|
||||
|
||||
">>>----------------- Edit/Global settings
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Dizgi\ &Vurgulamasını\ Aç/Kapat<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! BÜYÜK/küçük\ Harf\ &Duyarlı\ Aç/Kapat<Tab>:set\ ic!
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Dizgi\ &Vurgulamasını\ Aç/Kapat<Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! BÜYÜK/küçük\ Harf\ &Duyarlı\ Aç/Kapat<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Eş&leşen\ İkilileri\ Aç/Kapat<Tab>:set\ sm!
|
||||
menutrans &Context\ Lines İ&mleçle\ Oynayan\ Satırlar
|
||||
menutrans &Virtual\ Edit &Sanal\ Düzenleme
|
||||
@@ -97,11 +97,11 @@ menutrans Toggle\ &Left\ Scrollbar &Sol\ Kaydırma\ Çubuğunu\ Aç/Kapat
|
||||
menutrans Toggle\ &Right\ Scrollbar S&ağ\ Kaydırma\ Çubuğunu\ Aç/Kapat
|
||||
|
||||
">>>->>>------------- Edit/Global settings/Virtual edit
|
||||
menutrans Never Kapalı
|
||||
menutrans Never Kapalı
|
||||
menutrans Block\ Selection Blok\ Seçimi
|
||||
menutrans Insert\ Mode Ekleme\ Kipi
|
||||
menutrans Block\ and\ Insert Blok\ Seçiminde\ ve\ Ekleme\ Kipinde
|
||||
menutrans Always Her\ Zaman\ Açık
|
||||
menutrans Always Her\ Zaman\ Açık
|
||||
">>>----------------- Edit/File settings
|
||||
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! &Satır\ Numaralandırmayı\ Aç/Kapat<Tab>:set\ nu!
|
||||
menutrans Toggle\ Relati&ve\ Line\ Numbering<Tab>:set\ rnu! &Göreceli\ Satır\ Numaralandırmayı\ Aç/Kapat<Tab>:set\ nru!
|
||||
@@ -124,10 +124,10 @@ menutrans Build\ &Tags\ File &Etiket\ Dosyası\ Oluştur
|
||||
"-------------------
|
||||
menutrans &Folding &Kıvırmalar
|
||||
menutrans &Spelling &Yazım\ Denetimi
|
||||
menutrans &Diff &Ayrımlar\ (diff)
|
||||
menutrans &Diff K&arşılaştırma\ (diff)
|
||||
"-------------------
|
||||
menutrans &Make<Tab>:make &Derle<Tab>:make
|
||||
menutrans &List\ Errors<Tab>:cl &Hataları\ Listele<Tab>:cl
|
||||
menutrans &List\ Errors<Tab>:cl &Hataları\ Listele<Tab>:cl
|
||||
menutrans L&ist\ Messages<Tab>:cl! İ&letileri\ Listele<Tab>:cl!
|
||||
menutrans &Next\ Error<Tab>:cn Bir\ &Sonraki\ Hata<Tab>:cn
|
||||
menutrans &Previous\ Error<Tab>:cp Bir\ Ö&nceki\ Hata<Tab>:cp
|
||||
@@ -137,8 +137,8 @@ menutrans Error\ &Window Hatalar\ &Penceresi
|
||||
menutrans Se&t\ Compiler De&rleyici\ Seç
|
||||
menutrans Show\ Compiler\ Se&ttings\ in\ Menu Derleyici\ Ayarlarını\ Menüde\ &Göster
|
||||
"-------------------
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd HEX'e\ Dö&nüştür<Tab>:%!xxd
|
||||
menutrans Conve&rt\ Back<Tab>:%!xxd\ -r HEX'&ten\ Dönüştür<Tab>:%!xxd\ -r
|
||||
menutrans &Convert\ to\ HEX<Tab>:%!xxd HEX'e\ Dö&nüştür<Tab>:%!xxd
|
||||
menutrans Conve&rt\ Back<Tab>:%!xxd\ -r HEX'&ten\ Dönüştür<Tab>:%!xxd\ -r
|
||||
">>>---------------- Tools/Spelling
|
||||
menutrans &Spell\ Check\ On Yazım\ Denetimini\ &Aç
|
||||
menutrans Spell\ Check\ &Off Yazım\ Denetimini\ &Kapat
|
||||
@@ -191,7 +191,7 @@ menutrans &Open<Tab>:copen &Aç<Tab>:copen
|
||||
" Syntax menu
|
||||
menutrans &Show\ File\ Types\ in\ Menu Dosya\ Türlerini\ Menüde\ &Göster
|
||||
menutrans Set\ '&syntax'\ only Yalnızca\ 'syntax'\ &Ayarla
|
||||
menutrans Set\ '&filetype'\ too 'filetype'\ İçin\ &de\ Ayarla
|
||||
menutrans Set\ '&filetype'\ too 'filetype'\ İçin\ &de\ Ayarla
|
||||
menutrans &Off &Kapat
|
||||
menutrans &Manual &El\ İle
|
||||
menutrans A&utomatic &Otomatik
|
||||
@@ -204,7 +204,7 @@ menutrans &Convert\ to\ HTML &HTML'ye\ Dönüştür
|
||||
menutrans &Refresh\ menu &Menüyü\ Güncelle
|
||||
menutrans Delete &Sil
|
||||
menutrans &Alternate Ö&teki
|
||||
menutrans &Next So&nraki
|
||||
menutrans &Next So&nraki
|
||||
menutrans &Previous Ön&ceki
|
||||
menutrans [No\ File] [Dosya\ Yok]
|
||||
|
||||
@@ -235,16 +235,16 @@ menutrans &Left\ Side<Tab>^WH So&la<Tab>^WH
|
||||
menutrans &Right\ Side<Tab>^WL &Sağa<Tab>^WL
|
||||
|
||||
" The popup menu
|
||||
menutrans &Undo &Geri\ Al
|
||||
menutrans &Undo &Geri\ Al
|
||||
menutrans Cu&t &Kes
|
||||
menutrans &Copy K&opyala
|
||||
menutrans &Copy K&opyala
|
||||
menutrans &Paste &Yapıştır
|
||||
menutrans &Delete &Sil
|
||||
menutrans Select\ Blockwise &Blok\ Biçiminde\ Seç
|
||||
menutrans Select\ &Word Sö&zcük\ Seç
|
||||
menutrans Select\ &Word Sö&zcük\ Seç
|
||||
menutrans Select\ &Sentence &Tümce\ Seç
|
||||
menutrans Select\ Pa&ragraph &Paragraf\ Seç
|
||||
menutrans Select\ &Line S&atır\ Seç
|
||||
menutrans Select\ &Line S&atır\ Seç
|
||||
menutrans Select\ &Block Bl&ok\ Seç
|
||||
menutrans Select\ &All Tümü&nü\ Seç
|
||||
|
||||
@@ -305,4 +305,4 @@ let g:menutrans_fileformat_dialog = "Dosya biçimi seçin"
|
||||
let g:menutrans_fileformat_choices = "&Unix\n&Dos\n&Mac\nİ&ptal"
|
||||
let menutrans_no_file = "[Dosya Yok]"
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
@@ -58,7 +58,7 @@ menutrans Split\ &Diff\ with\.\.\. &So\ sánh\ với\.\.\.
|
||||
menutrans Split\ Patched\ &By\.\.\. So\ sánh\ đã\ vá\ lỗi\ &bởi\.\.\.
|
||||
"--------------------
|
||||
menutrans &Print In\ &ra
|
||||
menutrans Sa&ve-Exit<Tab>:wqa Ghi\ nhớ\ rồi\ th&oát <Tab>:wqa
|
||||
menutrans Sa&ve-Exit<Tab>:wqa Ghi\ nhớ\ rồi\ th&oát\ <Tab>:wqa
|
||||
menutrans E&xit<Tab>:qa &Thoát<Tab>:qa
|
||||
"
|
||||
"
|
||||
@@ -87,7 +87,7 @@ menutrans C&olor\ Scheme Phối\ hợp\ màu\ &sắc
|
||||
menutrans &Keymap Sơ\ đồ\ &bàn\ phím
|
||||
menutrans Select\ Fo&nt\.\.\. Chọn\ &phông\ chữ\.\.\.
|
||||
">>>----------------- Edit/Global settings
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! &Chiếu\ sáng\ từ\ tìm\ thấy <Tab>:set\ hls!
|
||||
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! &Chiếu\ sáng\ từ\ tìm\ thấy\ <Tab>:set\ hls!
|
||||
menutrans Toggle\ &Ignore-case<Tab>:set\ ic! &Không\ tính\ đến\ kiểu\ chữ<Tab>:set\ ic!
|
||||
menutrans Toggle\ &Showmatch<Tab>:set\ sm! Cho\ &biết\ phần\ tử\ có\ cặp<Tab>:set\ sm!
|
||||
menutrans &Context\ lines Số\ &dòng\ quanh\ con\ trỏ
|
||||
@@ -149,7 +149,7 @@ menutrans Jump\ &back<Tab>^T &Quay\ lại<Tab>^T
|
||||
menutrans Build\ &Tags\ File &Tạo\ tập\ tin\ thẻ\ ghi
|
||||
"-------------------
|
||||
menutrans &Folding Nếp\ &gấp
|
||||
menutrans &Diff &Khác\ biệt (diff)
|
||||
menutrans &Diff &Khác\ biệt\ (diff)
|
||||
"-------------------
|
||||
menutrans &Make<Tab>:make &Biên\ dịch<Tab>:make
|
||||
menutrans &List\ Errors<Tab>:cl &Danh\ sách\ lỗi<Tab>:cl
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Menu Translations: Simplified Chinese
|
||||
" Maintainer: Shun Bai <baishunde@gmail.com>
|
||||
" Previous Maintainer: Yuheng Xie <elephant@linux.net.cn>
|
||||
" Last Change: 2019 Sep 11
|
||||
" Last Change: 2020 Apr 23
|
||||
|
||||
" Quit when menu translations have already been done.
|
||||
if exists("did_menu_trans")
|
||||
@@ -122,7 +122,7 @@ menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! 开/关\ C\ 语言式缩
|
||||
|
||||
" other options
|
||||
menutrans &Shiftwidth 缩进宽度(&S)
|
||||
menutrans Soft\ &Tabstop 软制表位宽度(Soft Tabstop)(&T)
|
||||
menutrans Soft\ &Tabstop 软制表位宽度(Soft\ Tabstop)(&T)
|
||||
menutrans Te&xt\ Width\.\.\. 文本宽度(&X)\.\.\.
|
||||
menutrans &File\ Format\.\.\. 文件格式(&F)\.\.\.
|
||||
|
||||
|
||||
@@ -108,8 +108,9 @@ map ,o oPut 'X's in the left box, then hit 'C' or 'R'
|
||||
map ,R 03stop
|
||||
"
|
||||
" Write a new line (used by 'I'nitialize board)
|
||||
" In remembrance of John Conway, 26 December 1937 – 11 April 2020.
|
||||
map )0 o- --....................--....................-
|
||||
map )1 o- VIM --....................--....................-
|
||||
map )1 o- JOHN CONWAY --....................--....................-
|
||||
map )2 o- LIVES --....................--....................-
|
||||
"
|
||||
"
|
||||
|
||||
@@ -20,7 +20,7 @@ augroup gzip
|
||||
"
|
||||
" Set binary mode before reading the file.
|
||||
" Use "gzip -d", gunzip isn't always available.
|
||||
autocmd BufReadPre,FileReadPre *.gz,*.bz2,*.Z,*.lzma,*.xz,*.lz,*.zst setlocal bin
|
||||
autocmd BufReadPre,FileReadPre *.gz,*.bz2,*.Z,*.lzma,*.xz,*.lz,*.zst,*.br,*.lzo setlocal bin
|
||||
autocmd BufReadPost,FileReadPost *.gz call gzip#read("gzip -dn")
|
||||
autocmd BufReadPost,FileReadPost *.bz2 call gzip#read("bzip2 -d")
|
||||
autocmd BufReadPost,FileReadPost *.Z call gzip#read("uncompress")
|
||||
@@ -28,6 +28,8 @@ augroup gzip
|
||||
autocmd BufReadPost,FileReadPost *.xz call gzip#read("xz -d")
|
||||
autocmd BufReadPost,FileReadPost *.lz call gzip#read("lzip -d")
|
||||
autocmd BufReadPost,FileReadPost *.zst call gzip#read("zstd -d --rm")
|
||||
autocmd BufReadPost,FileReadPost *.br call gzip#read("brotli -d --rm")
|
||||
autocmd BufReadPost,FileReadPost *.lzo call gzip#read("lzop -d -U")
|
||||
autocmd BufWritePost,FileWritePost *.gz call gzip#write("gzip")
|
||||
autocmd BufWritePost,FileWritePost *.bz2 call gzip#write("bzip2")
|
||||
autocmd BufWritePost,FileWritePost *.Z call gzip#write("compress -f")
|
||||
@@ -35,6 +37,8 @@ augroup gzip
|
||||
autocmd BufWritePost,FileWritePost *.xz call gzip#write("xz -z")
|
||||
autocmd BufWritePost,FileWritePost *.lz call gzip#write("lzip")
|
||||
autocmd BufWritePost,FileWritePost *.zst call gzip#write("zstd --rm")
|
||||
autocmd BufWritePost,FileWritePost *.br call gzip#write("brotli --rm")
|
||||
autocmd BufWritePost,FileWritePost *.lzo call gzip#write("lzop -U")
|
||||
autocmd FileAppendPre *.gz call gzip#appre("gzip -dn")
|
||||
autocmd FileAppendPre *.bz2 call gzip#appre("bzip2 -d")
|
||||
autocmd FileAppendPre *.Z call gzip#appre("uncompress")
|
||||
@@ -42,6 +46,8 @@ augroup gzip
|
||||
autocmd FileAppendPre *.xz call gzip#appre("xz -d")
|
||||
autocmd FileAppendPre *.lz call gzip#appre("lzip -d")
|
||||
autocmd FileAppendPre *.zst call gzip#appre("zstd -d --rm")
|
||||
autocmd FileAppendPre *.br call gzip#appre("brotli -d --rm")
|
||||
autocmd FileAppendPre *.lzo call gzip#appre("lzop -d -U")
|
||||
autocmd FileAppendPost *.gz call gzip#write("gzip")
|
||||
autocmd FileAppendPost *.bz2 call gzip#write("bzip2")
|
||||
autocmd FileAppendPost *.Z call gzip#write("compress -f")
|
||||
@@ -49,4 +55,6 @@ augroup gzip
|
||||
autocmd FileAppendPost *.xz call gzip#write("xz -z")
|
||||
autocmd FileAppendPost *.lz call gzip#write("lzip")
|
||||
autocmd FileAppendPost *.zst call gzip#write("zstd --rm")
|
||||
autocmd FileAppendPost *.br call gzip#write("brotli --rm")
|
||||
autocmd FileAppendPost *.lzo call gzip#write("lzop -U")
|
||||
augroup END
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
" Vim syntax file
|
||||
" Language: AsciiDoc
|
||||
" Author: Stuart Rackham <srackham@gmail.com> (inspired by Felix
|
||||
" Obenhuber's original asciidoc.vim script).
|
||||
" URL: http://asciidoc.org/
|
||||
" Licence: GPL (http://www.gnu.org)
|
||||
" Remarks: Vim 6 or greater
|
||||
" Last Update: 2014 Aug 29 (see Issue 240)
|
||||
" Language: AsciiDoc
|
||||
" Maintainer: @aerostitch on GitHub (tag me in your issue in the
|
||||
" github/vim/vim repository and I'll answer when available)
|
||||
" Original author: Stuart Rackham <srackham@gmail.com> (inspired by Felix
|
||||
" Obenhuber's original asciidoc.vim script).
|
||||
" URL: http://asciidoc.org/
|
||||
" Licence: GPL (http://www.gnu.org)
|
||||
" Remarks: Vim 6 or greater
|
||||
" Last Update: 2020 May 03 (see Issue 240)
|
||||
" Limitations:
|
||||
"
|
||||
"
|
||||
" - Nested quoted text formatting is highlighted according to the outer
|
||||
" format.
|
||||
" - If a closing Example Block delimiter may be mistaken for a title
|
||||
@@ -23,9 +25,7 @@ if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syn clear
|
||||
syn sync fromstart
|
||||
syn sync linebreaks=100
|
||||
" Use the default syntax syncing.
|
||||
|
||||
" Run :help syn-priority to review syntax matching priority.
|
||||
syn keyword asciidocToDo TODO FIXME CHECK TEST XXX ZZZ DEPRECATED
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
" Maintainer: Debian Vim Maintainers
|
||||
" Former Maintainers: Gerfried Fuchs <alfie@ist.org>
|
||||
" Wichert Akkerman <wakkerma@debian.org>
|
||||
" Last Change: 2020 Feb 02
|
||||
" Last Change: 2020 Apr 27
|
||||
" URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/debchangelog.vim
|
||||
|
||||
" Standard syntax initialization
|
||||
@@ -24,7 +24,7 @@ let s:supported = [
|
||||
\ 'wheezy', 'jessie', 'stretch', 'buster', 'bullseye', 'bookworm',
|
||||
\ 'sid', 'rc-buggy',
|
||||
\
|
||||
\ 'trusty', 'xenial', 'bionic', 'eoan', 'focal', 'devel'
|
||||
\ 'trusty', 'xenial', 'bionic', 'eoan', 'focal', 'groovy', 'devel'
|
||||
\ ]
|
||||
let s:unsupported = [
|
||||
\ 'frozen', 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato',
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
" Language: Debian sources.list
|
||||
" Maintainer: Debian Vim Maintainers
|
||||
" Former Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl>
|
||||
" Last Change: 2020 Feb 02
|
||||
" Last Change: 2020 Apr 27
|
||||
" URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/debsources.vim
|
||||
|
||||
" Standard syntax initialization
|
||||
@@ -26,7 +26,7 @@ let s:supported = [
|
||||
\ 'wheezy', 'jessie', 'stretch', 'buster', 'bullseye', 'bookworm',
|
||||
\ 'sid', 'rc-buggy',
|
||||
\
|
||||
\ 'trusty', 'xenial', 'bionic', 'eoan', 'focal', 'devel'
|
||||
\ 'trusty', 'xenial', 'bionic', 'eoan', 'focal', 'groovy', 'devel'
|
||||
\ ]
|
||||
let s:unsupported = [
|
||||
\ 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato',
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
" Vim syntax file
|
||||
" Language: Fortran 2008 (and older: Fortran 2003, 95, 90, and 77)
|
||||
" Version: 102
|
||||
" Last Change: 2019 Dec. 14
|
||||
" Last Change: 2020 Apr 20
|
||||
" Patched By: Eisuke Kawashima
|
||||
" Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/>
|
||||
" Usage: For instructions, do :help fortran-syntax from Vim
|
||||
" Credits:
|
||||
@@ -53,10 +54,10 @@ if !exists("b:fortran_fixed_source")
|
||||
elseif exists("fortran_fixed_source")
|
||||
" User guarantees fixed source form for all fortran files
|
||||
let b:fortran_fixed_source = 1
|
||||
elseif expand("%:e") ==? "f\<90\|95\|03\|08\>"
|
||||
elseif expand("%:e") =~? '^f\%(90\|95\|03\|08\)$'
|
||||
" Free-form file extension defaults as in Intel ifort, gcc(gfortran), NAG, Pathscale, and Cray compilers
|
||||
let b:fortran_fixed_source = 0
|
||||
elseif expand("%:e") ==? "f\|f77\|for"
|
||||
elseif expand("%:e") =~? '^\%(f\|f77\|for\)$'
|
||||
" Fixed-form file extension defaults
|
||||
let b:fortran_fixed_source = 1
|
||||
else
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
" Maintainer: Josh Wainwright <wainwright DOT ja AT gmail DOT com>
|
||||
" Last Maintainer: Andrew Rasmussen andyras@users.sourceforge.net
|
||||
" Original Maintainer: John Hoelzel johnh51@users.sourceforge.net
|
||||
" Last Change: 2015-08-25
|
||||
" Last Change: 2020 May 12
|
||||
" Filenames: *.gnu *.plt *.gpi *.gih *.gp *.gnuplot scripts: #!*gnuplot
|
||||
" URL: http://www.vim.org/scripts/script.php?script_id=4873
|
||||
" Original URL: http://johnh51.get.to/vim/syntax/gnuplot.vim
|
||||
@@ -479,7 +479,7 @@ syn keyword gnuplotKeyword terminal palette rgb rbg grb gbr brg bgr
|
||||
|
||||
" ---- Macros ---- "
|
||||
|
||||
syn region gnuplotMacro start="@" end=" "
|
||||
syn match gnuplotMacro "@[a-zA-Z0-9_]*"
|
||||
|
||||
" ---- Todos ---- "
|
||||
|
||||
|
||||
@@ -1,22 +1,19 @@
|
||||
" Vim syntax file
|
||||
" Language: Lex
|
||||
" Language: Lex and Flex
|
||||
" Maintainer: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
|
||||
" Last Change: Aug 31, 2016
|
||||
" Version: 17
|
||||
" URL: http://mysite.verizon.net/astronaut/vim/index.html#SYNTAX_LEX
|
||||
"
|
||||
" Option:
|
||||
" lex_uses_cpp : if this variable exists, then C++ is loaded rather than C
|
||||
" Contributor: Robert A. van Engelen <engelen@acm.org>
|
||||
" Last Change: Apr 24, 2020
|
||||
" Version: 18
|
||||
|
||||
" quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
" Read the C/C++ syntax to start with
|
||||
let s:Cpath= fnameescape(expand("<sfile>:p:h").(exists("g:lex_uses_cpp")? "/cpp.vim" : "/c.vim"))
|
||||
" Read the C++ syntax to start with
|
||||
let s:Cpath= fnameescape(expand("<sfile>:p:h")."/cpp.vim")
|
||||
if !filereadable(s:Cpath)
|
||||
for s:Cpath in split(globpath(&rtp,(exists("g:lex_uses_cpp")? "syntax/cpp.vim" : "syntax/c.vim")),"\n")
|
||||
for s:Cpath in split(globpath(&rtp,"syntax/cpp.vim"),"\n")
|
||||
if filereadable(fnameescape(s:Cpath))
|
||||
let s:Cpath= fnameescape(s:Cpath)
|
||||
break
|
||||
@@ -29,115 +26,163 @@ exe "syn include @lexCcode ".s:Cpath
|
||||
" --- Lex stuff ---
|
||||
" --- ========= ---
|
||||
|
||||
" Options Section
|
||||
syn match lexOptions '^%\s*option\>.*$' contains=lexPatString
|
||||
" Definitions
|
||||
" %%
|
||||
" Rules
|
||||
" %%
|
||||
" User Code
|
||||
"
|
||||
" --- ======= ---
|
||||
" --- Example ---
|
||||
" --- ======= ---
|
||||
"
|
||||
" // this is a valid lex file
|
||||
" // indented initial code block
|
||||
" #include <stdlib.h>
|
||||
" %{
|
||||
" // initial code block
|
||||
" #include <stdio.h>
|
||||
" const char *sep = "";
|
||||
" %}
|
||||
" %option outfile="scanner.c" noyywrap nodefault
|
||||
" %x COMMENT
|
||||
" id [A-Za-z_][A-Za-z0-9_]*
|
||||
" %%
|
||||
" // indented initial action code block
|
||||
" printf("BEGIN");
|
||||
" {id} printf("%s%s", sep, yytext); sep = "";
|
||||
" . |
|
||||
" \n { sep = "\n"; }
|
||||
" "/*" { BEGIN COMMENT; }
|
||||
" "//".* { }
|
||||
" <COMMENT>{
|
||||
" "*/" { BEGIN INITIAL; }
|
||||
" .|\n
|
||||
" }
|
||||
" <*><<EOF>> { // end of file
|
||||
" printf("\nEND\n");
|
||||
" yyterminate();
|
||||
" }
|
||||
" %%
|
||||
" void scan()
|
||||
" {
|
||||
" while (yylex())
|
||||
" continue;
|
||||
" }
|
||||
" /* main program */
|
||||
" int main()
|
||||
" {
|
||||
" scan();
|
||||
" }
|
||||
|
||||
" Abbreviations Section
|
||||
" Definitions Section with initial code blocks, abbreviations, options, states
|
||||
if has("folding")
|
||||
syn region lexAbbrvBlock fold start="^\(\h\+\s\|%{\)" end="^\ze%%$" skipnl nextgroup=lexPatBlock contains=lexAbbrv,lexInclude,lexAbbrvComment,lexStartState
|
||||
syn region lexAbbrvBlock fold start="^\S" end="^\ze%%" skipnl nextgroup=lexPatBlock contains=lexOptions,lexAbbrv,lexInitialCodeBlock,lexInclude,lexAbbrvComment,lexStartState
|
||||
else
|
||||
syn region lexAbbrvBlock start="^\(\h\+\s\|%{\)" end="^\ze%%$" skipnl nextgroup=lexPatBlock contains=lexAbbrv,lexInclude,lexAbbrvComment,lexStartState
|
||||
syn region lexAbbrvBlock start="^\S" end="^\ze%%" skipnl nextgroup=lexPatBlock contains=lexOptions,lexAbbrv,lexInitialCodeBlock,lexInclude,lexAbbrvComment,lexStartState
|
||||
endif
|
||||
syn match lexAbbrv "^\I\i*\s"me=e-1 skipwhite contained nextgroup=lexAbbrvRegExp
|
||||
syn match lexAbbrv "^%[sx]" contained
|
||||
syn match lexAbbrvRegExp "\s\S.*$"lc=1 contained nextgroup=lexAbbrv,lexInclude
|
||||
syn match lexOptions "^%\a\+\(\s.*\|[^{]*\)$" contains=lexOptionsEq,lexPatString,lexSlashQuote,lexBrace,lexSlashBrace
|
||||
syn match lexOptionsEq "=" skipwhite contained
|
||||
syn match lexAbbrv "^\I\i*\s"me=e-1 skipwhite contained nextgroup=lexAbbrvPat
|
||||
syn match lexAbbrvPat "\s\S.*$"lc=1 contained contains=lexPatAbbrv,lexPatString,lexSlashQuote,lexBrace,lexSlashBrace nextgroup=lexAbbrv,lexInclude
|
||||
syn match lexStartState "^%\(xs\?\|s\)\(t\(a\(t\(e\?\)\?\)\?\)\?\)\?\(\s\+\I\i*\)\+\s*$" contained contains=lexStartStateCmd
|
||||
syn match lexStartStateCmd '^%\(xs\?\|s\)\(t\(a\(t\(e\?\)\?\)\?\)\?\)\?' contained
|
||||
if has("folding")
|
||||
syn region lexInclude fold matchgroup=lexSep start="^%{" end="%}" contained contains=@lexCcode
|
||||
syn region lexAbbrvComment fold start="^\s\+/\*" end="\*/" contains=@Spell
|
||||
syn region lexAbbrvComment fold start="\%^/\*" end="\*/" contains=@Spell
|
||||
syn region lexStartState fold matchgroup=lexAbbrv start="^%\a\+" end="$" contained
|
||||
syn region lexInitialCodeBlock fold start="^\s\+" end="^\S"me=e-1 contains=@lexCcode
|
||||
syn region lexInclude fold matchgroup=lexSep start="^%\a*{" end="^%\?}" contained contains=@lexCcode,lexCFunctions
|
||||
syn region lexAbbrvComment fold start="^\s*//" end="$" contains=@Spell
|
||||
syn region lexAbbrvComment fold start="^\s*/\*" end="\*/" contains=@Spell
|
||||
else
|
||||
syn region lexInclude matchgroup=lexSep start="^%{" end="%}" contained contains=@lexCcode
|
||||
syn region lexAbbrvComment start="^\s\+/\*" end="\*/" contains=@Spell
|
||||
syn region lexAbbrvComment start="\%^/\*" end="\*/" contains=@Spell
|
||||
syn region lexStartState matchgroup=lexAbbrv start="^%\a\+" end="$" contained
|
||||
syn region lexInitialCodeBlock start="^\s\+" end="^\S"me=e-1 contains=@lexCcode
|
||||
syn region lexInclude matchgroup=lexSep start="^%\a*{" end="^%\?}" contained contains=@lexCcode,lexCFunctions
|
||||
syn region lexAbbrvComment start="^\s*//" end="$" contains=@Spell
|
||||
syn region lexAbbrvComment start="^\s*/\*" end="\*/" contains=@Spell
|
||||
endif
|
||||
|
||||
"%% : Patterns {Actions}
|
||||
" Rules Section with patterns and actions
|
||||
if has("folding")
|
||||
syn region lexPatBlock fold matchgroup=Todo start="^%%$" matchgroup=Todo end="^%\ze%$" skipnl skipwhite nextgroup=lexFinalCodeBlock contains=lexPatTag,lexPatTagZone,lexPatComment,lexPat,lexPatInclude
|
||||
syn region lexPat fold start=+\S+ skip="\\\\\|\\." end="\s"me=e-1 skipwhite contained nextgroup=lexMorePat,lexPatSep,lexPattern contains=lexPatTag,lexPatString,lexSlashQuote,lexBrace
|
||||
syn region lexPatInclude fold matchgroup=lexSep start="^%{" end="%}" contained contains=lexPatCode
|
||||
syn region lexBrace fold start="\[" skip=+\\\\\|\\+ end="]" contained
|
||||
syn region lexPatString fold matchgroup=String start=+"+ skip=+\\\\\|\\"+ matchgroup=String end=+"+ contained
|
||||
syn region lexPatBlock fold matchgroup=Todo start="^%%" matchgroup=Todo end="^\ze%%" skipnl skipwhite nextgroup=lexFinalCodeBlock contains=lexPatTag,lexPatTagZone,lexPatComment,lexPat,lexPatSep,lexPatInclude
|
||||
syn region lexPat fold start="\S" skip="\\\\\|\\\s" end="\ze\(\s*$\|\s\+\(\h\|{\W\|{$\|[-+*]\|//\|/\*\)\)" skipwhite contained nextgroup=lexMorePat,lexPatSep,lexPatEnd contains=lexPatTag,lexPatString,lexSlashQuote,lexPatAbbrv,lexBrace,lexSlashBrace
|
||||
syn region lexPatInclude fold matchgroup=lexSep start="^%{" end="^%}" contained contains=@lexCcode
|
||||
syn region lexBrace fold matchgroup=Character start="\[" skip="\\.\|\[:\a\+:\]\|\[\.\a\+\.\]\|\[=.=\]" end="\]" contained
|
||||
syn region lexPatString fold matchgroup=String start=+"+ skip=+\\\\\|\\"+ matchgroup=String end=+"+ contained
|
||||
else
|
||||
syn region lexPatBlock matchgroup=Todo start="^%%$" matchgroup=Todo end="^%%$" skipnl skipwhite nextgroup=lexFinalCodeBlock contains=lexPatTag,lexPatTagZone,lexPatComment,lexPat,lexPatInclude
|
||||
syn region lexPat start=+\S+ skip="\\\\\|\\." end="\s"me=e-1 skipwhite contained nextgroup=lexMorePat,lexPatSep,lexPattern contains=lexPatTag,lexPatString,lexSlashQuote,lexBrace
|
||||
syn region lexPatInclude matchgroup=lexSep start="^%{" end="%}" contained contains=lexPatCode
|
||||
syn region lexBrace start="\[" skip=+\\\\\|\\+ end="]" contained
|
||||
syn region lexPatString matchgroup=String start=+"+ skip=+\\\\\|\\"+ matchgroup=String end=+"+ contained
|
||||
syn region lexPatBlock matchgroup=Todo start="^%%" matchgroup=Todo end="^\ze%%" skipnl skipwhite nextgroup=lexFinalCodeBlock contains=lexPatTag,lexPatTagZone,lexPatComment,lexPat,lexPatSep,lexPatInclude
|
||||
syn region lexPat start="\S" skip="\\\\\|\\\s" end="\ze\(\s*$\|\s\+\(\h\|{\W\|{$\|[-+*]\|//\|/\*\)\)" skipwhite contained nextgroup=lexMorePat,lexPatSep,lexPatEnd contains=lexPatTag,lexPatString,lexSlashQuote,lexPatAbbrv,lexBrace,lexSlashBrace
|
||||
syn region lexPatInclude matchgroup=lexSep start="^%{" end="^%}" contained contains=@lexCcode
|
||||
syn region lexBrace matchgroup=Character start="\[" skip="\\.\|\[:\a\+:\]\|\[\.\a\+\.\]\|\[=.=\]" end="\]" contained
|
||||
syn region lexPatString matchgroup=String start=+"+ skip=+\\\\\|\\"+ matchgroup=String end=+"+ contained
|
||||
endif
|
||||
syn match lexPatTag "^<\I\i*\(,\I\i*\)*>" contained nextgroup=lexPat,lexPatTag,lexMorePat,lexPatSep
|
||||
syn match lexPatTagZone "^<\I\i*\(,\I\i*\)*>\s\+\ze{" contained nextgroup=lexPatTagZoneStart
|
||||
syn match lexPatTag +^<\I\i*\(,\I\i*\)*>*\(\\\\\)*\\"+ contained nextgroup=lexPat,lexPatTag,lexMorePat,lexPatSep
|
||||
|
||||
" Lex Patterns
|
||||
syn region lexPattern start='[^ \t{}]' end="$" contained contains=lexPatRange
|
||||
syn region lexPatRange matchgroup=Delimiter start='\[' skip='\\\\\|\\.' end='\]' contains=lexEscape
|
||||
syn match lexEscape '\%(\\\\\)*\\.' contained
|
||||
syn match lexPatAbbrv "{\I\i*}"hs=s+1,he=e-1 contained
|
||||
syn match lexPatTag "^<\^\?\(\I\i*\|\*\)\(,\^\?\(\I\i*\|\*\)\)*>" contained nextgroup=lexPat,lexMorePat,lexPatSep,lexPatEnd
|
||||
syn match lexPatTagZone "^<\^\?\(\I\i*\|\*\)\(,\^\?\(\I\i*\|\*\)\)*>\s*{$"me=e-1 contained nextgroup=lexPatTagZoneStart
|
||||
|
||||
if has("folding")
|
||||
syn region lexPatTagZoneStart matchgroup=lexPatTag fold start='{' end='}' contained contains=lexPat,lexPatComment
|
||||
syn region lexPatComment start="\s\+/\*" end="\*/" fold skipnl contained contains=cTodo skipwhite nextgroup=lexPatComment,lexPat,@Spell
|
||||
syn region lexPatTagZoneStart fold matchgroup=lexPatTag start='{$' end='^}' skipnl skipwhite contained contains=lexPatTag,lexPatTagZone,lexPatComment,lexPat,lexPatSep,lexPatInclude
|
||||
syn region lexPatComment fold start="//" end="$" skipnl contained contains=cTodo skipwhite nextgroup=lexPatComment,lexPat,@Spell
|
||||
syn region lexPatComment fold start="/\*" end="\*/" skipnl contained contains=cTodo skipwhite nextgroup=lexPatComment,lexPat,@Spell
|
||||
else
|
||||
syn region lexPatTagZoneStart matchgroup=lexPatTag start='{' end='}' contained contains=lexPat,lexPatComment
|
||||
syn region lexPatComment start="\s\+/\*" end="\*/" skipnl contained contains=cTodo skipwhite nextgroup=lexPatComment,lexPat,@Spell
|
||||
syn region lexPatTagZoneStart matchgroup=lexPatTag start='{' end='^}' skipnl skipwhitecontained contains=lexPatTag,lexPatTagZone,lexPatComment,lexPat,lexPatSep,lexPatInclude
|
||||
syn region lexPatComment start="//" end="$" skipnl contained contains=cTodo skipwhite nextgroup=lexPatComment,lexPat,@Spell
|
||||
syn region lexPatComment start="/\*" end="\*/" skipnl contained contains=cTodo skipwhite nextgroup=lexPatComment,lexPat,@Spell
|
||||
endif
|
||||
syn match lexPatCodeLine "[^{\[].*" contained contains=@lexCcode
|
||||
syn match lexMorePat "\s*|\s*$" skipnl contained nextgroup=lexPat,lexPatTag,lexPatComment
|
||||
syn match lexPatSep "\s\+" contained nextgroup=lexMorePat,lexPatCode,lexPatCodeLine
|
||||
syn match lexPatEnd "\s*$" skipnl contained
|
||||
syn match lexPatCodeLine "[^{\[].*" contained contains=@lexCcode,lexCFunctions
|
||||
syn match lexMorePat "\s*|\s*$" skipnl contained nextgroup=lexPat,lexPatTag,lexPatComment
|
||||
syn match lexPatSep "\s\+" contained nextgroup=lexMorePat,lexPatCode,lexPatCodeLine
|
||||
syn match lexSlashQuote +\(\\\\\)*\\"+ contained
|
||||
syn match lexSlashBrace +\(\\\\\)*\\\[+ contained
|
||||
if has("folding")
|
||||
syn region lexPatCode matchgroup=Delimiter start="{" end="}" fold skipnl contained contains=@lexCcode,lexCFunctions
|
||||
syn region lexPatCode fold matchgroup=Delimiter start="{" end="}" skipnl contained contains=@lexCcode,lexCFunctions
|
||||
else
|
||||
syn region lexPatCode matchgroup=Delimiter start="{" end="}" skipnl contained contains=@lexCcode,lexCFunctions
|
||||
syn region lexPatCode matchgroup=Delimiter start="{" end="}" skipnl contained contains=@lexCcode,lexCFunctions
|
||||
endif
|
||||
|
||||
" Lex "functions" which may appear in C/C++ code blocks
|
||||
syn keyword lexCFunctions BEGIN input unput woutput yyleng yylook yytext
|
||||
syn keyword lexCFunctions ECHO output winput wunput yyless yymore yywrap
|
||||
" User Code Section with final code block
|
||||
syn region lexFinalCodeBlock matchgroup=Todo start="^%%" end="\%$" contained contains=@lexCcode
|
||||
|
||||
" %%
|
||||
" lexAbbrevBlock
|
||||
" %%
|
||||
" lexPatBlock
|
||||
" %%
|
||||
" lexFinalCodeBlock
|
||||
syn region lexFinalCodeBlock matchgroup=Todo start="%$"me=e-1 end="\%$" contained contains=@lexCcode
|
||||
" Lex macros which may appear in C/C++ code blocks
|
||||
syn keyword lexCFunctions BEGIN ECHO REJECT yytext YYText yyleng YYLeng yymore yyless yywrap yylook
|
||||
syn keyword lexCFunctions yyrestart yyterminate yylineno yycolumno yyin yyout
|
||||
syn keyword lexCFunctions input unput output winput wunput woutput
|
||||
syn keyword lexCFunctions yyinput yyunput yyoutput yywinput yywunput yywoutput
|
||||
|
||||
" <c.vim> includes several ALLBUTs; these have to be treated so as to exclude lex* groups
|
||||
syn cluster cParenGroup add=lex.*
|
||||
syn cluster cParenGroup add=lex.*
|
||||
syn cluster cDefineGroup add=lex.*
|
||||
syn cluster cPreProcGroup add=lex.*
|
||||
syn cluster cMultiGroup add=lex.*
|
||||
syn cluster cMultiGroup add=lex.*
|
||||
|
||||
" Synchronization
|
||||
syn sync clear
|
||||
syn sync minlines=500
|
||||
syn sync match lexSyncPat grouphere lexPatBlock "^%[a-zA-Z]"
|
||||
syn sync match lexSyncPat groupthere lexPatBlock "^<$"
|
||||
syn sync match lexSyncPat groupthere lexPatBlock "^%%$"
|
||||
syn sync match lexSyncPat groupthere lexPatBlock "^%%"
|
||||
|
||||
" The default highlighting.
|
||||
if !exists("skip_lex_syntax_inits")
|
||||
hi def link lexAbbrvComment lexPatComment
|
||||
hi def link lexAbbrvRegExp Macro
|
||||
hi def link lexAbbrv SpecialChar
|
||||
hi def link lexBrace lexPat
|
||||
hi def link lexCFunctions Function
|
||||
hi def link lexCstruct cStructure
|
||||
hi def link lexMorePat SpecialChar
|
||||
hi def link lexOptions PreProc
|
||||
hi def link lexAbbrvPat lexPat
|
||||
hi def link lexAbbrv Special
|
||||
hi def link lexBrace lexPat
|
||||
hi def link lexCFunctions PreProc
|
||||
hi def link lexMorePat Special
|
||||
hi def link lexOptions PreProc
|
||||
hi def link lexOptionsEq Operator
|
||||
hi def link lexPatComment Comment
|
||||
hi def link lexPat Function
|
||||
hi def link lexPatString Function
|
||||
hi def link lexPatTag Special
|
||||
hi def link lexPatString lexPat
|
||||
hi def link lexPatAbbrv Special
|
||||
hi def link lexPatTag Statement
|
||||
hi def link lexPatTagZone lexPatTag
|
||||
hi def link lexSep Delimiter
|
||||
hi def link lexSlashQuote lexPat
|
||||
hi def link lexStartState Statement
|
||||
hi def link lexSlashBrace lexPat
|
||||
hi def link lexStartState lexPatTag
|
||||
hi def link lexStartStateCmd Special
|
||||
endif
|
||||
|
||||
let b:current_syntax = "lex"
|
||||
|
||||
" vim:ts=10
|
||||
" vim:ts=8
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
" Maintainer: Roland Hieber <rohieb+vim-iR0jGdkV@rohieb.name>, <https://github.com/rohieb>
|
||||
" Previous Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
||||
" URL: https://github.com/vim/vim/blob/master/runtime/syntax/make.vim
|
||||
" Last Change: 2020 Mar 04
|
||||
" Last Change: 2020 May 03
|
||||
|
||||
" quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
@@ -73,7 +73,7 @@ syn match makePreCondit "^ *\(ifn\=\(eq\|def\)\>\|else\(\s\+ifn\=\(eq\|def\)\)\=
|
||||
syn match makeInclude "^ *[-s]\=include\s.*$"
|
||||
syn match makeStatement "^ *vpath"
|
||||
syn match makeExport "^ *\(export\|unexport\)\>"
|
||||
syn match makeOverride "^ *override"
|
||||
syn match makeOverride "^ *override\>"
|
||||
" Statements / Functions (GNU make)
|
||||
syn match makeStatement contained "(\(abspath\|addprefix\|addsuffix\|and\|basename\|call\|dir\|error\|eval\|file\|filter-out\|filter\|findstring\|firstword\|flavor\|foreach\|guile\|if\|info\|join\|lastword\|notdir\|or\|origin\|patsubst\|realpath\|shell\|sort\|strip\|subst\|suffix\|value\|warning\|wildcard\|word\|wordlist\|words\)\>"ms=s+1
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
" Vim syntax file
|
||||
" Language: Man page
|
||||
" Maintainer: SungHyun Nam <goweol@gmail.com>
|
||||
" Maintainer: Jason Franklin <vim@justemail.net>
|
||||
" Previous Maintainer: SungHyun Nam <goweol@gmail.com>
|
||||
" Previous Maintainer: Gautam H. Mudunuri <gmudunur@informatica.com>
|
||||
" Version Info:
|
||||
" Last Change: 2015 Nov 24
|
||||
" Last Change: 2020 Apr 30
|
||||
|
||||
" Additional highlighting by Johannes Tanzler <johannes.tanzler@aon.at>:
|
||||
" * manSubHeading
|
||||
@@ -18,14 +19,17 @@ endif
|
||||
runtime! syntax/ctrlh.vim
|
||||
|
||||
syn case ignore
|
||||
|
||||
syn match manReference "\f\+([1-9][a-z]\=)"
|
||||
syn match manTitle "^\f\+([0-9]\+[a-z]\=).*"
|
||||
syn match manSectionHeading "^[a-z][a-z -]*[a-z]$"
|
||||
syn match manSubHeading "^\s\{3\}[a-z][a-z -]*[a-z]$"
|
||||
syn match manOptionDesc "^\s*[+-][a-z0-9]\S*"
|
||||
syn match manLongOptionDesc "^\s*--[a-z0-9-]\S*"
|
||||
" syn match manHistory "^[a-z].*last change.*$"
|
||||
|
||||
syn match manHeader '\%1l.*'
|
||||
exe 'syn match manFooter ''\%' . line('$') . 'l.*'''
|
||||
|
||||
if getline(1) =~ '^[a-zA-Z_]\+([23])'
|
||||
syntax include @cCode <sfile>:p:h/c.vim
|
||||
syn match manCFuncDefinition display "\<\h\w*\>\s*("me=e-1 contained
|
||||
@@ -36,7 +40,9 @@ endif
|
||||
" Define the default highlighting.
|
||||
" Only when an item doesn't have highlighting yet
|
||||
|
||||
hi def link manTitle Title
|
||||
hi def link manHeader Title
|
||||
hi def link manFooter PreProc
|
||||
|
||||
hi def link manSectionHeading Statement
|
||||
hi def link manOptionDesc Constant
|
||||
hi def link manLongOptionDesc Constant
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
" Language: Microsoft Macro Assembler (80x86)
|
||||
" Orig Author: Rob Brady <robb@datatone.com>
|
||||
" Maintainer: Wu Yongwei <wuyongwei@gmail.com>
|
||||
" Last Change: $Date: 2013/11/13 11:49:24 $
|
||||
" $Revision: 1.48 $
|
||||
" Last Change: 2020-05-09 22:55:38 +0800
|
||||
|
||||
" Quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
@@ -13,10 +12,12 @@ endif
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
syn iskeyword @,48-57,_,36,60,62,63,@-@
|
||||
|
||||
syn case ignore
|
||||
|
||||
|
||||
syn match masmIdentifier "[@a-z_$?][@a-z0-9_$?]*"
|
||||
syn match masmIdentifier "[@a-z_$?][@a-z0-9_$?<>]*"
|
||||
syn match masmLabel "^\s*[@a-z_$?][@a-z0-9_$?]*:"he=e-1
|
||||
|
||||
syn match masmDecimal "[-+]\?\d\+[dt]\?"
|
||||
|
||||
28
runtime/syntax/pamenv.vim
Normal file
28
runtime/syntax/pamenv.vim
Normal file
@@ -0,0 +1,28 @@
|
||||
" Vim syntax file
|
||||
" Language: pam_env.conf(5) configuration file
|
||||
" Latest Revision: 2020-05-10
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syn keyword pamenvTodo contained TODO FIXME XXX NOTE
|
||||
syn region pamenvComment start='^#' end='$' display oneline contains=pamenvTodo,@Spells
|
||||
|
||||
syn match pamenvVars '^[A-Z_][A-Z_0-9]*' nextgroup=pamenvKeywords skipwhite
|
||||
|
||||
syn keyword pamenvKeywords contained DEFAULT OVERRIDE nextgroup=pamenvVarEq
|
||||
|
||||
syn match pamenvVarEq contained '=' nextgroup=pamenvValue,pamenvValueWithQuote
|
||||
|
||||
syn match pamenvValue contained '[^ \t]*' skipwhite nextgroup=pamenvKeywords
|
||||
syn region pamenvValueWithQuote contained start='"' end='"' skipwhite nextgroup=pamenvKeywords
|
||||
|
||||
hi def link pamenvTodo Todo
|
||||
hi def link pamenvComment Comment
|
||||
hi def link pamenvKeywords Keyword
|
||||
hi def link pamenvVars Identifier
|
||||
hi def link pamenvValue String
|
||||
hi def link pamenvValueWithQuote String
|
||||
|
||||
let b:current_syntax = "pamenv"
|
||||
@@ -1,9 +1,9 @@
|
||||
" Vim syntax file
|
||||
" Language: Perl 5
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com>
|
||||
" Homepage: http://github.com/vim-perl/vim-perl/tree/master
|
||||
" Bugs/requests: http://github.com/vim-perl/vim-perl/issues
|
||||
" Last Change: 2017-09-12
|
||||
" Homepage: https://github.com/vim-perl/vim-perl/tree/master
|
||||
" Bugs/requests: https://github.com/vim-perl/vim-perl/issues
|
||||
" Last Change: 2020 Apr 15
|
||||
" Contributors: Andy Lester <andy@petdance.com>
|
||||
" Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
|
||||
" Lukas Mai <l.mai.web.de>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
" Vim syntax file
|
||||
" Language: Perl 6
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com>
|
||||
" Homepage: http://github.com/vim-perl/vim-perl/tree/master
|
||||
" Bugs/requests: http://github.com/vim-perl/vim-perl/issues
|
||||
" Last Change: 2013-07-21
|
||||
" Homepage: https://github.com/vim-perl/vim-perl/tree/master
|
||||
" Bugs/requests: https://github.com/vim-perl/vim-perl/issues
|
||||
" Last Change: 2020 Apr 15
|
||||
|
||||
" Contributors: Luke Palmer <fibonaci@babylonia.flatirons.org>
|
||||
" Moritz Lenz <moritz@faui2k3.org>
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
" Vim syntax file
|
||||
" Language: php PHP 3/4/5/7
|
||||
" Maintainer: Jason Woofenden <jason@jasonwoof.com>
|
||||
" Last Change: Oct 19, 2019
|
||||
" URL: https://jasonwoof.com/gitweb/?p=vim-syntax.git;a=blob;f=php.vim;hb=HEAD
|
||||
" Former Maintainers: Peter Hodge <toomuchphp-vim@yahoo.com>
|
||||
" Maintainer: Tyson Andre <tysonandre775@hotmail.com>
|
||||
" Last Change: May 11, 2020
|
||||
" URL: https://github.com/TysonAndre/vim-syntax
|
||||
" Former Maintainers:
|
||||
" Jason Woofenden <jason@jasonwoof.com>
|
||||
" Peter Hodge <toomuchphp-vim@yahoo.com>
|
||||
" Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
||||
"
|
||||
" Note: If you are using a colour terminal with dark background, you will
|
||||
@@ -91,7 +93,7 @@ if exists( "php_htmlInStrings")
|
||||
syn cluster phpAddStrings add=@htmlTop
|
||||
endif
|
||||
|
||||
" make sure we can use \ at the begining of the line to do a continuation
|
||||
" make sure we can use \ at the beginning of the line to do a continuation
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
@@ -314,7 +316,7 @@ syn region phpIdentifierComplexP matchgroup=phpParent start="\[" end="]" contain
|
||||
" define a cluster to get all interpolation syntaxes for double-quoted strings
|
||||
syn cluster phpInterpDouble contains=phpInterpSimple,phpInterpSimpleCurly,phpInterpDollarCurly1,phpInterpDollarCurly2,phpInterpBogusDollarCurley,phpInterpComplex
|
||||
|
||||
" Methoden
|
||||
" Methods
|
||||
syn match phpMethodsVar "->\h\w*" contained contains=phpMethods,phpMemberSelector display
|
||||
|
||||
" Include
|
||||
@@ -328,14 +330,14 @@ syn keyword phpBoolean true false contained
|
||||
|
||||
" Float
|
||||
" Refer to: https://www.php.net/manual/en/language.types.float.php
|
||||
syn match phpFloat "\%(\w\|\.\)\@<!\%(\d\|\.\)*\d\%(\d\|\.\)*\%([eE][+-]\=\%(\d\|\.\)\+\)\=\%(\w\|\.\)\@!" contained contains=phpFloatError display
|
||||
syn match phpFloatError "[eE.].*\." contained display
|
||||
syn match phpFloat "\%(\w\|\.\)\@<!\%(\d_\?\|\.\)*\d\%(\d\|_\|\.\)*\%([eE][+-]\=\%(\d\|_\|\.\)\+\)\=\%(\w\|\.\)\@!" contained contains=phpFloatError display
|
||||
syn match phpFloatError "\%([eE.][0-9._+-]*\.\|__\|_\(\>\|[eE]\)\|\(\>\|[eE]\)_\)" contained display
|
||||
|
||||
" Number
|
||||
syn match phpNumber "\%(\.\)\@<!\<\%([1-9]\d*\|0\|0[xX]\x\+\)\>\%(\.\)\@!" contained display
|
||||
syn match phpNumber "\%(\.\)\@<!\<\%([1-9]\d*\|0\|0[xX]\(\x_\?\)*\x\)\>\%(\.\)\@!" contained display
|
||||
syn match phpNumber "\%(\.\)\@<!\<0\d\+\>\%(\.\)\@!" contained contains=phpOctalError display
|
||||
syn match phpBinaryError "[2-9]" contained display
|
||||
syn match phpNumber "\%(\.\)\@<!\<0[bB]\d\+\>\%(\.\)\@!" contained contains=phpBinaryError display
|
||||
syn match phpNumber "\%(\.\)\@<!\<0[bB]\(\d_\?\)*\d\>\%(\.\)\@!" contained contains=phpBinaryError display
|
||||
|
||||
" Backslash escapes
|
||||
syn case match
|
||||
@@ -442,6 +444,7 @@ if exists("php_folding") && php_folding==1
|
||||
" match one line constructs here and skip them at folding
|
||||
syn keyword phpSCKeyword abstract final private protected public static contained
|
||||
syn keyword phpFCKeyword function contained
|
||||
syn keyword phpDefine fn contained
|
||||
syn keyword phpStorageClass global contained
|
||||
syn match phpDefine "\(\s\|^\)\(abstract\s\+\|final\s\+\|private\s\+\|protected\s\+\|public\s\+\|static\s\+\)*function\(\s\+.*[;}]\)\@=" contained contains=phpSCKeyword
|
||||
syn match phpStructure "\(\s\|^\)\(abstract\s\+\|final\s\+\)*\(trait\|class\)\(\s\+.*}\)\@=" contained
|
||||
@@ -459,7 +462,7 @@ if exists("php_folding") && php_folding==1
|
||||
syn region phpFoldCatch matchgroup=Exception start="^\z(\s*\)catch\s\+\([^}]*$\)\@=" matchgroup=Delimiter end="^\z1}" contains=@phpClFunction,phpFoldFunction contained transparent fold extend
|
||||
syn region phpFoldTry matchgroup=Exception start="^\z(\s*\)try\s\+\([^}]*$\)\@=" matchgroup=Delimiter end="^\z1}" contains=@phpClFunction,phpFoldFunction contained transparent fold extend
|
||||
else
|
||||
syn keyword phpDefine function contained
|
||||
syn keyword phpDefine function fn contained
|
||||
syn keyword phpStructure abstract class trait interface contained
|
||||
syn keyword phpException catch throw try finally contained
|
||||
syn keyword phpStorageClass final global private protected public static contained
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
" Language: shell (sh) Korn shell (ksh) bash (sh)
|
||||
" Maintainer: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
|
||||
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
|
||||
" Last Change: Oct 16, 2019
|
||||
" Version: 189
|
||||
" Last Change: Apr 14, 2020
|
||||
" Version: 190
|
||||
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH
|
||||
" For options and settings, please use: :help ft-sh-syntax
|
||||
" This file includes many ideas from Eric Brunet (eric.brunet@ens.fr)
|
||||
@@ -357,19 +357,18 @@ elseif !exists("g:sh_no_error")
|
||||
syn region shExDoubleQuote matchGroup=Error start=+\$"+ skip=+\\\\\|\\.+ end=+"+ contains=shStringSpecial
|
||||
endif
|
||||
syn region shSingleQuote matchgroup=shQuote start=+'+ end=+'+ contains=@Spell nextgroup=shSpecialStart,shSpecialSQ
|
||||
syn region shDoubleQuote matchgroup=shQuote start=+\%(\%(\\\\\)*\\\)\@<!"+ skip=+\\"+ end=+"+ contains=@shDblQuoteList,shStringSpecial,@Spell nextgroup=shSpecialStart
|
||||
syn region shDoubleQuote matchgroup=shQuote start=+"+ skip=+\\"+ end=+"+ contained contains=@shDblQuoteList,shStringSpecial,@Spell nextgroup=shSpecialStart
|
||||
syn region shDoubleQuote matchgroup=shQuote start=+\%(\%(\\\\\)*\\\)\@<!"+ skip=+\\.+ end=+"+ contains=@shDblQuoteList,shStringSpecial,@Spell nextgroup=shSpecialStart
|
||||
syn region shDoubleQuote matchgroup=shQuote start=+"+ matchgroup=shSpecial skip=+\\"+ end=+"+ contained contains=@shDblQuoteList,shStringSpecial,@Spell nextgroup=shSpecialStart
|
||||
syn match shStringSpecial "[^[:print:] \t]" contained
|
||||
syn match shStringSpecial "[^\\]\zs\%(\\\\\)*\\[\\"'`$()#]" nextgroup=shComment
|
||||
syn match shStringSpecial "[^\\]\zs\%(\\\\\)*\\[\\"'`$()#]"
|
||||
syn match shSpecialSQ "[^\\]\zs\%(\\\\\)*\\[\\"'`$()#]" contained nextgroup=shBkslshSnglQuote,@shNoZSList
|
||||
syn match shSpecialDQ "[^\\]\zs\%(\\\\\)*\\[\\"'`$()#]" contained nextgroup=shBkslshDblQuote,@shNoZSList
|
||||
syn match shSpecialStart "\%(\\\\\)*\\[\\"'`$()#]" contained nextgroup=shBkslshSnglQuote,shBkslshDblQuote,@shNoZSList
|
||||
syn match shSpecial "^\%(\\\\\)*\\[\\"'`$()#]"
|
||||
syn match shSpecialNoZS contained "\%(\\\\\)*\\[\\"'`$()#]"
|
||||
syn match shSpecialNxt contained "\\[\\"'`$()#]"
|
||||
syn region shBkslshSnglQuote contained matchgroup=shQuote start=+'+ end=+'+ contains=@Spell nextgroup=shSpecialStart
|
||||
syn region shBkslshDblQuote contained matchgroup=shQuote start=+"+ skip=+\\"+ end=+"+ contains=@shDblQuoteList,shStringSpecial,@Spell nextgroup=shSpecialStart
|
||||
"syn region shBkslshSnglQuote contained matchgroup=shQuote start=+'+ end=+'+ contains=@Spell nextgroup=shSpecialStart
|
||||
"syn region shBkslshDblQuote contained matchgroup=shQuote start=+"+ skip=+\\"+ end=+"+ contains=@shDblQuoteList,shStringSpecial,@Spell nextgroup=shSpecialStart
|
||||
|
||||
" Comments: {{{1
|
||||
"==========
|
||||
@@ -454,13 +453,13 @@ if !exists("g:sh_no_error")
|
||||
syn match shDerefWordError "[^}$[~]" contained
|
||||
endif
|
||||
syn match shDerefSimple "\$\%(\h\w*\|\d\)" nextgroup=@shNoZSList
|
||||
syn region shDeref matchgroup=PreProc start="\${" end="}" contains=@shDerefList,shDerefVarArray
|
||||
syn region shDeref matchgroup=PreProc start="\${" end="}" contains=@shDerefList,shDerefVarArray nextgroup=shSpecialStart
|
||||
syn match shDerefSimple "\$[-#*@!?]" nextgroup=@shNoZSList
|
||||
syn match shDerefSimple "\$\$" nextgroup=@shNoZSList
|
||||
syn match shDerefSimple "\${\d}" nextgroup=@shNoZSList
|
||||
syn match shDerefSimple "\${\d}" nextgroup=@shNoZSList nextgroup=shSpecialStart
|
||||
if exists("b:is_bash") || exists("b:is_kornshell") || exists("b:is_posix")
|
||||
syn region shDeref matchgroup=PreProc start="\${##\=" end="}" contains=@shDerefList nextgroup=@shSpecialNoZS
|
||||
syn region shDeref matchgroup=PreProc start="\${\$\$" end="}" contains=@shDerefList nextgroup=@shSpecialNoZS
|
||||
syn region shDeref matchgroup=PreProc start="\${##\=" end="}" contains=@shDerefList nextgroup=@shSpecialNoZS,shSpecialStart
|
||||
syn region shDeref matchgroup=PreProc start="\${\$\$" end="}" contains=@shDerefList nextgroup=@shSpecialNoZS,shSpecialStart
|
||||
endif
|
||||
|
||||
" ksh: ${!var[*]} array index list syntax: {{{1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Vim syntax support file
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2016 Nov 04
|
||||
" Last Change: 2020 Apr 13
|
||||
|
||||
" This file sets up for syntax highlighting.
|
||||
" It is loaded from "syntax.vim" and "manual.vim".
|
||||
@@ -52,9 +52,11 @@ fun! s:SynSet()
|
||||
|
||||
if s != ""
|
||||
" Load the syntax file(s). When there are several, separated by dots,
|
||||
" load each in sequence.
|
||||
" load each in sequence. Skip empty entries.
|
||||
for name in split(s, '\.')
|
||||
exe "runtime! syntax/" . name . ".vim syntax/" . name . "/*.vim"
|
||||
if !empty(name)
|
||||
exe "runtime! syntax/" . name . ".vim syntax/" . name . "/*.vim"
|
||||
endif
|
||||
endfor
|
||||
endif
|
||||
endfun
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
" Vim syntax file
|
||||
" Language: Vim 8.0 script
|
||||
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
|
||||
" Last Change: March 11, 2020
|
||||
" Version: 8.0-30
|
||||
" Last Change: Apr 15, 2020
|
||||
" Version: 8.0-33
|
||||
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM
|
||||
" Automatically generated keyword lists: {{{1
|
||||
|
||||
@@ -224,7 +224,7 @@ syn keyword vimAugroupKey contained aug[roup]
|
||||
|
||||
" Operators: {{{2
|
||||
" =========
|
||||
syn cluster vimOperGroup contains=vimEnvvar,vimFunc,vimFuncVar,vimOper,vimOperParen,vimNumber,vimString,vimRegister,vimContinue
|
||||
syn cluster vimOperGroup contains=vimEnvvar,vimFunc,vimFuncVar,vimOper,vimOperParen,vimNumber,vimString,vimRegister,vimContinue,vim9Comment
|
||||
syn match vimOper "\%#=1\(==\|!=\|>=\|<=\|=\~\|!\~\|>\|<\|=\)[?#]\{0,2}" skipwhite nextgroup=vimString,vimSpecFile
|
||||
syn match vimOper "\(\<is\|\<isnot\)[?#]\{0,2}\>" skipwhite nextgroup=vimString,vimSpecFile
|
||||
syn match vimOper "||\|&&\|[-+.!]" skipwhite nextgroup=vimString,vimSpecFile
|
||||
@@ -265,7 +265,7 @@ syn match vimSpecFileMod "\(:[phtre]\)\+" contained
|
||||
|
||||
" User-Specified Commands: {{{2
|
||||
" =======================
|
||||
syn cluster vimUserCmdList contains=vimAddress,vimSyntax,vimHighlight,vimAutoCmd,vimCmplxRepeat,vimComment,vimCtrlChar,vimEscapeBrace,vimFunc,vimFuncName,vimFunction,vimFunctionError,vimIsCommand,vimMark,vimNotation,vimNumber,vimOper,vimRegion,vimRegister,vimLet,vimSet,vimSetEqual,vimSetString,vimSpecFile,vimString,vimSubst,vimSubstRep,vimSubstRange,vimSynLine
|
||||
syn cluster vimUserCmdList contains=vimAddress,vimSyntax,vimHighlight,vimAutoCmd,vimCmplxRepeat,vimComment,vim9Comment,vimCtrlChar,vimEscapeBrace,vimFunc,vimFuncName,vimFunction,vimFunctionError,vimIsCommand,vimMark,vimNotation,vimNumber,vimOper,vimRegion,vimRegister,vimLet,vimSet,vimSetEqual,vimSetString,vimSpecFile,vimString,vimSubst,vimSubstRep,vimSubstRange,vimSynLine
|
||||
syn keyword vimUserCommand contained com[mand]
|
||||
syn match vimUserCmd "\<com\%[mand]!\=\>.*$" contains=vimUserAttrb,vimUserAttrbError,vimUserCommand,@vimUserCmdList
|
||||
syn match vimUserAttrbError contained "-\a\+\ze\s"
|
||||
@@ -295,6 +295,12 @@ syn match vimComment excludenl +\s"[^\-:.%#=*].*$+lc=1 contains=@vimCommentGroup
|
||||
syn match vimComment +\<endif\s\+".*$+lc=5 contains=@vimCommentGroup,vimCommentString
|
||||
syn match vimComment +\<else\s\+".*$+lc=4 contains=@vimCommentGroup,vimCommentString
|
||||
syn region vimCommentString contained oneline start='\S\s\+"'ms=e end='"'
|
||||
" Vim9 comments - TODO: might be highlighted while they don't work
|
||||
syn match vimComment excludenl +\s#[^{].*$+lc=1 contains=@vimCommentGroup,vimCommentString
|
||||
syn match vimComment +\<endif\s\+#[^{].*$+lc=5 contains=@vimCommentGroup,vimCommentString
|
||||
syn match vimComment +\<else\s\+#[^{].*$+lc=4 contains=@vimCommentGroup,vimCommentString
|
||||
" Vim9 comment inside expression
|
||||
syn match vim9Comment +\s\zs#[^{].*$+ contains=@vimCommentGroup,vimCommentString
|
||||
|
||||
" Environment Variables: {{{2
|
||||
" =====================
|
||||
@@ -372,7 +378,7 @@ syn match vimCmplxRepeat '[^a-zA-Z_/\\()]q[0-9a-zA-Z"]\>'lc=1
|
||||
syn match vimCmplxRepeat '@[0-9a-z".=@:]\ze\($\|[^a-zA-Z]\>\)'
|
||||
|
||||
" Set command and associated set-options (vimOptions) with comment {{{2
|
||||
syn region vimSet matchgroup=vimCommand start="\<\%(setl\%[ocal]\|setg\%[lobal]\|se\%[t]\)\>" skip="\%(\\\\\)*\\." end="$" end="|" matchgroup=vimNotation end="<[cC][rR]>" keepend oneline contains=vimSetEqual,vimOption,vimErrSetting,vimComment,vimSetString,vimSetMod
|
||||
syn region vimSet matchgroup=vimCommand start="\<\%(setl\%[ocal]\|setg\%[lobal]\|se\%[t]\)\>" skip="\%(\\\\\)*\\." end="$" end="|" matchgroup=vimNotation end="<[cC][rR]>" keepend oneline contains=vimSetEqual,vimOption,vimErrSetting,vimComment,vim9Comment,vimSetString,vimSetMod
|
||||
syn region vimSetEqual contained start="[=:]\|[-+^]=" skip="\\\\\|\\\s" end="[| \t]\|$"me=e-1 contains=vimCtrlChar,vimSetSep,vimNotation,vimEnvvar oneline
|
||||
syn region vimSetString contained start=+="+hs=s+1 skip=+\\\\\|\\"+ end=+"+ contains=vimCtrlChar
|
||||
syn match vimSetSep contained "[,:]" skipwhite nextgroup=vimCommand
|
||||
@@ -381,7 +387,7 @@ syn match vimSetMod contained "&vim\=\|[!&?<]\|all&"
|
||||
" Let: {{{2
|
||||
" ===
|
||||
syn keyword vimLet let unl[et] skipwhite nextgroup=vimVar,vimFuncVar,vimLetHereDoc
|
||||
VimFoldh syn region vimLetHereDoc matchgroup=vimLetHereDocStart start='=<<\s\+\%(trim\>\)\=\s*\z(\L\S*\)' matchgroup=vimLetHereDocStop end='^\s*\z1\s*$' contains=vimComment
|
||||
VimFoldh syn region vimLetHereDoc matchgroup=vimLetHereDocStart start='=<<\s\+\%(trim\>\)\=\s*\z(\L\S*\)' matchgroup=vimLetHereDocStop end='^\s*\z1\s*$' contains=vimComment,vim9Comment
|
||||
|
||||
" Abbreviations: {{{2
|
||||
" =============
|
||||
@@ -427,7 +433,7 @@ syn match vimMenuPriority "\d\+\(\.\d\+\)*" contained skipwhite nextgroup=vimMen
|
||||
syn match vimMenuNameMore "\c\\\s\|<tab>\|\\\." contained nextgroup=vimMenuName,vimMenuNameMore contains=vimNotation
|
||||
syn match vimMenuMod contained "\c<\(script\|silent\)\+>" skipwhite contains=vimMapModKey,vimMapModErr nextgroup=@vimMenuList
|
||||
syn match vimMenuMap "\s" contained skipwhite nextgroup=vimMenuRhs
|
||||
syn match vimMenuRhs ".*$" contained contains=vimString,vimComment,vimIsCommand
|
||||
syn match vimMenuRhs ".*$" contained contains=vimString,vimComment,vim9Comment,vimIsCommand
|
||||
syn match vimMenuBang "!" contained skipwhite nextgroup=@vimMenuList
|
||||
|
||||
" Angle-Bracket Notation: (tnx to Michael Geddes) {{{2
|
||||
@@ -477,8 +483,8 @@ syn match vimSynContains contained "\<contain\(s\|edin\)=" nextgroup=vimGroupLis
|
||||
syn match vimSynKeyContainedin contained "\<containedin=" nextgroup=vimGroupList
|
||||
syn match vimSynNextgroup contained "nextgroup=" nextgroup=vimGroupList
|
||||
|
||||
syn match vimSyntax "\<sy\%[ntax]\>" contains=vimCommand skipwhite nextgroup=vimSynType,vimComment
|
||||
syn match vimAuSyntax contained "\s+sy\%[ntax]" contains=vimCommand skipwhite nextgroup=vimSynType,vimComment
|
||||
syn match vimSyntax "\<sy\%[ntax]\>" contains=vimCommand skipwhite nextgroup=vimSynType,vimComment,vim9Comment
|
||||
syn match vimAuSyntax contained "\s+sy\%[ntax]" contains=vimCommand skipwhite nextgroup=vimSynType,vimComment,vim9Comment
|
||||
syn cluster vimFuncBodyList add=vimSyntax
|
||||
|
||||
" Syntax: case {{{2
|
||||
@@ -515,7 +521,7 @@ syn match vimSynKeyOpt contained "\%#=1\<\(conceal\|contained\|transparent\|skip
|
||||
syn cluster vimFuncBodyList add=vimSynType
|
||||
|
||||
" Syntax: match {{{2
|
||||
syn cluster vimSynMtchGroup contains=vimMtchComment,vimSynContains,vimSynError,vimSynMtchOpt,vimSynNextgroup,vimSynRegPat,vimNotation
|
||||
syn cluster vimSynMtchGroup contains=vimMtchComment,vimSynContains,vimSynError,vimSynMtchOpt,vimSynNextgroup,vimSynRegPat,vimNotation,vim9Comment
|
||||
syn keyword vimSynType contained match skipwhite nextgroup=vimSynMatchRegion
|
||||
syn region vimSynMatchRegion contained keepend matchgroup=vimGroupName start="\h\w*" matchgroup=vimSep end="|\|$" contains=@vimSynMtchGroup
|
||||
syn match vimSynMtchOpt contained "\%#=1\<\(conceal\|transparent\|contained\|excludenl\|keepend\|skipempty\|skipwhite\|display\|extend\|skipnl\|fold\)\>"
|
||||
@@ -569,7 +575,7 @@ syn match vimIsCommand "<Bar>\s*\a\+" transparent contains=vimCommand,vimNotatio
|
||||
|
||||
" Highlighting: {{{2
|
||||
" ============
|
||||
syn cluster vimHighlightCluster contains=vimHiLink,vimHiClear,vimHiKeyList,vimComment
|
||||
syn cluster vimHighlightCluster contains=vimHiLink,vimHiClear,vimHiKeyList,vimComment,vim9Comment
|
||||
if !exists("g:vimsyn_noerror") && !exists("g:vimsyn_novimhictermerror")
|
||||
syn match vimHiCtermError contained "\D\i*"
|
||||
endif
|
||||
@@ -624,6 +630,7 @@ syn match vimCtrlChar "[--]"
|
||||
" Beginners - Patterns that involve ^ {{{2
|
||||
" =========
|
||||
syn match vimLineComment +^[ \t:]*".*$+ contains=@vimCommentGroup,vimCommentString,vimCommentTitle
|
||||
syn match vim9LineComment +^[ \t:]\+#.*$+ contains=@vimCommentGroup,vimCommentString,vimCommentTitle
|
||||
syn match vimCommentTitle '"\s*\%([sS]:\|\h\w*#\)\=\u\w*\(\s\+\u\w*\)*:'hs=s+1 contained contains=vimCommentTitleLeader,vimTodo,@vimCommentGroup
|
||||
syn match vimContinue "^\s*\\"
|
||||
syn region vimString start="^\s*\\\z(['"]\)" skip='\\\\\|\\\z1' end="\z1" oneline keepend contains=@vimStringGroup,vimContinue
|
||||
@@ -738,10 +745,10 @@ if g:vimsyn_embed =~# 'P' && has("pythonx") && filereadable(s:pythonpath)
|
||||
unlet! b:current_syntax
|
||||
syn cluster vimFuncBodyList add=vimPythonRegion
|
||||
exe "syn include @vimPythonScript ".s:pythonpath
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+py\%[thon]3\=\s*<<\s*\z(\S*\)\ze\(\s*#.*\)\=$+ end=+^\z1\ze\(\s*".*\)\=$+ contains=@vimPythonScript
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+py\%[thon]3\=\s*<<\s*$+ end=+\.$+ contains=@vimPythonScript
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+py\%[thon][3x]\=\s*<<\s*\z(\S*\)\ze\(\s*#.*\)\=$+ end=+^\z1\ze\(\s*".*\)\=$+ contains=@vimPythonScript
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+py\%[thon][3x]\=\s*<<\s*$+ end=+\.$+ contains=@vimPythonScript
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+Py\%[thon]2or3\s*<<\s*\z(\S*\)\ze\(\s*#.*\)\=$+ end=+^\z1\ze\(\s*".*\)\=$+ contains=@vimPythonScript
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+Py\%[thon]2or3\=\s*<<\s*$+ end=+\.$+ contains=@vimPythonScript
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+Py\%[thon]2or3\=\s*<<\s*$+ end=+\.$+ contains=@vimPythonScript
|
||||
syn cluster vimFuncBodyList add=vimPythonRegion
|
||||
else
|
||||
syn region vimEmbedError start=+py\%[thon]3\=\s*<<\s*\z(.*\)$+ end=+^\z1$+
|
||||
@@ -857,6 +864,7 @@ if !exists("skip_vim_syntax_inits")
|
||||
hi def link vimCmplxRepeat SpecialChar
|
||||
hi def link vimCommand Statement
|
||||
hi def link vimComment Comment
|
||||
hi def link vim9Comment Comment
|
||||
hi def link vimCommentString vimString
|
||||
hi def link vimCommentTitle PreProc
|
||||
hi def link vimCondHL vimCommand
|
||||
@@ -906,6 +914,7 @@ if !exists("skip_vim_syntax_inits")
|
||||
hi def link vimLetHereDocStart Special
|
||||
hi def link vimLetHereDocStop Special
|
||||
hi def link vimLineComment vimComment
|
||||
hi def link vim9LineComment vimComment
|
||||
hi def link vimMapBang vimCommand
|
||||
hi def link vimMapModKey vimFuncSID
|
||||
hi def link vimMapMod vimBracket
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
# Argument for running ctags.
|
||||
TAGS_FILES = \
|
||||
*.c \
|
||||
*.cc \
|
||||
*.cpp \
|
||||
*.h \
|
||||
auto/*.c \
|
||||
|
||||
@@ -624,7 +624,10 @@ NBDEBUG_SRC = nbdebug.c
|
||||
endif
|
||||
|
||||
ifeq ($(CHANNEL),yes)
|
||||
DEFINES += -DFEAT_JOB_CHANNEL
|
||||
DEFINES += -DFEAT_JOB_CHANNEL -DFEAT_IPV6
|
||||
ifeq ($(shell expr "$(WINVER)" \>= 0x600),1)
|
||||
DEFINES += -DHAVE_INET_NTOP
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(TERMINAL),yes)
|
||||
@@ -784,6 +787,8 @@ OBJ = \
|
||||
$(OUTDIR)/tag.o \
|
||||
$(OUTDIR)/term.o \
|
||||
$(OUTDIR)/testing.o \
|
||||
$(OUTDIR)/textformat.o \
|
||||
$(OUTDIR)/textobject.o \
|
||||
$(OUTDIR)/textprop.o \
|
||||
$(OUTDIR)/time.o \
|
||||
$(OUTDIR)/ui.o \
|
||||
@@ -850,7 +855,7 @@ endif
|
||||
|
||||
ifeq ($(CHANNEL),yes)
|
||||
OBJ += $(OUTDIR)/channel.o
|
||||
LIB += -lwsock32
|
||||
LIB += -lwsock32 -lws2_32
|
||||
endif
|
||||
|
||||
ifeq ($(DIRECTX),yes)
|
||||
@@ -1241,6 +1246,7 @@ $(OUTDIR)/pathdef.o: $(PATHDEF_SRC) $(INCL)
|
||||
|
||||
CCCTERM = $(CC) -c $(CFLAGS) -Ilibvterm/include -DINLINE="" \
|
||||
-DVSNPRINTF=vim_vsnprintf \
|
||||
-DSNPRINTF=vim_snprintf \
|
||||
-DIS_COMBINING_FUNCTION=utf_iscomposing_uint \
|
||||
-DWCWIDTH_FUNCTION=utf_uint2cells \
|
||||
-DGET_SPECIAL_PTY_TYPE_FUNCTION=get_special_pty_type
|
||||
|
||||
@@ -103,6 +103,8 @@ SRC = arabic.c \
|
||||
tag.c \
|
||||
term.c \
|
||||
testing.c \
|
||||
textformat.c \
|
||||
textobject.c \
|
||||
textprop.c \
|
||||
time.c \
|
||||
ui.c \
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user