mirror of
https://github.com/zoriya/vim.git
synced 2025-12-12 10:16:18 +00:00
Compare commits
222 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2877d334ad | ||
|
|
d7ccc4d81d | ||
|
|
fb1db0e355 | ||
|
|
be5d998d0e | ||
|
|
281c93e714 | ||
|
|
83799a7b74 | ||
|
|
819edbe078 | ||
|
|
50d43153a7 | ||
|
|
6315a9ae92 | ||
|
|
291a9d15ed | ||
|
|
3167c3e701 | ||
|
|
2c997d7603 | ||
|
|
93a32e2ec4 | ||
|
|
3679c17917 | ||
|
|
a2a80162de | ||
|
|
52dbb5ea7f | ||
|
|
5505860152 | ||
|
|
ff5467965e | ||
|
|
91ffda9852 | ||
|
|
6e77df2d85 | ||
|
|
5df95ea9ef | ||
|
|
bb160a188a | ||
|
|
73675fbc48 | ||
|
|
5bbef31949 | ||
|
|
40e280d949 | ||
|
|
7221fce8b3 | ||
|
|
669a828cdc | ||
|
|
246fe03d15 | ||
|
|
e518226713 | ||
|
|
44c2bffde7 | ||
|
|
e86ee877c1 | ||
|
|
4ab9d9e9a4 | ||
|
|
d1c28346e1 | ||
|
|
c3719bd87b | ||
|
|
c7d16dce2f | ||
|
|
0f1e643138 | ||
|
|
51b0f3701e | ||
|
|
234d16286a | ||
|
|
ae1e108caa | ||
|
|
9e27217c48 | ||
|
|
7567d0b115 | ||
|
|
d048009717 | ||
|
|
9c6ce0e622 | ||
|
|
209d3874c1 | ||
|
|
7cb769a69f | ||
|
|
cd142e3369 | ||
|
|
a42ad57e48 | ||
|
|
58a8f1706f | ||
|
|
2392143236 | ||
|
|
1dcada1933 | ||
|
|
e42a6d2509 | ||
|
|
2f27aab8e6 | ||
|
|
60e73f2acc | ||
|
|
d327b0c68f | ||
|
|
f8c53d3d26 | ||
|
|
80eaddd3a0 | ||
|
|
7f2e9d7c9c | ||
|
|
13e904199c | ||
|
|
ae147ab2d7 | ||
|
|
aeeb6888ca | ||
|
|
5fd8b78214 | ||
|
|
d09a206ee9 | ||
|
|
462455ee8b | ||
|
|
9ed7d34af3 | ||
|
|
cef7322d8a | ||
|
|
851ee6c3da | ||
|
|
de323093e1 | ||
|
|
040c1feb21 | ||
|
|
8ac441576f | ||
|
|
26d205dcd8 | ||
|
|
a3f7e58bf8 | ||
|
|
c9e9c71409 | ||
|
|
0c4dc88a63 | ||
|
|
4148be468f | ||
|
|
53ec79537a | ||
|
|
fb094e14c1 | ||
|
|
8fdb35a974 | ||
|
|
b0d45e7f53 | ||
|
|
aace215813 | ||
|
|
3bf8c3c38f | ||
|
|
5842a748be | ||
|
|
ffe010fa03 | ||
|
|
ad7dac85c3 | ||
|
|
c363251630 | ||
|
|
5a73e0ca54 | ||
|
|
7dd88c5133 | ||
|
|
1232624ae5 | ||
|
|
ab8b1c14a3 | ||
|
|
13deab8d08 | ||
|
|
52a2f0f1da | ||
|
|
2973daafe1 | ||
|
|
a88254f704 | ||
|
|
01164a6546 | ||
|
|
ea84df8041 | ||
|
|
4c22a91d20 | ||
|
|
430dc5d360 | ||
|
|
8889a5c305 | ||
|
|
d97fbf171e | ||
|
|
f8f8b2eadb | ||
|
|
c20e0d5207 | ||
|
|
5130f31661 | ||
|
|
86b21bb3e7 | ||
|
|
b315876efa | ||
|
|
3e1c617d49 | ||
|
|
b94340c04f | ||
|
|
f45938cc20 | ||
|
|
ffd99f729b | ||
|
|
89c394faca | ||
|
|
ba6febd380 | ||
|
|
48570488f1 | ||
|
|
2e51d9a097 | ||
|
|
af2d20c628 | ||
|
|
d057301b1f | ||
|
|
ef83956e1e | ||
|
|
a6ce1ccf5c | ||
|
|
b9fce6cbf7 | ||
|
|
c3fdf7f80b | ||
|
|
c312b8b87a | ||
|
|
ce15775026 | ||
|
|
9a91c7a1f9 | ||
|
|
0e19fc07e7 | ||
|
|
dc1c981294 | ||
|
|
2a45d64d0a | ||
|
|
ee03b94124 | ||
|
|
cf1ba35fc2 | ||
|
|
9ad89c6c4f | ||
|
|
ce11de87e2 | ||
|
|
15993ce921 | ||
|
|
235dddf1f4 | ||
|
|
f204e05ae9 | ||
|
|
8d84ff1a3c | ||
|
|
d99388ba85 | ||
|
|
6ce6504808 | ||
|
|
2f40d129bf | ||
|
|
4f1982800f | ||
|
|
2e4cb3b042 | ||
|
|
66857f4104 | ||
|
|
ca05aa24af | ||
|
|
f8e8c0643b | ||
|
|
53f0c96239 | ||
|
|
6b89dbb55f | ||
|
|
67435d9983 | ||
|
|
fafcf0dd59 | ||
|
|
ff930cad8a | ||
|
|
87ffb5c1a3 | ||
|
|
6daeef1933 | ||
|
|
059db5c29f | ||
|
|
44cc4cf72f | ||
|
|
67418d97b4 | ||
|
|
8bfe07b708 | ||
|
|
00ce63dc23 | ||
|
|
81b07b527e | ||
|
|
a20f83df1d | ||
|
|
9377df3ecd | ||
|
|
65e4c4f686 | ||
|
|
b2c8750c4e | ||
|
|
ac8069bb63 | ||
|
|
6199d43f4b | ||
|
|
2c33d7bb69 | ||
|
|
6047e2c722 | ||
|
|
1d68d9b2bd | ||
|
|
8065cf2bfb | ||
|
|
4a6fcf8047 | ||
|
|
9202162c5c | ||
|
|
9b69f22e66 | ||
|
|
18cfa940e2 | ||
|
|
0ab35b279f | ||
|
|
4635e11c6b | ||
|
|
75f69e5a18 | ||
|
|
631820536e | ||
|
|
73f4439ca6 | ||
|
|
54e5dbf58e | ||
|
|
d78f03f860 | ||
|
|
c902609f69 | ||
|
|
a0a6f2776e | ||
|
|
19a3d68b2c | ||
|
|
2a6a6c3014 | ||
|
|
712549e04e | ||
|
|
f33606112a | ||
|
|
5ece3e359c | ||
|
|
0aa398f55a | ||
|
|
3a497e1a41 | ||
|
|
c958b31638 | ||
|
|
f52c383156 | ||
|
|
65ed136844 | ||
|
|
c79977a437 | ||
|
|
660b85e39a | ||
|
|
a5e6621aad | ||
|
|
816968defc | ||
|
|
d371bbe0ab | ||
|
|
db51007108 | ||
|
|
24a98a0eb7 | ||
|
|
9cf39cc57f | ||
|
|
1ec96c9269 | ||
|
|
d1bc96ce24 | ||
|
|
1b38344e00 | ||
|
|
97fbc404fc | ||
|
|
2a02745709 | ||
|
|
09ca932f8e | ||
|
|
6edeaf387c | ||
|
|
a8fc0d3817 | ||
|
|
22ab547dc2 | ||
|
|
7c456a4511 | ||
|
|
452030e530 | ||
|
|
0c6a32963d | ||
|
|
0b05e491b4 | ||
|
|
e0de17d84e | ||
|
|
378daf87d3 | ||
|
|
96e7a6ee45 | ||
|
|
bb3e6416f1 | ||
|
|
a21a6a9ade | ||
|
|
eb163d73b1 | ||
|
|
e745d75c3e | ||
|
|
0263146b5d | ||
|
|
53f8174eae | ||
|
|
76301956f0 | ||
|
|
f3d769a585 | ||
|
|
8b21de33bb | ||
|
|
fc7649f8b8 | ||
|
|
b00fdf6eed | ||
|
|
9cb03716c9 | ||
|
|
2e6ab18729 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -38,6 +38,7 @@ src/pathdef.c
|
|||||||
src/Obj*/pathdef.c
|
src/Obj*/pathdef.c
|
||||||
gvimext.dll
|
gvimext.dll
|
||||||
gvimext.lib
|
gvimext.lib
|
||||||
|
gvim.lib
|
||||||
runtime/doc/uganda.nsis.txt
|
runtime/doc/uganda.nsis.txt
|
||||||
|
|
||||||
# Borland C++
|
# Borland C++
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ addons:
|
|||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- autoconf
|
- autoconf
|
||||||
|
- clang
|
||||||
- lcov
|
- lcov
|
||||||
- libperl-dev
|
- libperl-dev
|
||||||
- python-dev
|
- python-dev
|
||||||
@@ -87,7 +88,7 @@ before_install:
|
|||||||
# building cffi only works with gcc, not with clang
|
# building cffi only works with gcc, not with clang
|
||||||
- if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi
|
- if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi
|
||||||
# Lua is not installed on Travis OSX
|
# Lua is not installed on Travis OSX
|
||||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install lua; export LUA_PREFIX=/usr/local; fi
|
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export HOMEBREW_NO_AUTO_UPDATE=1; brew update; brew install lua; export LUA_PREFIX=/usr/local; fi
|
||||||
# Use llvm-cov instead of gcov when compiler is clang.
|
# Use llvm-cov instead of gcov when compiler is clang.
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CC" = "clang" ]; then ln -sf $(which llvm-cov) /home/travis/bin/gcov; fi
|
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CC" = "clang" ]; then ln -sf $(which llvm-cov) /home/travis/bin/gcov; fi
|
||||||
|
|
||||||
@@ -102,9 +103,8 @@ script:
|
|||||||
- (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi)
|
- (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi)
|
||||||
# Show Vim version and also if_xx versions.
|
# Show Vim version and also if_xx versions.
|
||||||
- if [ "$BUILD" = "yes" ]; then ${SRCDIR}/vim --version; ${SRCDIR}/vim --not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-1.vim -c quit > /dev/null; ${SRCDIR}/vim --not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-2.vim -c quit > /dev/null; cat if_ver.txt; fi
|
- if [ "$BUILD" = "yes" ]; then ${SRCDIR}/vim --version; ${SRCDIR}/vim --not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-1.vim -c quit > /dev/null; ${SRCDIR}/vim --not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-2.vim -c quit > /dev/null; cat if_ver.txt; fi
|
||||||
- if [ -n "$ASAN_OPTIONS" ]; then export PATH=/usr/lib/llvm-$(clang -v 2>&1 | sed -n 's/.*version \([1-9]\.[0-9][0-9]*\).*/\1/p')/bin:$PATH; fi
|
|
||||||
- make $SHADOWOPT $TEST
|
- make $SHADOWOPT $TEST
|
||||||
- if [ -n "$ASAN_OPTIONS" ]; then for log in $(find -type f -name 'asan.*' -size +0); do cat "$log"; err=1; done; fi
|
- if [ -n "$ASAN_OPTIONS" ]; then for log in $(find -type f -name 'asan.*' -size +0); do asan_symbolize < "$log"; err=1; done; fi
|
||||||
- if [ -n "$err" ]; then exit 1; fi
|
- if [ -n "$err" ]; then exit 1; fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
|||||||
9
Filelist
9
Filelist
@@ -12,6 +12,8 @@ SRC_ALL = \
|
|||||||
src/arabic.c \
|
src/arabic.c \
|
||||||
src/arabic.h \
|
src/arabic.h \
|
||||||
src/ascii.h \
|
src/ascii.h \
|
||||||
|
src/beval.c \
|
||||||
|
src/beval.h \
|
||||||
src/blowfish.c \
|
src/blowfish.c \
|
||||||
src/buffer.c \
|
src/buffer.c \
|
||||||
src/channel.c \
|
src/channel.c \
|
||||||
@@ -41,7 +43,6 @@ SRC_ALL = \
|
|||||||
src/gui.c \
|
src/gui.c \
|
||||||
src/gui.h \
|
src/gui.h \
|
||||||
src/gui_beval.c \
|
src/gui_beval.c \
|
||||||
src/gui_beval.h \
|
|
||||||
src/hardcopy.c \
|
src/hardcopy.c \
|
||||||
src/hashtab.c \
|
src/hashtab.c \
|
||||||
src/json.c \
|
src/json.c \
|
||||||
@@ -135,9 +136,12 @@ SRC_ALL = \
|
|||||||
src/testdir/bench*.in \
|
src/testdir/bench*.in \
|
||||||
src/testdir/bench*.vim \
|
src/testdir/bench*.vim \
|
||||||
src/testdir/samples/*.txt \
|
src/testdir/samples/*.txt \
|
||||||
|
src/testdir/samples/test000 \
|
||||||
src/testdir/if_ver*.vim \
|
src/testdir/if_ver*.vim \
|
||||||
|
src/testdir/xterm_ramp.vim \
|
||||||
src/proto.h \
|
src/proto.h \
|
||||||
src/proto/arabic.pro \
|
src/proto/arabic.pro \
|
||||||
|
src/proto/beval.pro \
|
||||||
src/proto/blowfish.pro \
|
src/proto/blowfish.pro \
|
||||||
src/proto/buffer.pro \
|
src/proto/buffer.pro \
|
||||||
src/proto/channel.pro \
|
src/proto/channel.pro \
|
||||||
@@ -405,6 +409,7 @@ SRC_DOS = \
|
|||||||
src/msvcsetup.bat \
|
src/msvcsetup.bat \
|
||||||
src/msvc2008.bat \
|
src/msvc2008.bat \
|
||||||
src/msvc2010.bat \
|
src/msvc2010.bat \
|
||||||
|
src/msvc2015.bat \
|
||||||
src/dimm.idl \
|
src/dimm.idl \
|
||||||
src/dlldata.c \
|
src/dlldata.c \
|
||||||
src/dosinst.c \
|
src/dosinst.c \
|
||||||
@@ -449,6 +454,7 @@ SRC_DOS = \
|
|||||||
src/xxd/Make_mvc.mak \
|
src/xxd/Make_mvc.mak \
|
||||||
nsis/gvim.nsi \
|
nsis/gvim.nsi \
|
||||||
nsis/gvim_version.nsh \
|
nsis/gvim_version.nsh \
|
||||||
|
nsis/vimrc.ini \
|
||||||
nsis/README.txt \
|
nsis/README.txt \
|
||||||
uninstal.txt \
|
uninstal.txt \
|
||||||
src/VisVim/Commands.cpp \
|
src/VisVim/Commands.cpp \
|
||||||
@@ -656,6 +662,7 @@ RT_SCRIPTS = \
|
|||||||
runtime/makemenu.vim \
|
runtime/makemenu.vim \
|
||||||
runtime/autoload/*.vim \
|
runtime/autoload/*.vim \
|
||||||
runtime/autoload/README.txt \
|
runtime/autoload/README.txt \
|
||||||
|
runtime/autoload/dist/*.vim \
|
||||||
runtime/autoload/xml/*.vim \
|
runtime/autoload/xml/*.vim \
|
||||||
runtime/colors/*.vim \
|
runtime/colors/*.vim \
|
||||||
runtime/colors/README.txt \
|
runtime/colors/README.txt \
|
||||||
|
|||||||
53
Makefile
53
Makefile
@@ -120,28 +120,28 @@ MINOR = 0
|
|||||||
#
|
#
|
||||||
# MS-Windows:
|
# MS-Windows:
|
||||||
# - Run make on Unix to update the ".mo" files.
|
# - Run make on Unix to update the ".mo" files.
|
||||||
# - Get libintl-8.dll, libiconv-2.dll and libgcc_s_sjlj-1.dll. E.g. from
|
# - Get 32 bit libintl-8.dll, libiconv-2.dll and libgcc_s_sjlj-1.dll. E.g. from
|
||||||
# https://mlocati.github.io/gettext-iconv-windows/ .
|
# https://mlocati.github.io/gettext-iconv-windows/ .
|
||||||
# Use the "shared-32.zip file and extract the archive to get the files.
|
# Use the "shared-32.zip file and extract the archive to get the files.
|
||||||
# Put them in the top directory, "make dosrt" uses them.
|
# Put them in the gettext32 directory, "make dosrt" uses them.
|
||||||
|
# - Get 64 bit libintl-8.dll and libiconv-2.dll. E.g. from
|
||||||
|
# https://mlocati.github.io/gettext-iconv-windows/ .
|
||||||
|
# Use the "shared-64.zip file and extract the archive to get the files.
|
||||||
|
# Put them in the gettext64 directory, "make dosrt" uses them.
|
||||||
# - > make dossrc
|
# - > make dossrc
|
||||||
# > make dosrt
|
# > make dosrt
|
||||||
# Unpack dist/vim##rt.zip and dist/vim##src.zip on an MS-Windows PC.
|
# Unpack dist/vim##rt.zip and dist/vim##src.zip on an MS-Windows PC.
|
||||||
|
# This creates the directory vim/vim80 and puts all files in there.
|
||||||
# Win32 console version build:
|
# Win32 console version build:
|
||||||
# - Set environment for Visual C++ 2008, e.g.:
|
# - See src/INSTALLpc.txt for installing the compiler and SDK.
|
||||||
# > src/msvc2008.bat
|
# - Set environment for Visual C++ 2015:
|
||||||
# Or:
|
# > cd src
|
||||||
# > C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat
|
# > msvc2015.bat
|
||||||
# Or, when using the Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the
|
# - Build the console binary:
|
||||||
# paths when necessary).
|
|
||||||
# For Windows 98/ME the 2003 version is required, but then the executable
|
|
||||||
# won't work on Windows 7 and 64 bit systems.
|
|
||||||
# - > cd src
|
|
||||||
# > nmake -f Make_mvc.mak
|
# > nmake -f Make_mvc.mak
|
||||||
# - Run the tests:
|
# - Run the tests and check the ouput:
|
||||||
# > nmake -f Make_mvc.mak testclean
|
# > nmake -f Make_mvc.mak testclean
|
||||||
# > nmake -f Make_mvc.mak test
|
# > nmake -f Make_mvc.mak test
|
||||||
# - check the output.
|
|
||||||
# - Rename (using ../tools/rename.bat):
|
# - Rename (using ../tools/rename.bat):
|
||||||
# vim.exe to vimw32.exe
|
# vim.exe to vimw32.exe
|
||||||
# tee/tee.exe to teew32.exe
|
# tee/tee.exe to teew32.exe
|
||||||
@@ -152,19 +152,18 @@ MINOR = 0
|
|||||||
# Win32 GUI version build:
|
# Win32 GUI version build:
|
||||||
# - > cd src
|
# - > cd src
|
||||||
# > nmake -f Make_mvc.mak GUI=yes
|
# > nmake -f Make_mvc.mak GUI=yes
|
||||||
# - Run the tests:
|
# - Run the tests and check the output:
|
||||||
# > nmake -f Make_mvc.mak testclean
|
# > nmake -f Make_mvc.mak testclean
|
||||||
# > nmake -f Make_mvc.mak testgvim
|
# > nmake -f Make_mvc.mak testgvim
|
||||||
# - check the output.
|
|
||||||
# - move "gvim.exe" to here (otherwise the OLE version will overwrite it).
|
# - move "gvim.exe" to here (otherwise the OLE version will overwrite it).
|
||||||
# - Move gvim.pdb to here.
|
# - Move gvim.pdb to here.
|
||||||
# - Copy "GvimExt/gvimext.dll" to here.
|
# - Copy "GvimExt/gvimext.dll" to here.
|
||||||
# - Delete vimrun.exe, install.exe and uninstal.exe.
|
# - Delete vimrun.exe, install.exe and uninstal.exe.
|
||||||
# Win32 GUI version with OLE, PERL, Ruby, TCL, PYTHON and dynamic IME:
|
# Win32 GUI version with OLE, PERL, Ruby, TCL, PYTHON and dynamic IME:
|
||||||
# - Install the interfaces you want, see src/INSTALLpc.txt
|
# - Install the interfaces you want, see src/INSTALLpc.txt
|
||||||
|
# Adjust bigvim.bat to match the version of each interface you want.
|
||||||
# - Build:
|
# - Build:
|
||||||
# > cd src
|
# > cd src
|
||||||
# Adjust bigvim.bat to match the version of each interface you want.
|
|
||||||
# > bigvim.bat
|
# > bigvim.bat
|
||||||
# - Run the tests:
|
# - Run the tests:
|
||||||
# > nmake -f Make_mvc.mak testclean
|
# > nmake -f Make_mvc.mak testclean
|
||||||
@@ -188,10 +187,11 @@ MINOR = 0
|
|||||||
# gvimext64.dll in src/GvimExt
|
# gvimext64.dll in src/GvimExt
|
||||||
# VisVim.dll in src/VisVim
|
# VisVim.dll in src/VisVim
|
||||||
# Note: VisVim needs to be build with MSVC 5, newer versions don't work.
|
# Note: VisVim needs to be build with MSVC 5, newer versions don't work.
|
||||||
# gvimext64.dll can be obtained from http://code.google.com/p/vim-win3264/
|
# gvimext64.dll can be obtained from:
|
||||||
# It is part of vim72.zip as vim72/gvimext.dll.
|
# https://github.com/vim/vim-win32-installer/releases
|
||||||
|
# It is part of gvim_8.0.*_x64.zip as vim/vim80/GvimExt/gvimext64.dll.
|
||||||
# - Make sure there is a diff.exe two levels up (get it from a previous Vim
|
# - Make sure there is a diff.exe two levels up (get it from a previous Vim
|
||||||
# version).
|
# version). Also put winpty32.dll and winpty-agent.exe there.
|
||||||
# - go to ../nsis and do:
|
# - go to ../nsis and do:
|
||||||
# > makensis gvim.nsi (takes a few minutes).
|
# > makensis gvim.nsi (takes a few minutes).
|
||||||
# ignore warning for libwinpthread-1.dll
|
# ignore warning for libwinpthread-1.dll
|
||||||
@@ -467,9 +467,13 @@ dosrt_files: dist prepare no_title.vim
|
|||||||
cp $$i dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES/vim.mo; \
|
cp $$i dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES/vim.mo; \
|
||||||
fi \
|
fi \
|
||||||
done
|
done
|
||||||
cp libintl-8.dll dist/vim/$(VIMRTDIR)/
|
mkdir dist/vim/$(VIMRTDIR)/gettext32
|
||||||
cp libiconv-2.dll dist/vim/$(VIMRTDIR)/
|
cp gettext32/libintl-8.dll dist/vim/$(VIMRTDIR)/gettext32/
|
||||||
cp libgcc_s_sjlj-1.dll dist/vim/$(VIMRTDIR)/
|
cp gettext32/libiconv-2.dll dist/vim/$(VIMRTDIR)/gettext32/
|
||||||
|
cp gettext32/libgcc_s_sjlj-1.dll dist/vim/$(VIMRTDIR)/gettext32/
|
||||||
|
mkdir dist/vim/$(VIMRTDIR)/gettext64
|
||||||
|
cp gettext64/libintl-8.dll dist/vim/$(VIMRTDIR)/gettext64/
|
||||||
|
cp gettext64/libiconv-2.dll dist/vim/$(VIMRTDIR)/gettext64/
|
||||||
|
|
||||||
|
|
||||||
# Used before uploading. Don't delete the AAPDIR/sign files!
|
# Used before uploading. Don't delete the AAPDIR/sign files!
|
||||||
@@ -496,7 +500,10 @@ dosbin_gvim: dist no_title.vim dist/$(COMMENT_GVIM)
|
|||||||
cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe
|
cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe
|
||||||
cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
|
cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
|
||||||
cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
|
cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
|
||||||
cp gvimext.dll dist/vim/$(VIMRTDIR)/gvimext.dll
|
mkdir dist/vim/$(VIMRTDIR)/GvimExt32
|
||||||
|
cp gvimext.dll dist/vim/$(VIMRTDIR)/GvimExt32/gvimext.dll
|
||||||
|
mkdir dist/vim/$(VIMRTDIR)/GvimExt64
|
||||||
|
cp gvimext64.dll dist/vim/$(VIMRTDIR)/GvimExt64/gvimext.dll
|
||||||
cd dist && zip -9 -rD -z gvim$(VERSION).zip vim <$(COMMENT_GVIM)
|
cd dist && zip -9 -rD -z gvim$(VERSION).zip vim <$(COMMENT_GVIM)
|
||||||
cp gvim.pdb dist/gvim$(VERSION).pdb
|
cp gvim.pdb dist/gvim$(VERSION).pdb
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
`README.md` for version 8.0 of Vim: Vi IMproved.
|
`README.md` for version 8.0 of Vim: Vi IMproved.
|
||||||
|
|
||||||
[](https://travis-ci.org/vim/vim)
|
[](https://travis-ci.org/vim/vim)
|
||||||
[](https://codecov.io/gh/vim/vim?branch=master)
|
[](https://codecov.io/gh/vim/vim?branch=master)
|
||||||
[](https://coveralls.io/github/vim/vim?branch=master)
|
[](https://coveralls.io/github/vim/vim?branch=master)
|
||||||
[](https://ci.appveyor.com/project/chrisbra/vim)
|
[](https://ci.appveyor.com/project/chrisbra/vim)
|
||||||
[](https://scan.coverity.com/projects/vim)
|
[](https://scan.coverity.com/projects/vim)
|
||||||
|
[](https://buildd.debian.org/vim)
|
||||||
|
|
||||||
|
|
||||||
## What is Vim? ##
|
## What is Vim? ##
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ matrix:
|
|||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release'
|
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release'
|
||||||
|
- 'set INCLUDE=%INCLUDE%C:\Program Files (x86)\Windows Kits\8.1\Include\um'
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- src/appveyor.bat
|
- src/appveyor.bat
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
This builds a one-click install for Vim for Win32 using the Nullsoft
|
This builds a one-click install for Vim for Win32 using the Nullsoft
|
||||||
Installation System (NSIS), available at http://www.nullsoft.com/free/nsis/
|
Installation System (NSIS), available at http://nsis.sourceforge.net/
|
||||||
|
|
||||||
To build the installable .exe:
|
To build the installable .exe:
|
||||||
|
|
||||||
@@ -17,8 +17,14 @@ To build the installable .exe:
|
|||||||
uninstal.exe,
|
uninstal.exe,
|
||||||
xxd/xxd.exe,
|
xxd/xxd.exe,
|
||||||
|
|
||||||
|
Then execute tools/rename.bat to rename the executables. (mv command is
|
||||||
|
required.)
|
||||||
|
|
||||||
3. Go to the GvimExt directory and build gvimext.dll (or get it from a binary
|
3. Go to the GvimExt directory and build gvimext.dll (or get it from a binary
|
||||||
archive).
|
archive). Both 64- and 32-bit versions are needed and should be placed
|
||||||
|
as follows:
|
||||||
|
64-bit: src/GvimExt/gvimext64.dll
|
||||||
|
32-bit: src/GvimExt/gvimext.dll
|
||||||
|
|
||||||
4. Go to the VisVim directory and build VisVim.dll (or get it from a binary
|
4. Go to the VisVim directory and build VisVim.dll (or get it from a binary
|
||||||
archive).
|
archive).
|
||||||
@@ -27,13 +33,35 @@ To build the installable .exe:
|
|||||||
get them from a binary archive).
|
get them from a binary archive).
|
||||||
|
|
||||||
6. Get a "diff.exe" program and put it in the "../.." directory (above the
|
6. Get a "diff.exe" program and put it in the "../.." directory (above the
|
||||||
"vim61" directory, it's the same for all Vim versions).
|
"vim80" directory, it's the same for all Vim versions).
|
||||||
You can find one in previous Vim versions or in this archive:
|
You can find one in previous Vim versions or in this archive:
|
||||||
http://www.mossbayeng.com/~ron/vim/diffutils.tar.gz
|
http://www.mossbayeng.com/~ron/vim/diffutils.tar.gz
|
||||||
|
Also put winpty32.dll and winpty-agent.exe there.
|
||||||
|
|
||||||
7. Do "make uganda.nsis.txt" in runtime/doc. This requires sed, you may have
|
7. Do "make uganda.nsis.txt" in runtime/doc. This requires sed, you may have
|
||||||
to do this on Unix. Make sure the file is in DOS file format!
|
to do this on Unix. Make sure the file is in DOS file format!
|
||||||
|
|
||||||
|
8. Get gettext and iconv DLLs from the following site:
|
||||||
|
https://github.com/mlocati/gettext-iconv-windows/releases
|
||||||
|
Both 64- and 32-bit versions are needed.
|
||||||
|
Download the files gettextX.X.X.X-iconvX.XX-shared-{32,64}.zip, extract
|
||||||
|
DLLs and place them as follows:
|
||||||
|
|
||||||
|
<GETTEXT directory>
|
||||||
|
|
|
||||||
|
+ gettext32/
|
||||||
|
| libintl-8.dll
|
||||||
|
| libiconv-2.dll
|
||||||
|
| libgcc_s_sjlj-1.dll
|
||||||
|
|
|
||||||
|
` gettext64/
|
||||||
|
libintl-8.dll
|
||||||
|
libiconv-2.dll
|
||||||
|
|
||||||
|
The default <GETTEXT directory> is "..", however, you can change it by
|
||||||
|
passing /DGETTEXT=... option to the makensis command.
|
||||||
|
|
||||||
|
|
||||||
Install NSIS if you didn't do that already.
|
Install NSIS if you didn't do that already.
|
||||||
Also install UPX, if you want a compressed file.
|
Also install UPX, if you want a compressed file.
|
||||||
|
|
||||||
|
|||||||
136
nsis/gvim.nsi
136
nsis/gvim.nsi
@@ -20,8 +20,15 @@
|
|||||||
!define VIMTOOLS ..\..
|
!define VIMTOOLS ..\..
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
# Location of gettext.
|
||||||
|
# It must contain two directories: gettext32 and gettext64.
|
||||||
|
# See README.txt for detail.
|
||||||
|
!ifndef GETTEXT
|
||||||
|
!define GETTEXT ${VIMRT}
|
||||||
|
!endif
|
||||||
|
|
||||||
# Comment the next line if you don't have UPX.
|
# Comment the next line if you don't have UPX.
|
||||||
# Get it at http://upx.sourceforge.net
|
# Get it at https://upx.github.io/
|
||||||
!define HAVE_UPX
|
!define HAVE_UPX
|
||||||
|
|
||||||
# comment the next line if you do not want to add Native Language Support
|
# comment the next line if you do not want to add Native Language Support
|
||||||
@@ -76,6 +83,7 @@ SilentInstall normal
|
|||||||
# These are the pages we use
|
# These are the pages we use
|
||||||
Page license
|
Page license
|
||||||
Page components
|
Page components
|
||||||
|
Page custom SetCustom ValidateCustom ": _vimrc setting"
|
||||||
Page directory "" "" CheckInstallDir
|
Page directory "" "" CheckInstallDir
|
||||||
Page instfiles
|
Page instfiles
|
||||||
UninstPage uninstConfirm
|
UninstPage uninstConfirm
|
||||||
@@ -128,6 +136,10 @@ Function .onInit
|
|||||||
StrCpy $1 "-register-OLE"
|
StrCpy $1 "-register-OLE"
|
||||||
StrCpy $2 "gvim evim gview gvimdiff vimtutor"
|
StrCpy $2 "gvim evim gview gvimdiff vimtutor"
|
||||||
|
|
||||||
|
# Extract InstallOptions files
|
||||||
|
# $PLUGINSDIR will automatically be removed when the installer closes
|
||||||
|
InitPluginsDir
|
||||||
|
File /oname=$PLUGINSDIR\vimrc.ini "vimrc.ini"
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
Function .onUserAbort
|
Function .onUserAbort
|
||||||
@@ -256,6 +268,9 @@ Section "Vim executables and runtime files"
|
|||||||
SetOutPath $0\autoload
|
SetOutPath $0\autoload
|
||||||
File ${VIMRT}\autoload\*.*
|
File ${VIMRT}\autoload\*.*
|
||||||
|
|
||||||
|
SetOutPath $0\autoload\dist
|
||||||
|
File ${VIMRT}\autoload\dist\*.*
|
||||||
|
|
||||||
SetOutPath $0\autoload\xml
|
SetOutPath $0\autoload\xml
|
||||||
File ${VIMRT}\autoload\xml\*.*
|
File ${VIMRT}\autoload\xml\*.*
|
||||||
|
|
||||||
@@ -328,24 +343,67 @@ Section "Add an Edit-with-Vim context menu entry"
|
|||||||
SetOutPath $0
|
SetOutPath $0
|
||||||
ClearErrors
|
ClearErrors
|
||||||
SetOverwrite try
|
SetOverwrite try
|
||||||
|
|
||||||
${If} ${RunningX64}
|
${If} ${RunningX64}
|
||||||
|
# Install 64-bit gvimext.dll into the GvimExt64 directory.
|
||||||
|
SetOutPath $0\GvimExt64
|
||||||
|
ClearErrors
|
||||||
File /oname=gvimext.dll ${VIMSRC}\GvimExt\gvimext64.dll
|
File /oname=gvimext.dll ${VIMSRC}\GvimExt\gvimext64.dll
|
||||||
${Else}
|
!ifdef HAVE_NLS
|
||||||
File /oname=gvimext.dll ${VIMSRC}\GvimExt\gvimext.dll
|
File ${GETTEXT}\gettext64\libintl-8.dll
|
||||||
|
File ${GETTEXT}\gettext64\libiconv-2.dll
|
||||||
|
!endif
|
||||||
|
|
||||||
|
IfErrors 0 GvimExt64Done
|
||||||
|
|
||||||
|
# Can't copy gvimext.dll, create it under another name and rename it
|
||||||
|
# on next reboot.
|
||||||
|
GetTempFileName $3 $0\GvimExt64
|
||||||
|
File /oname=$3 ${VIMSRC}\GvimExt\gvimext64.dll
|
||||||
|
Rename /REBOOTOK $3 $0\GvimExt64\gvimext.dll
|
||||||
|
!ifdef HAVE_NLS
|
||||||
|
GetTempFileName $3 $0\GvimExt64
|
||||||
|
File /oname=$3 ${GETTEXT}\gettext64\libintl-8.dll
|
||||||
|
Rename /REBOOTOK $3 $0\GvimExt64\libintl-8.dll
|
||||||
|
GetTempFileName $3 $0\GvimExt64
|
||||||
|
File /oname=$3 ${GETTEXT}\gettext64\libiconv-2.dll
|
||||||
|
Rename /REBOOTOK $3 $0\GvimExt64\libiconv-2.dll
|
||||||
|
!endif
|
||||||
${EndIf}
|
${EndIf}
|
||||||
IfErrors 0 GvimExtDone
|
|
||||||
|
GvimExt64Done:
|
||||||
|
|
||||||
|
# Install 32-bit gvimext.dll into the GvimExt32 directory.
|
||||||
|
SetOutPath $0\GvimExt32
|
||||||
|
ClearErrors
|
||||||
|
|
||||||
|
File /oname=gvimext.dll ${VIMSRC}\GvimExt\gvimext.dll
|
||||||
|
!ifdef HAVE_NLS
|
||||||
|
File ${GETTEXT}\gettext32\libintl-8.dll
|
||||||
|
File ${GETTEXT}\gettext32\libiconv-2.dll
|
||||||
|
File ${GETTEXT}\gettext32\libgcc_s_sjlj-1.dll
|
||||||
|
!endif
|
||||||
|
|
||||||
|
IfErrors 0 GvimExt32Done
|
||||||
|
|
||||||
# Can't copy gvimext.dll, create it under another name and rename it on
|
# Can't copy gvimext.dll, create it under another name and rename it on
|
||||||
# next reboot.
|
# next reboot.
|
||||||
GetTempFileName $3 $0
|
GetTempFileName $3 $0\GvimExt32
|
||||||
${If} ${RunningX64}
|
File /oname=$3 ${VIMSRC}\GvimExt\gvimext.dll
|
||||||
File /oname=$3 ${VIMSRC}\GvimExt\gvimext64.dll
|
Rename /REBOOTOK $3 $0\GvimExt32\gvimext.dll
|
||||||
${Else}
|
!ifdef HAVE_NLS
|
||||||
File /oname=$3 ${VIMSRC}\GvimExt\gvimext.dll
|
GetTempFileName $3 $0\GvimExt32
|
||||||
${EndIf}
|
File /oname=$3 ${GETTEXT}\gettext32\libintl-8.dll
|
||||||
Rename /REBOOTOK $3 $0\gvimext.dll
|
Rename /REBOOTOK $3 $0\GvimExt32\libintl-8.dll
|
||||||
|
GetTempFileName $3 $0\GvimExt32
|
||||||
|
File /oname=$3 ${GETTEXT}\gettext32\libiconv-2.dll
|
||||||
|
Rename /REBOOTOK $3 $0\GvimExt32\libiconv-2.dll
|
||||||
|
GetTempFileName $3 $0\GvimExt32
|
||||||
|
File /oname=$3 ${GETTEXT}\gettext32\libgcc_s_sjlj-1.dll
|
||||||
|
Rename /REBOOTOK $3 $0\GvimExt32\libgcc_s_sjlj-1.dll
|
||||||
|
!endif
|
||||||
|
|
||||||
GvimExtDone:
|
GvimExt32Done:
|
||||||
SetOverwrite lastused
|
SetOverwrite lastused
|
||||||
|
|
||||||
# We don't have a separate entry for the "Open With..." menu, assume
|
# We don't have a separate entry for the "Open With..." menu, assume
|
||||||
@@ -354,7 +412,7 @@ Section "Add an Edit-with-Vim context menu entry"
|
|||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
Section "Create a _vimrc if it doesn't exist"
|
Section "Create a _vimrc if it doesn't exist" sec_vimrc_id
|
||||||
SectionIn 1 3
|
SectionIn 1 3
|
||||||
|
|
||||||
StrCpy $1 "$1 -create-vimrc"
|
StrCpy $1 "$1 -create-vimrc"
|
||||||
@@ -394,10 +452,10 @@ SectionEnd
|
|||||||
File ${VIMRT}\keymap\README.txt
|
File ${VIMRT}\keymap\README.txt
|
||||||
File ${VIMRT}\keymap\*.vim
|
File ${VIMRT}\keymap\*.vim
|
||||||
SetOutPath $0
|
SetOutPath $0
|
||||||
File ${VIMRT}\libintl-8.dll
|
File ${GETTEXT}\gettext32\libintl-8.dll
|
||||||
File ${VIMRT}\libiconv-2.dll
|
File ${GETTEXT}\gettext32\libiconv-2.dll
|
||||||
File /nonfatal ${VIMRT}\libwinpthread-1.dll
|
#File /nonfatal ${VIMRT}\libwinpthread-1.dll
|
||||||
File /nonfatal ${VIMRT}\libgcc_s_sjlj-1.dll
|
File /nonfatal ${GETTEXT}\gettext32\libgcc_s_sjlj-1.dll
|
||||||
SectionEnd
|
SectionEnd
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
@@ -412,6 +470,45 @@ Section -post
|
|||||||
BringToFront
|
BringToFront
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
##########################################################
|
||||||
|
Function SetCustom
|
||||||
|
# Display the InstallOptions dialog
|
||||||
|
|
||||||
|
# Check if a _vimrc should be created
|
||||||
|
SectionGetFlags ${sec_vimrc_id} $0
|
||||||
|
IntOp $0 $0 & 1
|
||||||
|
StrCmp $0 "1" +2 0
|
||||||
|
Abort
|
||||||
|
|
||||||
|
Push $3
|
||||||
|
InstallOptions::dialog "$PLUGINSDIR\vimrc.ini"
|
||||||
|
Pop $3
|
||||||
|
Pop $3
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
|
Function ValidateCustom
|
||||||
|
ReadINIStr $3 "$PLUGINSDIR\vimrc.ini" "Field 2" "State"
|
||||||
|
StrCmp $3 "1" 0 +3
|
||||||
|
StrCpy $1 "$1 -vimrc-remap no"
|
||||||
|
Goto behave
|
||||||
|
|
||||||
|
StrCpy $1 "$1 -vimrc-remap win"
|
||||||
|
|
||||||
|
behave:
|
||||||
|
ReadINIStr $3 "$PLUGINSDIR\vimrc.ini" "Field 5" "State"
|
||||||
|
StrCmp $3 "1" 0 +3
|
||||||
|
StrCpy $1 "$1 -vimrc-behave unix"
|
||||||
|
Goto done
|
||||||
|
|
||||||
|
ReadINIStr $3 "$PLUGINSDIR\vimrc.ini" "Field 6" "State"
|
||||||
|
StrCmp $3 "1" 0 +3
|
||||||
|
StrCpy $1 "$1 -vimrc-behave mswin"
|
||||||
|
Goto done
|
||||||
|
|
||||||
|
StrCpy $1 "$1 -vimrc-behave default"
|
||||||
|
done:
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
Section Uninstall
|
Section Uninstall
|
||||||
# Apparently $INSTDIR is set to the directory where the uninstaller is
|
# Apparently $INSTDIR is set to the directory where the uninstaller is
|
||||||
@@ -437,6 +534,11 @@ Section Uninstall
|
|||||||
$\nIt contains the Vim executables and runtime files." IDNO NoRemoveExes
|
$\nIt contains the Vim executables and runtime files." IDNO NoRemoveExes
|
||||||
|
|
||||||
Delete /REBOOTOK $0\*.dll
|
Delete /REBOOTOK $0\*.dll
|
||||||
|
Delete /REBOOTOK $0\GvimExt32\*.dll
|
||||||
|
${If} ${RunningX64}
|
||||||
|
Delete /REBOOTOK $0\GvimExt64\*.dll
|
||||||
|
${EndIf}
|
||||||
|
|
||||||
ClearErrors
|
ClearErrors
|
||||||
# Remove everything but *.dll files. Avoids that
|
# Remove everything but *.dll files. Avoids that
|
||||||
# a lot remains when gvimext.dll cannot be deleted.
|
# a lot remains when gvimext.dll cannot be deleted.
|
||||||
|
|||||||
68
nsis/vimrc.ini
Normal file
68
nsis/vimrc.ini
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
[Settings]
|
||||||
|
NumFields=7
|
||||||
|
|
||||||
|
[Field 1]
|
||||||
|
Type=GroupBox
|
||||||
|
Left=0
|
||||||
|
Right=-1
|
||||||
|
Top=0
|
||||||
|
Bottom=53
|
||||||
|
Text=" Key remapping "
|
||||||
|
|
||||||
|
[Field 2]
|
||||||
|
Type=radiobutton
|
||||||
|
Text=Do not remap keys for Windows behavior (Default)
|
||||||
|
Left=10
|
||||||
|
Right=-10
|
||||||
|
Top=17
|
||||||
|
Bottom=25
|
||||||
|
State=1
|
||||||
|
Flags=GROUP
|
||||||
|
|
||||||
|
[Field 3]
|
||||||
|
Type=radiobutton
|
||||||
|
Text=Remap a few keys for Windows behavior (<C-V>, <C-C>, <C-A>, <C-S>, <C-F>, etc)
|
||||||
|
Left=10
|
||||||
|
Right=-10
|
||||||
|
Top=30
|
||||||
|
Bottom=47
|
||||||
|
State=0
|
||||||
|
Flags=NOTABSTOP
|
||||||
|
|
||||||
|
[Field 4]
|
||||||
|
Type=GroupBox
|
||||||
|
Left=0
|
||||||
|
Right=-1
|
||||||
|
Top=55
|
||||||
|
Bottom=-5
|
||||||
|
Text=" Mouse behavior "
|
||||||
|
|
||||||
|
[Field 5]
|
||||||
|
Type=radiobutton
|
||||||
|
Text=Right button extends selection, left button starts visual mode (Unix)
|
||||||
|
Left=10
|
||||||
|
Right=-5
|
||||||
|
Top=72
|
||||||
|
Bottom=80
|
||||||
|
State=0
|
||||||
|
Flags=GROUP
|
||||||
|
|
||||||
|
[Field 6]
|
||||||
|
Type=radiobutton
|
||||||
|
Text=Right button has a popup menu, left button starts select mode (Windows)
|
||||||
|
Left=10
|
||||||
|
Right=-5
|
||||||
|
Top=85
|
||||||
|
Bottom=93
|
||||||
|
State=0
|
||||||
|
Flags=NOTABSTOP
|
||||||
|
|
||||||
|
[Field 7]
|
||||||
|
Type=radiobutton
|
||||||
|
Text=Right button has a popup menu, left button starts visual mode (Default)
|
||||||
|
Left=10
|
||||||
|
Right=-5
|
||||||
|
Top=98
|
||||||
|
Bottom=106
|
||||||
|
State=1
|
||||||
|
Flags=NOTABSTOP
|
||||||
@@ -591,7 +591,7 @@ function ada#Map_Menu (Text, Keys, Command)
|
|||||||
\" :" . a:Command
|
\" :" . a:Command
|
||||||
execute
|
execute
|
||||||
\ "inoremap <buffer>" .
|
\ "inoremap <buffer>" .
|
||||||
\ " <Learder>a" . a:Keys .
|
\ " <Leader>a" . a:Keys .
|
||||||
\" <C-O>:" . a:Command
|
\" <C-O>:" . a:Command
|
||||||
endif
|
endif
|
||||||
return
|
return
|
||||||
|
|||||||
741
runtime/autoload/dist/ft.vim
vendored
Normal file
741
runtime/autoload/dist/ft.vim
vendored
Normal file
@@ -0,0 +1,741 @@
|
|||||||
|
" Vim functions for file type detection
|
||||||
|
"
|
||||||
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
|
" Last Change: 2017 Nov 11
|
||||||
|
|
||||||
|
" These functions are moved here from runtime/filetype.vim to make startup
|
||||||
|
" faster.
|
||||||
|
|
||||||
|
" Line continuation is used here, remove 'C' from 'cpoptions'
|
||||||
|
let s:cpo_save = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
|
func dist#ft#Check_inp()
|
||||||
|
if getline(1) =~ '^\*'
|
||||||
|
setf abaqus
|
||||||
|
else
|
||||||
|
let n = 1
|
||||||
|
if line("$") > 500
|
||||||
|
let nmax = 500
|
||||||
|
else
|
||||||
|
let nmax = line("$")
|
||||||
|
endif
|
||||||
|
while n <= nmax
|
||||||
|
if getline(n) =~? "^header surface data"
|
||||||
|
setf trasys
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
let n = n + 1
|
||||||
|
endwhile
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
" This function checks for the kind of assembly that is wanted by the user, or
|
||||||
|
" can be detected from the first five lines of the file.
|
||||||
|
func dist#ft#FTasm()
|
||||||
|
" make sure b:asmsyntax exists
|
||||||
|
if !exists("b:asmsyntax")
|
||||||
|
let b:asmsyntax = ""
|
||||||
|
endif
|
||||||
|
|
||||||
|
if b:asmsyntax == ""
|
||||||
|
call dist#ft#FTasmsyntax()
|
||||||
|
endif
|
||||||
|
|
||||||
|
" if b:asmsyntax still isn't set, default to asmsyntax or GNU
|
||||||
|
if b:asmsyntax == ""
|
||||||
|
if exists("g:asmsyntax")
|
||||||
|
let b:asmsyntax = g:asmsyntax
|
||||||
|
else
|
||||||
|
let b:asmsyntax = "asm"
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
exe "setf " . fnameescape(b:asmsyntax)
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTasmsyntax()
|
||||||
|
" see if file contains any asmsyntax=foo overrides. If so, change
|
||||||
|
" b:asmsyntax appropriately
|
||||||
|
let head = " ".getline(1)." ".getline(2)." ".getline(3)." ".getline(4).
|
||||||
|
\" ".getline(5)." "
|
||||||
|
let match = matchstr(head, '\sasmsyntax=\zs[a-zA-Z0-9]\+\ze\s')
|
||||||
|
if match != ''
|
||||||
|
let b:asmsyntax = match
|
||||||
|
elseif ((head =~? '\.title') || (head =~? '\.ident') || (head =~? '\.macro') || (head =~? '\.subtitle') || (head =~? '\.library'))
|
||||||
|
let b:asmsyntax = "vmasm"
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
" Check if one of the first five lines contains "VB_Name". In that case it is
|
||||||
|
" probably a Visual Basic file. Otherwise it's assumed to be "alt" filetype.
|
||||||
|
func dist#ft#FTVB(alt)
|
||||||
|
if getline(1).getline(2).getline(3).getline(4).getline(5) =~? 'VB_Name\|Begin VB\.\(Form\|MDIForm\|UserControl\)'
|
||||||
|
setf vb
|
||||||
|
else
|
||||||
|
exe "setf " . a:alt
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTbtm()
|
||||||
|
if exists("g:dosbatch_syntax_for_btm") && g:dosbatch_syntax_for_btm
|
||||||
|
setf dosbatch
|
||||||
|
else
|
||||||
|
setf btm
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#BindzoneCheck(default)
|
||||||
|
if getline(1).getline(2).getline(3).getline(4) =~ '^; <<>> DiG [0-9.]\+.* <<>>\|$ORIGIN\|$TTL\|IN\s\+SOA'
|
||||||
|
setf bindzone
|
||||||
|
elseif a:default != ''
|
||||||
|
exe 'setf ' . a:default
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTlpc()
|
||||||
|
if exists("g:lpc_syntax_for_c")
|
||||||
|
let lnum = 1
|
||||||
|
while lnum <= 12
|
||||||
|
if getline(lnum) =~# '^\(//\|inherit\|private\|protected\|nosave\|string\|object\|mapping\|mixed\)'
|
||||||
|
setf lpc
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let lnum = lnum + 1
|
||||||
|
endwhile
|
||||||
|
endif
|
||||||
|
setf c
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTheader()
|
||||||
|
if match(getline(1, min([line("$"), 200])), '^@\(interface\|end\|class\)') > -1
|
||||||
|
if exists("g:c_syntax_for_h")
|
||||||
|
setf objc
|
||||||
|
else
|
||||||
|
setf objcpp
|
||||||
|
endif
|
||||||
|
elseif exists("g:c_syntax_for_h")
|
||||||
|
setf c
|
||||||
|
elseif exists("g:ch_syntax_for_h")
|
||||||
|
setf ch
|
||||||
|
else
|
||||||
|
setf cpp
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
" This function checks if one of the first ten lines start with a '@'. In
|
||||||
|
" that case it is probably a change file.
|
||||||
|
" If the first line starts with # or ! it's probably a ch file.
|
||||||
|
" If a line has "main", "include", "//" ir "/*" it's probably ch.
|
||||||
|
" Otherwise CHILL is assumed.
|
||||||
|
func dist#ft#FTchange()
|
||||||
|
let lnum = 1
|
||||||
|
while lnum <= 10
|
||||||
|
if getline(lnum)[0] == '@'
|
||||||
|
setf change
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if lnum == 1 && (getline(1)[0] == '#' || getline(1)[0] == '!')
|
||||||
|
setf ch
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if getline(lnum) =~ "MODULE"
|
||||||
|
setf chill
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if getline(lnum) =~ 'main\s*(\|#\s*include\|//'
|
||||||
|
setf ch
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let lnum = lnum + 1
|
||||||
|
endwhile
|
||||||
|
setf chill
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTent()
|
||||||
|
" This function checks for valid cl syntax in the first five lines.
|
||||||
|
" Look for either an opening comment, '#', or a block start, '{".
|
||||||
|
" If not found, assume SGML.
|
||||||
|
let lnum = 1
|
||||||
|
while lnum < 6
|
||||||
|
let line = getline(lnum)
|
||||||
|
if line =~ '^\s*[#{]'
|
||||||
|
setf cl
|
||||||
|
return
|
||||||
|
elseif line !~ '^\s*$'
|
||||||
|
" Not a blank line, not a comment, and not a block start,
|
||||||
|
" so doesn't look like valid cl code.
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
let lnum = lnum + 1
|
||||||
|
endw
|
||||||
|
setf dtd
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#EuphoriaCheck()
|
||||||
|
if exists('g:filetype_euphoria')
|
||||||
|
exe 'setf ' . g:filetype_euphoria
|
||||||
|
else
|
||||||
|
setf euphoria3
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#DtraceCheck()
|
||||||
|
let lines = getline(1, min([line("$"), 100]))
|
||||||
|
if match(lines, '^module\>\|^import\>') > -1
|
||||||
|
" D files often start with a module and/or import statement.
|
||||||
|
setf d
|
||||||
|
elseif match(lines, '^#!\S\+dtrace\|#pragma\s\+D\s\+option\|:\S\{-}:\S\{-}:') > -1
|
||||||
|
setf dtrace
|
||||||
|
else
|
||||||
|
setf d
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTe()
|
||||||
|
if exists('g:filetype_euphoria')
|
||||||
|
exe 'setf ' . g:filetype_euphoria
|
||||||
|
else
|
||||||
|
let n = 1
|
||||||
|
while n < 100 && n < line("$")
|
||||||
|
if getline(n) =~ "^\\s*\\(<'\\|'>\\)\\s*$"
|
||||||
|
setf specman
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let n = n + 1
|
||||||
|
endwhile
|
||||||
|
setf eiffel
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
" Distinguish between HTML, XHTML and Django
|
||||||
|
func dist#ft#FThtml()
|
||||||
|
let n = 1
|
||||||
|
while n < 10 && n < line("$")
|
||||||
|
if getline(n) =~ '\<DTD\s\+XHTML\s'
|
||||||
|
setf xhtml
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if getline(n) =~ '{%\s*\(extends\|block\|load\)\>\|{#\s\+'
|
||||||
|
setf htmldjango
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let n = n + 1
|
||||||
|
endwhile
|
||||||
|
setf html
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
" Distinguish between standard IDL and MS-IDL
|
||||||
|
func dist#ft#FTidl()
|
||||||
|
let n = 1
|
||||||
|
while n < 50 && n < line("$")
|
||||||
|
if getline(n) =~ '^\s*import\s\+"\(unknwn\|objidl\)\.idl"'
|
||||||
|
setf msidl
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let n = n + 1
|
||||||
|
endwhile
|
||||||
|
setf idl
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
" Distinguish between "default" and Cproto prototype file. */
|
||||||
|
func dist#ft#ProtoCheck(default)
|
||||||
|
" Cproto files have a comment in the first line and a function prototype in
|
||||||
|
" the second line, it always ends in ";". Indent files may also have
|
||||||
|
" comments, thus we can't match comments to see the difference.
|
||||||
|
" IDL files can have a single ';' in the second line, require at least one
|
||||||
|
" chacter before the ';'.
|
||||||
|
if getline(2) =~ '.;$'
|
||||||
|
setf cpp
|
||||||
|
else
|
||||||
|
exe 'setf ' . a:default
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTm()
|
||||||
|
let n = 1
|
||||||
|
let saw_comment = 0 " Whether we've seen a multiline comment leader.
|
||||||
|
while n < 100
|
||||||
|
let line = getline(n)
|
||||||
|
if line =~ '^\s*/\*'
|
||||||
|
" /* ... */ is a comment in Objective C and Murphi, so we can't conclude
|
||||||
|
" it's either of them yet, but track this as a hint in case we don't see
|
||||||
|
" anything more definitive.
|
||||||
|
let saw_comment = 1
|
||||||
|
endif
|
||||||
|
if line =~ '^\s*\(#\s*\(include\|import\)\>\|@import\>\|//\)'
|
||||||
|
setf objc
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if line =~ '^\s*%'
|
||||||
|
setf matlab
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if line =~ '^\s*(\*'
|
||||||
|
setf mma
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if line =~ '^\c\s*\(\(type\|var\)\>\|--\)'
|
||||||
|
setf murphi
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let n = n + 1
|
||||||
|
endwhile
|
||||||
|
|
||||||
|
if saw_comment
|
||||||
|
" We didn't see anything definitive, but this looks like either Objective C
|
||||||
|
" or Murphi based on the comment leader. Assume the former as it is more
|
||||||
|
" common.
|
||||||
|
setf objc
|
||||||
|
elseif exists("g:filetype_m")
|
||||||
|
" Use user specified default filetype for .m
|
||||||
|
exe "setf " . g:filetype_m
|
||||||
|
else
|
||||||
|
" Default is matlab
|
||||||
|
setf matlab
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTmms()
|
||||||
|
let n = 1
|
||||||
|
while n < 10
|
||||||
|
let line = getline(n)
|
||||||
|
if line =~ '^\s*\(%\|//\)' || line =~ '^\*'
|
||||||
|
setf mmix
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if line =~ '^\s*#'
|
||||||
|
setf make
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let n = n + 1
|
||||||
|
endwhile
|
||||||
|
setf mmix
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
" This function checks if one of the first five lines start with a dot. In
|
||||||
|
" that case it is probably an nroff file: 'filetype' is set and 1 is returned.
|
||||||
|
func dist#ft#FTnroff()
|
||||||
|
if getline(1)[0] . getline(2)[0] . getline(3)[0] . getline(4)[0] . getline(5)[0] =~ '\.'
|
||||||
|
setf nroff
|
||||||
|
return 1
|
||||||
|
endif
|
||||||
|
return 0
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTmm()
|
||||||
|
let n = 1
|
||||||
|
while n < 10
|
||||||
|
let line = getline(n)
|
||||||
|
if line =~ '^\s*\(#\s*\(include\|import\)\>\|@import\>\|/\*\)'
|
||||||
|
setf objcpp
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let n = n + 1
|
||||||
|
endwhile
|
||||||
|
setf nroff
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTpl()
|
||||||
|
if exists("g:filetype_pl")
|
||||||
|
exe "setf " . g:filetype_pl
|
||||||
|
else
|
||||||
|
" recognize Prolog by specific text in the first non-empty line
|
||||||
|
" require a blank after the '%' because Perl uses "%list" and "%translate"
|
||||||
|
let l = getline(nextnonblank(1))
|
||||||
|
if l =~ '\<prolog\>' || l =~ '^\s*\(%\+\(\s\|$\)\|/\*\)' || l =~ ':-'
|
||||||
|
setf prolog
|
||||||
|
else
|
||||||
|
setf perl
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTinc()
|
||||||
|
if exists("g:filetype_inc")
|
||||||
|
exe "setf " . g:filetype_inc
|
||||||
|
else
|
||||||
|
let lines = getline(1).getline(2).getline(3)
|
||||||
|
if lines =~? "perlscript"
|
||||||
|
setf aspperl
|
||||||
|
elseif lines =~ "<%"
|
||||||
|
setf aspvbs
|
||||||
|
elseif lines =~ "<?"
|
||||||
|
setf php
|
||||||
|
else
|
||||||
|
call dist#ft#FTasmsyntax()
|
||||||
|
if exists("b:asmsyntax")
|
||||||
|
exe "setf " . fnameescape(b:asmsyntax)
|
||||||
|
else
|
||||||
|
setf pov
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTprogress_cweb()
|
||||||
|
if exists("g:filetype_w")
|
||||||
|
exe "setf " . g:filetype_w
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if getline(1) =~ '&ANALYZE' || getline(3) =~ '&GLOBAL-DEFINE'
|
||||||
|
setf progress
|
||||||
|
else
|
||||||
|
setf cweb
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTprogress_asm()
|
||||||
|
if exists("g:filetype_i")
|
||||||
|
exe "setf " . g:filetype_i
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
" This function checks for an assembly comment the first ten lines.
|
||||||
|
" If not found, assume Progress.
|
||||||
|
let lnum = 1
|
||||||
|
while lnum <= 10 && lnum < line('$')
|
||||||
|
let line = getline(lnum)
|
||||||
|
if line =~ '^\s*;' || line =~ '^\*'
|
||||||
|
call dist#ft#FTasm()
|
||||||
|
return
|
||||||
|
elseif line !~ '^\s*$' || line =~ '^/\*'
|
||||||
|
" Not an empty line: Doesn't look like valid assembly code.
|
||||||
|
" Or it looks like a Progress /* comment
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
let lnum = lnum + 1
|
||||||
|
endw
|
||||||
|
setf progress
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTprogress_pascal()
|
||||||
|
if exists("g:filetype_p")
|
||||||
|
exe "setf " . g:filetype_p
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
" This function checks for valid Pascal syntax in the first ten lines.
|
||||||
|
" Look for either an opening comment or a program start.
|
||||||
|
" If not found, assume Progress.
|
||||||
|
let lnum = 1
|
||||||
|
while lnum <= 10 && lnum < line('$')
|
||||||
|
let line = getline(lnum)
|
||||||
|
if line =~ '^\s*\(program\|unit\|procedure\|function\|const\|type\|var\)\>'
|
||||||
|
\ || line =~ '^\s*{' || line =~ '^\s*(\*'
|
||||||
|
setf pascal
|
||||||
|
return
|
||||||
|
elseif line !~ '^\s*$' || line =~ '^/\*'
|
||||||
|
" Not an empty line: Doesn't look like valid Pascal code.
|
||||||
|
" Or it looks like a Progress /* comment
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
let lnum = lnum + 1
|
||||||
|
endw
|
||||||
|
setf progress
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTr()
|
||||||
|
let max = line("$") > 50 ? 50 : line("$")
|
||||||
|
|
||||||
|
for n in range(1, max)
|
||||||
|
" Rebol is easy to recognize, check for that first
|
||||||
|
if getline(n) =~? '\<REBOL\>'
|
||||||
|
setf rebol
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
endfor
|
||||||
|
|
||||||
|
for n in range(1, max)
|
||||||
|
" R has # comments
|
||||||
|
if getline(n) =~ '^\s*#'
|
||||||
|
setf r
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
" Rexx has /* comments */
|
||||||
|
if getline(n) =~ '^\s*/\*'
|
||||||
|
setf rexx
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
endfor
|
||||||
|
|
||||||
|
" Nothing recognized, use user default or assume Rexx
|
||||||
|
if exists("g:filetype_r")
|
||||||
|
exe "setf " . g:filetype_r
|
||||||
|
else
|
||||||
|
" Rexx used to be the default, but R appears to be much more popular.
|
||||||
|
setf r
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#McSetf()
|
||||||
|
" Rely on the file to start with a comment.
|
||||||
|
" MS message text files use ';', Sendmail files use '#' or 'dnl'
|
||||||
|
for lnum in range(1, min([line("$"), 20]))
|
||||||
|
let line = getline(lnum)
|
||||||
|
if line =~ '^\s*\(#\|dnl\)'
|
||||||
|
setf m4 " Sendmail .mc file
|
||||||
|
return
|
||||||
|
elseif line =~ '^\s*;'
|
||||||
|
setf msmessages " MS Message text file
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
endfor
|
||||||
|
setf m4 " Default: Sendmail .mc file
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
" Called from filetype.vim and scripts.vim.
|
||||||
|
func dist#ft#SetFileTypeSH(name)
|
||||||
|
if expand("<amatch>") =~ g:ft_ignore_pat
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if a:name =~ '\<csh\>'
|
||||||
|
" Some .sh scripts contain #!/bin/csh.
|
||||||
|
call dist#ft#SetFileTypeShell("csh")
|
||||||
|
return
|
||||||
|
elseif a:name =~ '\<tcsh\>'
|
||||||
|
" Some .sh scripts contain #!/bin/tcsh.
|
||||||
|
call dist#ft#SetFileTypeShell("tcsh")
|
||||||
|
return
|
||||||
|
elseif a:name =~ '\<zsh\>'
|
||||||
|
" Some .sh scripts contain #!/bin/zsh.
|
||||||
|
call dist#ft#SetFileTypeShell("zsh")
|
||||||
|
return
|
||||||
|
elseif a:name =~ '\<ksh\>'
|
||||||
|
let b:is_kornshell = 1
|
||||||
|
if exists("b:is_bash")
|
||||||
|
unlet b:is_bash
|
||||||
|
endif
|
||||||
|
if exists("b:is_sh")
|
||||||
|
unlet b:is_sh
|
||||||
|
endif
|
||||||
|
elseif exists("g:bash_is_sh") || a:name =~ '\<bash\>' || a:name =~ '\<bash2\>'
|
||||||
|
let b:is_bash = 1
|
||||||
|
if exists("b:is_kornshell")
|
||||||
|
unlet b:is_kornshell
|
||||||
|
endif
|
||||||
|
if exists("b:is_sh")
|
||||||
|
unlet b:is_sh
|
||||||
|
endif
|
||||||
|
elseif a:name =~ '\<sh\>'
|
||||||
|
let b:is_sh = 1
|
||||||
|
if exists("b:is_kornshell")
|
||||||
|
unlet b:is_kornshell
|
||||||
|
endif
|
||||||
|
if exists("b:is_bash")
|
||||||
|
unlet b:is_bash
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
call dist#ft#SetFileTypeShell("sh")
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
" For shell-like file types, check for an "exec" command hidden in a comment,
|
||||||
|
" as used for Tcl.
|
||||||
|
" Also called from scripts.vim, thus can't be local to this script.
|
||||||
|
func dist#ft#SetFileTypeShell(name)
|
||||||
|
if expand("<amatch>") =~ g:ft_ignore_pat
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let l = 2
|
||||||
|
while l < 20 && l < line("$") && getline(l) =~ '^\s*\(#\|$\)'
|
||||||
|
" Skip empty and comment lines.
|
||||||
|
let l = l + 1
|
||||||
|
endwhile
|
||||||
|
if l < line("$") && getline(l) =~ '\s*exec\s' && getline(l - 1) =~ '^\s*#.*\\$'
|
||||||
|
" Found an "exec" line after a comment with continuation
|
||||||
|
let n = substitute(getline(l),'\s*exec\s\+\([^ ]*/\)\=', '', '')
|
||||||
|
if n =~ '\<tclsh\|\<wish'
|
||||||
|
setf tcl
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
exe "setf " . a:name
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#CSH()
|
||||||
|
if exists("g:filetype_csh")
|
||||||
|
call dist#ft#SetFileTypeShell(g:filetype_csh)
|
||||||
|
elseif &shell =~ "tcsh"
|
||||||
|
call dist#ft#SetFileTypeShell("tcsh")
|
||||||
|
else
|
||||||
|
call dist#ft#SetFileTypeShell("csh")
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
let s:ft_rules_udev_rules_pattern = '^\s*\cudev_rules\s*=\s*"\([^"]\{-1,}\)/*".*'
|
||||||
|
func dist#ft#FTRules()
|
||||||
|
let path = expand('<amatch>:p')
|
||||||
|
if path =~ '^/\(etc/udev/\%(rules\.d/\)\=.*\.rules\|lib/udev/\%(rules\.d/\)\=.*\.rules\)$'
|
||||||
|
setf udevrules
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if path =~ '^/etc/ufw/'
|
||||||
|
setf conf " Better than hog
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if path =~ '^/\(etc\|usr/share\)/polkit-1/rules\.d'
|
||||||
|
setf javascript
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
try
|
||||||
|
let config_lines = readfile('/etc/udev/udev.conf')
|
||||||
|
catch /^Vim\%((\a\+)\)\=:E484/
|
||||||
|
setf hog
|
||||||
|
return
|
||||||
|
endtry
|
||||||
|
let dir = expand('<amatch>:p:h')
|
||||||
|
for line in config_lines
|
||||||
|
if line =~ s:ft_rules_udev_rules_pattern
|
||||||
|
let udev_rules = substitute(line, s:ft_rules_udev_rules_pattern, '\1', "")
|
||||||
|
if dir == udev_rules
|
||||||
|
setf udevrules
|
||||||
|
endif
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
endfor
|
||||||
|
setf hog
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#SQL()
|
||||||
|
if exists("g:filetype_sql")
|
||||||
|
exe "setf " . g:filetype_sql
|
||||||
|
else
|
||||||
|
setf sql
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
" If the file has an extension of 't' and is in a directory 't' or 'xt' then
|
||||||
|
" it is almost certainly a Perl test file.
|
||||||
|
" If the first line starts with '#' and contains 'perl' it's probably a Perl
|
||||||
|
" file.
|
||||||
|
" (Slow test) If a file contains a 'use' statement then it is almost certainly
|
||||||
|
" a Perl file.
|
||||||
|
func dist#ft#FTperl()
|
||||||
|
let dirname = expand("%:p:h:t")
|
||||||
|
if expand("%:e") == 't' && (dirname == 't' || dirname == 'xt')
|
||||||
|
setf perl
|
||||||
|
return 1
|
||||||
|
endif
|
||||||
|
if getline(1)[0] == '#' && getline(1) =~ 'perl'
|
||||||
|
setf perl
|
||||||
|
return 1
|
||||||
|
endif
|
||||||
|
if search('^use\s\s*\k', 'nc', 30)
|
||||||
|
setf perl
|
||||||
|
return 1
|
||||||
|
endif
|
||||||
|
return 0
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
" Choose context, plaintex, or tex (LaTeX) based on these rules:
|
||||||
|
" 1. Check the first line of the file for "%&<format>".
|
||||||
|
" 2. Check the first 1000 non-comment lines for LaTeX or ConTeXt keywords.
|
||||||
|
" 3. Default to "latex" or to g:tex_flavor, can be set in user's vimrc.
|
||||||
|
func dist#ft#FTtex()
|
||||||
|
let firstline = getline(1)
|
||||||
|
if firstline =~ '^%&\s*\a\+'
|
||||||
|
let format = tolower(matchstr(firstline, '\a\+'))
|
||||||
|
let format = substitute(format, 'pdf', '', '')
|
||||||
|
if format == 'tex'
|
||||||
|
let format = 'latex'
|
||||||
|
elseif format == 'plaintex'
|
||||||
|
let format = 'plain'
|
||||||
|
endif
|
||||||
|
elseif expand('%') =~ 'tex/context/.*/.*.tex'
|
||||||
|
let format = 'context'
|
||||||
|
else
|
||||||
|
" Default value, may be changed later:
|
||||||
|
let format = exists("g:tex_flavor") ? g:tex_flavor : 'plain'
|
||||||
|
" Save position, go to the top of the file, find first non-comment line.
|
||||||
|
let save_cursor = getpos('.')
|
||||||
|
call cursor(1,1)
|
||||||
|
let firstNC = search('^\s*[^[:space:]%]', 'c', 1000)
|
||||||
|
if firstNC " Check the next thousand lines for a LaTeX or ConTeXt keyword.
|
||||||
|
let lpat = 'documentclass\>\|usepackage\>\|begin{\|newcommand\>\|renewcommand\>'
|
||||||
|
let cpat = 'start\a\+\|setup\a\+\|usemodule\|enablemode\|enableregime\|setvariables\|useencoding\|usesymbols\|stelle\a\+\|verwende\a\+\|stel\a\+\|gebruik\a\+\|usa\a\+\|imposta\a\+\|regle\a\+\|utilisemodule\>'
|
||||||
|
let kwline = search('^\s*\\\%(' . lpat . '\)\|^\s*\\\(' . cpat . '\)',
|
||||||
|
\ 'cnp', firstNC + 1000)
|
||||||
|
if kwline == 1 " lpat matched
|
||||||
|
let format = 'latex'
|
||||||
|
elseif kwline == 2 " cpat matched
|
||||||
|
let format = 'context'
|
||||||
|
endif " If neither matched, keep default set above.
|
||||||
|
" let lline = search('^\s*\\\%(' . lpat . '\)', 'cn', firstNC + 1000)
|
||||||
|
" let cline = search('^\s*\\\%(' . cpat . '\)', 'cn', firstNC + 1000)
|
||||||
|
" if cline > 0
|
||||||
|
" let format = 'context'
|
||||||
|
" endif
|
||||||
|
" if lline > 0 && (cline == 0 || cline > lline)
|
||||||
|
" let format = 'tex'
|
||||||
|
" endif
|
||||||
|
endif " firstNC
|
||||||
|
call setpos('.', save_cursor)
|
||||||
|
endif " firstline =~ '^%&\s*\a\+'
|
||||||
|
|
||||||
|
" Translation from formats to file types. TODO: add AMSTeX, RevTex, others?
|
||||||
|
if format == 'plain'
|
||||||
|
setf plaintex
|
||||||
|
elseif format == 'context'
|
||||||
|
setf context
|
||||||
|
else " probably LaTeX
|
||||||
|
setf tex
|
||||||
|
endif
|
||||||
|
return
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTxml()
|
||||||
|
let n = 1
|
||||||
|
while n < 100 && n < line("$")
|
||||||
|
let line = getline(n)
|
||||||
|
" DocBook 4 or DocBook 5.
|
||||||
|
let is_docbook4 = line =~ '<!DOCTYPE.*DocBook'
|
||||||
|
let is_docbook5 = line =~ ' xmlns="http://docbook.org/ns/docbook"'
|
||||||
|
if is_docbook4 || is_docbook5
|
||||||
|
let b:docbk_type = "xml"
|
||||||
|
if is_docbook5
|
||||||
|
let b:docbk_ver = 5
|
||||||
|
else
|
||||||
|
let b:docbk_ver = 4
|
||||||
|
endif
|
||||||
|
setf docbk
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if line =~ 'xmlns:xbl="http://www.mozilla.org/xbl"'
|
||||||
|
setf xbl
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let n += 1
|
||||||
|
endwhile
|
||||||
|
setf xml
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTy()
|
||||||
|
let n = 1
|
||||||
|
while n < 100 && n < line("$")
|
||||||
|
let line = getline(n)
|
||||||
|
if line =~ '^\s*%'
|
||||||
|
setf yacc
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if getline(n) =~ '^\s*\(#\|class\>\)' && getline(n) !~ '^\s*#\s*include'
|
||||||
|
setf racc
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let n = n + 1
|
||||||
|
endwhile
|
||||||
|
setf yacc
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#Redif()
|
||||||
|
let lnum = 1
|
||||||
|
while lnum <= 5 && lnum < line('$')
|
||||||
|
if getline(lnum) =~ "^\ctemplate-type:"
|
||||||
|
setf redif
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let lnum = lnum + 1
|
||||||
|
endwhile
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
|
||||||
|
" Restore 'cpoptions'
|
||||||
|
let &cpo = s:cpo_save
|
||||||
|
unlet s:cpo_save
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
|||||||
" netrwSettings.vim: makes netrw settings simpler
|
" netrwSettings.vim: makes netrw settings simpler
|
||||||
" Date: Dec 30, 2014
|
" Date: Nov 09, 2016
|
||||||
" Maintainer: Charles E Campbell <drchipNOSPAM at campbellfamily dot biz>
|
" Maintainer: Charles E Campbell <drchipNOSPAM at campbellfamily dot biz>
|
||||||
" Version: 15
|
" Version: 16
|
||||||
" Copyright: Copyright (C) 1999-2007 Charles E. Campbell {{{1
|
" Copyright: Copyright (C) 1999-2007 Charles E. Campbell {{{1
|
||||||
" Permission is hereby granted to use and distribute this code,
|
" Permission is hereby granted to use and distribute this code,
|
||||||
" with or without modifications, provided that this copyright
|
" with or without modifications, provided that this copyright
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
if exists("g:loaded_netrwSettings") || &cp
|
if exists("g:loaded_netrwSettings") || &cp
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let g:loaded_netrwSettings = "v15"
|
let g:loaded_netrwSettings = "v16"
|
||||||
if v:version < 700
|
if v:version < 700
|
||||||
echohl WarningMsg
|
echohl WarningMsg
|
||||||
echo "***warning*** this version of netrwSettings needs vim 7.0"
|
echo "***warning*** this version of netrwSettings needs vim 7.0"
|
||||||
@@ -154,9 +154,13 @@ fun! netrwSettings#NetrwSettings()
|
|||||||
put = 'let g:netrw_list_hide = '.g:netrw_list_hide
|
put = 'let g:netrw_list_hide = '.g:netrw_list_hide
|
||||||
put = 'let g:netrw_liststyle = '.g:netrw_liststyle
|
put = 'let g:netrw_liststyle = '.g:netrw_liststyle
|
||||||
put = 'let g:netrw_localcopycmd = '.g:netrw_localcopycmd
|
put = 'let g:netrw_localcopycmd = '.g:netrw_localcopycmd
|
||||||
|
put = 'let g:netrw_localcopycmdopt = '.g:netrw_localcopycmdopt
|
||||||
put = 'let g:netrw_localmkdir = '.g:netrw_localmkdir
|
put = 'let g:netrw_localmkdir = '.g:netrw_localmkdir
|
||||||
|
put = 'let g:netrw_localmkdiropt = '.g:netrw_localmkdiropt
|
||||||
put = 'let g:netrw_localmovecmd = '.g:netrw_localmovecmd
|
put = 'let g:netrw_localmovecmd = '.g:netrw_localmovecmd
|
||||||
|
put = 'let g:netrw_localmovecmdopt = '.g:netrw_localmovecmdopt
|
||||||
put = 'let g:netrw_localrmdir = '.g:netrw_localrmdir
|
put = 'let g:netrw_localrmdir = '.g:netrw_localrmdir
|
||||||
|
put = 'let g:netrw_localrmdiropt = '.g:netrw_localrmdiropt
|
||||||
put = 'let g:netrw_maxfilenamelen = '.g:netrw_maxfilenamelen
|
put = 'let g:netrw_maxfilenamelen = '.g:netrw_maxfilenamelen
|
||||||
put = 'let g:netrw_menu = '.g:netrw_menu
|
put = 'let g:netrw_menu = '.g:netrw_menu
|
||||||
put = 'let g:netrw_mousemaps = '.g:netrw_mousemaps
|
put = 'let g:netrw_mousemaps = '.g:netrw_mousemaps
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
" Language: SQL
|
" Language: SQL
|
||||||
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
|
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
|
||||||
" Version: 16.0
|
" Version: 16.0
|
||||||
" Last Change: 2015 Dec 29
|
" Last Change: 2017 Oct 15
|
||||||
" Homepage: http://www.vim.org/scripts/script.php?script_id=1572
|
" Homepage: http://www.vim.org/scripts/script.php?script_id=1572
|
||||||
" Usage: For detailed help
|
" Usage: For detailed help
|
||||||
" ":help sql.txt"
|
" ":help sql.txt"
|
||||||
@@ -860,7 +860,7 @@ function! s:SQLCGetColumns(table_name, list_type)
|
|||||||
|
|
||||||
" Start characterwise visual mode
|
" Start characterwise visual mode
|
||||||
" Advance right one character
|
" Advance right one character
|
||||||
" Search foward until one of the following:
|
" Search forward until one of the following:
|
||||||
" 1. Another select/update/delete statement
|
" 1. Another select/update/delete statement
|
||||||
" 2. A ; at the end of a line (the delimiter)
|
" 2. A ; at the end of a line (the delimiter)
|
||||||
" 3. The end of the file (incase no delimiter)
|
" 3. The end of the file (incase no delimiter)
|
||||||
|
|||||||
@@ -343,7 +343,7 @@ xxd.man: xxd.1
|
|||||||
nroff -man xxd.1 | sed -e s/.//g > xxd.man
|
nroff -man xxd.1 | sed -e s/.//g > xxd.man
|
||||||
|
|
||||||
uganda.nsis.txt: uganda.txt
|
uganda.nsis.txt: uganda.txt
|
||||||
sed -e 's/[ ]*\*[-a-zA-Z0-9.]*\*//g' -e 's/vim:tw=78://' \
|
sed -e 's/[ ]*\*[-a-zA-Z0-9.]*\*//g' -e 's/vim:tw=78:.*//' \
|
||||||
uganda.txt | uniq >uganda.nsis.txt
|
uganda.txt | uniq >uganda.nsis.txt
|
||||||
|
|
||||||
# Awk version of .txt to .html conversion.
|
# Awk version of .txt to .html conversion.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*autocmd.txt* For Vim version 8.0. Last change: 2017 Jul 14
|
*autocmd.txt* For Vim version 8.0. Last change: 2017 Nov 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -68,7 +68,14 @@ Note: The ":autocmd" command can only be followed by another command when the
|
|||||||
'|' appears before {cmd}. This works: >
|
'|' appears before {cmd}. This works: >
|
||||||
:augroup mine | au! BufRead | augroup END
|
:augroup mine | au! BufRead | augroup END
|
||||||
But this sees "augroup" as part of the defined command: >
|
But this sees "augroup" as part of the defined command: >
|
||||||
|
:augroup mine | au! BufRead * | augroup END
|
||||||
:augroup mine | au BufRead * set tw=70 | augroup END
|
:augroup mine | au BufRead * set tw=70 | augroup END
|
||||||
|
Instead you can put the group name into the command: >
|
||||||
|
:au! mine BufRead *
|
||||||
|
:au mine BufRead * set tw=70
|
||||||
|
Or use `:execute`: >
|
||||||
|
:augroup mine | exe "au! BufRead *" | augroup END
|
||||||
|
:augroup mine | exe "au BufRead * set tw=70" | augroup END
|
||||||
|
|
||||||
Note that special characters (e.g., "%", "<cword>") in the ":autocmd"
|
Note that special characters (e.g., "%", "<cword>") in the ":autocmd"
|
||||||
arguments are not expanded when the autocommand is defined. These will be
|
arguments are not expanded when the autocommand is defined. These will be
|
||||||
@@ -492,6 +499,22 @@ CmdUndefined When a user command is used but it isn't
|
|||||||
command is defined. An alternative is to
|
command is defined. An alternative is to
|
||||||
always define the user command and have it
|
always define the user command and have it
|
||||||
invoke an autoloaded function. See |autoload|.
|
invoke an autoloaded function. See |autoload|.
|
||||||
|
*CmdlineEnter*
|
||||||
|
CmdlineEnter After moving the cursor to the command line,
|
||||||
|
where the user can type a command or search
|
||||||
|
string.
|
||||||
|
<afile> is set to a single character,
|
||||||
|
indicating the type of command-line.
|
||||||
|
|cmdwin-char|
|
||||||
|
*CmdlineLeave*
|
||||||
|
CmdlineLeave Before leaving the command line.
|
||||||
|
Also when abandoning the command line, after
|
||||||
|
typing CTRL-C or <Esc>.
|
||||||
|
When the commands result in an error the
|
||||||
|
command line is still executed.
|
||||||
|
<afile> is set to a single character,
|
||||||
|
indicating the type of command-line.
|
||||||
|
|cmdwin-char|
|
||||||
*CmdwinEnter*
|
*CmdwinEnter*
|
||||||
CmdwinEnter After entering the command-line window.
|
CmdwinEnter After entering the command-line window.
|
||||||
Useful for setting options specifically for
|
Useful for setting options specifically for
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*cmdline.txt* For Vim version 8.0. Last change: 2017 Sep 17
|
*cmdline.txt* For Vim version 8.0. Last change: 2017 Oct 19
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -839,7 +839,8 @@ Note: these are typed literally, they are not special keys!
|
|||||||
<cfile> is replaced with the path name under the cursor (like what
|
<cfile> is replaced with the path name under the cursor (like what
|
||||||
|gf| uses)
|
|gf| uses)
|
||||||
<afile> When executing autocommands, is replaced with the file name
|
<afile> When executing autocommands, is replaced with the file name
|
||||||
for a file read or write.
|
of the buffer being manipulated, or the file for a read or
|
||||||
|
write.
|
||||||
<abuf> When executing autocommands, is replaced with the currently
|
<abuf> When executing autocommands, is replaced with the currently
|
||||||
effective buffer number (for ":r file" and ":so file" it is
|
effective buffer number (for ":r file" and ":so file" it is
|
||||||
the current buffer, the file being read/sourced is not in a
|
the current buffer, the file being read/sourced is not in a
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*debugger.txt* For Vim version 8.0. Last change: 2005 Mar 29
|
*debugger.txt* For Vim version 8.0. Last change: 2017 Nov 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Gordon Prieur
|
VIM REFERENCE MANUAL by Gordon Prieur
|
||||||
@@ -95,10 +95,12 @@ list and colors can be set via X resources (XmNballoonEvalFontList,
|
|||||||
XmNballoonEvalBackground, and XmNballoonEvalForeground).
|
XmNballoonEvalBackground, and XmNballoonEvalForeground).
|
||||||
The 'balloondelay' option sets the delay before an attempt is made to show a
|
The 'balloondelay' option sets the delay before an attempt is made to show a
|
||||||
balloon.
|
balloon.
|
||||||
The 'ballooneval' option needs to be set to switch it on.
|
The 'ballooneval' and/or the 'balloonevalterm' option needs to be set to
|
||||||
|
switch it on.
|
||||||
|
|
||||||
Balloon evaluation is only available when compiled with the |+balloon_eval|
|
Balloon evaluation is only available in the GUI when compiled with the
|
||||||
feature.
|
|+balloon_eval| feature. For the terminal the |+balloon_eval_term| feature
|
||||||
|
matters.
|
||||||
|
|
||||||
The Balloon evaluation functions are also used to show a tooltip for the
|
The Balloon evaluation functions are also used to show a tooltip for the
|
||||||
toolbar. The 'ballooneval' option does not need to be set for this. But the
|
toolbar. The 'ballooneval' option does not need to be set for this. But the
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*diff.txt* For Vim version 8.0. Last change: 2017 Sep 02
|
*diff.txt* For Vim version 8.0. Last change: 2017 Oct 03
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -10,7 +10,7 @@ eight versions of the same file.
|
|||||||
|
|
||||||
The basics are explained in section |08.7| of the user manual.
|
The basics are explained in section |08.7| of the user manual.
|
||||||
|
|
||||||
1. Starting diff mode |vimdiff|
|
1. Starting diff mode |start-vimdiff|
|
||||||
2. Viewing diffs |view-diffs|
|
2. Viewing diffs |view-diffs|
|
||||||
3. Jumping to diffs |jumpto-diffs|
|
3. Jumping to diffs |jumpto-diffs|
|
||||||
4. Copying diffs |copy-diffs|
|
4. Copying diffs |copy-diffs|
|
||||||
@@ -19,7 +19,7 @@ The basics are explained in section |08.7| of the user manual.
|
|||||||
{not in Vi}
|
{not in Vi}
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Starting diff mode
|
1. Starting diff mode *start-vimdiff*
|
||||||
|
|
||||||
The easiest way to start editing in diff mode is with the "vimdiff" command.
|
The easiest way to start editing in diff mode is with the "vimdiff" command.
|
||||||
This starts Vim as usual, and additionally sets up for viewing the differences
|
This starts Vim as usual, and additionally sets up for viewing the differences
|
||||||
@@ -326,7 +326,7 @@ g:diff_translations to zero: >
|
|||||||
|
|
||||||
let g:diff_translations = 0
|
let g:diff_translations = 0
|
||||||
<
|
<
|
||||||
After setting this variable, Reload the syntax script: >
|
After setting this variable, reload the syntax script: >
|
||||||
|
|
||||||
set syntax=diff
|
set syntax=diff
|
||||||
<
|
<
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*editing.txt* For Vim version 8.0. Last change: 2017 Aug 21
|
*editing.txt* For Vim version 8.0. Last change: 2017 Nov 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -900,7 +900,7 @@ Note: When the 'write' option is off, you are not able to write any file.
|
|||||||
|
|
||||||
*:w* *:write*
|
*:w* *:write*
|
||||||
*E502* *E503* *E504* *E505*
|
*E502* *E503* *E504* *E505*
|
||||||
*E512* *E514* *E667* *E796*
|
*E512* *E514* *E667* *E796* *E949*
|
||||||
:w[rite] [++opt] Write the whole buffer to the current file. This is
|
:w[rite] [++opt] Write the whole buffer to the current file. This is
|
||||||
the normal way to save changes to a file. It fails
|
the normal way to save changes to a file. It fails
|
||||||
when the 'readonly' option is set or when there is
|
when the 'readonly' option is set or when there is
|
||||||
@@ -956,6 +956,9 @@ used, for example, when the write fails and you want to try again later with
|
|||||||
":w #". This can be switched off by removing the 'A' flag from the
|
":w #". This can be switched off by removing the 'A' flag from the
|
||||||
'cpoptions' option.
|
'cpoptions' option.
|
||||||
|
|
||||||
|
Note that the 'fsync' option matters here. If it's set it may make writes
|
||||||
|
slower (but safer).
|
||||||
|
|
||||||
*:sav* *:saveas*
|
*:sav* *:saveas*
|
||||||
:sav[eas][!] [++opt] {file}
|
:sav[eas][!] [++opt] {file}
|
||||||
Save the current buffer under the name {file} and set
|
Save the current buffer under the name {file} and set
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*eval.txt* For Vim version 8.0. Last change: 2017 Sep 17
|
*eval.txt* For Vim version 8.0. Last change: 2017 Nov 19
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -120,9 +120,8 @@ To test for a non-empty string, use empty(): >
|
|||||||
Function arguments often behave slightly different from |TRUE|: If the
|
Function arguments often behave slightly different from |TRUE|: If the
|
||||||
argument is present and it evaluates to a non-zero Number, |v:true| or a
|
argument is present and it evaluates to a non-zero Number, |v:true| or a
|
||||||
non-empty String, then the value is considered to be TRUE.
|
non-empty String, then the value is considered to be TRUE.
|
||||||
Note that " " and "0" are also non-empty strings, thus cause the mode to be
|
Note that " " and "0" are also non-empty strings, thus considered to be TRUE.
|
||||||
cleared. A List, Dictionary or Float is not a Number or String, thus
|
A List, Dictionary or Float is not a Number or String, thus evaluate to FALSE.
|
||||||
evaluates to FALSE.
|
|
||||||
|
|
||||||
*E745* *E728* *E703* *E729* *E730* *E731* *E908* *E910* *E913*
|
*E745* *E728* *E703* *E729* *E730* *E731* *E908* *E910* *E913*
|
||||||
List, Dictionary, Funcref, Job and Channel types are not automatically
|
List, Dictionary, Funcref, Job and Channel types are not automatically
|
||||||
@@ -815,14 +814,15 @@ Examples:
|
|||||||
"abc" == "Abc" evaluates to 1 if 'ignorecase' is set, 0 otherwise
|
"abc" == "Abc" evaluates to 1 if 'ignorecase' is set, 0 otherwise
|
||||||
|
|
||||||
*E691* *E692*
|
*E691* *E692*
|
||||||
A |List| can only be compared with a |List| and only "equal", "not equal" and
|
A |List| can only be compared with a |List| and only "equal", "not equal",
|
||||||
"is" can be used. This compares the values of the list, recursively.
|
"is" and "isnot" can be used. This compares the values of the list,
|
||||||
Ignoring case means case is ignored when comparing item values.
|
recursively. Ignoring case means case is ignored when comparing item values.
|
||||||
|
|
||||||
*E735* *E736*
|
*E735* *E736*
|
||||||
A |Dictionary| can only be compared with a |Dictionary| and only "equal", "not
|
A |Dictionary| can only be compared with a |Dictionary| and only "equal", "not
|
||||||
equal" and "is" can be used. This compares the key/values of the |Dictionary|
|
equal", "is" and "isnot" can be used. This compares the key/values of the
|
||||||
recursively. Ignoring case means case is ignored when comparing item values.
|
|Dictionary| recursively. Ignoring case means case is ignored when comparing
|
||||||
|
item values.
|
||||||
|
|
||||||
*E694*
|
*E694*
|
||||||
A |Funcref| can only be compared with a |Funcref| and only "equal", "not
|
A |Funcref| can only be compared with a |Funcref| and only "equal", "not
|
||||||
@@ -1048,7 +1048,7 @@ When expr8 is a |Funcref| type variable, invoke the function it refers to.
|
|||||||
*expr9*
|
*expr9*
|
||||||
number
|
number
|
||||||
------
|
------
|
||||||
number number constant *expr-number*
|
number number constant *expr-number*
|
||||||
*hex-number* *octal-number* *binary-number*
|
*hex-number* *octal-number* *binary-number*
|
||||||
|
|
||||||
Decimal, Hexadecimal (starting with 0x or 0X), Binary (starting with 0b or 0B)
|
Decimal, Hexadecimal (starting with 0x or 0X), Binary (starting with 0b or 0B)
|
||||||
@@ -1647,7 +1647,7 @@ v:foldstart Used for 'foldtext': first line of closed fold.
|
|||||||
Read-only in the |sandbox|. |fold-foldtext|
|
Read-only in the |sandbox|. |fold-foldtext|
|
||||||
|
|
||||||
*v:hlsearch* *hlsearch-variable*
|
*v:hlsearch* *hlsearch-variable*
|
||||||
v:hlsearch Variable that indicates whether search highlighting is on.
|
v:hlsearch Variable that indicates whether search highlighting is on.
|
||||||
Setting it makes sense only if 'hlsearch' is enabled which
|
Setting it makes sense only if 'hlsearch' is enabled which
|
||||||
requires |+extra_search|. Setting this variable to zero acts
|
requires |+extra_search|. Setting this variable to zero acts
|
||||||
like the |:nohlsearch| command, setting it to one acts like >
|
like the |:nohlsearch| command, setting it to one acts like >
|
||||||
@@ -1818,7 +1818,7 @@ v:scrollstart String describing the script or function that caused the
|
|||||||
v:servername The resulting registered |client-server-name| if any.
|
v:servername The resulting registered |client-server-name| if any.
|
||||||
Read-only.
|
Read-only.
|
||||||
|
|
||||||
|
|
||||||
v:searchforward *v:searchforward* *searchforward-variable*
|
v:searchforward *v:searchforward* *searchforward-variable*
|
||||||
Search direction: 1 after a forward search, 0 after a
|
Search direction: 1 after a forward search, 0 after a
|
||||||
backward search. It is reset to forward when directly setting
|
backward search. It is reset to forward when directly setting
|
||||||
@@ -1912,11 +1912,16 @@ v:termstyleresp The escape sequence returned by the terminal for the |t_RS|
|
|||||||
termcap entry. This is used to find out what the shape of the
|
termcap entry. This is used to find out what the shape of the
|
||||||
cursor is. This is used by |term_getcursor()|.
|
cursor is. This is used by |term_getcursor()|.
|
||||||
|
|
||||||
*v:termrgbresp*
|
*v:termrbgresp*
|
||||||
v:termrgbresp The escape sequence returned by the terminal for the |t_RB|
|
v:termrbgresp The escape sequence returned by the terminal for the |t_RB|
|
||||||
termcap entry. This is used to find out what the terminal
|
termcap entry. This is used to find out what the terminal
|
||||||
background color is, see 'background'.
|
background color is, see 'background'.
|
||||||
|
|
||||||
|
*v:termrfgresp*
|
||||||
|
v:termrfgresp The escape sequence returned by the terminal for the |t_RF|
|
||||||
|
termcap entry. This is used to find out what the terminal
|
||||||
|
foreground color is.
|
||||||
|
|
||||||
*v:termu7resp*
|
*v:termu7resp*
|
||||||
v:termu7resp The escape sequence returned by the terminal for the |t_u7|
|
v:termu7resp The escape sequence returned by the terminal for the |t_u7|
|
||||||
termcap entry. This is used to find out what the terminal
|
termcap entry. This is used to find out what the terminal
|
||||||
@@ -1925,7 +1930,7 @@ v:termu7resp The escape sequence returned by the terminal for the |t_u7|
|
|||||||
*v:testing* *testing-variable*
|
*v:testing* *testing-variable*
|
||||||
v:testing Must be set before using `test_garbagecollect_now()`.
|
v:testing Must be set before using `test_garbagecollect_now()`.
|
||||||
Also, when set certain error messages won't be shown for 2
|
Also, when set certain error messages won't be shown for 2
|
||||||
seconds. (e.g. "'dictionary' option is empty")
|
seconds. (e.g. "'dictionary' option is empty")
|
||||||
|
|
||||||
*v:this_session* *this_session-variable*
|
*v:this_session* *this_session-variable*
|
||||||
v:this_session Full filename of the last loaded or saved session file. See
|
v:this_session Full filename of the last loaded or saved session file. See
|
||||||
@@ -2027,6 +2032,7 @@ asin({expr}) Float arc sine of {expr}
|
|||||||
atan({expr}) Float arc tangent of {expr}
|
atan({expr}) Float arc tangent of {expr}
|
||||||
atan2({expr1}, {expr2}) Float arc tangent of {expr1} / {expr2}
|
atan2({expr1}, {expr2}) Float arc tangent of {expr1} / {expr2}
|
||||||
balloon_show({msg}) none show {msg} inside the balloon
|
balloon_show({msg}) none show {msg} inside the balloon
|
||||||
|
balloon_split({msg}) List split {msg} as used for a balloon
|
||||||
browse({save}, {title}, {initdir}, {default})
|
browse({save}, {title}, {initdir}, {default})
|
||||||
String put up a file requester
|
String put up a file requester
|
||||||
browsedir({title}, {initdir}) String put up a directory requester
|
browsedir({title}, {initdir}) String put up a directory requester
|
||||||
@@ -2069,7 +2075,7 @@ ch_setoptions({handle}, {options})
|
|||||||
ch_status({handle} [, {options}])
|
ch_status({handle} [, {options}])
|
||||||
String status of channel {handle}
|
String status of channel {handle}
|
||||||
changenr() Number current change number
|
changenr() Number current change number
|
||||||
char2nr({expr}[, {utf8}]) Number ASCII/UTF8 value of first char in {expr}
|
char2nr({expr} [, {utf8}]) Number ASCII/UTF8 value of first char in {expr}
|
||||||
cindent({lnum}) Number C indent for line {lnum}
|
cindent({lnum}) Number C indent for line {lnum}
|
||||||
clearmatches() none clear all matches
|
clearmatches() none clear all matches
|
||||||
col({expr}) Number column nr of cursor or mark
|
col({expr}) Number column nr of cursor or mark
|
||||||
@@ -2111,9 +2117,9 @@ filereadable({file}) Number |TRUE| if {file} is a readable file
|
|||||||
filewritable({file}) Number |TRUE| if {file} is a writable file
|
filewritable({file}) Number |TRUE| if {file} is a writable file
|
||||||
filter({expr1}, {expr2}) List/Dict remove items from {expr1} where
|
filter({expr1}, {expr2}) List/Dict remove items from {expr1} where
|
||||||
{expr2} is 0
|
{expr2} is 0
|
||||||
finddir({name}[, {path}[, {count}]])
|
finddir({name} [, {path} [, {count}]])
|
||||||
String find directory {name} in {path}
|
String find directory {name} in {path}
|
||||||
findfile({name}[, {path}[, {count}]])
|
findfile({name} [, {path} [, {count}]])
|
||||||
String find file {name} in {path}
|
String find file {name} in {path}
|
||||||
float2nr({expr}) Number convert Float {expr} to a Number
|
float2nr({expr}) Number convert Float {expr} to a Number
|
||||||
floor({expr}) Float round {expr} down
|
floor({expr}) Float round {expr} down
|
||||||
@@ -2157,7 +2163,7 @@ getftime({fname}) Number last modification time of file
|
|||||||
getftype({fname}) String description of type of file {fname}
|
getftype({fname}) String description of type of file {fname}
|
||||||
getline({lnum}) String line {lnum} of current buffer
|
getline({lnum}) String line {lnum} of current buffer
|
||||||
getline({lnum}, {end}) List lines {lnum} to {end} of current buffer
|
getline({lnum}, {end}) List lines {lnum} to {end} of current buffer
|
||||||
getloclist({nr}[, {what}]) List list of location list items
|
getloclist({nr} [, {what}]) List list of location list items
|
||||||
getmatches() List list of current matches
|
getmatches() List list of current matches
|
||||||
getpid() Number process ID of Vim
|
getpid() Number process ID of Vim
|
||||||
getpos({expr}) List position of cursor, mark, etc.
|
getpos({expr}) List position of cursor, mark, etc.
|
||||||
@@ -2233,28 +2239,28 @@ lispindent({lnum}) Number Lisp indent for line {lnum}
|
|||||||
localtime() Number current time
|
localtime() Number current time
|
||||||
log({expr}) Float natural logarithm (base e) of {expr}
|
log({expr}) Float natural logarithm (base e) of {expr}
|
||||||
log10({expr}) Float logarithm of Float {expr} to base 10
|
log10({expr}) Float logarithm of Float {expr} to base 10
|
||||||
luaeval({expr}[, {expr}]) any evaluate |Lua| expression
|
luaeval({expr} [, {expr}]) any evaluate |Lua| expression
|
||||||
map({expr1}, {expr2}) List/Dict change each item in {expr1} to {expr}
|
map({expr1}, {expr2}) List/Dict change each item in {expr1} to {expr}
|
||||||
maparg({name}[, {mode} [, {abbr} [, {dict}]]])
|
maparg({name} [, {mode} [, {abbr} [, {dict}]]])
|
||||||
String or Dict
|
String or Dict
|
||||||
rhs of mapping {name} in mode {mode}
|
rhs of mapping {name} in mode {mode}
|
||||||
mapcheck({name}[, {mode} [, {abbr}]])
|
mapcheck({name} [, {mode} [, {abbr}]])
|
||||||
String check for mappings matching {name}
|
String check for mappings matching {name}
|
||||||
match({expr}, {pat}[, {start}[, {count}]])
|
match({expr}, {pat} [, {start} [, {count}]])
|
||||||
Number position where {pat} matches in {expr}
|
Number position where {pat} matches in {expr}
|
||||||
matchadd({group}, {pattern}[, {priority}[, {id} [, {dict}]]])
|
matchadd({group}, {pattern} [, {priority} [, {id} [, {dict}]]])
|
||||||
Number highlight {pattern} with {group}
|
Number highlight {pattern} with {group}
|
||||||
matchaddpos({group}, {pos}[, {priority}[, {id}[, {dict}]]])
|
matchaddpos({group}, {pos} [, {priority} [, {id} [, {dict}]]])
|
||||||
Number highlight positions with {group}
|
Number highlight positions with {group}
|
||||||
matcharg({nr}) List arguments of |:match|
|
matcharg({nr}) List arguments of |:match|
|
||||||
matchdelete({id}) Number delete match identified by {id}
|
matchdelete({id}) Number delete match identified by {id}
|
||||||
matchend({expr}, {pat}[, {start}[, {count}]])
|
matchend({expr}, {pat} [, {start} [, {count}]])
|
||||||
Number position where {pat} ends in {expr}
|
Number position where {pat} ends in {expr}
|
||||||
matchlist({expr}, {pat}[, {start}[, {count}]])
|
matchlist({expr}, {pat} [, {start} [, {count}]])
|
||||||
List match and submatches of {pat} in {expr}
|
List match and submatches of {pat} in {expr}
|
||||||
matchstr({expr}, {pat}[, {start}[, {count}]])
|
matchstr({expr}, {pat} [, {start} [, {count}]])
|
||||||
String {count}'th match of {pat} in {expr}
|
String {count}'th match of {pat} in {expr}
|
||||||
matchstrpos({expr}, {pat}[, {start}[, {count}]])
|
matchstrpos({expr}, {pat} [, {start} [, {count}]])
|
||||||
List {count}'th match of {pat} in {expr}
|
List {count}'th match of {pat} in {expr}
|
||||||
max({expr}) Number maximum value of items in {expr}
|
max({expr}) Number maximum value of items in {expr}
|
||||||
min({expr}) Number minimum value of items in {expr}
|
min({expr}) Number minimum value of items in {expr}
|
||||||
@@ -2263,7 +2269,7 @@ mkdir({name} [, {path} [, {prot}]])
|
|||||||
mode([expr]) String current editing mode
|
mode([expr]) String current editing mode
|
||||||
mzeval({expr}) any evaluate |MzScheme| expression
|
mzeval({expr}) any evaluate |MzScheme| expression
|
||||||
nextnonblank({lnum}) Number line nr of non-blank line >= {lnum}
|
nextnonblank({lnum}) Number line nr of non-blank line >= {lnum}
|
||||||
nr2char({expr}[, {utf8}]) String single char with ASCII/UTF8 value {expr}
|
nr2char({expr} [, {utf8}]) String single char with ASCII/UTF8 value {expr}
|
||||||
or({expr}, {expr}) Number bitwise OR
|
or({expr}, {expr}) Number bitwise OR
|
||||||
pathshorten({expr}) String shorten directory names in a path
|
pathshorten({expr}) String shorten directory names in a path
|
||||||
perleval({expr}) any evaluate |Perl| expression
|
perleval({expr}) any evaluate |Perl| expression
|
||||||
@@ -2316,7 +2322,7 @@ searchpos({pattern} [, {flags} [, {stopline} [, {timeout}]]])
|
|||||||
server2client({clientid}, {string})
|
server2client({clientid}, {string})
|
||||||
Number send reply string
|
Number send reply string
|
||||||
serverlist() String get a list of available servers
|
serverlist() String get a list of available servers
|
||||||
setbufline( {expr}, {lnum}, {line})
|
setbufline({expr}, {lnum}, {line})
|
||||||
Number set line {lnum} to {line} in buffer
|
Number set line {lnum} to {line} in buffer
|
||||||
{expr}
|
{expr}
|
||||||
setbufvar({expr}, {varname}, {val})
|
setbufvar({expr}, {varname}, {val})
|
||||||
@@ -2325,13 +2331,13 @@ setcharsearch({dict}) Dict set character search from {dict}
|
|||||||
setcmdpos({pos}) Number set cursor position in command-line
|
setcmdpos({pos}) Number set cursor position in command-line
|
||||||
setfperm({fname}, {mode}) Number set {fname} file permissions to {mode}
|
setfperm({fname}, {mode}) Number set {fname} file permissions to {mode}
|
||||||
setline({lnum}, {line}) Number set line {lnum} to {line}
|
setline({lnum}, {line}) Number set line {lnum} to {line}
|
||||||
setloclist({nr}, {list}[, {action}[, {what}]])
|
setloclist({nr}, {list} [, {action} [, {what}]])
|
||||||
Number modify location list using {list}
|
Number modify location list using {list}
|
||||||
setmatches({list}) Number restore a list of matches
|
setmatches({list}) Number restore a list of matches
|
||||||
setpos({expr}, {list}) Number set the {expr} position to {list}
|
setpos({expr}, {list}) Number set the {expr} position to {list}
|
||||||
setqflist({list}[, {action}[, {what}]])
|
setqflist({list} [, {action} [, {what}]])
|
||||||
Number modify quickfix list using {list}
|
Number modify quickfix list using {list}
|
||||||
setreg({n}, {v}[, {opt}]) Number set register to value and type
|
setreg({n}, {v} [, {opt}]) Number set register to value and type
|
||||||
settabvar({nr}, {varname}, {val}) none set {varname} in tab page {nr} to {val}
|
settabvar({nr}, {varname}, {val}) none set {varname} in tab page {nr} to {val}
|
||||||
settabwinvar({tabnr}, {winnr}, {varname}, {val})
|
settabwinvar({tabnr}, {winnr}, {varname}, {val})
|
||||||
none set {varname} in window {winnr} in tab
|
none set {varname} in window {winnr} in tab
|
||||||
@@ -2357,22 +2363,22 @@ sqrt({expr}) Float square root of {expr}
|
|||||||
str2float({expr}) Float convert String to Float
|
str2float({expr}) Float convert String to Float
|
||||||
str2nr({expr} [, {base}]) Number convert String to Number
|
str2nr({expr} [, {base}]) Number convert String to Number
|
||||||
strchars({expr} [, {skipcc}]) Number character length of the String {expr}
|
strchars({expr} [, {skipcc}]) Number character length of the String {expr}
|
||||||
strcharpart({str}, {start}[, {len}])
|
strcharpart({str}, {start} [, {len}])
|
||||||
String {len} characters of {str} at {start}
|
String {len} characters of {str} at {start}
|
||||||
strdisplaywidth({expr} [, {col}]) Number display length of the String {expr}
|
strdisplaywidth({expr} [, {col}]) Number display length of the String {expr}
|
||||||
strftime({format}[, {time}]) String time in specified format
|
strftime({format} [, {time}]) String time in specified format
|
||||||
strgetchar({str}, {index}) Number get char {index} from {str}
|
strgetchar({str}, {index}) Number get char {index} from {str}
|
||||||
stridx({haystack}, {needle}[, {start}])
|
stridx({haystack}, {needle} [, {start}])
|
||||||
Number index of {needle} in {haystack}
|
Number index of {needle} in {haystack}
|
||||||
string({expr}) String String representation of {expr} value
|
string({expr}) String String representation of {expr} value
|
||||||
strlen({expr}) Number length of the String {expr}
|
strlen({expr}) Number length of the String {expr}
|
||||||
strpart({str}, {start}[, {len}])
|
strpart({str}, {start} [, {len}])
|
||||||
String {len} characters of {str} at {start}
|
String {len} characters of {str} at {start}
|
||||||
strridx({haystack}, {needle} [, {start}])
|
strridx({haystack}, {needle} [, {start}])
|
||||||
Number last index of {needle} in {haystack}
|
Number last index of {needle} in {haystack}
|
||||||
strtrans({expr}) String translate string to make it printable
|
strtrans({expr}) String translate string to make it printable
|
||||||
strwidth({expr}) Number display cell length of the String {expr}
|
strwidth({expr}) Number display cell length of the String {expr}
|
||||||
submatch({nr}[, {list}]) String or List
|
submatch({nr} [, {list}]) String or List
|
||||||
specific match in ":s" or substitute()
|
specific match in ":s" or substitute()
|
||||||
substitute({expr}, {pat}, {sub}, {flags})
|
substitute({expr}, {pat}, {sub}, {flags})
|
||||||
String all {pat} in {expr} replaced with {sub}
|
String all {pat} in {expr} replaced with {sub}
|
||||||
@@ -2386,8 +2392,8 @@ system({expr} [, {input}]) String output of shell command/filter {expr}
|
|||||||
systemlist({expr} [, {input}]) List output of shell command/filter {expr}
|
systemlist({expr} [, {input}]) List output of shell command/filter {expr}
|
||||||
tabpagebuflist([{arg}]) List list of buffer numbers in tab page
|
tabpagebuflist([{arg}]) List list of buffer numbers in tab page
|
||||||
tabpagenr([{arg}]) Number number of current or last tab page
|
tabpagenr([{arg}]) Number number of current or last tab page
|
||||||
tabpagewinnr({tabarg}[, {arg}]) Number number of current window in tab page
|
tabpagewinnr({tabarg} [, {arg}]) Number number of current window in tab page
|
||||||
taglist({expr}[, {filename}]) List list of tags matching {expr}
|
taglist({expr} [, {filename}]) List list of tags matching {expr}
|
||||||
tagfiles() List tags files used
|
tagfiles() List tags files used
|
||||||
tan({expr}) Float tangent of {expr}
|
tan({expr}) Float tangent of {expr}
|
||||||
tanh({expr}) Float hyperbolic tangent of {expr}
|
tanh({expr}) Float hyperbolic tangent of {expr}
|
||||||
@@ -2401,7 +2407,7 @@ term_getscrolled({buf}) Number get the scroll count of a terminal
|
|||||||
term_getsize({buf}) List get the size of a terminal
|
term_getsize({buf}) List get the size of a terminal
|
||||||
term_getstatus({buf}) String get the status of a terminal
|
term_getstatus({buf}) String get the status of a terminal
|
||||||
term_gettitle({buf}) String get the title of a terminal
|
term_gettitle({buf}) String get the title of a terminal
|
||||||
term_getttty({buf}, [{input}]) String get the tty name of a terminal
|
term_gettty({buf}, [{input}]) String get the tty name of a terminal
|
||||||
term_list() List get the list of terminal buffers
|
term_list() List get the list of terminal buffers
|
||||||
term_scrape({buf}, {row}) List get row of a terminal screen
|
term_scrape({buf}, {row}) List get row of a terminal screen
|
||||||
term_sendkeys({buf}, {keys}) none send keystrokes to a terminal
|
term_sendkeys({buf}, {keys}) none send keystrokes to a terminal
|
||||||
@@ -2677,8 +2683,12 @@ atan2({expr1}, {expr2}) *atan2()*
|
|||||||
< 2.356194
|
< 2.356194
|
||||||
{only available when compiled with the |+float| feature}
|
{only available when compiled with the |+float| feature}
|
||||||
|
|
||||||
balloon_show({msg}) *balloon_show()*
|
balloon_show({expr}) *balloon_show()*
|
||||||
Show {msg} inside the balloon.
|
Show {expr} inside the balloon. For the GUI {expr} is used as
|
||||||
|
a string. For a terminal {expr} can be a list, which contains
|
||||||
|
the lines of the balloon. If {expr} is not a list it will be
|
||||||
|
split with |balloon_split()|.
|
||||||
|
|
||||||
Example: >
|
Example: >
|
||||||
func GetBalloonContent()
|
func GetBalloonContent()
|
||||||
" initiate getting the content
|
" initiate getting the content
|
||||||
@@ -2698,7 +2708,16 @@ balloon_show({msg}) *balloon_show()*
|
|||||||
|
|
||||||
When showing a balloon is not possible nothing happens, no
|
When showing a balloon is not possible nothing happens, no
|
||||||
error message.
|
error message.
|
||||||
{only available when compiled with the +balloon_eval feature}
|
{only available when compiled with the +balloon_eval or
|
||||||
|
+balloon_eval_term feature}
|
||||||
|
|
||||||
|
balloon_split({msg}) *balloon_split()*
|
||||||
|
Split {msg} into lines to be displayed in a balloon. The
|
||||||
|
splits are made for the current window size and optimize to
|
||||||
|
show debugger output.
|
||||||
|
Returns a |List| with the split lines.
|
||||||
|
{only available when compiled with the +balloon_eval_term
|
||||||
|
feature}
|
||||||
|
|
||||||
*browse()*
|
*browse()*
|
||||||
browse({save}, {title}, {initdir}, {default})
|
browse({save}, {title}, {initdir}, {default})
|
||||||
@@ -2729,6 +2748,8 @@ bufexists({expr}) *bufexists()*
|
|||||||
The result is a Number, which is |TRUE| if a buffer called
|
The result is a Number, which is |TRUE| if a buffer called
|
||||||
{expr} exists.
|
{expr} exists.
|
||||||
If the {expr} argument is a number, buffer numbers are used.
|
If the {expr} argument is a number, buffer numbers are used.
|
||||||
|
Number zero is the alternate buffer for the current window.
|
||||||
|
|
||||||
If the {expr} argument is a string it must match a buffer name
|
If the {expr} argument is a string it must match a buffer name
|
||||||
exactly. The name can be:
|
exactly. The name can be:
|
||||||
- Relative to the current directory.
|
- Relative to the current directory.
|
||||||
@@ -2945,6 +2966,9 @@ ch_evalraw({handle}, {string} [, {options}]) *ch_evalraw()*
|
|||||||
correct contents. Also does not add a newline for a channel
|
correct contents. Also does not add a newline for a channel
|
||||||
in NL mode, the caller must do that. The NL in the response
|
in NL mode, the caller must do that. The NL in the response
|
||||||
is removed.
|
is removed.
|
||||||
|
Note that Vim does not know when the text received on a raw
|
||||||
|
channel is complete, it may only return the first part and you
|
||||||
|
need to use ch_readraw() to fetch the rest.
|
||||||
See |channel-use|.
|
See |channel-use|.
|
||||||
|
|
||||||
{only available when compiled with the |+channel| feature}
|
{only available when compiled with the |+channel| feature}
|
||||||
@@ -3096,7 +3120,7 @@ changenr() *changenr()*
|
|||||||
redo it is the number of the redone change. After undo it is
|
redo it is the number of the redone change. After undo it is
|
||||||
one less than the number of the undone change.
|
one less than the number of the undone change.
|
||||||
|
|
||||||
char2nr({expr}[, {utf8}]) *char2nr()*
|
char2nr({expr} [, {utf8}]) *char2nr()*
|
||||||
Return number value of the first char in {expr}. Examples: >
|
Return number value of the first char in {expr}. Examples: >
|
||||||
char2nr(" ") returns 32
|
char2nr(" ") returns 32
|
||||||
char2nr("ABC") returns 65
|
char2nr("ABC") returns 65
|
||||||
@@ -3290,7 +3314,7 @@ cosh({expr}) *cosh()*
|
|||||||
< -1.127626
|
< -1.127626
|
||||||
{only available when compiled with the |+float| feature}
|
{only available when compiled with the |+float| feature}
|
||||||
|
|
||||||
|
|
||||||
count({comp}, {expr} [, {ic} [, {start}]]) *count()*
|
count({comp}, {expr} [, {ic} [, {start}]]) *count()*
|
||||||
Return the number of times an item with value {expr} appears
|
Return the number of times an item with value {expr} appears
|
||||||
in |String|, |List| or |Dictionary| {comp}.
|
in |String|, |List| or |Dictionary| {comp}.
|
||||||
@@ -3375,7 +3399,7 @@ cursor({list})
|
|||||||
Returns 0 when the position could be set, -1 otherwise.
|
Returns 0 when the position could be set, -1 otherwise.
|
||||||
|
|
||||||
|
|
||||||
deepcopy({expr}[, {noref}]) *deepcopy()* *E698*
|
deepcopy({expr} [, {noref}]) *deepcopy()* *E698*
|
||||||
Make a copy of {expr}. For Numbers and Strings this isn't
|
Make a copy of {expr}. For Numbers and Strings this isn't
|
||||||
different from using {expr} directly.
|
different from using {expr} directly.
|
||||||
When {expr} is a |List| a full copy is created. This means
|
When {expr} is a |List| a full copy is created. This means
|
||||||
@@ -3402,14 +3426,14 @@ delete({fname} [, {flags}]) *delete()*
|
|||||||
|
|
||||||
When {flags} is "d": Deletes the directory by the name
|
When {flags} is "d": Deletes the directory by the name
|
||||||
{fname}. This fails when directory {fname} is not empty.
|
{fname}. This fails when directory {fname} is not empty.
|
||||||
|
|
||||||
When {flags} is "rf": Deletes the directory by the name
|
When {flags} is "rf": Deletes the directory by the name
|
||||||
{fname} and everything in it, recursively. BE CAREFUL!
|
{fname} and everything in it, recursively. BE CAREFUL!
|
||||||
Note: on MS-Windows it is not possible to delete a directory
|
Note: on MS-Windows it is not possible to delete a directory
|
||||||
that is being used.
|
that is being used.
|
||||||
|
|
||||||
A symbolic link itself is deleted, not what it points to.
|
A symbolic link itself is deleted, not what it points to.
|
||||||
|
|
||||||
The result is a Number, which is 0 if the delete operation was
|
The result is a Number, which is 0 if the delete operation was
|
||||||
successful and -1 when the deletion failed or partly failed.
|
successful and -1 when the deletion failed or partly failed.
|
||||||
|
|
||||||
@@ -3453,6 +3477,7 @@ empty({expr}) *empty()*
|
|||||||
Return the Number 1 if {expr} is empty, zero otherwise.
|
Return the Number 1 if {expr} is empty, zero otherwise.
|
||||||
- A |List| or |Dictionary| is empty when it does not have any
|
- A |List| or |Dictionary| is empty when it does not have any
|
||||||
items.
|
items.
|
||||||
|
- A String is empty when its length is zero.
|
||||||
- A Number and Float is empty when its value is zero.
|
- A Number and Float is empty when its value is zero.
|
||||||
- |v:false|, |v:none| and |v:null| are empty, |v:true| is not.
|
- |v:false|, |v:none| and |v:null| are empty, |v:true| is not.
|
||||||
- A Job is empty when it failed to start.
|
- A Job is empty when it failed to start.
|
||||||
@@ -3815,7 +3840,7 @@ filter({expr1}, {expr2}) *filter()*
|
|||||||
For each item in {expr1} evaluate {expr2} and when the result
|
For each item in {expr1} evaluate {expr2} and when the result
|
||||||
is zero remove the item from the |List| or |Dictionary|.
|
is zero remove the item from the |List| or |Dictionary|.
|
||||||
{expr2} must be a |string| or |Funcref|.
|
{expr2} must be a |string| or |Funcref|.
|
||||||
|
|
||||||
If {expr2} is a |string|, inside {expr2} |v:val| has the value
|
If {expr2} is a |string|, inside {expr2} |v:val| has the value
|
||||||
of the current item. For a |Dictionary| |v:key| has the key
|
of the current item. For a |Dictionary| |v:key| has the key
|
||||||
of the current item and for a |List| |v:key| has the index of
|
of the current item and for a |List| |v:key| has the index of
|
||||||
@@ -3857,7 +3882,7 @@ filter({expr1}, {expr2}) *filter()*
|
|||||||
defined with the "abort" flag.
|
defined with the "abort" flag.
|
||||||
|
|
||||||
|
|
||||||
finddir({name}[, {path}[, {count}]]) *finddir()*
|
finddir({name} [, {path} [, {count}]]) *finddir()*
|
||||||
Find directory {name} in {path}. Supports both downwards and
|
Find directory {name} in {path}. Supports both downwards and
|
||||||
upwards recursive directory searches. See |file-searching|
|
upwards recursive directory searches. See |file-searching|
|
||||||
for the syntax of {path}.
|
for the syntax of {path}.
|
||||||
@@ -3872,7 +3897,7 @@ finddir({name}[, {path}[, {count}]]) *finddir()*
|
|||||||
{only available when compiled with the |+file_in_path|
|
{only available when compiled with the |+file_in_path|
|
||||||
feature}
|
feature}
|
||||||
|
|
||||||
findfile({name}[, {path}[, {count}]]) *findfile()*
|
findfile({name} [, {path} [, {count}]]) *findfile()*
|
||||||
Just like |finddir()|, but find a file instead of a directory.
|
Just like |finddir()|, but find a file instead of a directory.
|
||||||
Uses 'suffixesadd'.
|
Uses 'suffixesadd'.
|
||||||
Example: >
|
Example: >
|
||||||
@@ -3915,7 +3940,7 @@ floor({expr}) *floor()*
|
|||||||
echo floor(4.0)
|
echo floor(4.0)
|
||||||
< 4.0
|
< 4.0
|
||||||
{only available when compiled with the |+float| feature}
|
{only available when compiled with the |+float| feature}
|
||||||
|
|
||||||
|
|
||||||
fmod({expr1}, {expr2}) *fmod()*
|
fmod({expr1}, {expr2}) *fmod()*
|
||||||
Return the remainder of {expr1} / {expr2}, even if the
|
Return the remainder of {expr1} / {expr2}, even if the
|
||||||
@@ -4044,7 +4069,7 @@ function({name} [, {arglist}] [, {dict}])
|
|||||||
When {arglist} or {dict} is present this creates a partial.
|
When {arglist} or {dict} is present this creates a partial.
|
||||||
That means the argument list and/or the dictionary is stored in
|
That means the argument list and/or the dictionary is stored in
|
||||||
the Funcref and will be used when the Funcref is called.
|
the Funcref and will be used when the Funcref is called.
|
||||||
|
|
||||||
The arguments are passed to the function in front of other
|
The arguments are passed to the function in front of other
|
||||||
arguments. Example: >
|
arguments. Example: >
|
||||||
func Callback(arg1, arg2, name)
|
func Callback(arg1, arg2, name)
|
||||||
@@ -4096,7 +4121,7 @@ function({name} [, {arglist}] [, {dict}])
|
|||||||
garbagecollect([{atexit}]) *garbagecollect()*
|
garbagecollect([{atexit}]) *garbagecollect()*
|
||||||
Cleanup unused |Lists|, |Dictionaries|, |Channels| and |Jobs|
|
Cleanup unused |Lists|, |Dictionaries|, |Channels| and |Jobs|
|
||||||
that have circular references.
|
that have circular references.
|
||||||
|
|
||||||
There is hardly ever a need to invoke this function, as it is
|
There is hardly ever a need to invoke this function, as it is
|
||||||
automatically done when Vim runs out of memory or is waiting
|
automatically done when Vim runs out of memory or is waiting
|
||||||
for the user to press a key after 'updatetime'. Items without
|
for the user to press a key after 'updatetime'. Items without
|
||||||
@@ -4543,7 +4568,7 @@ getline({lnum} [, {end}])
|
|||||||
|
|
||||||
< To get lines from another buffer see |getbufline()|
|
< To get lines from another buffer see |getbufline()|
|
||||||
|
|
||||||
getloclist({nr}[, {what}]) *getloclist()*
|
getloclist({nr} [, {what}]) *getloclist()*
|
||||||
Returns a list with all the entries in the location list for
|
Returns a list with all the entries in the location list for
|
||||||
window {nr}. {nr} can be the window number or the |window-ID|.
|
window {nr}. {nr} can be the window number or the |window-ID|.
|
||||||
When {nr} is zero the current window is used.
|
When {nr} is zero the current window is used.
|
||||||
@@ -5308,7 +5333,7 @@ job_status({job}) *job_status()* *E916*
|
|||||||
"run" job is running
|
"run" job is running
|
||||||
"fail" job failed to start
|
"fail" job failed to start
|
||||||
"dead" job died or was stopped after running
|
"dead" job died or was stopped after running
|
||||||
|
|
||||||
On Unix a non-existing command results in "dead" instead of
|
On Unix a non-existing command results in "dead" instead of
|
||||||
"fail", because a fork happens before the failure can be
|
"fail", because a fork happens before the failure can be
|
||||||
detected.
|
detected.
|
||||||
@@ -5547,7 +5572,7 @@ line({expr}) The result is a Number, which is the line number of the file
|
|||||||
This autocommand jumps to the last known position in a file
|
This autocommand jumps to the last known position in a file
|
||||||
just after opening it, if the '" mark is set: >
|
just after opening it, if the '" mark is set: >
|
||||||
:au BufReadPost *
|
:au BufReadPost *
|
||||||
\ if line("'\"") > 1 && line("'\"") <= line("$") && &ft !~# 'commit'
|
\ if line("'\"") > 1 && line("'\"") <= line("$") && &ft !~# 'commit'
|
||||||
\ | exe "normal! g`\""
|
\ | exe "normal! g`\""
|
||||||
\ | endif
|
\ | endif
|
||||||
|
|
||||||
@@ -5599,16 +5624,16 @@ log10({expr}) *log10()*
|
|||||||
:echo log10(0.01)
|
:echo log10(0.01)
|
||||||
< -2.0
|
< -2.0
|
||||||
{only available when compiled with the |+float| feature}
|
{only available when compiled with the |+float| feature}
|
||||||
|
|
||||||
luaeval({expr}[, {expr}]) *luaeval()*
|
luaeval({expr} [, {expr}]) *luaeval()*
|
||||||
Evaluate Lua expression {expr} and return its result converted
|
Evaluate Lua expression {expr} and return its result converted
|
||||||
to Vim data structures. Second {expr} may hold additional
|
to Vim data structures. Second {expr} may hold additional
|
||||||
argument accessible as _A inside first {expr}.
|
argument accessible as _A inside first {expr}.
|
||||||
Strings are returned as they are.
|
Strings are returned as they are.
|
||||||
Boolean objects are converted to numbers.
|
Boolean objects are converted to numbers.
|
||||||
Numbers are converted to |Float| values if vim was compiled
|
Numbers are converted to |Float| values if vim was compiled
|
||||||
with |+float| and to numbers otherwise.
|
with |+float| and to numbers otherwise.
|
||||||
Dictionaries and lists obtained by vim.eval() are returned
|
Dictionaries and lists obtained by vim.eval() are returned
|
||||||
as-is.
|
as-is.
|
||||||
Other objects are returned as zero without any errors.
|
Other objects are returned as zero without any errors.
|
||||||
See |lua-luaeval| for more details.
|
See |lua-luaeval| for more details.
|
||||||
@@ -5618,7 +5643,7 @@ map({expr1}, {expr2}) *map()*
|
|||||||
{expr1} must be a |List| or a |Dictionary|.
|
{expr1} must be a |List| or a |Dictionary|.
|
||||||
Replace each item in {expr1} with the result of evaluating
|
Replace each item in {expr1} with the result of evaluating
|
||||||
{expr2}. {expr2} must be a |string| or |Funcref|.
|
{expr2}. {expr2} must be a |string| or |Funcref|.
|
||||||
|
|
||||||
If {expr2} is a |string|, inside {expr2} |v:val| has the value
|
If {expr2} is a |string|, inside {expr2} |v:val| has the value
|
||||||
of the current item. For a |Dictionary| |v:key| has the key
|
of the current item. For a |Dictionary| |v:key| has the key
|
||||||
of the current item and for a |List| |v:key| has the index of
|
of the current item and for a |List| |v:key| has the index of
|
||||||
@@ -5657,12 +5682,12 @@ map({expr1}, {expr2}) *map()*
|
|||||||
defined with the "abort" flag.
|
defined with the "abort" flag.
|
||||||
|
|
||||||
|
|
||||||
maparg({name}[, {mode} [, {abbr} [, {dict}]]]) *maparg()*
|
maparg({name} [, {mode} [, {abbr} [, {dict}]]]) *maparg()*
|
||||||
When {dict} is omitted or zero: Return the rhs of mapping
|
When {dict} is omitted or zero: Return the rhs of mapping
|
||||||
{name} in mode {mode}. The returned String has special
|
{name} in mode {mode}. The returned String has special
|
||||||
characters translated like in the output of the ":map" command
|
characters translated like in the output of the ":map" command
|
||||||
listing.
|
listing.
|
||||||
|
|
||||||
When there is no mapping for {name}, an empty String is
|
When there is no mapping for {name}, an empty String is
|
||||||
returned.
|
returned.
|
||||||
|
|
||||||
@@ -5712,7 +5737,7 @@ maparg({name}[, {mode} [, {abbr} [, {dict}]]]) *maparg()*
|
|||||||
exe 'nnoremap <Tab> ==' . maparg('<Tab>', 'n')
|
exe 'nnoremap <Tab> ==' . maparg('<Tab>', 'n')
|
||||||
|
|
||||||
|
|
||||||
mapcheck({name}[, {mode} [, {abbr}]]) *mapcheck()*
|
mapcheck({name} [, {mode} [, {abbr}]]) *mapcheck()*
|
||||||
Check if there is a mapping that matches with {name} in mode
|
Check if there is a mapping that matches with {name} in mode
|
||||||
{mode}. See |maparg()| for {mode} and special names in
|
{mode}. See |maparg()| for {mode} and special names in
|
||||||
{name}.
|
{name}.
|
||||||
@@ -5744,7 +5769,7 @@ mapcheck({name}[, {mode} [, {abbr}]]) *mapcheck()*
|
|||||||
< This avoids adding the "_vv" mapping when there already is a
|
< This avoids adding the "_vv" mapping when there already is a
|
||||||
mapping for "_v" or for "_vvv".
|
mapping for "_v" or for "_vvv".
|
||||||
|
|
||||||
match({expr}, {pat}[, {start}[, {count}]]) *match()*
|
match({expr}, {pat} [, {start} [, {count}]]) *match()*
|
||||||
When {expr} is a |List| then this returns the index of the
|
When {expr} is a |List| then this returns the index of the
|
||||||
first item where {pat} matches. Each item is used as a
|
first item where {pat} matches. Each item is used as a
|
||||||
String, |Lists| and |Dictionaries| are used as echoed.
|
String, |Lists| and |Dictionaries| are used as echoed.
|
||||||
@@ -5800,7 +5825,7 @@ match({expr}, {pat}[, {start}[, {count}]]) *match()*
|
|||||||
done like 'magic' is set and 'cpoptions' is empty.
|
done like 'magic' is set and 'cpoptions' is empty.
|
||||||
|
|
||||||
*matchadd()* *E798* *E799* *E801*
|
*matchadd()* *E798* *E799* *E801*
|
||||||
matchadd({group}, {pattern}[, {priority}[, {id}[, {dict}]]])
|
matchadd({group}, {pattern} [, {priority} [, {id} [, {dict}]]])
|
||||||
Defines a pattern to be highlighted in the current window (a
|
Defines a pattern to be highlighted in the current window (a
|
||||||
"match"). It will be highlighted with {group}. Returns an
|
"match"). It will be highlighted with {group}. Returns an
|
||||||
identification number (ID), which can be used to delete the
|
identification number (ID), which can be used to delete the
|
||||||
@@ -5853,7 +5878,7 @@ matchadd({group}, {pattern}[, {priority}[, {id}[, {dict}]]])
|
|||||||
one operation by |clearmatches()|.
|
one operation by |clearmatches()|.
|
||||||
|
|
||||||
*matchaddpos()*
|
*matchaddpos()*
|
||||||
matchaddpos({group}, {pos}[, {priority}[, {id}[, {dict}]]])
|
matchaddpos({group}, {pos} [, {priority} [, {id} [, {dict}]]])
|
||||||
Same as |matchadd()|, but requires a list of positions {pos}
|
Same as |matchadd()|, but requires a list of positions {pos}
|
||||||
instead of a pattern. This command is faster than |matchadd()|
|
instead of a pattern. This command is faster than |matchadd()|
|
||||||
because it does not require to handle regular expressions and
|
because it does not require to handle regular expressions and
|
||||||
@@ -5873,7 +5898,7 @@ matchaddpos({group}, {pos}[, {priority}[, {id}[, {dict}]]])
|
|||||||
be highlighted.
|
be highlighted.
|
||||||
- A list with three numbers, e.g., [23, 11, 3]. As above, but
|
- A list with three numbers, e.g., [23, 11, 3]. As above, but
|
||||||
the third number gives the length of the highlight in bytes.
|
the third number gives the length of the highlight in bytes.
|
||||||
|
|
||||||
The maximum number of positions is 8.
|
The maximum number of positions is 8.
|
||||||
|
|
||||||
Example: >
|
Example: >
|
||||||
@@ -5906,7 +5931,7 @@ matchdelete({id}) *matchdelete()* *E802* *E803*
|
|||||||
otherwise -1. See example for |matchadd()|. All matches can
|
otherwise -1. See example for |matchadd()|. All matches can
|
||||||
be deleted in one operation by |clearmatches()|.
|
be deleted in one operation by |clearmatches()|.
|
||||||
|
|
||||||
matchend({expr}, {pat}[, {start}[, {count}]]) *matchend()*
|
matchend({expr}, {pat} [, {start} [, {count}]]) *matchend()*
|
||||||
Same as |match()|, but return the index of first character
|
Same as |match()|, but return the index of first character
|
||||||
after the match. Example: >
|
after the match. Example: >
|
||||||
:echo matchend("testing", "ing")
|
:echo matchend("testing", "ing")
|
||||||
@@ -5925,7 +5950,7 @@ matchend({expr}, {pat}[, {start}[, {count}]]) *matchend()*
|
|||||||
< result is "-1".
|
< result is "-1".
|
||||||
When {expr} is a |List| the result is equal to |match()|.
|
When {expr} is a |List| the result is equal to |match()|.
|
||||||
|
|
||||||
matchlist({expr}, {pat}[, {start}[, {count}]]) *matchlist()*
|
matchlist({expr}, {pat} [, {start} [, {count}]]) *matchlist()*
|
||||||
Same as |match()|, but return a |List|. The first item in the
|
Same as |match()|, but return a |List|. The first item in the
|
||||||
list is the matched string, same as what matchstr() would
|
list is the matched string, same as what matchstr() would
|
||||||
return. Following items are submatches, like "\1", "\2", etc.
|
return. Following items are submatches, like "\1", "\2", etc.
|
||||||
@@ -5935,7 +5960,7 @@ matchlist({expr}, {pat}[, {start}[, {count}]]) *matchlist()*
|
|||||||
< Results in: ['acd', 'a', '', 'c', 'd', '', '', '', '', '']
|
< Results in: ['acd', 'a', '', 'c', 'd', '', '', '', '', '']
|
||||||
When there is no match an empty list is returned.
|
When there is no match an empty list is returned.
|
||||||
|
|
||||||
matchstr({expr}, {pat}[, {start}[, {count}]]) *matchstr()*
|
matchstr({expr}, {pat} [, {start} [, {count}]]) *matchstr()*
|
||||||
Same as |match()|, but return the matched string. Example: >
|
Same as |match()|, but return the matched string. Example: >
|
||||||
:echo matchstr("testing", "ing")
|
:echo matchstr("testing", "ing")
|
||||||
< results in "ing".
|
< results in "ing".
|
||||||
@@ -5948,7 +5973,7 @@ matchstr({expr}, {pat}[, {start}[, {count}]]) *matchstr()*
|
|||||||
When {expr} is a |List| then the matching item is returned.
|
When {expr} is a |List| then the matching item is returned.
|
||||||
The type isn't changed, it's not necessarily a String.
|
The type isn't changed, it's not necessarily a String.
|
||||||
|
|
||||||
matchstrpos({expr}, {pat}[, {start}[, {count}]]) *matchstrpos()*
|
matchstrpos({expr}, {pat} [, {start} [, {count}]]) *matchstrpos()*
|
||||||
Same as |matchstr()|, but return the matched string, the start
|
Same as |matchstr()|, but return the matched string, the start
|
||||||
position and the end position of the match. Example: >
|
position and the end position of the match. Example: >
|
||||||
:echo matchstrpos("testing", "ing")
|
:echo matchstrpos("testing", "ing")
|
||||||
@@ -6058,7 +6083,7 @@ nextnonblank({lnum}) *nextnonblank()*
|
|||||||
below it, zero is returned.
|
below it, zero is returned.
|
||||||
See also |prevnonblank()|.
|
See also |prevnonblank()|.
|
||||||
|
|
||||||
nr2char({expr}[, {utf8}]) *nr2char()*
|
nr2char({expr} [, {utf8}]) *nr2char()*
|
||||||
Return a string with a single character, which has the number
|
Return a string with a single character, which has the number
|
||||||
value {expr}. Examples: >
|
value {expr}. Examples: >
|
||||||
nr2char(64) returns "@"
|
nr2char(64) returns "@"
|
||||||
@@ -6110,7 +6135,7 @@ pow({x}, {y}) *pow()*
|
|||||||
:echo pow(32, 0.20)
|
:echo pow(32, 0.20)
|
||||||
< 2.0
|
< 2.0
|
||||||
{only available when compiled with the |+float| feature}
|
{only available when compiled with the |+float| feature}
|
||||||
|
|
||||||
prevnonblank({lnum}) *prevnonblank()*
|
prevnonblank({lnum}) *prevnonblank()*
|
||||||
Return the line number of the first line at or above {lnum}
|
Return the line number of the first line at or above {lnum}
|
||||||
that is not blank. Example: >
|
that is not blank. Example: >
|
||||||
@@ -6270,7 +6295,7 @@ printf({fmt}, {expr1} ...) *printf()*
|
|||||||
feature works just like 's'.
|
feature works just like 's'.
|
||||||
|
|
||||||
*printf-f* *E807*
|
*printf-f* *E807*
|
||||||
f F The Float argument is converted into a string of the
|
f F The Float argument is converted into a string of the
|
||||||
form 123.456. The precision specifies the number of
|
form 123.456. The precision specifies the number of
|
||||||
digits after the decimal point. When the precision is
|
digits after the decimal point. When the precision is
|
||||||
zero the decimal point is omitted. When the precision
|
zero the decimal point is omitted. When the precision
|
||||||
@@ -6324,11 +6349,11 @@ pumvisible() *pumvisible()*
|
|||||||
py3eval({expr}) *py3eval()*
|
py3eval({expr}) *py3eval()*
|
||||||
Evaluate Python expression {expr} and return its result
|
Evaluate Python expression {expr} and return its result
|
||||||
converted to Vim data structures.
|
converted to Vim data structures.
|
||||||
Numbers and strings are returned as they are (strings are
|
Numbers and strings are returned as they are (strings are
|
||||||
copied though, Unicode strings are additionally converted to
|
copied though, Unicode strings are additionally converted to
|
||||||
'encoding').
|
'encoding').
|
||||||
Lists are represented as Vim |List| type.
|
Lists are represented as Vim |List| type.
|
||||||
Dictionaries are represented as Vim |Dictionary| type with
|
Dictionaries are represented as Vim |Dictionary| type with
|
||||||
keys converted to strings.
|
keys converted to strings.
|
||||||
{only available when compiled with the |+python3| feature}
|
{only available when compiled with the |+python3| feature}
|
||||||
|
|
||||||
@@ -6336,10 +6361,10 @@ py3eval({expr}) *py3eval()*
|
|||||||
pyeval({expr}) *pyeval()*
|
pyeval({expr}) *pyeval()*
|
||||||
Evaluate Python expression {expr} and return its result
|
Evaluate Python expression {expr} and return its result
|
||||||
converted to Vim data structures.
|
converted to Vim data structures.
|
||||||
Numbers and strings are returned as they are (strings are
|
Numbers and strings are returned as they are (strings are
|
||||||
copied though).
|
copied though).
|
||||||
Lists are represented as Vim |List| type.
|
Lists are represented as Vim |List| type.
|
||||||
Dictionaries are represented as Vim |Dictionary| type,
|
Dictionaries are represented as Vim |Dictionary| type,
|
||||||
non-string keys result in error.
|
non-string keys result in error.
|
||||||
{only available when compiled with the |+python| feature}
|
{only available when compiled with the |+python| feature}
|
||||||
|
|
||||||
@@ -6458,6 +6483,12 @@ remote_expr({server}, {string} [, {idvar} [, {timeout}]])
|
|||||||
{only available when compiled with the |+clientserver| feature}
|
{only available when compiled with the |+clientserver| feature}
|
||||||
Note: Any errors will cause a local error message to be issued
|
Note: Any errors will cause a local error message to be issued
|
||||||
and the result will be the empty string.
|
and the result will be the empty string.
|
||||||
|
|
||||||
|
Variables will be evaluated in the global namespace,
|
||||||
|
independent of a function currently being active. Except
|
||||||
|
when in debug mode, then local function variables and
|
||||||
|
arguments can be evaluated.
|
||||||
|
|
||||||
Examples: >
|
Examples: >
|
||||||
:echo remote_expr("gvim", "2+2")
|
:echo remote_expr("gvim", "2+2")
|
||||||
:echo remote_expr("gvim1", "b:current_syntax")
|
:echo remote_expr("gvim1", "b:current_syntax")
|
||||||
@@ -6600,12 +6631,12 @@ round({expr}) *round()*
|
|||||||
< -5.0
|
< -5.0
|
||||||
{only available when compiled with the |+float| feature}
|
{only available when compiled with the |+float| feature}
|
||||||
|
|
||||||
screenattr(row, col) *screenattr()*
|
screenattr({row}, {col}) *screenattr()*
|
||||||
Like |screenchar()|, but return the attribute. This is a rather
|
Like |screenchar()|, but return the attribute. This is a rather
|
||||||
arbitrary number that can only be used to compare to the
|
arbitrary number that can only be used to compare to the
|
||||||
attribute at other positions.
|
attribute at other positions.
|
||||||
|
|
||||||
screenchar(row, col) *screenchar()*
|
screenchar({row}, {col}) *screenchar()*
|
||||||
The result is a Number, which is the character at position
|
The result is a Number, which is the character at position
|
||||||
[row, col] on the screen. This works for every possible
|
[row, col] on the screen. This works for every possible
|
||||||
screen position, also status lines, window separators and the
|
screen position, also status lines, window separators and the
|
||||||
@@ -6661,7 +6692,7 @@ search({pattern} [, {flags} [, {stopline} [, {timeout}]]]) *search()*
|
|||||||
flag.
|
flag.
|
||||||
|
|
||||||
'ignorecase', 'smartcase' and 'magic' are used.
|
'ignorecase', 'smartcase' and 'magic' are used.
|
||||||
|
|
||||||
When the 'z' flag is not given, searching always starts in
|
When the 'z' flag is not given, searching always starts in
|
||||||
column zero and then matches before the cursor are skipped.
|
column zero and then matches before the cursor are skipped.
|
||||||
When the 'c' flag is present in 'cpo' the next search starts
|
When the 'c' flag is present in 'cpo' the next search starts
|
||||||
@@ -6779,6 +6810,7 @@ searchpair({start}, {middle}, {end} [, {flags} [, {skip}
|
|||||||
When {skip} is omitted or empty, every match is accepted.
|
When {skip} is omitted or empty, every match is accepted.
|
||||||
When evaluating {skip} causes an error the search is aborted
|
When evaluating {skip} causes an error the search is aborted
|
||||||
and -1 returned.
|
and -1 returned.
|
||||||
|
{skip} can be a string, a lambda, a funcref or a partial.
|
||||||
|
|
||||||
For {stopline} and {timeout} see |search()|.
|
For {stopline} and {timeout} see |search()|.
|
||||||
|
|
||||||
@@ -6977,7 +7009,7 @@ setline({lnum}, {text}) *setline()*
|
|||||||
|
|
||||||
< Note: The '[ and '] marks are not set.
|
< Note: The '[ and '] marks are not set.
|
||||||
|
|
||||||
setloclist({nr}, {list}[, {action}[, {what}]]) *setloclist()*
|
setloclist({nr}, {list} [, {action} [, {what}]]) *setloclist()*
|
||||||
Create or replace or add to the location list for window {nr}.
|
Create or replace or add to the location list for window {nr}.
|
||||||
{nr} can be the window number or the |window-ID|.
|
{nr} can be the window number or the |window-ID|.
|
||||||
When {nr} is zero the current window is used.
|
When {nr} is zero the current window is used.
|
||||||
@@ -7045,9 +7077,9 @@ setpos({expr}, {list})
|
|||||||
also set the preferred column. Also see the "curswant" key in
|
also set the preferred column. Also see the "curswant" key in
|
||||||
|winrestview()|.
|
|winrestview()|.
|
||||||
|
|
||||||
setqflist({list} [, {action}[, {what}]]) *setqflist()*
|
setqflist({list} [, {action} [, {what}]]) *setqflist()*
|
||||||
Create or replace or add to the quickfix list.
|
Create or replace or add to the quickfix list.
|
||||||
|
|
||||||
When {what} is not present, use the items in {list}. Each
|
When {what} is not present, use the items in {list}. Each
|
||||||
item must be a dictionary. Non-dictionary items in {list} are
|
item must be a dictionary. Non-dictionary items in {list} are
|
||||||
ignored. Each dictionary item can contain the following
|
ignored. Each dictionary item can contain the following
|
||||||
@@ -7086,12 +7118,12 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()*
|
|||||||
'a' The items from {list} are added to the existing
|
'a' The items from {list} are added to the existing
|
||||||
quickfix list. If there is no existing list, then a
|
quickfix list. If there is no existing list, then a
|
||||||
new list is created.
|
new list is created.
|
||||||
|
|
||||||
'r' The items from the current quickfix list are replaced
|
'r' The items from the current quickfix list are replaced
|
||||||
with the items from {list}. This can also be used to
|
with the items from {list}. This can also be used to
|
||||||
clear the list: >
|
clear the list: >
|
||||||
:call setqflist([], 'r')
|
:call setqflist([], 'r')
|
||||||
<
|
<
|
||||||
'f' All the quickfix lists in the quickfix stack are
|
'f' All the quickfix lists in the quickfix stack are
|
||||||
freed.
|
freed.
|
||||||
|
|
||||||
@@ -7142,7 +7174,7 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()*
|
|||||||
*setreg()*
|
*setreg()*
|
||||||
setreg({regname}, {value} [, {options}])
|
setreg({regname}, {value} [, {options}])
|
||||||
Set the register {regname} to {value}.
|
Set the register {regname} to {value}.
|
||||||
{value} may be any value returned by |getreg()|, including
|
{value} may be any value returned by |getreg()|, including
|
||||||
a |List|.
|
a |List|.
|
||||||
If {options} contains "a" or {regname} is upper case,
|
If {options} contains "a" or {regname} is upper case,
|
||||||
then the value is appended.
|
then the value is appended.
|
||||||
@@ -7156,14 +7188,14 @@ setreg({regname}, {value} [, {options}])
|
|||||||
in the longest line (counting a <Tab> as 1 character).
|
in the longest line (counting a <Tab> as 1 character).
|
||||||
|
|
||||||
If {options} contains no register settings, then the default
|
If {options} contains no register settings, then the default
|
||||||
is to use character mode unless {value} ends in a <NL> for
|
is to use character mode unless {value} ends in a <NL> for
|
||||||
string {value} and linewise mode for list {value}. Blockwise
|
string {value} and linewise mode for list {value}. Blockwise
|
||||||
mode is never selected automatically.
|
mode is never selected automatically.
|
||||||
Returns zero for success, non-zero for failure.
|
Returns zero for success, non-zero for failure.
|
||||||
|
|
||||||
*E883*
|
*E883*
|
||||||
Note: you may not use |List| containing more than one item to
|
Note: you may not use |List| containing more than one item to
|
||||||
set search and expression registers. Lists containing no
|
set search and expression registers. Lists containing no
|
||||||
items act like empty strings.
|
items act like empty strings.
|
||||||
|
|
||||||
Examples: >
|
Examples: >
|
||||||
@@ -7177,8 +7209,8 @@ setreg({regname}, {value} [, {options}])
|
|||||||
:let var_amode = getregtype('a')
|
:let var_amode = getregtype('a')
|
||||||
....
|
....
|
||||||
:call setreg('a', var_a, var_amode)
|
:call setreg('a', var_a, var_amode)
|
||||||
< Note: you may not reliably restore register value
|
< Note: you may not reliably restore register value
|
||||||
without using the third argument to |getreg()| as without it
|
without using the third argument to |getreg()| as without it
|
||||||
newlines are represented as newlines AND Nul bytes are
|
newlines are represented as newlines AND Nul bytes are
|
||||||
represented as newlines as well, see |NL-used-for-Nul|.
|
represented as newlines as well, see |NL-used-for-Nul|.
|
||||||
|
|
||||||
@@ -7283,7 +7315,7 @@ sin({expr}) *sin()*
|
|||||||
:echo sin(-4.01)
|
:echo sin(-4.01)
|
||||||
< 0.763301
|
< 0.763301
|
||||||
{only available when compiled with the |+float| feature}
|
{only available when compiled with the |+float| feature}
|
||||||
|
|
||||||
|
|
||||||
sinh({expr}) *sinh()*
|
sinh({expr}) *sinh()*
|
||||||
Return the hyperbolic sine of {expr} as a |Float| in the range
|
Return the hyperbolic sine of {expr} as a |Float| in the range
|
||||||
@@ -7299,7 +7331,7 @@ sinh({expr}) *sinh()*
|
|||||||
|
|
||||||
sort({list} [, {func} [, {dict}]]) *sort()* *E702*
|
sort({list} [, {func} [, {dict}]]) *sort()* *E702*
|
||||||
Sort the items in {list} in-place. Returns {list}.
|
Sort the items in {list} in-place. Returns {list}.
|
||||||
|
|
||||||
If you want a list to remain unmodified make a copy first: >
|
If you want a list to remain unmodified make a copy first: >
|
||||||
:let sortedlist = sort(copy(mylist))
|
:let sortedlist = sort(copy(mylist))
|
||||||
|
|
||||||
@@ -7310,7 +7342,7 @@ sort({list} [, {func} [, {dict}]]) *sort()* *E702*
|
|||||||
|
|
||||||
When {func} is given and it is '1' or 'i' then case is
|
When {func} is given and it is '1' or 'i' then case is
|
||||||
ignored.
|
ignored.
|
||||||
|
|
||||||
When {func} is given and it is 'n' then all items will be
|
When {func} is given and it is 'n' then all items will be
|
||||||
sorted numerical (Implementation detail: This uses the
|
sorted numerical (Implementation detail: This uses the
|
||||||
strtod() function to parse numbers, Strings, Lists, Dicts and
|
strtod() function to parse numbers, Strings, Lists, Dicts and
|
||||||
@@ -7445,7 +7477,7 @@ sqrt({expr}) *sqrt()*
|
|||||||
< nan
|
< nan
|
||||||
"nan" may be different, it depends on system libraries.
|
"nan" may be different, it depends on system libraries.
|
||||||
{only available when compiled with the |+float| feature}
|
{only available when compiled with the |+float| feature}
|
||||||
|
|
||||||
|
|
||||||
str2float({expr}) *str2float()*
|
str2float({expr}) *str2float()*
|
||||||
Convert String {expr} to a Float. This mostly works the same
|
Convert String {expr} to a Float. This mostly works the same
|
||||||
@@ -7482,7 +7514,7 @@ strchars({expr} [, {skipcc}]) *strchars()*
|
|||||||
counted separately.
|
counted separately.
|
||||||
When {skipcc} set to 1, Composing characters are ignored.
|
When {skipcc} set to 1, Composing characters are ignored.
|
||||||
Also see |strlen()|, |strdisplaywidth()| and |strwidth()|.
|
Also see |strlen()|, |strdisplaywidth()| and |strwidth()|.
|
||||||
|
|
||||||
{skipcc} is only available after 7.4.755. For backward
|
{skipcc} is only available after 7.4.755. For backward
|
||||||
compatibility, you can define a wrapper function: >
|
compatibility, you can define a wrapper function: >
|
||||||
if has("patch-7.4.755")
|
if has("patch-7.4.755")
|
||||||
@@ -7499,7 +7531,7 @@ strchars({expr} [, {skipcc}]) *strchars()*
|
|||||||
endfunction
|
endfunction
|
||||||
endif
|
endif
|
||||||
<
|
<
|
||||||
strcharpart({src}, {start}[, {len}]) *strcharpart()*
|
strcharpart({src}, {start} [, {len}]) *strcharpart()*
|
||||||
Like |strpart()| but using character index and length instead
|
Like |strpart()| but using character index and length instead
|
||||||
of byte index and length.
|
of byte index and length.
|
||||||
When a character index is used where a character does not
|
When a character index is used where a character does not
|
||||||
@@ -7507,7 +7539,7 @@ strcharpart({src}, {start}[, {len}]) *strcharpart()*
|
|||||||
strcharpart('abc', -1, 2)
|
strcharpart('abc', -1, 2)
|
||||||
< results in 'a'.
|
< results in 'a'.
|
||||||
|
|
||||||
strdisplaywidth({expr}[, {col}]) *strdisplaywidth()*
|
strdisplaywidth({expr} [, {col}]) *strdisplaywidth()*
|
||||||
The result is a Number, which is the number of display cells
|
The result is a Number, which is the number of display cells
|
||||||
String {expr} occupies on the screen when it starts at {col}.
|
String {expr} occupies on the screen when it starts at {col}.
|
||||||
When {col} is omitted zero is used. Otherwise it is the
|
When {col} is omitted zero is used. Otherwise it is the
|
||||||
@@ -7591,7 +7623,7 @@ strlen({expr}) The result is a Number, which is the length of the String
|
|||||||
|strchars()|.
|
|strchars()|.
|
||||||
Also see |len()|, |strdisplaywidth()| and |strwidth()|.
|
Also see |len()|, |strdisplaywidth()| and |strwidth()|.
|
||||||
|
|
||||||
strpart({src}, {start}[, {len}]) *strpart()*
|
strpart({src}, {start} [, {len}]) *strpart()*
|
||||||
The result is a String, which is part of {src}, starting from
|
The result is a String, which is part of {src}, starting from
|
||||||
byte {start}, with the byte length {len}.
|
byte {start}, with the byte length {len}.
|
||||||
To count characters instead of bytes use |strcharpart()|.
|
To count characters instead of bytes use |strcharpart()|.
|
||||||
@@ -7643,7 +7675,7 @@ strwidth({expr}) *strwidth()*
|
|||||||
Ambiguous, this function's return value depends on 'ambiwidth'.
|
Ambiguous, this function's return value depends on 'ambiwidth'.
|
||||||
Also see |strlen()|, |strdisplaywidth()| and |strchars()|.
|
Also see |strlen()|, |strdisplaywidth()| and |strchars()|.
|
||||||
|
|
||||||
submatch({nr}[, {list}]) *submatch()* *E935*
|
submatch({nr} [, {list}]) *submatch()* *E935*
|
||||||
Only for an expression in a |:substitute| command or
|
Only for an expression in a |:substitute| command or
|
||||||
substitute() function.
|
substitute() function.
|
||||||
Returns the {nr}'th submatch of the matched text. When {nr}
|
Returns the {nr}'th submatch of the matched text. When {nr}
|
||||||
@@ -7652,8 +7684,8 @@ submatch({nr}[, {list}]) *submatch()* *E935*
|
|||||||
multi-line match or a NUL character in the text.
|
multi-line match or a NUL character in the text.
|
||||||
Also see |sub-replace-expression|.
|
Also see |sub-replace-expression|.
|
||||||
|
|
||||||
If {list} is present and non-zero then submatch() returns
|
If {list} is present and non-zero then submatch() returns
|
||||||
a list of strings, similar to |getline()| with two arguments.
|
a list of strings, similar to |getline()| with two arguments.
|
||||||
NL characters in the text represent NUL characters in the
|
NL characters in the text represent NUL characters in the
|
||||||
text.
|
text.
|
||||||
Only returns more than one item for |:substitute|, inside
|
Only returns more than one item for |:substitute|, inside
|
||||||
@@ -7673,7 +7705,7 @@ substitute({expr}, {pat}, {sub}, {flags}) *substitute()*
|
|||||||
the first match of {pat} is replaced with {sub}.
|
the first match of {pat} is replaced with {sub}.
|
||||||
When {flags} is "g", all matches of {pat} in {expr} are
|
When {flags} is "g", all matches of {pat} in {expr} are
|
||||||
replaced. Otherwise {flags} should be "".
|
replaced. Otherwise {flags} should be "".
|
||||||
|
|
||||||
This works like the ":substitute" command (without any flags).
|
This works like the ":substitute" command (without any flags).
|
||||||
But the matching with {pat} is always done like the 'magic'
|
But the matching with {pat} is always done like the 'magic'
|
||||||
option is set and 'cpoptions' is empty (to make scripts
|
option is set and 'cpoptions' is empty (to make scripts
|
||||||
@@ -7822,9 +7854,9 @@ system({expr} [, {input}]) *system()* *E677*
|
|||||||
Get the output of the shell command {expr} as a string. See
|
Get the output of the shell command {expr} as a string. See
|
||||||
|systemlist()| to get the output as a List.
|
|systemlist()| to get the output as a List.
|
||||||
|
|
||||||
When {input} is given and is a string this string is written
|
When {input} is given and is a string this string is written
|
||||||
to a file and passed as stdin to the command. The string is
|
to a file and passed as stdin to the command. The string is
|
||||||
written as-is, you need to take care of using the correct line
|
written as-is, you need to take care of using the correct line
|
||||||
separators yourself.
|
separators yourself.
|
||||||
If {input} is given and is a |List| it is written to the file
|
If {input} is given and is a |List| it is written to the file
|
||||||
in a way |writefile()| does with {binary} set to "b" (i.e.
|
in a way |writefile()| does with {binary} set to "b" (i.e.
|
||||||
@@ -7843,10 +7875,10 @@ system({expr} [, {input}]) *system()* *E677*
|
|||||||
up on the screen which require |CTRL-L| to remove. >
|
up on the screen which require |CTRL-L| to remove. >
|
||||||
:silent let f = system('ls *.vim')
|
:silent let f = system('ls *.vim')
|
||||||
<
|
<
|
||||||
Note: Use |shellescape()| or |::S| with |expand()| or
|
Note: Use |shellescape()| or |::S| with |expand()| or
|
||||||
|fnamemodify()| to escape special characters in a command
|
|fnamemodify()| to escape special characters in a command
|
||||||
argument. Newlines in {expr} may cause the command to fail.
|
argument. Newlines in {expr} may cause the command to fail.
|
||||||
The characters in 'shellquote' and 'shellxquote' may also
|
The characters in 'shellquote' and 'shellxquote' may also
|
||||||
cause trouble.
|
cause trouble.
|
||||||
This is not to be used for interactive commands.
|
This is not to be used for interactive commands.
|
||||||
|
|
||||||
@@ -7880,9 +7912,9 @@ system({expr} [, {input}]) *system()* *E677*
|
|||||||
|
|
||||||
|
|
||||||
systemlist({expr} [, {input}]) *systemlist()*
|
systemlist({expr} [, {input}]) *systemlist()*
|
||||||
Same as |system()|, but returns a |List| with lines (parts of
|
Same as |system()|, but returns a |List| with lines (parts of
|
||||||
output separated by NL) with NULs transformed into NLs. Output
|
output separated by NL) with NULs transformed into NLs. Output
|
||||||
is the same as |readfile()| will output with {binary} argument
|
is the same as |readfile()| will output with {binary} argument
|
||||||
set to "b". Note that on MS-Windows you may get trailing CR
|
set to "b". Note that on MS-Windows you may get trailing CR
|
||||||
characters.
|
characters.
|
||||||
|
|
||||||
@@ -7929,7 +7961,7 @@ tagfiles() Returns a |List| with the file names used to search for tags
|
|||||||
for the current buffer. This is the 'tags' option expanded.
|
for the current buffer. This is the 'tags' option expanded.
|
||||||
|
|
||||||
|
|
||||||
taglist({expr}[, {filename}]) *taglist()*
|
taglist({expr} [, {filename}]) *taglist()*
|
||||||
Returns a list of tags matching the regular expression {expr}.
|
Returns a list of tags matching the regular expression {expr}.
|
||||||
|
|
||||||
If {filename} is passed it is used to prioritize the results
|
If {filename} is passed it is used to prioritize the results
|
||||||
@@ -8124,7 +8156,7 @@ term_scrape({buf}, {row}) *term_scrape()*
|
|||||||
line is used. When {row} is invalid an empty string is
|
line is used. When {row} is invalid an empty string is
|
||||||
returned.
|
returned.
|
||||||
|
|
||||||
Return a List containing a Dict for each screen cell:
|
Return a List containing a Dict for each screen cell:
|
||||||
"chars" character(s) at the cell
|
"chars" character(s) at the cell
|
||||||
"fg" foreground color as #rrggbb
|
"fg" foreground color as #rrggbb
|
||||||
"bg" background color as #rrggbb
|
"bg" background color as #rrggbb
|
||||||
@@ -8148,6 +8180,11 @@ term_setsize({buf}, {expr}) *term_setsize()*
|
|||||||
term_start({cmd}, {options}) *term_start()*
|
term_start({cmd}, {options}) *term_start()*
|
||||||
Open a terminal window and run {cmd} in it.
|
Open a terminal window and run {cmd} in it.
|
||||||
|
|
||||||
|
{cmd} can be a string or a List, like with |job_start()|. The
|
||||||
|
string "NONE" can be used to open a terminal window without
|
||||||
|
starting a job, the pty of the terminal can be used by a
|
||||||
|
command like gdb.
|
||||||
|
|
||||||
Returns the buffer number of the terminal window. If {cmd}
|
Returns the buffer number of the terminal window. If {cmd}
|
||||||
cannot be executed the window does open and shows an error
|
cannot be executed the window does open and shows an error
|
||||||
message.
|
message.
|
||||||
@@ -8259,7 +8296,7 @@ test_override({name}, {val}) *test_override()*
|
|||||||
to run tests. Only to be used for testing Vim!
|
to run tests. Only to be used for testing Vim!
|
||||||
The override is enabled when {val} is non-zero and removed
|
The override is enabled when {val} is non-zero and removed
|
||||||
when {val} is zero.
|
when {val} is zero.
|
||||||
Current supported values for name are:
|
Current supported values for name are:
|
||||||
|
|
||||||
name effect when {val} is non-zero ~
|
name effect when {val} is non-zero ~
|
||||||
redraw disable the redrawing() function
|
redraw disable the redrawing() function
|
||||||
@@ -8404,7 +8441,7 @@ trunc({expr}) *trunc()*
|
|||||||
echo trunc(4.0)
|
echo trunc(4.0)
|
||||||
< 4.0
|
< 4.0
|
||||||
{only available when compiled with the |+float| feature}
|
{only available when compiled with the |+float| feature}
|
||||||
|
|
||||||
*type()*
|
*type()*
|
||||||
type({expr}) The result is a Number representing the type of {expr}.
|
type({expr}) The result is a Number representing the type of {expr}.
|
||||||
Instead of using the number directly, it is better to use the
|
Instead of using the number directly, it is better to use the
|
||||||
@@ -8457,7 +8494,7 @@ undotree() *undotree()*
|
|||||||
"save_last" Number of the last file write. Zero when no
|
"save_last" Number of the last file write. Zero when no
|
||||||
write yet.
|
write yet.
|
||||||
"save_cur" Number of the current position in the undo
|
"save_cur" Number of the current position in the undo
|
||||||
tree.
|
tree.
|
||||||
"synced" Non-zero when the last undo block was synced.
|
"synced" Non-zero when the last undo block was synced.
|
||||||
This happens when waiting from input from the
|
This happens when waiting from input from the
|
||||||
user. See |undo-blocks|.
|
user. See |undo-blocks|.
|
||||||
@@ -8700,7 +8737,7 @@ winwidth({nr}) *winwidth()*
|
|||||||
Examples: >
|
Examples: >
|
||||||
:echo "The current window has " . winwidth(0) . " columns."
|
:echo "The current window has " . winwidth(0) . " columns."
|
||||||
:if winwidth(0) <= 50
|
:if winwidth(0) <= 50
|
||||||
: exe "normal 50\<C-W>|"
|
: 50 wincmd |
|
||||||
:endif
|
:endif
|
||||||
< For getting the terminal or screen size, see the 'columns'
|
< For getting the terminal or screen size, see the 'columns'
|
||||||
option.
|
option.
|
||||||
@@ -8741,8 +8778,17 @@ writefile({list}, {fname} [, {flags}])
|
|||||||
appended to the file: >
|
appended to the file: >
|
||||||
:call writefile(["foo"], "event.log", "a")
|
:call writefile(["foo"], "event.log", "a")
|
||||||
:call writefile(["bar"], "event.log", "a")
|
:call writefile(["bar"], "event.log", "a")
|
||||||
>
|
<
|
||||||
< All NL characters are replaced with a NUL character.
|
When {flags} contains "s" then fsync() is called after writing
|
||||||
|
the file. This flushes the file to disk, if possible. This
|
||||||
|
takes more time but avoids losing the file if the system
|
||||||
|
crashes.
|
||||||
|
When {flags} does not contain "S" or "s" then fsync is called
|
||||||
|
if the 'fsync' option is set.
|
||||||
|
When {flags} contains "S" then fsync() is not called, even
|
||||||
|
when 'fsync' is set.
|
||||||
|
|
||||||
|
All NL characters are replaced with a NUL character.
|
||||||
Inserting CR characters needs to be done before passing {list}
|
Inserting CR characters needs to be done before passing {list}
|
||||||
to writefile().
|
to writefile().
|
||||||
An existing file is overwritten, if possible.
|
An existing file is overwritten, if possible.
|
||||||
@@ -8799,6 +8845,7 @@ amiga Amiga version of Vim.
|
|||||||
arabic Compiled with Arabic support |Arabic|.
|
arabic Compiled with Arabic support |Arabic|.
|
||||||
arp Compiled with ARP support (Amiga).
|
arp Compiled with ARP support (Amiga).
|
||||||
autocmd Compiled with autocommand support. |autocommand|
|
autocmd Compiled with autocommand support. |autocommand|
|
||||||
|
autoservername Automatically enable |clientserver|
|
||||||
balloon_eval Compiled with |balloon-eval| support.
|
balloon_eval Compiled with |balloon-eval| support.
|
||||||
balloon_multiline GUI supports multiline balloons.
|
balloon_multiline GUI supports multiline balloons.
|
||||||
beos BeOS version of Vim.
|
beos BeOS version of Vim.
|
||||||
@@ -8872,9 +8919,8 @@ listcmds Compiled with commands for the buffer list |:files|
|
|||||||
and the argument list |arglist|.
|
and the argument list |arglist|.
|
||||||
localmap Compiled with local mappings and abbr. |:map-local|
|
localmap Compiled with local mappings and abbr. |:map-local|
|
||||||
lua Compiled with Lua interface |Lua|.
|
lua Compiled with Lua interface |Lua|.
|
||||||
mac Any Macintosh version of Vim, but not all OS X.
|
mac Any Macintosh version of Vim cf. osx
|
||||||
macunix Compiled for OS X, with |mac-darwin-feature|
|
macunix Synonym for osxdarwin
|
||||||
osx Compiled for OS X, with or w/o |mac-darwin-feature|
|
|
||||||
menu Compiled with support for |:menu|.
|
menu Compiled with support for |:menu|.
|
||||||
mksession Compiled with support for |:mksession|.
|
mksession Compiled with support for |:mksession|.
|
||||||
modify_fname Compiled with file name modifiers. |filename-modifiers|
|
modify_fname Compiled with file name modifiers. |filename-modifiers|
|
||||||
@@ -8897,6 +8943,8 @@ netbeans_enabled Compiled with support for |netbeans| and connected.
|
|||||||
netbeans_intg Compiled with support for |netbeans|.
|
netbeans_intg Compiled with support for |netbeans|.
|
||||||
num64 Compiled with 64-bit |Number| support.
|
num64 Compiled with 64-bit |Number| support.
|
||||||
ole Compiled with OLE automation support for Win32.
|
ole Compiled with OLE automation support for Win32.
|
||||||
|
osx Compiled for macOS cf. mac
|
||||||
|
osxdarwin Compiled for macOS, with |mac-darwin-feature|
|
||||||
packages Compiled with |packages| support.
|
packages Compiled with |packages| support.
|
||||||
path_extra Compiled with up/downwards search in 'path' and 'tags'
|
path_extra Compiled with up/downwards search in 'path' and 'tags'
|
||||||
perl Compiled with Perl interface.
|
perl Compiled with Perl interface.
|
||||||
@@ -9048,13 +9096,16 @@ See |:verbose-cmd| for more information.
|
|||||||
|
|
||||||
*E124* *E125* *E853* *E884*
|
*E124* *E125* *E853* *E884*
|
||||||
:fu[nction][!] {name}([arguments]) [range] [abort] [dict] [closure]
|
:fu[nction][!] {name}([arguments]) [range] [abort] [dict] [closure]
|
||||||
Define a new function by the name {name}. The name
|
Define a new function by the name {name}. The body of
|
||||||
must be made of alphanumeric characters and '_', and
|
the function follows in the next lines, until the
|
||||||
must start with a capital or "s:" (see above). Note
|
matching |:endfunction|.
|
||||||
that using "b:" or "g:" is not allowed. (since patch
|
|
||||||
7.4.260 E884 is given if the function name has a colon
|
The name must be made of alphanumeric characters and
|
||||||
in the name, e.g. for "foo:bar()". Before that patch
|
'_', and must start with a capital or "s:" (see
|
||||||
no error was given).
|
above). Note that using "b:" or "g:" is not allowed.
|
||||||
|
(since patch 7.4.260 E884 is given if the function
|
||||||
|
name has a colon in the name, e.g. for "foo:bar()".
|
||||||
|
Before that patch no error was given).
|
||||||
|
|
||||||
{name} can also be a |Dictionary| entry that is a
|
{name} can also be a |Dictionary| entry that is a
|
||||||
|Funcref|: >
|
|Funcref|: >
|
||||||
@@ -9190,9 +9241,10 @@ to the number of named arguments. When using "...", the number of arguments
|
|||||||
may be larger.
|
may be larger.
|
||||||
|
|
||||||
It is also possible to define a function without any arguments. You must
|
It is also possible to define a function without any arguments. You must
|
||||||
still supply the () then. The body of the function follows in the next lines,
|
still supply the () then.
|
||||||
until the matching |:endfunction|. It is allowed to define another function
|
|
||||||
inside a function body.
|
It is allowed to define another function inside a function
|
||||||
|
body.
|
||||||
|
|
||||||
*local-variables*
|
*local-variables*
|
||||||
Inside a function local variables can be used. These will disappear when the
|
Inside a function local variables can be used. These will disappear when the
|
||||||
@@ -11034,7 +11086,7 @@ code can be used: >
|
|||||||
redir => scriptnames_output
|
redir => scriptnames_output
|
||||||
silent scriptnames
|
silent scriptnames
|
||||||
redir END
|
redir END
|
||||||
|
|
||||||
" Split the output into lines and parse each line. Add an entry to the
|
" Split the output into lines and parse each line. Add an entry to the
|
||||||
" "scripts" dictionary.
|
" "scripts" dictionary.
|
||||||
let scripts = {}
|
let scripts = {}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*filetype.txt* For Vim version 8.0. Last change: 2017 Mar 28
|
*filetype.txt* For Vim version 8.0. Last change: 2017 Oct 10
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -43,7 +43,7 @@ Detail: The ":filetype on" command will load one of these files:
|
|||||||
BufNewFile and BufRead events. If the file type is not found by the
|
BufNewFile and BufRead events. If the file type is not found by the
|
||||||
name, the file $VIMRUNTIME/scripts.vim is used to detect it from the
|
name, the file $VIMRUNTIME/scripts.vim is used to detect it from the
|
||||||
contents of the file.
|
contents of the file.
|
||||||
When the GUI is running or will start soon, the menu.vim script is
|
When the GUI is running or will start soon, the |menu.vim| script is
|
||||||
also sourced. See |'go-M'| about avoiding that.
|
also sourced. See |'go-M'| about avoiding that.
|
||||||
|
|
||||||
To add your own file types, see |new-filetype| below. To search for help on a
|
To add your own file types, see |new-filetype| below. To search for help on a
|
||||||
@@ -602,11 +602,12 @@ MANPAGER *manpager.vim*
|
|||||||
The :Man command allows you to turn Vim into a manpager (that syntax highlights
|
The :Man command allows you to turn Vim into a manpager (that syntax highlights
|
||||||
manpages and follows linked manpages on hitting CTRL-]).
|
manpages and follows linked manpages on hitting CTRL-]).
|
||||||
|
|
||||||
Works on:
|
Tested on:
|
||||||
|
|
||||||
- Linux
|
- Linux
|
||||||
- Mac OS
|
- Mac OS
|
||||||
- FreeBSD
|
- FreeBSD
|
||||||
|
- OpenBSD
|
||||||
- Cygwin
|
- Cygwin
|
||||||
- Win 10 under Bash
|
- Win 10 under Bash
|
||||||
|
|
||||||
@@ -616,21 +617,36 @@ Untested:
|
|||||||
- BeOS
|
- BeOS
|
||||||
- OS/2
|
- OS/2
|
||||||
|
|
||||||
For bash,zsh,ksh or dash by adding to the config file (.bashrc,.zshrc, ...)
|
If man sets the $MAN_PN environment variable, like man-db, the most common
|
||||||
|
implementation on Linux, then the "env MAN_PN=1 " part below should NOT be
|
||||||
|
set, that is, the "env MAN_PN=1" should be omitted! Otherwise, the Vim
|
||||||
|
manpager does not correctly recognize manpages whose title contains a capital
|
||||||
|
letter. See the discussion on
|
||||||
|
|
||||||
|
https://groups.google.com/forum/#!topic/vim_dev/pWZmt_7GkxI
|
||||||
|
|
||||||
|
For bash,zsh,ksh or dash, add to the config file (.bashrc,.zshrc, ...)
|
||||||
|
|
||||||
export MANPAGER="env MAN_PN=1 vim -M +MANPAGER -"
|
export MANPAGER="env MAN_PN=1 vim -M +MANPAGER -"
|
||||||
|
|
||||||
For (t)csh by adding to the config file
|
For (t)csh, add to the config file
|
||||||
|
|
||||||
setenv MANPAGER "env MAN_PN=1 vim -M +MANPAGER -"
|
setenv MANPAGER "env MAN_PN=1 vim -M +MANPAGER -"
|
||||||
|
|
||||||
For fish by adding to the config file
|
For fish, add to the config file
|
||||||
|
|
||||||
set -x MANPAGER "env MAN_PN=1 vim -M +MANPAGER -"
|
set -x MANPAGER "env MAN_PN=1 vim -M +MANPAGER -"
|
||||||
|
|
||||||
If man sets the $MAN_PN environment variable, like man-db, the most common
|
On OpenBSD:
|
||||||
implementation on Linux and Mac OS, then the "env MAN_PN=1 " part above is
|
|
||||||
superfluous.
|
export MANPAGER="env MAN_PN=1 vim -M +MANPAGER"
|
||||||
|
|
||||||
|
If you experience still issues on manpages whose titles do not contain capital
|
||||||
|
letters, then try adding MANPATH=${MANPATH} after MAN_PN=1. If your manpages do
|
||||||
|
not show up localized, then try adding, LANGUAGE=${LANG} after MAN_PN=1. See
|
||||||
|
|
||||||
|
https://github.com/vim/vim/issues/1002
|
||||||
|
|
||||||
|
|
||||||
PDF *ft-pdf-plugin*
|
PDF *ft-pdf-plugin*
|
||||||
|
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ COMMANDS *rust-commands*
|
|||||||
|g:rust_playpen_url| is the base URL to the playpen, by default
|
|g:rust_playpen_url| is the base URL to the playpen, by default
|
||||||
"https://play.rust-lang.org/".
|
"https://play.rust-lang.org/".
|
||||||
|
|
||||||
|g:rust_shortener_url| is the base URL for the shorterner, by
|
|g:rust_shortener_url| is the base URL for the shortener, by
|
||||||
default "https://is.gd/"
|
default "https://is.gd/"
|
||||||
|
|
||||||
:RustFmt *:RustFmt*
|
:RustFmt *:RustFmt*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*gui.txt* For Vim version 8.0. Last change: 2017 Sep 19
|
*gui.txt* For Vim version 8.0. Last change: 2017 Nov 09
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -162,7 +162,7 @@ window Vim is running in with these commands: >
|
|||||||
*gui-IME* *iBus*
|
*gui-IME* *iBus*
|
||||||
Input methods for international characters in X that rely on the XIM
|
Input methods for international characters in X that rely on the XIM
|
||||||
framework, most notably iBus, have been known to produce undesirable results
|
framework, most notably iBus, have been known to produce undesirable results
|
||||||
in gVim. These may include an inability to enter spaces, or long delays
|
in gvim. These may include an inability to enter spaces, or long delays
|
||||||
between typing a character and it being recognized by the application.
|
between typing a character and it being recognized by the application.
|
||||||
|
|
||||||
One workaround that has been successful, for unknown reasons, is to prevent
|
One workaround that has been successful, for unknown reasons, is to prevent
|
||||||
@@ -482,6 +482,7 @@ menus and menu items. They are most useful for things that you can't remember
|
|||||||
what the key sequence was.
|
what the key sequence was.
|
||||||
|
|
||||||
For creating menus in a different language, see |:menutrans|.
|
For creating menus in a different language, see |:menutrans|.
|
||||||
|
If you don't want to use menus at all, see |'go-M'|.
|
||||||
|
|
||||||
*menu.vim*
|
*menu.vim*
|
||||||
The default menus are read from the file "$VIMRUNTIME/menu.vim". See
|
The default menus are read from the file "$VIMRUNTIME/menu.vim". See
|
||||||
@@ -498,7 +499,22 @@ in the menu (which can take a bit of time to load). If you want to have all
|
|||||||
filetypes already present at startup, add: >
|
filetypes already present at startup, add: >
|
||||||
:let do_syntax_sel_menu = 1
|
:let do_syntax_sel_menu = 1
|
||||||
|
|
||||||
<
|
The following menuitems show all available color schemes, keymaps and compiler
|
||||||
|
settings:
|
||||||
|
Edit > Color Scheme ~
|
||||||
|
Edit > Keymap ~
|
||||||
|
Tools > Set Compiler ~
|
||||||
|
However, they can also take a bit of time to load, because they search all
|
||||||
|
related files from the directories in 'runtimepath'. Therefore they are
|
||||||
|
loaded lazily (by the |CursorHold| event), or you can also load them manually.
|
||||||
|
If you want to have all these items already present at startup, add: >
|
||||||
|
:let do_no_lazyload_menus = 1
|
||||||
|
|
||||||
|
Note that the menu.vim is sourced when `:syntax on` or `:filetype on` is
|
||||||
|
executed or after your .vimrc file is sourced. This means that the 'encoding'
|
||||||
|
option and the language of messages (`:language messages`) must be set before
|
||||||
|
that (if you want to change them).
|
||||||
|
|
||||||
*console-menus*
|
*console-menus*
|
||||||
Although this documentation is in the GUI section, you can actually use menus
|
Although this documentation is in the GUI section, you can actually use menus
|
||||||
in console mode too. You will have to load |menu.vim| explicitly then, it is
|
in console mode too. You will have to load |menu.vim| explicitly then, it is
|
||||||
@@ -795,11 +811,17 @@ make the items look like icons.
|
|||||||
If the items do not fit then the last ones cannot be used. The toolbar does
|
If the items do not fit then the last ones cannot be used. The toolbar does
|
||||||
not wrap.
|
not wrap.
|
||||||
|
|
||||||
|
Note that Vim may be in any mode when executing these commands. The menu
|
||||||
|
should be defined for Normal mode and will be executed without changing the
|
||||||
|
current mode. Thus if the current window is in Visual mode and the menu
|
||||||
|
command does not intentionally change the mode, Vim will remain in Visual
|
||||||
|
mode. Best is to use `:nnoremenu` to avoid side effects.
|
||||||
|
|
||||||
Example for debugger tools: >
|
Example for debugger tools: >
|
||||||
amenu 1.10 WinBar.Step :Step<CR>
|
nnoremenu 1.10 WinBar.Step :Step<CR>
|
||||||
amenu 1.20 WinBar.Next :Next<CR>
|
nnoremenu 1.20 WinBar.Next :Next<CR>
|
||||||
amenu 1.30 WinBar.Finish :Finish<CR>
|
nnoremenu 1.30 WinBar.Finish :Finish<CR>
|
||||||
amenu 1.40 WinBar.Cont :Continue<CR>
|
nnoremenu 1.40 WinBar.Cont :Continue<CR>
|
||||||
<
|
<
|
||||||
The window toolbar uses the ToolbarLine and ToolbarButton highlight groups.
|
The window toolbar uses the ToolbarLine and ToolbarButton highlight groups.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*gui_w32.txt* For Vim version 8.0. Last change: 2014 Dec 20
|
*gui_w32.txt* For Vim version 8.0. Last change: 2017 Oct 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -382,38 +382,8 @@ Note that a menu that starts with ']' will not be displayed.
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
7. Command line arguments *gui-w32-cmdargs*
|
7. Command line arguments *gui-w32-cmdargs*
|
||||||
|
|
||||||
Analysis of a command line into parameters is not standardised in MS Windows.
|
Command line arguments behave the same way as with the console application,
|
||||||
Gvim has to provide logic to analyse a command line. This logic is likely to
|
see |win32-cmdargs|.
|
||||||
be different from the default logic provided by a compilation system used to
|
|
||||||
build vim. The differences relate to unusual double quote (") usage.
|
|
||||||
The arguments "C:\My Music\freude.txt" and "+/Sch\"iller" are handled in the
|
|
||||||
same way. The argument "+/Sch""iller" may be handled different by gvim and
|
|
||||||
vim, depending what it was compiled with.
|
|
||||||
|
|
||||||
The rules are:
|
|
||||||
a) A parameter is a sequence of graphic characters.
|
|
||||||
b) Parameters are separated by white space.
|
|
||||||
c) A parameter can be enclosed in double quotes to include white space.
|
|
||||||
d) A sequence of zero or more backslashes (\) and a double quote (")
|
|
||||||
is special. The effective number of backslashes is halved, rounded
|
|
||||||
down. An even number of backslashes reverses the acceptability of
|
|
||||||
spaces and tabs, an odd number of backslashes produces a literal
|
|
||||||
double quote.
|
|
||||||
|
|
||||||
So:
|
|
||||||
" is a special double quote
|
|
||||||
\" is a literal double quote
|
|
||||||
\\" is a literal backslash and a special double quote
|
|
||||||
\\\" is a literal backslash and a literal double quote
|
|
||||||
\\\\" is 2 literal backslashes and a special double quote
|
|
||||||
\\\\\" is 2 literal backslashes and a literal double quote
|
|
||||||
etc.
|
|
||||||
|
|
||||||
Example: >
|
|
||||||
gvim "C:\My Music\freude" +"set ignorecase" +/"\"foo\\" +\"bar\\\"
|
|
||||||
|
|
||||||
opens "C:\My Music\freude" and executes the line mode commands: >
|
|
||||||
set ignorecase; /"foo\ and /bar\"
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
8. Various *gui-w32-various*
|
8. Various *gui-w32-various*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*help.txt* For Vim version 8.0. Last change: 2016 Sep 12
|
*help.txt* For Vim version 8.0. Last change: 2017 Oct 28
|
||||||
|
|
||||||
VIM - main help file
|
VIM - main help file
|
||||||
k
|
k
|
||||||
@@ -142,6 +142,7 @@ Special issues ~
|
|||||||
|print.txt| printing
|
|print.txt| printing
|
||||||
|remote.txt| using Vim as a server or client
|
|remote.txt| using Vim as a server or client
|
||||||
|term.txt| using different terminals and mice
|
|term.txt| using different terminals and mice
|
||||||
|
|terminal.txt| Terminal window support
|
||||||
|digraph.txt| list of available digraphs
|
|digraph.txt| list of available digraphs
|
||||||
|mbyte.txt| multi-byte text support
|
|mbyte.txt| multi-byte text support
|
||||||
|mlang.txt| non-English language support
|
|mlang.txt| non-English language support
|
||||||
@@ -150,6 +151,7 @@ Special issues ~
|
|||||||
|hebrew.txt| Hebrew language support and editing
|
|hebrew.txt| Hebrew language support and editing
|
||||||
|russian.txt| Russian language support and editing
|
|russian.txt| Russian language support and editing
|
||||||
|ft_ada.txt| Ada (the programming language) support
|
|ft_ada.txt| Ada (the programming language) support
|
||||||
|
|ft_rust.txt| Filetype plugin for Rust
|
||||||
|ft_sql.txt| about the SQL filetype plugin
|
|ft_sql.txt| about the SQL filetype plugin
|
||||||
|hangulin.txt| Hangul (Korean) input mode
|
|hangulin.txt| Hangul (Korean) input mode
|
||||||
|rileft.txt| right-to-left editing mode
|
|rileft.txt| right-to-left editing mode
|
||||||
@@ -202,6 +204,7 @@ Standard plugins ~
|
|||||||
|pi_logipat.txt| Logical operators on patterns
|
|pi_logipat.txt| Logical operators on patterns
|
||||||
|pi_netrw.txt| Reading and writing files over a network
|
|pi_netrw.txt| Reading and writing files over a network
|
||||||
|pi_paren.txt| Highlight matching parens
|
|pi_paren.txt| Highlight matching parens
|
||||||
|
|pi_spec.txt| Filetype plugin to work with rpm spec files
|
||||||
|pi_tar.txt| Tar file explorer
|
|pi_tar.txt| Tar file explorer
|
||||||
|pi_vimball.txt| Create a self-installing Vim script
|
|pi_vimball.txt| Create a self-installing Vim script
|
||||||
|pi_zip.txt| Zip archive explorer
|
|pi_zip.txt| Zip archive explorer
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*if_mzsch.txt* For Vim version 8.0. Last change: 2016 Jan 24
|
*if_mzsch.txt* For Vim version 8.0. Last change: 2017 Oct 08
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Sergey Khorev
|
VIM REFERENCE MANUAL by Sergey Khorev
|
||||||
@@ -278,12 +278,15 @@ When you don't use the MzScheme interface you don't need them, thus you can
|
|||||||
use Vim without these DLL files.
|
use Vim without these DLL files.
|
||||||
NOTE: Newer version of MzScheme (Racket) require earlier (trampolined)
|
NOTE: Newer version of MzScheme (Racket) require earlier (trampolined)
|
||||||
initialisation via scheme_main_setup. So Vim always loads the MzScheme DLL at
|
initialisation via scheme_main_setup. So Vim always loads the MzScheme DLL at
|
||||||
startup if possible.
|
startup if possible. This may make Vim startup slower.
|
||||||
|
|
||||||
To use the MzScheme interface the MzScheme DLLs must be in your search path.
|
To use the MzScheme interface the MzScheme DLLs must be in your search path.
|
||||||
In a console window type "path" to see what directories are used.
|
In a console window type "path" to see what directories are used.
|
||||||
|
|
||||||
The names of the DLLs must match the MzScheme version Vim was compiled with.
|
On MS-Windows the options 'mzschemedll' and 'mzschemegcdll' are used for the
|
||||||
|
name of the library to load. The initial value is specified at build time.
|
||||||
|
|
||||||
|
The version of the DLL must match the MzScheme version Vim was compiled with.
|
||||||
For MzScheme version 209 they will be "libmzsch209_000.dll" and
|
For MzScheme version 209 they will be "libmzsch209_000.dll" and
|
||||||
"libmzgc209_000.dll". To know for sure look at the output of the ":version"
|
"libmzgc209_000.dll". To know for sure look at the output of the ":version"
|
||||||
command, look for -DDYNAMIC_MZSCH_DLL="something" and
|
command, look for -DDYNAMIC_MZSCH_DLL="something" and
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*if_pyth.txt* For Vim version 8.0. Last change: 2017 Mar 09
|
*if_pyth.txt* For Vim version 8.0. Last change: 2017 Nov 09
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Paul Moore
|
VIM REFERENCE MANUAL by Paul Moore
|
||||||
@@ -715,6 +715,8 @@ To facilitate bi-directional interface, you can use |pyeval()| and |py3eval()|
|
|||||||
functions to evaluate Python expressions and pass their values to Vim script.
|
functions to evaluate Python expressions and pass their values to Vim script.
|
||||||
|pyxeval()| is also available.
|
|pyxeval()| is also available.
|
||||||
|
|
||||||
|
The Python value "None" is converted to v:none.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
9. Dynamic loading *python-dynamic*
|
9. Dynamic loading *python-dynamic*
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*map.txt* For Vim version 8.0. Last change: 2017 Sep 17
|
*map.txt* For Vim version 8.0. Last change: 2017 Sep 23
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -29,7 +29,7 @@ manual.
|
|||||||
1. Key mapping *key-mapping* *mapping* *macro*
|
1. Key mapping *key-mapping* *mapping* *macro*
|
||||||
|
|
||||||
Key mapping is used to change the meaning of typed keys. The most common use
|
Key mapping is used to change the meaning of typed keys. The most common use
|
||||||
is to define a sequence commands for a function key. Example: >
|
is to define a sequence of commands for a function key. Example: >
|
||||||
|
|
||||||
:map <F2> a<C-R>=strftime("%c")<CR><Esc>
|
:map <F2> a<C-R>=strftime("%c")<CR><Esc>
|
||||||
|
|
||||||
|
|||||||
@@ -26,8 +26,9 @@ For changing the language of messages and menus see |mlang.txt|.
|
|||||||
7. Input on X11 |mbyte-XIM|
|
7. Input on X11 |mbyte-XIM|
|
||||||
8. Input on MS-Windows |mbyte-IME|
|
8. Input on MS-Windows |mbyte-IME|
|
||||||
9. Input with a keymap |mbyte-keymap|
|
9. Input with a keymap |mbyte-keymap|
|
||||||
10. Using UTF-8 |mbyte-utf8|
|
10. Input with imactivatefunc() |mbyte-func|
|
||||||
11. Overview of options |mbyte-options|
|
11. Using UTF-8 |mbyte-utf8|
|
||||||
|
12. Overview of options |mbyte-options|
|
||||||
|
|
||||||
NOTE: This file contains UTF-8 characters. These may show up as strange
|
NOTE: This file contains UTF-8 characters. These may show up as strange
|
||||||
characters or boxes when using another encoding.
|
characters or boxes when using another encoding.
|
||||||
@@ -1254,7 +1255,35 @@ Combining forms:
|
|||||||
ﭏ 0xfb4f Xal alef-lamed
|
ﭏ 0xfb4f Xal alef-lamed
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
10. Using UTF-8 *mbyte-utf8* *UTF-8* *utf-8* *utf8*
|
10. Input with imactivatefunc() *mbyte-func*
|
||||||
|
|
||||||
|
Vim has |imactivatefunc()| and |imstatusfunc()|. This is useful to
|
||||||
|
activate/deativate input method from Vim in any way, also with an external
|
||||||
|
command. For example, fcitx provide fcitx-remote command: >
|
||||||
|
|
||||||
|
set iminsert=2
|
||||||
|
set imsearch=2
|
||||||
|
set imcmdline
|
||||||
|
|
||||||
|
set imactivatefunc=ImActivate
|
||||||
|
function! ImActivate(active)
|
||||||
|
if a:active
|
||||||
|
call system('fcitx-remote -o')
|
||||||
|
else
|
||||||
|
call system('fcitx-remote -c')
|
||||||
|
endif
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
set imstatusfunc=ImStatus
|
||||||
|
function! ImStatus()
|
||||||
|
return system('fcitx-remote')[0] is# '2'
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
Using this script, you can activate/deactivate XIM via Vim even when it is not
|
||||||
|
compiled with |+xim|.
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
11. Using UTF-8 *mbyte-utf8* *UTF-8* *utf-8* *utf8*
|
||||||
*Unicode* *unicode*
|
*Unicode* *unicode*
|
||||||
The Unicode character set was designed to include all characters from other
|
The Unicode character set was designed to include all characters from other
|
||||||
character sets. Therefore it is possible to write text in any language using
|
character sets. Therefore it is possible to write text in any language using
|
||||||
@@ -1402,7 +1431,7 @@ not everybody is able to type a composing character.
|
|||||||
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
11. Overview of options *mbyte-options*
|
12. Overview of options *mbyte-options*
|
||||||
|
|
||||||
These options are relevant for editing multi-byte files. Check the help in
|
These options are relevant for editing multi-byte files. Check the help in
|
||||||
options.txt for detailed information.
|
options.txt for detailed information.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*message.txt* For Vim version 8.0. Last change: 2017 Mar 25
|
*message.txt* For Vim version 8.0. Last change: 2017 Oct 14
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -463,12 +463,6 @@ changed. To avoid the message reset the 'warn' option.
|
|||||||
Something inside Vim went wrong and resulted in a NULL pointer. If you know
|
Something inside Vim went wrong and resulted in a NULL pointer. If you know
|
||||||
how to reproduce this problem, please report it. |bugs|
|
how to reproduce this problem, please report it. |bugs|
|
||||||
|
|
||||||
*E172* >
|
|
||||||
Only one file name allowed
|
|
||||||
|
|
||||||
The ":edit" command only accepts one file name. When you want to specify
|
|
||||||
several files for editing use ":next" |:next|.
|
|
||||||
|
|
||||||
*E41* *E82* *E83* *E342* >
|
*E41* *E82* *E83* *E342* >
|
||||||
Out of memory!
|
Out of memory!
|
||||||
Out of memory! (allocating {number} bytes)
|
Out of memory! (allocating {number} bytes)
|
||||||
@@ -645,6 +639,9 @@ starts. It can be fixed in one of these ways:
|
|||||||
- Just write the file again the next day. Or set your clock to the next day,
|
- Just write the file again the next day. Or set your clock to the next day,
|
||||||
write the file twice and set the clock back.
|
write the file twice and set the clock back.
|
||||||
|
|
||||||
|
If you get W11 all the time, you may need to disable "Acronis Active
|
||||||
|
Protection" or register Vim as a trusted service/application.
|
||||||
|
|
||||||
*W12* >
|
*W12* >
|
||||||
Warning: File "{filename}" has changed and the buffer was changed in Vim as well
|
Warning: File "{filename}" has changed and the buffer was changed in Vim as well
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*motion.txt* For Vim version 8.0. Last change: 2017 Mar 12
|
*motion.txt* For Vim version 8.0. Last change: 2017 Oct 15
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1317,7 +1317,10 @@ the current line is included. You can then use "%" to go to the matching line.
|
|||||||
H To line [count] from top (Home) of window (default:
|
H To line [count] from top (Home) of window (default:
|
||||||
first line on the window) on the first non-blank
|
first line on the window) on the first non-blank
|
||||||
character |linewise|. See also 'startofline' option.
|
character |linewise|. See also 'startofline' option.
|
||||||
Cursor is adjusted for 'scrolloff' option.
|
Cursor is adjusted for 'scrolloff' option, unless an
|
||||||
|
operator is pending, in which case the text may
|
||||||
|
scroll. E.g. "yH" yanks from the first visible line
|
||||||
|
until the cursor line (inclusive).
|
||||||
|
|
||||||
*M*
|
*M*
|
||||||
M To Middle line of window, on the first non-blank
|
M To Middle line of window, on the first non-blank
|
||||||
@@ -1327,7 +1330,10 @@ M To Middle line of window, on the first non-blank
|
|||||||
L To line [count] from bottom of window (default: Last
|
L To line [count] from bottom of window (default: Last
|
||||||
line on the window) on the first non-blank character
|
line on the window) on the first non-blank character
|
||||||
|linewise|. See also 'startofline' option.
|
|linewise|. See also 'startofline' option.
|
||||||
Cursor is adjusted for 'scrolloff' option.
|
Cursor is adjusted for 'scrolloff' option, unless an
|
||||||
|
operator is pending, in which case the text may
|
||||||
|
scroll. E.g. "yL" yanks from the cursor to the last
|
||||||
|
visible line.
|
||||||
|
|
||||||
<LeftMouse> Moves to the position on the screen where the mouse
|
<LeftMouse> Moves to the position on the screen where the mouse
|
||||||
click is |exclusive|. See also |<LeftMouse>|. If the
|
click is |exclusive|. See also |<LeftMouse>|. If the
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 8.0. Last change: 2017 Sep 16
|
*options.txt* For Vim version 8.0. Last change: 2017 Nov 18
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -886,7 +886,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'background' is not dark/light, 'background' will be set and the
|
'background' is not dark/light, 'background' will be set and the
|
||||||
screen is redrawn. This may have side effects, make t_BG empty in
|
screen is redrawn. This may have side effects, make t_BG empty in
|
||||||
your .vimrc if you suspect this problem. The response to |t_RB| can
|
your .vimrc if you suspect this problem. The response to |t_RB| can
|
||||||
be found in |v:termrgbresp|.
|
be found in |v:termrbgresp|.
|
||||||
|
|
||||||
When starting the GUI, the default value for 'background' will be
|
When starting the GUI, the default value for 'background' will be
|
||||||
"light". When the value is not set in the .gvimrc, and Vim detects
|
"light". When the value is not set in the .gvimrc, and Vim detects
|
||||||
@@ -1127,7 +1127,16 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+balloon_eval|
|
{only available when compiled with the |+balloon_eval|
|
||||||
feature}
|
feature}
|
||||||
Switch on the |balloon-eval| functionality.
|
Switch on the |balloon-eval| functionality for the GUI.
|
||||||
|
|
||||||
|
*'balloonevalterm'* *'bevalterm'* *'noballoonevalterm'*
|
||||||
|
*'nobevalterm'*
|
||||||
|
'balloonevalterm' 'bevalterm' boolean (default off)
|
||||||
|
global
|
||||||
|
{not in Vi}
|
||||||
|
{only available when compiled with the
|
||||||
|
|+balloon_eval_term| feature}
|
||||||
|
Switch on the |balloon-eval| functionality for the terminal.
|
||||||
|
|
||||||
*'balloonexpr'* *'bexpr'*
|
*'balloonexpr'* *'bexpr'*
|
||||||
'balloonexpr' 'bexpr' string (default "")
|
'balloonexpr' 'bexpr' string (default "")
|
||||||
@@ -3521,6 +3530,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
systems without an fsync() implementation, this variable is always
|
systems without an fsync() implementation, this variable is always
|
||||||
off.
|
off.
|
||||||
Also see 'swapsync' for controlling fsync() on swap files.
|
Also see 'swapsync' for controlling fsync() on swap files.
|
||||||
|
'fsync' also applies to |writefile()|, unless a flag is used to
|
||||||
|
overrule it.
|
||||||
|
|
||||||
*'gdefault'* *'gd'* *'nogdefault'* *'nogd'*
|
*'gdefault'* *'gd'* *'nogdefault'* *'nogd'*
|
||||||
'gdefault' 'gd' boolean (default off)
|
'gdefault' 'gd' boolean (default off)
|
||||||
@@ -3895,7 +3906,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
that this flag must be added in the .vimrc file, before
|
that this flag must be added in the .vimrc file, before
|
||||||
switching on syntax or filetype recognition (when the |gvimrc|
|
switching on syntax or filetype recognition (when the |gvimrc|
|
||||||
file is sourced the system menu has already been loaded; the
|
file is sourced the system menu has already been loaded; the
|
||||||
":syntax on" and ":filetype on" commands load the menu too).
|
`:syntax on` and `:filetype on` commands load the menu too).
|
||||||
*'go-g'*
|
*'go-g'*
|
||||||
'g' Grey menu items: Make menu items that are not active grey. If
|
'g' Grey menu items: Make menu items that are not active grey. If
|
||||||
'g' is not included inactive menu items are not shown at all.
|
'g' is not included inactive menu items are not shown at all.
|
||||||
@@ -3939,7 +3950,13 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
removing it after the GUI has started has no effect.
|
removing it after the GUI has started has no effect.
|
||||||
*'go-F'*
|
*'go-F'*
|
||||||
'F' Add a footer. Only for Motif. See |gui-footer|.
|
'F' Add a footer. Only for Motif. See |gui-footer|.
|
||||||
|
*'go-k'*
|
||||||
|
'k' Keep the GUI window size when adding/removing a scrollbar, or
|
||||||
|
toolbar, tabline, etc. Instead, the behavior is similar to
|
||||||
|
when the window is maximized and will adjust 'lines' and
|
||||||
|
'columns' to fit to the window. Without the 'k' flag Vim will
|
||||||
|
try to keep 'lines' and 'columns' the same when adding and
|
||||||
|
removing GUI components.
|
||||||
|
|
||||||
*'guipty'* *'noguipty'*
|
*'guipty'* *'noguipty'*
|
||||||
'guipty' boolean (default on)
|
'guipty' boolean (default on)
|
||||||
@@ -4083,7 +4100,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
set.
|
set.
|
||||||
|hl-Question| r |hit-enter| prompt and yes/no questions
|
|hl-Question| r |hit-enter| prompt and yes/no questions
|
||||||
|hl-StatusLine| s status line of current window |status-line|
|
|hl-StatusLine| s status line of current window |status-line|
|
||||||
|hl-StatusLineNC| S status lines of not-current windows
|
|hl-StatusLineNC| S status lines of not-current windows
|
||||||
|hl-Title| t Titles for output from ":set all", ":autocmd" etc.
|
|hl-Title| t Titles for output from ":set all", ":autocmd" etc.
|
||||||
|hl-VertSplit| c column used to separate vertically split windows
|
|hl-VertSplit| c column used to separate vertically split windows
|
||||||
|hl-Visual| v Visual mode
|
|hl-Visual| v Visual mode
|
||||||
@@ -4239,10 +4256,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'imactivatefunc' 'imaf' string (default "")
|
'imactivatefunc' 'imaf' string (default "")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with |+xim| and
|
{only available when compiled with |+mbyte|}
|
||||||
|+GUI_GTK|}
|
|
||||||
This option specifies a function that will be called to
|
This option specifies a function that will be called to
|
||||||
activate/inactivate Input Method.
|
activate or deactivate the Input Method.
|
||||||
|
It is not used in the GUI.
|
||||||
|
|
||||||
Example: >
|
Example: >
|
||||||
function ImActivateFunc(active)
|
function ImActivateFunc(active)
|
||||||
@@ -4291,8 +4308,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'imcmdline' 'imc' boolean (default off)
|
'imcmdline' 'imc' boolean (default off)
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+xim|,
|
{only available when compiled with |+mbyte|}
|
||||||
|+multi_byte_ime| or |global-ime| features}
|
|
||||||
When set the Input Method is always on when starting to edit a command
|
When set the Input Method is always on when starting to edit a command
|
||||||
line, unless entering a search pattern (see 'imsearch' for that).
|
line, unless entering a search pattern (see 'imsearch' for that).
|
||||||
Setting this option is useful when your input method allows entering
|
Setting this option is useful when your input method allows entering
|
||||||
@@ -4303,8 +4319,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'imdisable' 'imd' boolean (default off, on for some systems (SGI))
|
'imdisable' 'imd' boolean (default off, on for some systems (SGI))
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+xim|,
|
{only available when compiled with |+mbyte|}
|
||||||
|+multi_byte_ime| or |global-ime| features}
|
|
||||||
When set the Input Method is never used. This is useful to disable
|
When set the Input Method is never used. This is useful to disable
|
||||||
the IM when it doesn't work properly.
|
the IM when it doesn't work properly.
|
||||||
Currently this option is on by default for SGI/IRIX machines. This
|
Currently this option is on by default for SGI/IRIX machines. This
|
||||||
@@ -4319,8 +4334,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
0 :lmap is off and IM is off
|
0 :lmap is off and IM is off
|
||||||
1 :lmap is ON and IM is off
|
1 :lmap is ON and IM is off
|
||||||
2 :lmap is off and IM is ON
|
2 :lmap is off and IM is ON
|
||||||
2 is available only when compiled with the |+multi_byte_ime|, |+xim|
|
|
||||||
or |global-ime|.
|
|
||||||
To always reset the option to zero when leaving Insert mode with <Esc>
|
To always reset the option to zero when leaving Insert mode with <Esc>
|
||||||
this can be used: >
|
this can be used: >
|
||||||
:inoremap <ESC> <ESC>:set iminsert=0<CR>
|
:inoremap <ESC> <ESC>:set iminsert=0<CR>
|
||||||
@@ -4333,6 +4346,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
The value 0 may not work correctly with Athena and Motif with some XIM
|
The value 0 may not work correctly with Athena and Motif with some XIM
|
||||||
methods. Use 'imdisable' to disable XIM then.
|
methods. Use 'imdisable' to disable XIM then.
|
||||||
|
|
||||||
|
You can set 'imactivatefunc' and 'imstatusfunc' to handle IME/XIM
|
||||||
|
via external command if vim is not compiled with the |+xim|,
|
||||||
|
|+multi_byte_ime| or |global-ime|.
|
||||||
|
|
||||||
*'imsearch'* *'ims'*
|
*'imsearch'* *'ims'*
|
||||||
'imsearch' 'ims' number (default -1)
|
'imsearch' 'ims' number (default -1)
|
||||||
local to buffer
|
local to buffer
|
||||||
@@ -4355,10 +4372,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'imstatusfunc' 'imsf' string (default "")
|
'imstatusfunc' 'imsf' string (default "")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with |+xim| and
|
{only available when compiled with |+mbyte|}
|
||||||
|+GUI_GTK|}
|
|
||||||
This option specifies a function that is called to obtain the status
|
This option specifies a function that is called to obtain the status
|
||||||
of Input Method. It must return a positive number when IME is active.
|
of Input Method. It must return a positive number when IME is active.
|
||||||
|
It is not used in the GUI.
|
||||||
|
|
||||||
Example: >
|
Example: >
|
||||||
function ImStatusFunc()
|
function ImStatusFunc()
|
||||||
@@ -4380,8 +4397,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
1 over-the-spot style
|
1 over-the-spot style
|
||||||
See: |xim-input-style|
|
See: |xim-input-style|
|
||||||
|
|
||||||
For a long time on-the-spot sytle had been used in GTK version of vim,
|
For a long time on-the-spot style had been used in the GTK version of
|
||||||
however, it is known that it causes troubles when using mappings,
|
vim, however, it is known that it causes troubles when using mappings,
|
||||||
|single-repeat|, etc. Therefore over-the-spot style becomes the
|
|single-repeat|, etc. Therefore over-the-spot style becomes the
|
||||||
default now. This should work fine for most people, however if you
|
default now. This should work fine for most people, however if you
|
||||||
have any problem with it, try using on-the-spot style.
|
have any problem with it, try using on-the-spot style.
|
||||||
@@ -4447,7 +4464,17 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
match may not be found. This is to avoid that Vim hangs while you
|
match may not be found. This is to avoid that Vim hangs while you
|
||||||
are typing the pattern.
|
are typing the pattern.
|
||||||
The highlighting can be set with the 'i' flag in 'highlight'.
|
The highlighting can be set with the 'i' flag in 'highlight'.
|
||||||
See also: 'hlsearch'.
|
When 'hlsearch' is on, all matched strings are highlighted too while typing
|
||||||
|
a search command. See also: 'hlsearch'.
|
||||||
|
If you don't want turn 'hlsearch' on, but want to highlight all matches
|
||||||
|
while searching, you can turn on and off 'hlsearch' with autocmd.
|
||||||
|
Example: >
|
||||||
|
augroup vimrc-incsearch-highlight
|
||||||
|
autocmd!
|
||||||
|
autocmd CmdlineEnter /,\? :set hlsearch
|
||||||
|
autocmd CmdlineLeave /,\? :set nohlsearch
|
||||||
|
augroup END
|
||||||
|
<
|
||||||
CTRL-L can be used to add one character from after the current match
|
CTRL-L can be used to add one character from after the current match
|
||||||
to the command line. If 'ignorecase' and 'smartcase' are set and the
|
to the command line. If 'ignorecase' and 'smartcase' are set and the
|
||||||
command line has no uppercase characters, the added character is
|
command line has no uppercase characters, the added character is
|
||||||
@@ -5117,7 +5144,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
:au FileType c,cpp,java set mps+==:;
|
:au FileType c,cpp,java set mps+==:;
|
||||||
|
|
||||||
< For a more advanced way of using "%", see the matchit.vim plugin in
|
< For a more advanced way of using "%", see the matchit.vim plugin in
|
||||||
the $VIMRUNTIME/macros directory. |add-local-help|
|
the $VIMRUNTIME/pack/dist/opt/matchit directory. |add-local-help|
|
||||||
|
|
||||||
*'matchtime'* *'mat'*
|
*'matchtime'* *'mat'*
|
||||||
'matchtime' 'mat' number (default 5)
|
'matchtime' 'mat' number (default 5)
|
||||||
@@ -5320,7 +5347,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
sysmouse and Linux console with gpm). For using the mouse in the
|
sysmouse and Linux console with gpm). For using the mouse in the
|
||||||
GUI, see |gui-mouse|.
|
GUI, see |gui-mouse|.
|
||||||
The mouse can be enabled for different modes:
|
The mouse can be enabled for different modes:
|
||||||
n Normal mode
|
n Normal mode and Terminal modes
|
||||||
v Visual mode
|
v Visual mode
|
||||||
i Insert mode
|
i Insert mode
|
||||||
c Command-line mode
|
c Command-line mode
|
||||||
@@ -5468,6 +5495,33 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
time in msec between two mouse clicks for the second click to be
|
time in msec between two mouse clicks for the second click to be
|
||||||
recognized as a multi click.
|
recognized as a multi click.
|
||||||
|
|
||||||
|
*'mzschemedll'*
|
||||||
|
'mzschemedll' string (default depends on the build)
|
||||||
|
global
|
||||||
|
{not in Vi}
|
||||||
|
{only available when compiled with the |+mzscheme/dyn|
|
||||||
|
feature}
|
||||||
|
Specifies the name of the MzScheme shared library. The default is
|
||||||
|
DYNAMIC_MZSCH_DLL which was specified at compile time.
|
||||||
|
Environment variables are expanded |:set_env|.
|
||||||
|
The value must be set in the |vimrc| script or earlier. In the
|
||||||
|
startup, before the |load-plugins| step.
|
||||||
|
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||||
|
security reasons.
|
||||||
|
|
||||||
|
*'mzschemegcdll'*
|
||||||
|
'mzschemegcdll' string (default depends on the build)
|
||||||
|
global
|
||||||
|
{not in Vi}
|
||||||
|
{only available when compiled with the |+mzscheme/dyn|
|
||||||
|
feature}
|
||||||
|
Specifies the name of the MzScheme GC shared library. The default is
|
||||||
|
DYNAMIC_MZGC_DLL which was specified at compile time.
|
||||||
|
The value can be equal to 'mzschemedll' if it includes the GC code.
|
||||||
|
Environment variables are expanded |:set_env|.
|
||||||
|
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||||
|
security reasons.
|
||||||
|
|
||||||
*'mzquantum'* *'mzq'*
|
*'mzquantum'* *'mzq'*
|
||||||
'mzquantum' 'mzq' number (default 100)
|
'mzquantum' 'mzq' number (default 100)
|
||||||
global
|
global
|
||||||
@@ -6100,11 +6154,34 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
Example: >
|
Example: >
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set gfn=Ricty_Diminished:h12:cSHIFTJIS
|
set gfn=Ricty_Diminished:h12
|
||||||
set rop=type:directx
|
set rop=type:directx
|
||||||
<
|
<
|
||||||
If select a raster font (Courier, Terminal or FixedSys) to
|
If select a raster font (Courier, Terminal or FixedSys which
|
||||||
'guifont', it fallbacks to be drawn by GDI automatically.
|
have ".fon" extension in file name) to 'guifont', it will be
|
||||||
|
drawn by GDI as a fallback. This fallback will cause
|
||||||
|
significant slow down on drawing.
|
||||||
|
|
||||||
|
NOTE: It is known that some fonts and options combination
|
||||||
|
causes trouble on drawing glyphs.
|
||||||
|
|
||||||
|
- 'rendmode:5' and 'renmode:6' will not work with some
|
||||||
|
special made fonts (True-Type fonts which includes only
|
||||||
|
bitmap glyphs).
|
||||||
|
- 'taamode:3' will not work with some vector fonts.
|
||||||
|
|
||||||
|
NOTE: With this option, you can display colored emoji
|
||||||
|
(emoticon) in Windows 8.1 or later. To display colored emoji,
|
||||||
|
there are some conditions which you should notice.
|
||||||
|
|
||||||
|
- If your font includes non-colored emoji already, it will
|
||||||
|
be used.
|
||||||
|
- If your font doesn't have emoji, the system chooses an
|
||||||
|
alternative symbol font. On Windows 10, "Segoe UI Emoji"
|
||||||
|
will be used.
|
||||||
|
- When this alternative font didn't have fixed width glyph,
|
||||||
|
emoji might be rendered beyond the bounding box of drawing
|
||||||
|
cell.
|
||||||
|
|
||||||
Other render types are currently not supported.
|
Other render types are currently not supported.
|
||||||
|
|
||||||
@@ -8178,7 +8255,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
number, more intelligent detection process runs.
|
number, more intelligent detection process runs.
|
||||||
The "xterm2" value will be set if the xterm version is reported to be
|
The "xterm2" value will be set if the xterm version is reported to be
|
||||||
from 95 to 276. The "sgr" value will be set if the xterm version is
|
from 95 to 276. The "sgr" value will be set if the xterm version is
|
||||||
277 or highter.
|
277 or highter and when Vim detects Mac Terminal.app or Iterm2.
|
||||||
If you do not want 'ttymouse' to be set to "xterm2" or "sgr"
|
If you do not want 'ttymouse' to be set to "xterm2" or "sgr"
|
||||||
automatically, set t_RV to an empty string: >
|
automatically, set t_RV to an empty string: >
|
||||||
:set t_RV=
|
:set t_RV=
|
||||||
@@ -8259,7 +8336,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
Save the whole buffer for undo when reloading it. This applies to the
|
Save the whole buffer for undo when reloading it. This applies to the
|
||||||
":e!" command and reloading for when the buffer changed outside of
|
":e!" command and reloading for when the buffer changed outside of
|
||||||
Vim. |FileChangedShell|
|
Vim. |FileChangedShell|
|
||||||
The save only happens when this options is negative or when the number
|
The save only happens when this option is negative or when the number
|
||||||
of lines is smaller than the value of this option.
|
of lines is smaller than the value of this option.
|
||||||
Set this option to zero to disable undo for a reload.
|
Set this option to zero to disable undo for a reload.
|
||||||
|
|
||||||
@@ -8344,7 +8421,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
security reasons.
|
security reasons.
|
||||||
|
|
||||||
*'viewoptions'* *'vop'*
|
*'viewoptions'* *'vop'*
|
||||||
'viewoptions' 'vop' string (default: "folds,options,cursor")
|
'viewoptions' 'vop' string (default: "folds,options,cursor,curdir")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{not available when compiled without the |+mksession|
|
{not available when compiled without the |+mksession|
|
||||||
@@ -8362,6 +8439,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
slashes
|
slashes
|
||||||
unix with Unix end-of-line format (single <NL>), even when
|
unix with Unix end-of-line format (single <NL>), even when
|
||||||
on Windows or DOS
|
on Windows or DOS
|
||||||
|
curdir the window-local directory, if set with `:lcd`
|
||||||
|
|
||||||
"slash" and "unix" are useful on Windows when sharing view files
|
"slash" and "unix" are useful on Windows when sharing view files
|
||||||
with Unix. The Unix version of Vim cannot source dos format scripts,
|
with Unix. The Unix version of Vim cannot source dos format scripts,
|
||||||
|
|||||||
@@ -164,8 +164,9 @@ If you want to disable it, pass `--disable-darwin` to the configure script: >
|
|||||||
and then run `make` to build Vim. The order of the options doesn't matter.
|
and then run `make` to build Vim. The order of the options doesn't matter.
|
||||||
|
|
||||||
To make sure at runtime whether or not the darwin feature is compiled in, you
|
To make sure at runtime whether or not the darwin feature is compiled in, you
|
||||||
can use `has('macunix')` which returns 1 if the feature is compiled in; 0
|
can use `has('osxdarwin')` which returns 1 if the feature is compiled in; 0
|
||||||
otherwise.
|
otherwise. For backwards comptibility, you can still use `macunix` instead of
|
||||||
|
`osxdarwin`.
|
||||||
|
|
||||||
Notable use cases where `--disable-darwin` is turned out to be useful are:
|
Notable use cases where `--disable-darwin` is turned out to be useful are:
|
||||||
|
|
||||||
|
|||||||
@@ -81,10 +81,45 @@ The directory of the Vim executable is appended to $PATH. This is mostly to
|
|||||||
make "!xxd" work, as it is in the Tools menu. And it also means that when
|
make "!xxd" work, as it is in the Tools menu. And it also means that when
|
||||||
executable() returns 1 the executable can actually be executed.
|
executable() returns 1 the executable can actually be executed.
|
||||||
|
|
||||||
Quotes in file names *win32-quotes*
|
Command line arguments *win32-cmdargs*
|
||||||
|
|
||||||
Quotes inside a file name (or any other command line argument) can be escaped
|
Analysis of a command line into parameters is not standardised in MS Windows.
|
||||||
with a backslash. E.g. >
|
Vim and gvim used to use different logic to parse it (before 7.4.432), and the
|
||||||
|
logic was also depended on what it was compiled with. Now Vim and gvim both
|
||||||
|
use the CommandLineToArgvW() Win32 API, so they behave in the same way.
|
||||||
|
|
||||||
|
The basic rules are: *win32-backslashes*
|
||||||
|
a) A parameter is a sequence of graphic characters.
|
||||||
|
b) Parameters are separated by white space.
|
||||||
|
c) A parameter can be enclosed in double quotes to include white space.
|
||||||
|
d) A sequence of zero or more backslashes (\) and a double quote (")
|
||||||
|
is special. The effective number of backslashes is halved, rounded
|
||||||
|
down. An even number of backslashes reverses the acceptability of
|
||||||
|
spaces and tabs, an odd number of backslashes produces a literal
|
||||||
|
double quote.
|
||||||
|
|
||||||
|
So:
|
||||||
|
" is a special double quote
|
||||||
|
\" is a literal double quote
|
||||||
|
\\" is a literal backslash and a special double quote
|
||||||
|
\\\" is a literal backslash and a literal double quote
|
||||||
|
\\\\" is 2 literal backslashes and a special double quote
|
||||||
|
\\\\\" is 2 literal backslashes and a literal double quote
|
||||||
|
etc.
|
||||||
|
|
||||||
|
Example: >
|
||||||
|
vim "C:\My Music\freude" +"set ignorecase" +/"\"foo\\" +\"bar\\\"
|
||||||
|
|
||||||
|
opens "C:\My Music\freude" and executes the line mode commands: >
|
||||||
|
set ignorecase; /"foo\ and /bar\"
|
||||||
|
|
||||||
|
These rules are also described in the reference of the CommandLineToArgvW API:
|
||||||
|
https://msdn.microsoft.com/en-us/library/windows/desktop/bb776391.aspx
|
||||||
|
|
||||||
|
*win32-quotes*
|
||||||
|
There are additional rules for quotes (which are not well documented).
|
||||||
|
As described above, quotes inside a file name (or any other command line
|
||||||
|
argument) can be escaped with a backslash. E.g. >
|
||||||
vim -c "echo 'foo\"bar'"
|
vim -c "echo 'foo\"bar'"
|
||||||
|
|
||||||
Alternatively use three quotes to get one: >
|
Alternatively use three quotes to get one: >
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*pi_netrw.txt* For Vim version 8.0. Last change: 2016 Apr 20
|
*pi_netrw.txt* For Vim version 8.0. Last change: 2017 Nov 03
|
||||||
|
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
NETRW REFERENCE MANUAL by Charles E. Campbell
|
NETRW REFERENCE MANUAL by Charles E. Campbell
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
Author: Charles E. Campbell <NdrOchip@ScampbellPfamily.AbizM>
|
Author: Charles E. Campbell <NdrOchip@ScampbellPfamily.AbizM>
|
||||||
(remove NOSPAM from Campbell's email first)
|
(remove NOSPAM from Campbell's email first)
|
||||||
|
|
||||||
Copyright: Copyright (C) 2016 Charles E Campbell *netrw-copyright*
|
Copyright: Copyright (C) 2017 Charles E Campbell *netrw-copyright*
|
||||||
The VIM LICENSE applies to the files in this package, including
|
The VIM LICENSE applies to the files in this package, including
|
||||||
netrw.vim, pi_netrw.txt, netrwFileHandlers.vim, netrwSettings.vim, and
|
netrw.vim, pi_netrw.txt, netrwFileHandlers.vim, netrwSettings.vim, and
|
||||||
syntax/netrw.vim. Like anything else that's free, netrw.vim and its
|
syntax/netrw.vim. Like anything else that's free, netrw.vim and its
|
||||||
@@ -17,7 +17,6 @@ Copyright: Copyright (C) 2016 Charles E Campbell *netrw-copyright*
|
|||||||
holder be liable for any damages resulting from the use of this
|
holder be liable for any damages resulting from the use of this
|
||||||
software. Use at your own risk!
|
software. Use at your own risk!
|
||||||
|
|
||||||
|
|
||||||
*netrw*
|
*netrw*
|
||||||
*dav* *ftp* *netrw-file* *rcp* *scp*
|
*dav* *ftp* *netrw-file* *rcp* *scp*
|
||||||
*davs* *http* *netrw.vim* *rsync* *sftp*
|
*davs* *http* *netrw.vim* *rsync* *sftp*
|
||||||
@@ -73,7 +72,7 @@ Copyright: Copyright (C) 2016 Charles E Campbell *netrw-copyright*
|
|||||||
Improving Browsing..................................|netrw-ssh-hack|
|
Improving Browsing..................................|netrw-ssh-hack|
|
||||||
Listing Bookmarks And History.......................|netrw-qb|
|
Listing Bookmarks And History.......................|netrw-qb|
|
||||||
Making A New Directory..............................|netrw-d|
|
Making A New Directory..............................|netrw-d|
|
||||||
Making The Browsing Directory The Current Directory.|netrw-c|
|
Making The Browsing Directory The Current Directory.|netrw-cd|
|
||||||
Marking Files.......................................|netrw-mf|
|
Marking Files.......................................|netrw-mf|
|
||||||
Unmarking Files.....................................|netrw-mF|
|
Unmarking Files.....................................|netrw-mF|
|
||||||
Marking Files By Location List......................|netrw-qL|
|
Marking Files By Location List......................|netrw-qL|
|
||||||
@@ -83,6 +82,7 @@ Copyright: Copyright (C) 2016 Charles E Campbell *netrw-copyright*
|
|||||||
Marked Files: Arbitrary Shell Command, En Bloc......|netrw-mX|
|
Marked Files: Arbitrary Shell Command, En Bloc......|netrw-mX|
|
||||||
Marked Files: Arbitrary Vim Command.................|netrw-mv|
|
Marked Files: Arbitrary Vim Command.................|netrw-mv|
|
||||||
Marked Files: Argument List.........................|netrw-ma| |netrw-mA|
|
Marked Files: Argument List.........................|netrw-ma| |netrw-mA|
|
||||||
|
Marked Files: Buffer List...........................|netrw-cb| |netrw-cB|
|
||||||
Marked Files: Compression And Decompression.........|netrw-mz|
|
Marked Files: Compression And Decompression.........|netrw-mz|
|
||||||
Marked Files: Copying...............................|netrw-mc|
|
Marked Files: Copying...............................|netrw-mc|
|
||||||
Marked Files: Diff..................................|netrw-md|
|
Marked Files: Diff..................................|netrw-md|
|
||||||
@@ -155,7 +155,7 @@ Windows' ftp doesn't support .netrc; however, one may have in one's .vimrc: >
|
|||||||
|
|
||||||
let g:netrw_ftp_cmd= 'c:\Windows\System32\ftp -s:C:\Users\MyUserName\MACHINE'
|
let g:netrw_ftp_cmd= 'c:\Windows\System32\ftp -s:C:\Users\MyUserName\MACHINE'
|
||||||
<
|
<
|
||||||
Netrw will substitute the host's machine name for "MACHINE" from the url it is
|
Netrw will substitute the host's machine name for "MACHINE" from the URL it is
|
||||||
attempting to open, and so one may specify >
|
attempting to open, and so one may specify >
|
||||||
userid
|
userid
|
||||||
password
|
password
|
||||||
@@ -212,7 +212,7 @@ EXTERNAL APPLICATIONS AND PROTOCOLS *netrw-externapp* {{{2
|
|||||||
http: g:netrw_http_cmd = "fetch" elseif fetch is available
|
http: g:netrw_http_cmd = "fetch" elseif fetch is available
|
||||||
http: *g:netrw_http_put_cmd* = "curl -T"
|
http: *g:netrw_http_put_cmd* = "curl -T"
|
||||||
rcp: *g:netrw_rcp_cmd* = "rcp"
|
rcp: *g:netrw_rcp_cmd* = "rcp"
|
||||||
rsync: *g:netrw_rsync_cmd* = "rsync -a"
|
rsync: *g:netrw_rsync_cmd* = "rsync" (see |g:netrw_rsync_sep|)
|
||||||
scp: *g:netrw_scp_cmd* = "scp -q"
|
scp: *g:netrw_scp_cmd* = "scp -q"
|
||||||
sftp: *g:netrw_sftp_cmd* = "sftp"
|
sftp: *g:netrw_sftp_cmd* = "sftp"
|
||||||
file: *g:netrw_file_cmd* = "elinks" or "links"
|
file: *g:netrw_file_cmd* = "elinks" or "links"
|
||||||
@@ -223,7 +223,7 @@ EXTERNAL APPLICATIONS AND PROTOCOLS *netrw-externapp* {{{2
|
|||||||
|
|
||||||
elinks : "-source >"
|
elinks : "-source >"
|
||||||
links : "-dump >"
|
links : "-dump >"
|
||||||
curl : "-o"
|
curl : "-L -o"
|
||||||
wget : "-q -O"
|
wget : "-q -O"
|
||||||
fetch : "-o"
|
fetch : "-o"
|
||||||
<
|
<
|
||||||
@@ -238,7 +238,7 @@ EXTERNAL APPLICATIONS AND PROTOCOLS *netrw-externapp* {{{2
|
|||||||
|
|
||||||
READING *netrw-read* *netrw-nread* {{{2
|
READING *netrw-read* *netrw-nread* {{{2
|
||||||
|
|
||||||
Generally, one may just use the url notation with a normal editing
|
Generally, one may just use the URL notation with a normal editing
|
||||||
command, such as >
|
command, such as >
|
||||||
|
|
||||||
:e ftp://[user@]machine/path
|
:e ftp://[user@]machine/path
|
||||||
@@ -260,7 +260,7 @@ READING *netrw-read* *netrw-nread* {{{2
|
|||||||
|
|
||||||
WRITING *netrw-write* *netrw-nwrite* {{{2
|
WRITING *netrw-write* *netrw-nwrite* {{{2
|
||||||
|
|
||||||
One may just use the url notation with a normal file writing
|
One may just use the URL notation with a normal file writing
|
||||||
command, such as >
|
command, such as >
|
||||||
|
|
||||||
:w ftp://[user@]machine/path
|
:w ftp://[user@]machine/path
|
||||||
@@ -281,7 +281,7 @@ WRITING *netrw-write* *netrw-nwrite* {{{2
|
|||||||
|
|
||||||
SOURCING *netrw-source* {{{2
|
SOURCING *netrw-source* {{{2
|
||||||
|
|
||||||
One may just use the url notation with the normal file sourcing
|
One may just use the URL notation with the normal file sourcing
|
||||||
command, such as >
|
command, such as >
|
||||||
|
|
||||||
:so ftp://[user@]machine/path
|
:so ftp://[user@]machine/path
|
||||||
@@ -479,7 +479,7 @@ file using root-relative paths, use the full path:
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
4. Network-Oriented File Transfer *netrw-xfer* {{{1
|
4. Network-Oriented File Transfer *netrw-xfer* {{{1
|
||||||
|
|
||||||
Network-oriented file transfer under Vim is implemented by a VimL-based script
|
Network-oriented file transfer under Vim is implemented by a vim script
|
||||||
(<netrw.vim>) using plugin techniques. It currently supports both reading and
|
(<netrw.vim>) using plugin techniques. It currently supports both reading and
|
||||||
writing across networks using rcp, scp, ftp or ftp+<.netrc>, scp, fetch,
|
writing across networks using rcp, scp, ftp or ftp+<.netrc>, scp, fetch,
|
||||||
dav/cadaver, rsync, or sftp.
|
dav/cadaver, rsync, or sftp.
|
||||||
@@ -532,7 +532,7 @@ variable (ex. scp uses the variable g:netrw_scp_cmd, which is defaulted to
|
|||||||
let g:netrw_sftp_cmd= '"c:\Program Files\PuTTY\psftp.exe"'
|
let g:netrw_sftp_cmd= '"c:\Program Files\PuTTY\psftp.exe"'
|
||||||
<
|
<
|
||||||
(note: it has been reported that windows 7 with putty v0.6's "-batch" option
|
(note: it has been reported that windows 7 with putty v0.6's "-batch" option
|
||||||
doesn't work, so it's best to leave it off for that system)
|
doesn't work, so its best to leave it off for that system)
|
||||||
|
|
||||||
See |netrw-p8| for more about putty, pscp, psftp, etc.
|
See |netrw-p8| for more about putty, pscp, psftp, etc.
|
||||||
|
|
||||||
@@ -734,11 +734,11 @@ such as netrw.
|
|||||||
The usual read/write commands are supported. There are also a few
|
The usual read/write commands are supported. There are also a few
|
||||||
additional commands available. Often you won't need to use Nwrite or
|
additional commands available. Often you won't need to use Nwrite or
|
||||||
Nread as shown in |netrw-transparent| (ie. simply use >
|
Nread as shown in |netrw-transparent| (ie. simply use >
|
||||||
:e url
|
:e URL
|
||||||
:r url
|
:r URL
|
||||||
:w url
|
:w URL
|
||||||
instead, as appropriate) -- see |netrw-urls|. In the explanations
|
instead, as appropriate) -- see |netrw-urls|. In the explanations
|
||||||
below, a {netfile} is an url to a remote file.
|
below, a {netfile} is a URL to a remote file.
|
||||||
|
|
||||||
*:Nwrite* *:Nw*
|
*:Nwrite* *:Nw*
|
||||||
:[range]Nw[rite] Write the specified lines to the current
|
:[range]Nw[rite] Write the specified lines to the current
|
||||||
@@ -868,9 +868,11 @@ variables listed below, and may be modified by the user.
|
|||||||
g:netrw_http_cmd var ="fetch -o" if fetch is available
|
g:netrw_http_cmd var ="fetch -o" if fetch is available
|
||||||
g:netrw_http_cmd var ="wget -O" else if wget is available
|
g:netrw_http_cmd var ="wget -O" else if wget is available
|
||||||
g:netrw_http_put_cmd var ="curl -T"
|
g:netrw_http_put_cmd var ="curl -T"
|
||||||
|g:netrw_list_cmd| var ="ssh USEPORT HOSTNAME ls -Fa"
|
|g:netrw_list_cmd| var ="ssh USEPORT HOSTNAME ls -Fa"
|
||||||
g:netrw_rcp_cmd var ="rcp"
|
g:netrw_rcp_cmd var ="rcp"
|
||||||
g:netrw_rsync_cmd var ="rsync -a"
|
g:netrw_rsync_cmd var ="rsync"
|
||||||
|
*g:netrw_rsync_sep* var ="/" used to separate the hostname
|
||||||
|
from the file spec
|
||||||
g:netrw_scp_cmd var ="scp -q"
|
g:netrw_scp_cmd var ="scp -q"
|
||||||
g:netrw_sftp_cmd var ="sftp" >
|
g:netrw_sftp_cmd var ="sftp" >
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
@@ -1007,7 +1009,7 @@ where [protocol] is typically scp or ftp. As an example, try: >
|
|||||||
vim ftp://ftp.home.vim.org/pub/vim/
|
vim ftp://ftp.home.vim.org/pub/vim/
|
||||||
<
|
<
|
||||||
For local directories, the trailing slash is not required. Again, because it's
|
For local directories, the trailing slash is not required. Again, because it's
|
||||||
easy to miss: to browse remote directories, the url must terminate with a
|
easy to miss: to browse remote directories, the URL must terminate with a
|
||||||
slash!
|
slash!
|
||||||
|
|
||||||
If you'd like to avoid entering the password repeatedly for remote directory
|
If you'd like to avoid entering the password repeatedly for remote directory
|
||||||
@@ -1077,9 +1079,9 @@ QUICK REFERENCE: MAPS *netrw-browse-maps* {{{2
|
|||||||
<c-r> Browse using a gvim server |netrw-ctrl-r|
|
<c-r> Browse using a gvim server |netrw-ctrl-r|
|
||||||
<c-tab> Shrink/expand a netrw/explore window |netrw-c-tab|
|
<c-tab> Shrink/expand a netrw/explore window |netrw-c-tab|
|
||||||
- Makes Netrw go up one directory |netrw--|
|
- Makes Netrw go up one directory |netrw--|
|
||||||
a Toggles between normal display, |netrw-a|
|
a Cycles between normal display, |netrw-a|
|
||||||
hiding (suppress display of files matching g:netrw_list_hide)
|
hiding (suppress display of files matching g:netrw_list_hide)
|
||||||
showing (display only files which match g:netrw_list_hide)
|
and showing (display only files which match g:netrw_list_hide)
|
||||||
c Make browsing directory the current directory |netrw-c|
|
c Make browsing directory the current directory |netrw-c|
|
||||||
C Setting the editing window |netrw-C|
|
C Setting the editing window |netrw-C|
|
||||||
d Make a directory |netrw-d|
|
d Make a directory |netrw-d|
|
||||||
@@ -1090,6 +1092,7 @@ QUICK REFERENCE: MAPS *netrw-browse-maps* {{{2
|
|||||||
gh Quick hide/unhide of dot-files |netrw-gh|
|
gh Quick hide/unhide of dot-files |netrw-gh|
|
||||||
gn Make top of tree the directory below the cursor |netrw-gn|
|
gn Make top of tree the directory below the cursor |netrw-gn|
|
||||||
i Cycle between thin, long, wide, and tree listings |netrw-i|
|
i Cycle between thin, long, wide, and tree listings |netrw-i|
|
||||||
|
I Toggle the displaying of the banner |netrw-I|
|
||||||
mb Bookmark current directory |netrw-mb|
|
mb Bookmark current directory |netrw-mb|
|
||||||
mc Copy marked files to marked-file target directory |netrw-mc|
|
mc Copy marked files to marked-file target directory |netrw-mc|
|
||||||
md Apply diff to marked files (up to 3) |netrw-md|
|
md Apply diff to marked files (up to 3) |netrw-md|
|
||||||
@@ -1169,25 +1172,26 @@ QUICK REFERENCE: COMMANDS *netrw-explore-cmds* *netrw-browse-cmds* {{{2
|
|||||||
|
|
||||||
BANNER DISPLAY *netrw-I*
|
BANNER DISPLAY *netrw-I*
|
||||||
|
|
||||||
One may toggle the banner display on and off by pressing "I".
|
One may toggle the displaying of the banner by pressing "I".
|
||||||
|
|
||||||
Also See: |g:netrw_banner|
|
Also See: |g:netrw_banner|
|
||||||
|
|
||||||
|
|
||||||
BOOKMARKING A DIRECTORY *netrw-mb* *netrw-bookmark* *netrw-bookmarks* {{{2
|
BOOKMARKING A DIRECTORY *netrw-mb* *netrw-bookmark* *netrw-bookmarks* {{{2
|
||||||
|
|
||||||
One may easily "bookmark" the currently browsed directory by using >
|
One may easily "bookmark" the currently browsed directory by using >
|
||||||
|
|
||||||
mb
|
mb
|
||||||
<
|
<
|
||||||
*.netrwbook*
|
*.netrwbook*
|
||||||
Bookmarks are retained in between sessions in a $HOME/.netrwbook file, and are
|
Bookmarks are retained in between sessions of vim in a file called .netrwbook
|
||||||
kept in sorted order.
|
as a |List|, which is typically stored in the first directory on the user's
|
||||||
|
'|runtimepath|'; entries are kept in sorted order.
|
||||||
|
|
||||||
If there are marked files and/or directories, mb will add them to the bookmark
|
If there are marked files and/or directories, mb will add them to the bookmark
|
||||||
list.
|
list.
|
||||||
|
|
||||||
*netrw-:NetrwMB*
|
*netrw-:NetrwMB*
|
||||||
Addtionally, one may use :NetrwMB to bookmark files or directories. >
|
Addtionally, one may use :NetrwMB to bookmark files or directories. >
|
||||||
|
|
||||||
:NetrwMB[!] [files/directories]
|
:NetrwMB[!] [files/directories]
|
||||||
@@ -1206,7 +1210,7 @@ The :NetrwMB command is available outside of netrw buffers (once netrw has been
|
|||||||
invoked in the session).
|
invoked in the session).
|
||||||
|
|
||||||
The file ".netrwbook" holds bookmarks when netrw (and vim) is not active. By
|
The file ".netrwbook" holds bookmarks when netrw (and vim) is not active. By
|
||||||
default, it's stored on the first directory on the user's |'runtimepath'|.
|
default, its stored on the first directory on the user's |'runtimepath'|.
|
||||||
|
|
||||||
Related Topics:
|
Related Topics:
|
||||||
|netrw-gb| how to return (go) to a bookmark
|
|netrw-gb| how to return (go) to a bookmark
|
||||||
@@ -1418,20 +1422,20 @@ Related Topics:
|
|||||||
|
|
||||||
CHANGING TO A PREDECESSOR DIRECTORY *netrw-u* *netrw-updir* {{{2
|
CHANGING TO A PREDECESSOR DIRECTORY *netrw-u* *netrw-updir* {{{2
|
||||||
|
|
||||||
Every time you change to a new directory (new for the current session),
|
Every time you change to a new directory (new for the current session), netrw
|
||||||
netrw will save the directory in a recently-visited directory history
|
will save the directory in a recently-visited directory history list (unless
|
||||||
list (unless |g:netrw_dirhistmax| is zero; by default, it's ten). With the
|
|g:netrw_dirhistmax| is zero; by default, it holds ten entries). With the "u"
|
||||||
"u" map, one can change to an earlier directory (predecessor). To do
|
map, one can change to an earlier directory (predecessor). To do the
|
||||||
the opposite, see |netrw-U|.
|
opposite, see |netrw-U|.
|
||||||
|
|
||||||
The "u" map also accepts counts to go back in the history several slots.
|
The "u" map also accepts counts to go back in the history several slots. For
|
||||||
For your convenience, qb (see |netrw-qb|) lists the history number which may
|
your convenience, qb (see |netrw-qb|) lists the history number which may be
|
||||||
be used in that count.
|
used in that count.
|
||||||
|
|
||||||
*.netrwhist*
|
*.netrwhist*
|
||||||
See |g:netrw_dirhistmax| for how to control the quantity of history stack
|
See |g:netrw_dirhistmax| for how to control the quantity of history stack
|
||||||
slots. The file ".netrwhist" holds history when netrw (and vim) is not
|
slots. The file ".netrwhist" holds history when netrw (and vim) is not
|
||||||
active. By default, it's stored on the first directory on the user's
|
active. By default, its stored on the first directory on the user's
|
||||||
|'runtimepath'|.
|
|'runtimepath'|.
|
||||||
|
|
||||||
Related Topics:
|
Related Topics:
|
||||||
@@ -1467,10 +1471,10 @@ changing the top of the tree listing.
|
|||||||
|
|
||||||
NETRW CLEAN *netrw-clean* *:NetrwClean* {{{2
|
NETRW CLEAN *netrw-clean* *:NetrwClean* {{{2
|
||||||
|
|
||||||
With NetrwClean one may easily remove netrw from one's home directory;
|
With :NetrwClean one may easily remove netrw from one's home directory;
|
||||||
more precisely, from the first directory on your |'runtimepath'|.
|
more precisely, from the first directory on your |'runtimepath'|.
|
||||||
|
|
||||||
With NetrwClean!, netrw will attempt to remove netrw from all directories on
|
With :NetrwClean!, netrw will attempt to remove netrw from all directories on
|
||||||
your |'runtimepath'|. Of course, you have to have write/delete permissions
|
your |'runtimepath'|. Of course, you have to have write/delete permissions
|
||||||
correct to do this.
|
correct to do this.
|
||||||
|
|
||||||
@@ -1502,7 +1506,7 @@ Netrw determines which special handler by the following method:
|
|||||||
If g:netrw_browsex_viewer == '-', then netrwFileHandlers#Invoke() will be
|
If g:netrw_browsex_viewer == '-', then netrwFileHandlers#Invoke() will be
|
||||||
used instead (see |netrw_filehandler|).
|
used instead (see |netrw_filehandler|).
|
||||||
|
|
||||||
* for Windows 32 or 64, the url and FileProtocolHandler dlls are used.
|
* for Windows 32 or 64, the URL and FileProtocolHandler dlls are used.
|
||||||
* for Gnome (with gnome-open): gnome-open is used.
|
* for Gnome (with gnome-open): gnome-open is used.
|
||||||
* for KDE (with kfmclient) : kfmclient is used
|
* for KDE (with kfmclient) : kfmclient is used
|
||||||
* for Mac OS X : open is used.
|
* for Mac OS X : open is used.
|
||||||
@@ -1518,9 +1522,10 @@ will apply a special handler to it (like "x" works when in a netrw buffer).
|
|||||||
One may also use visual mode (see |visual-start|) to select the text that the
|
One may also use visual mode (see |visual-start|) to select the text that the
|
||||||
special handler will use. Normally gx uses expand("<cfile>") to pick up the
|
special handler will use. Normally gx uses expand("<cfile>") to pick up the
|
||||||
text under the cursor; one may change what |expand()| uses via the
|
text under the cursor; one may change what |expand()| uses via the
|
||||||
|g:netrw_gx| variable. Alternatively, one may select the text to be used by
|
|g:netrw_gx| variable (options include "<cword>", "<cWORD>"). Note that
|
||||||
gx via first making a visual selection (see |visual-block|) or by changing
|
expand("<cfile>") depends on the |'isfname'| setting. Alternatively, one may
|
||||||
the |'isfname'| option (which is global, so netrw doesn't modify it).
|
select the text to be used by gx by making a visual selection (see
|
||||||
|
|visual-block|) and then pressing gx.
|
||||||
|
|
||||||
Associated setting variables:
|
Associated setting variables:
|
||||||
|g:netrw_gx| control how gx picks up the text under the cursor
|
|g:netrw_gx| control how gx picks up the text under the cursor
|
||||||
@@ -1612,6 +1617,11 @@ A further approach is to delete files which match a pattern.
|
|||||||
This will cause the matching files to be marked. Then,
|
This will cause the matching files to be marked. Then,
|
||||||
press "D".
|
press "D".
|
||||||
|
|
||||||
|
If your vim has 7.4 with patch#1107, then |g:netrw_localrmdir| no longer
|
||||||
|
is used to remove directories; instead, vim's |delete()| is used with
|
||||||
|
the "d" option. Please note that only empty directories may be deleted
|
||||||
|
with the "D" mapping. Regular files are deleted with |delete()|, too.
|
||||||
|
|
||||||
The |g:netrw_rm_cmd|, |g:netrw_rmf_cmd|, and |g:netrw_rmdir_cmd| variables are
|
The |g:netrw_rm_cmd|, |g:netrw_rmf_cmd|, and |g:netrw_rmdir_cmd| variables are
|
||||||
used to control the attempts to remove remote files and directories. The
|
used to control the attempts to remove remote files and directories. The
|
||||||
g:netrw_rm_cmd is used with files, and its default value is:
|
g:netrw_rm_cmd is used with files, and its default value is:
|
||||||
@@ -1675,17 +1685,18 @@ DIRECTORY EXPLORATION COMMANDS {{{2
|
|||||||
The [N] specifies a |g:netrw_winsize| just for the new :Lexplore
|
The [N] specifies a |g:netrw_winsize| just for the new :Lexplore
|
||||||
window.
|
window.
|
||||||
|
|
||||||
Those who like this method often also often like tree style displays;
|
Those who like this method often also like tree style displays;
|
||||||
see |g:netrw_liststyle|.
|
see |g:netrw_liststyle|.
|
||||||
|
|
||||||
|
:[N]Lexplore! [dir] is similar to :Lexplore, except that the full-height
|
||||||
|
Explorer window will open on the right hand side and an
|
||||||
|
uninitialized |g:netrw_chgwin| will be set to 1 (eg. edits will
|
||||||
|
preferentially occur in the leftmost window).
|
||||||
|
|
||||||
Also see: |netrw-C| |g:netrw_browse_split| |g:netrw_wiw|
|
Also see: |netrw-C| |g:netrw_browse_split| |g:netrw_wiw|
|
||||||
|netrw-p| |netrw-P| |g:netrw_chgwin|
|
|netrw-p| |netrw-P| |g:netrw_chgwin|
|
||||||
|netrw-c-tab| |g:netrw_winsize|
|
|netrw-c-tab| |g:netrw_winsize|
|
||||||
|
|
||||||
:[N]Lexplore! is like :Lexplore, except that the full-height Explorer window
|
|
||||||
will open on the right hand side and an uninitialized |g:netrw_chgwin|
|
|
||||||
will be set to 1.
|
|
||||||
|
|
||||||
*netrw-:Sexplore*
|
*netrw-:Sexplore*
|
||||||
:[N]Sexplore will always split the window before invoking the local-directory
|
:[N]Sexplore will always split the window before invoking the local-directory
|
||||||
browser. As with Explore, the splitting is normally done
|
browser. As with Explore, the splitting is normally done
|
||||||
@@ -1847,9 +1858,11 @@ EXECUTING FILE UNDER CURSOR VIA SYSTEM() *netrw-X* {{{2
|
|||||||
|
|
||||||
Pressing X while the cursor is atop an executable file will yield a prompt
|
Pressing X while the cursor is atop an executable file will yield a prompt
|
||||||
using the filename asking for any arguments. Upon pressing a [return], netrw
|
using the filename asking for any arguments. Upon pressing a [return], netrw
|
||||||
will then call |system()| with that command and arguments. The result will
|
will then call |system()| with that command and arguments. The result will be
|
||||||
be displayed by |:echomsg|, and so |:messages| will repeat display of the
|
displayed by |:echomsg|, and so |:messages| will repeat display of the result.
|
||||||
result. Ansi escape sequences will be stripped out.
|
Ansi escape sequences will be stripped out.
|
||||||
|
|
||||||
|
See |cmdline-window| for directions for more on how to edit the arguments.
|
||||||
|
|
||||||
|
|
||||||
FORCING TREATMENT AS A FILE OR DIRECTORY *netrw-gd* *netrw-gf* {{{2
|
FORCING TREATMENT AS A FILE OR DIRECTORY *netrw-gd* *netrw-gf* {{{2
|
||||||
@@ -2072,7 +2085,7 @@ Associated setting variables: |g:netrw_localmkdir| |g:netrw_mkdir_cmd|
|
|||||||
|g:netrw_remote_mkdir| |netrw-%|
|
|g:netrw_remote_mkdir| |netrw-%|
|
||||||
|
|
||||||
|
|
||||||
MAKING THE BROWSING DIRECTORY THE CURRENT DIRECTORY *netrw-c* {{{2
|
MAKING THE BROWSING DIRECTORY THE CURRENT DIRECTORY *netrw-cd* {{{2
|
||||||
|
|
||||||
By default, |g:netrw_keepdir| is 1. This setting means that the current
|
By default, |g:netrw_keepdir| is 1. This setting means that the current
|
||||||
directory will not track the browsing directory. (done for backwards
|
directory will not track the browsing directory. (done for backwards
|
||||||
@@ -2087,6 +2100,9 @@ the two directories the same, use the "c" map (just type c). That map will
|
|||||||
set Vim's notion of the current directory to netrw's current browsing
|
set Vim's notion of the current directory to netrw's current browsing
|
||||||
directory.
|
directory.
|
||||||
|
|
||||||
|
*netrw-c* : This map's name has been changed from "c" to cd (see |netrw-cd|).
|
||||||
|
This change was done to allow for |netrw-cb| and |netrw-cB| maps.
|
||||||
|
|
||||||
Associated setting variable: |g:netrw_keepdir|
|
Associated setting variable: |g:netrw_keepdir|
|
||||||
|
|
||||||
MARKING FILES *netrw-:MF* *netrw-mf* {{{2
|
MARKING FILES *netrw-:MF* *netrw-mf* {{{2
|
||||||
@@ -2131,6 +2147,7 @@ The following netrw maps make use of marked files:
|
|||||||
|netrw-mg| Apply vimgrep to marked files
|
|netrw-mg| Apply vimgrep to marked files
|
||||||
|netrw-mm| Move marked files to target
|
|netrw-mm| Move marked files to target
|
||||||
|netrw-mp| Print marked files
|
|netrw-mp| Print marked files
|
||||||
|
|netrw-ms| Netrw will source marked files
|
||||||
|netrw-mt| Set target for |netrw-mm| and |netrw-mc|
|
|netrw-mt| Set target for |netrw-mm| and |netrw-mc|
|
||||||
|netrw-mT| Generate tags using marked files
|
|netrw-mT| Generate tags using marked files
|
||||||
|netrw-mv| Apply vim command to marked files
|
|netrw-mv| Apply vim command to marked files
|
||||||
@@ -2205,6 +2222,9 @@ converts "*" into ".*" (see |regexp|) and marks files based on that. In the
|
|||||||
future I may make it possible to use |regexp|s instead of glob()-style
|
future I may make it possible to use |regexp|s instead of glob()-style
|
||||||
expressions (yet-another-option).
|
expressions (yet-another-option).
|
||||||
|
|
||||||
|
See |cmdline-window| for directions on more on how to edit the regular
|
||||||
|
expression.
|
||||||
|
|
||||||
|
|
||||||
MARKED FILES, ARBITRARY VIM COMMAND *netrw-mv* {{{2
|
MARKED FILES, ARBITRARY VIM COMMAND *netrw-mv* {{{2
|
||||||
(See |netrw-mf| and |netrw-mr| for how to mark files)
|
(See |netrw-mf| and |netrw-mr| for how to mark files)
|
||||||
@@ -2218,8 +2238,9 @@ the local marked file list, individually:
|
|||||||
* run vim command
|
* run vim command
|
||||||
* sil! keepalt wq!
|
* sil! keepalt wq!
|
||||||
|
|
||||||
A prompt, "Enter vim command: ", will be issued to elicit the vim command
|
A prompt, "Enter vim command: ", will be issued to elicit the vim command you
|
||||||
you wish used.
|
wish used. See |cmdline-window| for directions for more on how to edit the
|
||||||
|
command.
|
||||||
|
|
||||||
|
|
||||||
MARKED FILES, ARBITRARY SHELL COMMAND *netrw-mx* {{{2
|
MARKED FILES, ARBITRARY SHELL COMMAND *netrw-mx* {{{2
|
||||||
@@ -2270,7 +2291,17 @@ MARKED FILES: ARGUMENT LIST *netrw-ma* *netrw-mA*
|
|||||||
Using ma, one moves filenames from the marked file list to the argument list.
|
Using ma, one moves filenames from the marked file list to the argument list.
|
||||||
Using mA, one moves filenames from the argument list to the marked file list.
|
Using mA, one moves filenames from the argument list to the marked file list.
|
||||||
|
|
||||||
See Also: |netrw-qF| |argument-list| |:args|
|
See Also: |netrw-cb| |netrw-cB| |netrw-qF| |argument-list| |:args|
|
||||||
|
|
||||||
|
|
||||||
|
MARKED FILES: BUFFER LIST *netrw-cb* *netrw-cB*
|
||||||
|
(See |netrw-mf| and |netrw-mr| for how to mark files)
|
||||||
|
(uses the global marked-file list)
|
||||||
|
|
||||||
|
Using cb, one moves filenames from the marked file list to the buffer list.
|
||||||
|
Using cB, one copies filenames from the buffer list to the marked file list.
|
||||||
|
|
||||||
|
See Also: |netrw-ma| |netrw-mA| |netrw-qF| |buffer-list| |:buffers|
|
||||||
|
|
||||||
|
|
||||||
MARKED FILES: COMPRESSION AND DECOMPRESSION *netrw-mz* {{{2
|
MARKED FILES: COMPRESSION AND DECOMPRESSION *netrw-mz* {{{2
|
||||||
@@ -2306,8 +2337,8 @@ One may also copy directories and their contents (local only) to a target
|
|||||||
directory.
|
directory.
|
||||||
|
|
||||||
Associated setting variables:
|
Associated setting variables:
|
||||||
|g:netrw_localcopycmd|
|
|g:netrw_localcopycmd| |g:netrw_localcopycmdopt|
|
||||||
|g:netrw_localcopydircmd|
|
|g:netrw_localcopydircmd| |g:netrw_localcopydircmdopt|
|
||||||
|g:netrw_ssh_cmd|
|
|g:netrw_ssh_cmd|
|
||||||
|
|
||||||
MARKED FILES: DIFF *netrw-md* {{{2
|
MARKED FILES: DIFF *netrw-md* {{{2
|
||||||
@@ -2452,8 +2483,8 @@ When a remote set of files are tagged, the resulting tags file is "obtained";
|
|||||||
ie. a copy is transferred to the local system's directory. The now local tags
|
ie. a copy is transferred to the local system's directory. The now local tags
|
||||||
file is then modified so that one may use it through the network. The
|
file is then modified so that one may use it through the network. The
|
||||||
modification made concerns the names of the files in the tags; each filename is
|
modification made concerns the names of the files in the tags; each filename is
|
||||||
preceded by the netrw-compatible url used to obtain it. When one subsequently
|
preceded by the netrw-compatible URL used to obtain it. When one subsequently
|
||||||
uses one of the go to tag actions (|tags|), the url will be used by netrw to
|
uses one of the go to tag actions (|tags|), the URL will be used by netrw to
|
||||||
edit the desired file and go to the tag.
|
edit the desired file and go to the tag.
|
||||||
|
|
||||||
Associated setting variables: |g:netrw_ctags| |g:netrw_ssh_cmd|
|
Associated setting variables: |g:netrw_ctags| |g:netrw_ssh_cmd|
|
||||||
@@ -2555,8 +2586,8 @@ your browsing preferences. (see also: |netrw-settings|)
|
|||||||
editing. It will also use the specified tab
|
editing. It will also use the specified tab
|
||||||
and window numbers to perform editing
|
and window numbers to perform editing
|
||||||
(see |clientserver|, |netrw-ctrl-r|)
|
(see |clientserver|, |netrw-ctrl-r|)
|
||||||
This option does not affect |:Lexplore|
|
This option does not affect the production of
|
||||||
windows.
|
|:Lexplore| windows.
|
||||||
|
|
||||||
Related topics:
|
Related topics:
|
||||||
|g:netrw_alto| |g:netrw_altv|
|
|g:netrw_alto| |g:netrw_altv|
|
||||||
@@ -2715,6 +2746,7 @@ your browsing preferences. (see also: |netrw-settings|)
|
|||||||
*g:netrw_home* The home directory for where bookmarks and
|
*g:netrw_home* The home directory for where bookmarks and
|
||||||
history are saved (as .netrwbook and
|
history are saved (as .netrwbook and
|
||||||
.netrwhist).
|
.netrwhist).
|
||||||
|
Netrw uses |expand()|on the string.
|
||||||
default: the first directory on the
|
default: the first directory on the
|
||||||
|'runtimepath'|
|
|'runtimepath'|
|
||||||
|
|
||||||
@@ -2735,7 +2767,7 @@ your browsing preferences. (see also: |netrw-settings|)
|
|||||||
default: (if ssh is executable)
|
default: (if ssh is executable)
|
||||||
"ssh HOSTNAME ls -FLa"
|
"ssh HOSTNAME ls -FLa"
|
||||||
|
|
||||||
*g:netrw_list_cmd_options* If this variable exists, then its contents are
|
*g:netrw_list_cmd_options* If this variable exists, then its contents are
|
||||||
appended to the g:netrw_list_cmd. For
|
appended to the g:netrw_list_cmd. For
|
||||||
example, use "2>/dev/null" to get rid of banner
|
example, use "2>/dev/null" to get rid of banner
|
||||||
messages on unix systems.
|
messages on unix systems.
|
||||||
@@ -2761,26 +2793,52 @@ your browsing preferences. (see also: |netrw-settings|)
|
|||||||
let g:netrw_list_hide= netrw_gitignore#Hide().'.*\.swp$'
|
let g:netrw_list_hide= netrw_gitignore#Hide().'.*\.swp$'
|
||||||
default: ""
|
default: ""
|
||||||
|
|
||||||
*g:netrw_localcopycmd* ="cp" Linux/Unix/MacOS/Cygwin
|
*g:netrw_localcopycmd* ="cp" Linux/Unix/MacOS/Cygwin
|
||||||
="copy" Windows
|
=expand("$COMSPEC") Windows
|
||||||
Copies marked files (|netrw-mf|) to target
|
Copies marked files (|netrw-mf|) to target
|
||||||
directory (|netrw-mt|, |netrw-mc|)
|
directory (|netrw-mt|, |netrw-mc|)
|
||||||
|
|
||||||
*g:netrw_localcopydircmd* ="cp -R" Linux/Unix/MacOS/Cygwin
|
*g:netrw_localcopycmdopt* ='' Linux/Unix/MacOS/Cygwin
|
||||||
="xcopy /e /c /h/ /i /k" Windows
|
=' \c copy' Windows
|
||||||
|
Options for the |g:netrw_localcopycmd|
|
||||||
|
|
||||||
|
*g:netrw_localcopydircmd* ="cp" Linux/Unix/MacOS/Cygwin
|
||||||
|
=expand("$COMSPEC") Windows
|
||||||
Copies directories to target directory.
|
Copies directories to target directory.
|
||||||
(|netrw-mc|, |netrw-mt|)
|
(|netrw-mc|, |netrw-mt|)
|
||||||
|
|
||||||
*g:netrw_localmkdir* command for making a local directory
|
*g:netrw_localcopydircmdopt* =" -R" Linux/Unix/MacOS/Cygwin
|
||||||
default: "mkdir"
|
=" /c xcopy /e /c /h/ /i /k" Windows
|
||||||
|
Options for |g:netrw_localcopydircmd|
|
||||||
|
|
||||||
*g:netrw_localmovecmd* ="mv" Linux/Unix/MacOS/Cygwin
|
*g:netrw_localmkdir* ="mkdir" Linux/Unix/MacOS/Cygwin
|
||||||
="move" Windows
|
=expand("$COMSPEC") Windows
|
||||||
|
command for making a local directory
|
||||||
|
|
||||||
|
*g:netrw_localmkdiropt* ="" Linux/Unix/MacOS/Cygwin
|
||||||
|
=" /c mkdir" Windows
|
||||||
|
Options for |g:netrw_localmkdir|
|
||||||
|
|
||||||
|
*g:netrw_localmovecmd* ="mv" Linux/Unix/MacOS/Cygwin
|
||||||
|
=expand("$COMSPEC") Windows
|
||||||
Moves marked files (|netrw-mf|) to target
|
Moves marked files (|netrw-mf|) to target
|
||||||
directory (|netrw-mt|, |netrw-mm|)
|
directory (|netrw-mt|, |netrw-mm|)
|
||||||
|
|
||||||
*g:netrw_localrmdir* remove directory command (rmdir)
|
*g:netrw_localmovecmdopt* ="" Linux/Unix/MacOS/Cygwin
|
||||||
default: "rmdir"
|
=" /c move" Windows
|
||||||
|
Options for |g:netrw_localmovecmd|
|
||||||
|
|
||||||
|
*g:netrw_localrmdir* ="rmdir" Linux/Unix/MacOS/Cygwin
|
||||||
|
=expand("$COMSPEC") Windows
|
||||||
|
Remove directory command (rmdir)
|
||||||
|
This variable is only used if your vim is
|
||||||
|
earlier than 7.4 or if your vim doesn't
|
||||||
|
have patch#1107. Otherwise, |delete()|
|
||||||
|
is used with the "d" option.
|
||||||
|
|
||||||
|
*g:netrw_localrmdiropt* ="" Linux/Unix/MacOS/Cygwin
|
||||||
|
=" /c rmdir" Windows
|
||||||
|
Options for |g:netrw_localrmdir|
|
||||||
|
|
||||||
*g:netrw_maxfilenamelen* =32 by default, selected so as to make long
|
*g:netrw_maxfilenamelen* =32 by default, selected so as to make long
|
||||||
listings fit on 80 column displays.
|
listings fit on 80 column displays.
|
||||||
@@ -2893,17 +2951,23 @@ your browsing preferences. (see also: |netrw-settings|)
|
|||||||
netrwTilde : *
|
netrwTilde : *
|
||||||
netrwTmp : tmp* *tmp
|
netrwTmp : tmp* *tmp
|
||||||
|
|
||||||
These syntax highlighting groups are linked
|
In addition, those groups mentioned in
|
||||||
to Folded or DiffChange by default
|
|'suffixes'| are also added to the special
|
||||||
(see |hl-Folded| and |hl-DiffChange|), but
|
file highlighting group.
|
||||||
one may put lines like >
|
These syntax highlighting groups are linked
|
||||||
|
to netrwGray or Folded by default
|
||||||
|
(see |hl-Folded|), but one may put lines like >
|
||||||
hi link netrwCompress Visual
|
hi link netrwCompress Visual
|
||||||
< into one's <.vimrc> to use one's own
|
< into one's <.vimrc> to use one's own
|
||||||
preferences. Alternatively, one may
|
preferences. Alternatively, one may
|
||||||
put such specifications into
|
put such specifications into >
|
||||||
.vim/after/syntax/netrw.vim.
|
.vim/after/syntax/netrw.vim.
|
||||||
|
< The netrwGray highlighting is set up by
|
||||||
As an example, I myself use a dark-background
|
netrw when >
|
||||||
|
* netrwGray has not been previously
|
||||||
|
defined
|
||||||
|
* the gui is running
|
||||||
|
< As an example, I myself use a dark-background
|
||||||
colorscheme with the following in
|
colorscheme with the following in
|
||||||
.vim/after/syntax/netrw.vim: >
|
.vim/after/syntax/netrw.vim: >
|
||||||
|
|
||||||
@@ -3138,8 +3202,8 @@ If there are no marked files: (see |netrw-mf|)
|
|||||||
|
|
||||||
Renaming files and directories involves moving the cursor to the
|
Renaming files and directories involves moving the cursor to the
|
||||||
file/directory to be moved (renamed) and pressing "R". You will then be
|
file/directory to be moved (renamed) and pressing "R". You will then be
|
||||||
queried for what you want the file/directory to be renamed to You may select
|
queried for what you want the file/directory to be renamed to. You may
|
||||||
a range of lines with the "V" command (visual selection), and then
|
select a range of lines with the "V" command (visual selection), and then
|
||||||
press "R"; you will be queried for each file as to what you want it
|
press "R"; you will be queried for each file as to what you want it
|
||||||
renamed to.
|
renamed to.
|
||||||
|
|
||||||
@@ -3171,16 +3235,20 @@ If there are marked files: (see |netrw-mf|)
|
|||||||
|
|
||||||
Note that moving files is a dangerous operation; copies are safer. That's
|
Note that moving files is a dangerous operation; copies are safer. That's
|
||||||
because a "move" for remote files is actually a copy + delete -- and if
|
because a "move" for remote files is actually a copy + delete -- and if
|
||||||
the copy fails and the delete does not, you may lose the file.
|
the copy fails and the delete succeeds you may lose the file.
|
||||||
Use at your own risk.
|
Use at your own risk.
|
||||||
|
|
||||||
The g:netrw_rename_cmd variable is used to implement remote renaming. By
|
The *g:netrw_rename_cmd* variable is used to implement remote renaming. By
|
||||||
default its value is:
|
default its value is: >
|
||||||
|
|
||||||
ssh HOSTNAME mv
|
ssh HOSTNAME mv
|
||||||
|
<
|
||||||
One may rename a block of files and directories by selecting them with
|
One may rename a block of files and directories by selecting them with
|
||||||
V (|linewise-visual|) when using thin style
|
V (|linewise-visual|) when using thin style.
|
||||||
|
|
||||||
|
See |cmdline-editing| for more on how to edit the command line; in particular,
|
||||||
|
you'll find <ctrl-f> (initiates cmdline window editing) and <ctrl-c> (uses the
|
||||||
|
command line under the cursor) useful in conjunction with the R command.
|
||||||
|
|
||||||
|
|
||||||
SELECTING SORTING STYLE *netrw-s* *netrw-sort* {{{2
|
SELECTING SORTING STYLE *netrw-s* *netrw-sort* {{{2
|
||||||
@@ -3201,8 +3269,8 @@ number. Subsequent selection of a file to edit (|netrw-cr|) will use that
|
|||||||
window.
|
window.
|
||||||
|
|
||||||
* C : by itself, will select the current window holding a netrw buffer
|
* C : by itself, will select the current window holding a netrw buffer
|
||||||
for editing via |netrw-cr|. The C mapping is only available while in
|
for subsequent editing via |netrw-cr|. The C mapping is only available
|
||||||
netrw buffers.
|
while in netrw buffers.
|
||||||
|
|
||||||
* [count]C : the count will be used as the window number to be used
|
* [count]C : the count will be used as the window number to be used
|
||||||
for subsequent editing via |netrw-cr|.
|
for subsequent editing via |netrw-cr|.
|
||||||
@@ -3215,7 +3283,7 @@ window.
|
|||||||
Using >
|
Using >
|
||||||
let g:netrw_chgwin= -1
|
let g:netrw_chgwin= -1
|
||||||
will restore the default editing behavior
|
will restore the default editing behavior
|
||||||
(ie. editing will use the current window).
|
(ie. subsequent editing will use the current window).
|
||||||
|
|
||||||
Related topics: |netrw-cr| |g:netrw_browse_split|
|
Related topics: |netrw-cr| |g:netrw_browse_split|
|
||||||
Associated setting variables: |g:netrw_chgwin|
|
Associated setting variables: |g:netrw_chgwin|
|
||||||
@@ -3236,9 +3304,9 @@ only if your terminal supports differentiating <c-tab> from a plain
|
|||||||
|
|
||||||
* Else bring up a |:Lexplore| window
|
* Else bring up a |:Lexplore| window
|
||||||
|
|
||||||
If |g:netrw_usetab| exists or is zero, or if there is a pre-existing mapping
|
If |g:netrw_usetab| exists and is zero, or if there is a pre-existing mapping
|
||||||
for <c-tab>, then the <c-tab> will not be mapped. One may map something other
|
for <c-tab>, then the <c-tab> will not be mapped. One may map something other
|
||||||
than a <c-tab>, too: (but you'll still need to have had g:netrw_usetab set) >
|
than a <c-tab>, too: (but you'll still need to have had |g:netrw_usetab| set). >
|
||||||
|
|
||||||
nmap <unique> (whatever) <Plug>NetrwShrink
|
nmap <unique> (whatever) <Plug>NetrwShrink
|
||||||
<
|
<
|
||||||
@@ -3271,9 +3339,10 @@ The user function is passed one argument; it resembles >
|
|||||||
|
|
||||||
fun! ExampleUserMapFunc(islocal)
|
fun! ExampleUserMapFunc(islocal)
|
||||||
<
|
<
|
||||||
where a:islocal is 1 if it's a local-directory system call or 0 when
|
where a:islocal is 1 if its a local-directory system call or 0 when
|
||||||
remote-directory system call.
|
remote-directory system call.
|
||||||
|
|
||||||
|
*netrw-call* *netrw-expose* *netrw-modify*
|
||||||
Use netrw#Expose("varname") to access netrw-internal (script-local)
|
Use netrw#Expose("varname") to access netrw-internal (script-local)
|
||||||
variables.
|
variables.
|
||||||
Use netrw#Modify("varname",newvalue) to change netrw-internal variables.
|
Use netrw#Modify("varname",newvalue) to change netrw-internal variables.
|
||||||
@@ -3595,7 +3664,7 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
|||||||
|
|
||||||
*netrw-p16*
|
*netrw-p16*
|
||||||
P16. When editing remote files (ex. :e ftp://hostname/path/file),
|
P16. When editing remote files (ex. :e ftp://hostname/path/file),
|
||||||
under Windows I get an |E303| message complaining that it's unable
|
under Windows I get an |E303| message complaining that its unable
|
||||||
to open a swap file.
|
to open a swap file.
|
||||||
|
|
||||||
(romainl) It looks like you are starting Vim from a protected
|
(romainl) It looks like you are starting Vim from a protected
|
||||||
@@ -3649,7 +3718,7 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
|||||||
P21. I've made a directory (or file) with an accented character, but
|
P21. I've made a directory (or file) with an accented character, but
|
||||||
netrw isn't letting me enter that directory/read that file:
|
netrw isn't letting me enter that directory/read that file:
|
||||||
|
|
||||||
It's likely that the shell or o/s is using a different encoding
|
Its likely that the shell or o/s is using a different encoding
|
||||||
than you have vim (netrw) using. A patch to vim supporting
|
than you have vim (netrw) using. A patch to vim supporting
|
||||||
"systemencoding" may address this issue in the future; for
|
"systemencoding" may address this issue in the future; for
|
||||||
now, just have netrw use the proper encoding. For example: >
|
now, just have netrw use the proper encoding. For example: >
|
||||||
@@ -3765,6 +3834,102 @@ netrw:
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
12. History *netrw-history* {{{1
|
12. History *netrw-history* {{{1
|
||||||
|
|
||||||
|
v162: Sep 19, 2016 * (haya14busa) pointed out two syntax errors
|
||||||
|
with a patch; these are now fixed.
|
||||||
|
Oct 26, 2016 * I started using mate-terminal and found that
|
||||||
|
x and gx (|netrw-x| and |netrw-gx|) were no
|
||||||
|
longer working. Fixed (using atril when
|
||||||
|
$DESKTOP_SESSION is "mate").
|
||||||
|
Nov 04, 2016 * (Martin Vuille) pointed out that @+ was
|
||||||
|
being restored with keepregstar rather than
|
||||||
|
keepregplus.
|
||||||
|
Nov 09, 2016 * Broke apart the command from the options,
|
||||||
|
mostly for Windows. Introduced new netrw
|
||||||
|
settings: |g:netrw_localcopycmdopt|
|
||||||
|
|g:netrw_localcopydircmdopt| |g:netrw_localmkdiropt|
|
||||||
|
|g:netrw_localmovecmdopt| |g:netrw_localrmdiropt|
|
||||||
|
Nov 21, 2016 * (mattn) provided a patch for preview; swapped
|
||||||
|
winwidth() with winheight()
|
||||||
|
Nov 22, 2016 * (glacambre) reported that files containing
|
||||||
|
spaces weren't being obtained properly via
|
||||||
|
scp. Fix: apparently using single quotes
|
||||||
|
such as with 'file name' wasn't enough; the
|
||||||
|
spaces inside the quotes also had to be
|
||||||
|
escaped (ie. 'file\ name').
|
||||||
|
* Also fixed obtain (|netrw-O|) to be able to
|
||||||
|
obtain files with spaces in their names
|
||||||
|
Dec 20, 2016 * (xc1427) Reported that using "I" (|netrw-I|)
|
||||||
|
when atop "Hiding" in the banner also caused
|
||||||
|
the active-banner hiding control to occur
|
||||||
|
Jan 03, 2017 * (Enno Nagel) reported that attempting to
|
||||||
|
apply netrw to a directory that was without
|
||||||
|
read permission caused a syntax error.
|
||||||
|
Jan 13, 2017 * (Ingo Karkat) provided a patch which makes
|
||||||
|
using netrw#Call() better. Now returns
|
||||||
|
value of internal routines return, for example.
|
||||||
|
Jan 13, 2017 * (Ingo Karkat) changed netrw#FileUrlRead to
|
||||||
|
use |:edit| instead of |:read|. I also
|
||||||
|
changed the routine name to netrw#FileUrlEdit.
|
||||||
|
Jan 16, 2017 * (Sayem) reported a problem where :Lexplore
|
||||||
|
could generate a new listing buffer and
|
||||||
|
window instead of toggling the netrw display.
|
||||||
|
Unfortunately, the directions for eliciting
|
||||||
|
the problem weren't complete, so I may or
|
||||||
|
may not have fixed that issue.
|
||||||
|
Feb 06, 2017 * Implemented cb and cB. Changed "c" to "cd".
|
||||||
|
(see |netrw-cb|, |netrw-cB|, and |netrw-cd|)
|
||||||
|
Mar 21, 2017 * previously, netrw would specify (safe) settings
|
||||||
|
even when the setting was already safe for
|
||||||
|
netrw. Netrw now attempts to leave such
|
||||||
|
already-netrw-safe settings alone.
|
||||||
|
(affects s:NetrwOptionRestore() and
|
||||||
|
s:NetrwSafeOptions(); also introduced
|
||||||
|
s:NetrwRestoreSetting())
|
||||||
|
Jun 26, 2017 * (Christian Brabandt) provided a patch to
|
||||||
|
allow curl to follow redirects (ie. -L
|
||||||
|
option)
|
||||||
|
Jun 26, 2017 * (Callum Howard) reported a problem with
|
||||||
|
:Lexpore not removing the Lexplore window
|
||||||
|
after a change-directory
|
||||||
|
Aug 30, 2017 * (Ingo Karkat) one cannot switch to the
|
||||||
|
previously edited file (e.g. with CTRL-^)
|
||||||
|
after editing a file:// URL. Patch to
|
||||||
|
have a "keepalt" included.
|
||||||
|
Oct 17, 2017 * (Adam Faryna) reported that gn (|netrw-gn|)
|
||||||
|
did not work on directories in the current
|
||||||
|
tree
|
||||||
|
v157: Apr 20, 2016 * (Nicola) had set up a "nmap <expr> ..." with
|
||||||
|
a function that returned a 0 while silently
|
||||||
|
invoking a shell command. The shell command
|
||||||
|
activated a ShellCmdPost event which in turn
|
||||||
|
called s:LocalBrowseRefresh(). That looks
|
||||||
|
over all netrw buffers for changes needing
|
||||||
|
refreshes. However, inside a |:map-<expr>|,
|
||||||
|
tab and window changes are disallowed. Fixed.
|
||||||
|
(affects netrw's s:LocalBrowseRefresh())
|
||||||
|
* |g:netrw_localrmdir| not used any more, but
|
||||||
|
the relevant patch that causes |delete()| to
|
||||||
|
take over was #1107 (not #1109).
|
||||||
|
* |expand()| is now used on |g:netrw_home|;
|
||||||
|
consequently, g:netrw_home may now use
|
||||||
|
environment variables
|
||||||
|
* s:NetrwLeftmouse and s:NetrwCLeftmouse will
|
||||||
|
return without doing anything if invoked
|
||||||
|
when inside a non-netrw window
|
||||||
|
Jun 15, 2016 * gx now calls netrw#GX() which returns
|
||||||
|
the word under the cursor. The new
|
||||||
|
wrinkle: if one is in a netrw buffer,
|
||||||
|
then netrw's s:NetrwGetWord().
|
||||||
|
Jun 22, 2016 * Netrw was executing all its associated
|
||||||
|
Filetype commands silently; I'm going
|
||||||
|
to try doing that "noisily" and see if
|
||||||
|
folks have a problem with that.
|
||||||
|
Aug 12, 2016 * Changed order of tool selection for
|
||||||
|
handling http://... viewing.
|
||||||
|
(Nikolay Aleksandrovich Pavlov)
|
||||||
|
Aug 21, 2016 * Included hiding/showing/all for tree
|
||||||
|
listings
|
||||||
|
* Fixed refresh (^L) for tree listings
|
||||||
v156: Feb 18, 2016 * Changed =~ to =~# where appropriate
|
v156: Feb 18, 2016 * Changed =~ to =~# where appropriate
|
||||||
Feb 23, 2016 * s:ComposePath(base,subdir) now uses
|
Feb 23, 2016 * s:ComposePath(base,subdir) now uses
|
||||||
fnameescape() on the base portion
|
fnameescape() on the base portion
|
||||||
@@ -3796,9 +3961,9 @@ netrw:
|
|||||||
tell me how they're useful and should be
|
tell me how they're useful and should be
|
||||||
retained?
|
retained?
|
||||||
Nov 20, 2015 * Added |netrw-ma| and |netrw-mA| support
|
Nov 20, 2015 * Added |netrw-ma| and |netrw-mA| support
|
||||||
Nov 20, 2015 * gx (|netrw-gx|) on an url downloaded the
|
Nov 20, 2015 * gx (|netrw-gx|) on a URL downloaded the
|
||||||
file in addition to simply bringing up the
|
file in addition to simply bringing up the
|
||||||
url in a browser. Fixed.
|
URL in a browser. Fixed.
|
||||||
Nov 23, 2015 * Added |g:netrw_sizestyle| support
|
Nov 23, 2015 * Added |g:netrw_sizestyle| support
|
||||||
Nov 27, 2015 * Inserted a lot of <c-u>s into various netrw
|
Nov 27, 2015 * Inserted a lot of <c-u>s into various netrw
|
||||||
maps.
|
maps.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*quickref.txt* For Vim version 8.0. Last change: 2017 Sep 10
|
*quickref.txt* For Vim version 8.0. Last change: 2017 Nov 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -618,7 +618,8 @@ Short explanation of each option: *option-list*
|
|||||||
'backupext' 'bex' extension used for the backup file
|
'backupext' 'bex' extension used for the backup file
|
||||||
'backupskip' 'bsk' no backup for files that match these patterns
|
'backupskip' 'bsk' no backup for files that match these patterns
|
||||||
'balloondelay' 'bdlay' delay in mS before a balloon may pop up
|
'balloondelay' 'bdlay' delay in mS before a balloon may pop up
|
||||||
'ballooneval' 'beval' switch on balloon evaluation
|
'ballooneval' 'beval' switch on balloon evaluation in the GUI
|
||||||
|
'balloonevalterm' 'bevalterm' switch on balloon evaluation in the terminal
|
||||||
'balloonexpr' 'bexpr' expression to show in balloon
|
'balloonexpr' 'bexpr' expression to show in balloon
|
||||||
'belloff' 'bo' do not ring the bell for these reasons
|
'belloff' 'bo' do not ring the bell for these reasons
|
||||||
'binary' 'bin' read/write/edit file in binary mode
|
'binary' 'bin' read/write/edit file in binary mode
|
||||||
@@ -780,6 +781,8 @@ Short explanation of each option: *option-list*
|
|||||||
'listchars' 'lcs' characters for displaying in list mode
|
'listchars' 'lcs' characters for displaying in list mode
|
||||||
'loadplugins' 'lpl' load plugin scripts when starting up
|
'loadplugins' 'lpl' load plugin scripts when starting up
|
||||||
'luadll' name of the Lua dynamic library
|
'luadll' name of the Lua dynamic library
|
||||||
|
'mzschemedll' name of the MzScheme dynamic library
|
||||||
|
'mzschemegcdll' name of the MzScheme dynamic library for GC
|
||||||
'macatsui' Mac GUI: use ATSUI text drawing
|
'macatsui' Mac GUI: use ATSUI text drawing
|
||||||
'magic' changes special characters in search patterns
|
'magic' changes special characters in search patterns
|
||||||
'makeef' 'mef' name of the errorfile for ":make"
|
'makeef' 'mef' name of the errorfile for ":make"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*remote.txt* For Vim version 8.0. Last change: 2017 Aug 01
|
*remote.txt* For Vim version 8.0. Last change: 2017 Nov 12
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -181,7 +181,8 @@ name on the 'VimRegistry' property on the root window.
|
|||||||
|
|
||||||
A non GUI Vim with access to the X11 display (|xterm-clipboard| enabled), can
|
A non GUI Vim with access to the X11 display (|xterm-clipboard| enabled), can
|
||||||
also act as a command server if a server name is explicitly given with the
|
also act as a command server if a server name is explicitly given with the
|
||||||
--servername argument.
|
--servername argument, or when Vim was build with the |+autoservername|
|
||||||
|
feature.
|
||||||
|
|
||||||
An empty --servername argument will cause the command server to be disabled.
|
An empty --servername argument will cause the command server to be disabled.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*spell.txt* For Vim version 8.0. Last change: 2016 Jan 08
|
*spell.txt* For Vim version 8.0. Last change: 2017 Oct 26
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -723,7 +723,7 @@ Additionally the following items are recognized:
|
|||||||
= Case must match exactly.
|
= Case must match exactly.
|
||||||
? Rare word.
|
? Rare word.
|
||||||
! Bad (wrong) word.
|
! Bad (wrong) word.
|
||||||
digit A region in which the word is valid. If no regions are
|
1 to 9 A region in which the word is valid. If no regions are
|
||||||
specified the word is valid in all regions.
|
specified the word is valid in all regions.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*starting.txt* For Vim version 8.0. Last change: 2017 Jul 15
|
*starting.txt* For Vim version 8.0. Last change: 2017 Nov 18
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -58,9 +58,9 @@ filename One or more file names. The first one will be the current
|
|||||||
that is read from stdin. The commands that would normally be
|
that is read from stdin. The commands that would normally be
|
||||||
read from stdin will now be read from stderr. Example: >
|
read from stdin will now be read from stderr. Example: >
|
||||||
find . -name "*.c" -print | vim -
|
find . -name "*.c" -print | vim -
|
||||||
< The buffer will be marked modified, because it contains text
|
< The buffer will not be marked as modified, so that it's easy
|
||||||
that needs to be saved. Except when in readonly mode, then
|
to exit. Be careful to mark it as modified if you don't want
|
||||||
the buffer is not marked modified. Example: >
|
to accidentally lose it. Example: >
|
||||||
ls | view -
|
ls | view -
|
||||||
<
|
<
|
||||||
Starting in Ex mode: >
|
Starting in Ex mode: >
|
||||||
@@ -421,7 +421,9 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
|
|||||||
*--not-a-term*
|
*--not-a-term*
|
||||||
--not-a-term Tells Vim that the user knows that the input and/or output is
|
--not-a-term Tells Vim that the user knows that the input and/or output is
|
||||||
not connected to a terminal. This will avoid the warning and
|
not connected to a terminal. This will avoid the warning and
|
||||||
the two second delay that would happen. {not in Vi}
|
the two second delay that would happen.
|
||||||
|
Also avoids the "Reading from stdin..." message.
|
||||||
|
{not in Vi}
|
||||||
|
|
||||||
*--ttyfail*
|
*--ttyfail*
|
||||||
--ttyfail When the stdin or stdout is not a terminal (tty) then exit
|
--ttyfail When the stdin or stdout is not a terminal (tty) then exit
|
||||||
@@ -873,6 +875,9 @@ accordingly. Vim proceeds in this order:
|
|||||||
(*) Using this file or environment variable will cause 'compatible' to be
|
(*) Using this file or environment variable will cause 'compatible' to be
|
||||||
off by default. See |compatible-default|.
|
off by default. See |compatible-default|.
|
||||||
|
|
||||||
|
Note: When using the |mzscheme| interface, it is initialized after loading
|
||||||
|
the vimrc file. Changing 'mzschemedll' later has no effect.
|
||||||
|
|
||||||
4. Load the plugin scripts. *load-plugins*
|
4. Load the plugin scripts. *load-plugins*
|
||||||
This does the same as the command: >
|
This does the same as the command: >
|
||||||
:runtime! plugin/**/*.vim
|
:runtime! plugin/**/*.vim
|
||||||
@@ -1044,7 +1049,7 @@ details. NOTE: this is done since Vim 8.0, not in Vim 7.4. (it was added in
|
|||||||
patch 7.4.2111 to be exact).
|
patch 7.4.2111 to be exact).
|
||||||
|
|
||||||
This should work well for new Vim users. If you create your own .vimrc, it is
|
This should work well for new Vim users. If you create your own .vimrc, it is
|
||||||
recommended to add this line somewhere near the top: >
|
recommended to add these lines somewhere near the top: >
|
||||||
unlet! skip_defaults_vim
|
unlet! skip_defaults_vim
|
||||||
source $VIMRUNTIME/defaults.vim
|
source $VIMRUNTIME/defaults.vim
|
||||||
Then Vim works like before you had a .vimrc. Copying $VIMRUNTIME/vimrc_example
|
Then Vim works like before you had a .vimrc. Copying $VIMRUNTIME/vimrc_example
|
||||||
@@ -1415,7 +1420,7 @@ The output of ":mkview" contains these items:
|
|||||||
5. The scroll position and the cursor position in the file. Doesn't work very
|
5. The scroll position and the cursor position in the file. Doesn't work very
|
||||||
well when there are closed folds.
|
well when there are closed folds.
|
||||||
6. The local current directory, if it is different from the global current
|
6. The local current directory, if it is different from the global current
|
||||||
directory.
|
directory and 'viewoptions' contains "curdir".
|
||||||
|
|
||||||
Note that Views and Sessions are not perfect:
|
Note that Views and Sessions are not perfect:
|
||||||
- They don't restore everything. For example, defined functions, autocommands
|
- They don't restore everything. For example, defined functions, autocommands
|
||||||
@@ -1527,7 +1532,7 @@ Notes for Unix:
|
|||||||
you have worked with.
|
you have worked with.
|
||||||
- If you want to share the viminfo file with other users (e.g. when you "su"
|
- If you want to share the viminfo file with other users (e.g. when you "su"
|
||||||
to another user), you can make the file writable for the group or everybody.
|
to another user), you can make the file writable for the group or everybody.
|
||||||
Vim will preserve this when writing new viminfo files. Be careful, don't
|
Vim will preserve this when replacing the viminfo file. Be careful, don't
|
||||||
allow just anybody to read and write your viminfo file!
|
allow just anybody to read and write your viminfo file!
|
||||||
- Vim will not overwrite a viminfo file that is not writable by the current
|
- Vim will not overwrite a viminfo file that is not writable by the current
|
||||||
"real" user. This helps for when you did "su" to become root, but your
|
"real" user. This helps for when you did "su" to become root, but your
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*syntax.txt* For Vim version 8.0. Last change: 2017 Aug 12
|
*syntax.txt* For Vim version 8.0. Last change: 2017 Sep 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -61,10 +61,12 @@ fine. If it doesn't, try setting the VIM environment variable to the
|
|||||||
directory where the Vim stuff is located. For example, if your syntax files
|
directory where the Vim stuff is located. For example, if your syntax files
|
||||||
are in the "/usr/vim/vim50/syntax" directory, set $VIMRUNTIME to
|
are in the "/usr/vim/vim50/syntax" directory, set $VIMRUNTIME to
|
||||||
"/usr/vim/vim50". You must do this in the shell, before starting Vim.
|
"/usr/vim/vim50". You must do this in the shell, before starting Vim.
|
||||||
|
This command also sources the |menu.vim| script when the GUI is running or
|
||||||
|
will start soon. See |'go-M'| about avoiding that.
|
||||||
|
|
||||||
*:syn-on* *:syntax-on*
|
*:syn-on* *:syntax-on*
|
||||||
The ":syntax enable" command will keep your current color settings. This
|
The `:syntax enable` command will keep your current color settings. This
|
||||||
allows using ":highlight" commands to set your preferred colors before or
|
allows using `:highlight` commands to set your preferred colors before or
|
||||||
after using this command. If you want Vim to overrule your settings with the
|
after using this command. If you want Vim to overrule your settings with the
|
||||||
defaults, use: >
|
defaults, use: >
|
||||||
:syntax on
|
:syntax on
|
||||||
@@ -810,12 +812,9 @@ See |mysyntaxfile-add| for installing script languages permanently.
|
|||||||
|
|
||||||
APACHE *apache.vim* *ft-apache-syntax*
|
APACHE *apache.vim* *ft-apache-syntax*
|
||||||
|
|
||||||
The apache syntax file provides syntax highlighting depending on Apache HTTP
|
The apache syntax file provides syntax highlighting for Apache HTTP server
|
||||||
server version, by default for 1.3.x. Set "apache_version" to Apache version
|
version 2.2.3.
|
||||||
(as a string) to get highlighting for another version. Example: >
|
|
||||||
|
|
||||||
:let apache_version = "2.0"
|
|
||||||
<
|
|
||||||
|
|
||||||
*asm.vim* *asmh8300.vim* *nasm.vim* *masm.vim* *asm68k*
|
*asm.vim* *asmh8300.vim* *nasm.vim* *masm.vim* *asm68k*
|
||||||
ASSEMBLY *ft-asm-syntax* *ft-asmh8300-syntax* *ft-nasm-syntax*
|
ASSEMBLY *ft-asm-syntax* *ft-asmh8300-syntax* *ft-nasm-syntax*
|
||||||
|
|||||||
@@ -74,12 +74,14 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
'backupskip' options.txt /*'backupskip'*
|
'backupskip' options.txt /*'backupskip'*
|
||||||
'balloondelay' options.txt /*'balloondelay'*
|
'balloondelay' options.txt /*'balloondelay'*
|
||||||
'ballooneval' options.txt /*'ballooneval'*
|
'ballooneval' options.txt /*'ballooneval'*
|
||||||
|
'balloonevalterm' options.txt /*'balloonevalterm'*
|
||||||
'balloonexpr' options.txt /*'balloonexpr'*
|
'balloonexpr' options.txt /*'balloonexpr'*
|
||||||
'bdir' options.txt /*'bdir'*
|
'bdir' options.txt /*'bdir'*
|
||||||
'bdlay' options.txt /*'bdlay'*
|
'bdlay' options.txt /*'bdlay'*
|
||||||
'beautify' vi_diff.txt /*'beautify'*
|
'beautify' vi_diff.txt /*'beautify'*
|
||||||
'belloff' options.txt /*'belloff'*
|
'belloff' options.txt /*'belloff'*
|
||||||
'beval' options.txt /*'beval'*
|
'beval' options.txt /*'beval'*
|
||||||
|
'bevalterm' options.txt /*'bevalterm'*
|
||||||
'bex' options.txt /*'bex'*
|
'bex' options.txt /*'bex'*
|
||||||
'bexpr' options.txt /*'bexpr'*
|
'bexpr' options.txt /*'bexpr'*
|
||||||
'bf' vi_diff.txt /*'bf'*
|
'bf' vi_diff.txt /*'bf'*
|
||||||
@@ -307,6 +309,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
'go-g' options.txt /*'go-g'*
|
'go-g' options.txt /*'go-g'*
|
||||||
'go-h' options.txt /*'go-h'*
|
'go-h' options.txt /*'go-h'*
|
||||||
'go-i' options.txt /*'go-i'*
|
'go-i' options.txt /*'go-i'*
|
||||||
|
'go-k' options.txt /*'go-k'*
|
||||||
'go-l' options.txt /*'go-l'*
|
'go-l' options.txt /*'go-l'*
|
||||||
'go-m' options.txt /*'go-m'*
|
'go-m' options.txt /*'go-m'*
|
||||||
'go-p' options.txt /*'go-p'*
|
'go-p' options.txt /*'go-p'*
|
||||||
@@ -477,6 +480,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
'msm' options.txt /*'msm'*
|
'msm' options.txt /*'msm'*
|
||||||
'mzq' options.txt /*'mzq'*
|
'mzq' options.txt /*'mzq'*
|
||||||
'mzquantum' options.txt /*'mzquantum'*
|
'mzquantum' options.txt /*'mzquantum'*
|
||||||
|
'mzschemedll' options.txt /*'mzschemedll'*
|
||||||
|
'mzschemegcdll' options.txt /*'mzschemegcdll'*
|
||||||
'nf' options.txt /*'nf'*
|
'nf' options.txt /*'nf'*
|
||||||
'noacd' options.txt /*'noacd'*
|
'noacd' options.txt /*'noacd'*
|
||||||
'noai' options.txt /*'noai'*
|
'noai' options.txt /*'noai'*
|
||||||
@@ -502,7 +507,9 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
'noawa' options.txt /*'noawa'*
|
'noawa' options.txt /*'noawa'*
|
||||||
'nobackup' options.txt /*'nobackup'*
|
'nobackup' options.txt /*'nobackup'*
|
||||||
'noballooneval' options.txt /*'noballooneval'*
|
'noballooneval' options.txt /*'noballooneval'*
|
||||||
|
'noballoonevalterm' options.txt /*'noballoonevalterm'*
|
||||||
'nobeval' options.txt /*'nobeval'*
|
'nobeval' options.txt /*'nobeval'*
|
||||||
|
'nobevalterm' options.txt /*'nobevalterm'*
|
||||||
'nobin' options.txt /*'nobin'*
|
'nobin' options.txt /*'nobin'*
|
||||||
'nobinary' options.txt /*'nobinary'*
|
'nobinary' options.txt /*'nobinary'*
|
||||||
'nobiosk' options.txt /*'nobiosk'*
|
'nobiosk' options.txt /*'nobiosk'*
|
||||||
@@ -976,6 +983,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
't_PS' term.txt /*'t_PS'*
|
't_PS' term.txt /*'t_PS'*
|
||||||
't_RB' term.txt /*'t_RB'*
|
't_RB' term.txt /*'t_RB'*
|
||||||
't_RC' term.txt /*'t_RC'*
|
't_RC' term.txt /*'t_RC'*
|
||||||
|
't_RF' term.txt /*'t_RF'*
|
||||||
't_RI' term.txt /*'t_RI'*
|
't_RI' term.txt /*'t_RI'*
|
||||||
't_RS' term.txt /*'t_RS'*
|
't_RS' term.txt /*'t_RS'*
|
||||||
't_RV' term.txt /*'t_RV'*
|
't_RV' term.txt /*'t_RV'*
|
||||||
@@ -1219,7 +1227,9 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
+acl various.txt /*+acl*
|
+acl various.txt /*+acl*
|
||||||
+arabic various.txt /*+arabic*
|
+arabic various.txt /*+arabic*
|
||||||
+autocmd various.txt /*+autocmd*
|
+autocmd various.txt /*+autocmd*
|
||||||
|
+autoservername various.txt /*+autoservername*
|
||||||
+balloon_eval various.txt /*+balloon_eval*
|
+balloon_eval various.txt /*+balloon_eval*
|
||||||
|
+balloon_eval_term various.txt /*+balloon_eval_term*
|
||||||
+browse various.txt /*+browse*
|
+browse various.txt /*+browse*
|
||||||
+builtin_terms various.txt /*+builtin_terms*
|
+builtin_terms various.txt /*+builtin_terms*
|
||||||
+byte_offset various.txt /*+byte_offset*
|
+byte_offset various.txt /*+byte_offset*
|
||||||
@@ -3654,6 +3664,8 @@ Cmd-event autocmd.txt /*Cmd-event*
|
|||||||
CmdUndefined autocmd.txt /*CmdUndefined*
|
CmdUndefined autocmd.txt /*CmdUndefined*
|
||||||
Cmdline cmdline.txt /*Cmdline*
|
Cmdline cmdline.txt /*Cmdline*
|
||||||
Cmdline-mode cmdline.txt /*Cmdline-mode*
|
Cmdline-mode cmdline.txt /*Cmdline-mode*
|
||||||
|
CmdlineEnter autocmd.txt /*CmdlineEnter*
|
||||||
|
CmdlineLeave autocmd.txt /*CmdlineLeave*
|
||||||
CmdwinEnter autocmd.txt /*CmdwinEnter*
|
CmdwinEnter autocmd.txt /*CmdwinEnter*
|
||||||
CmdwinLeave autocmd.txt /*CmdwinLeave*
|
CmdwinLeave autocmd.txt /*CmdwinLeave*
|
||||||
ColorScheme autocmd.txt /*ColorScheme*
|
ColorScheme autocmd.txt /*ColorScheme*
|
||||||
@@ -3756,7 +3768,6 @@ E169 message.txt /*E169*
|
|||||||
E17 message.txt /*E17*
|
E17 message.txt /*E17*
|
||||||
E170 eval.txt /*E170*
|
E170 eval.txt /*E170*
|
||||||
E171 eval.txt /*E171*
|
E171 eval.txt /*E171*
|
||||||
E172 message.txt /*E172*
|
|
||||||
E173 message.txt /*E173*
|
E173 message.txt /*E173*
|
||||||
E174 map.txt /*E174*
|
E174 map.txt /*E174*
|
||||||
E175 map.txt /*E175*
|
E175 map.txt /*E175*
|
||||||
@@ -4564,6 +4575,7 @@ E945 pattern.txt /*E945*
|
|||||||
E946 terminal.txt /*E946*
|
E946 terminal.txt /*E946*
|
||||||
E947 terminal.txt /*E947*
|
E947 terminal.txt /*E947*
|
||||||
E948 terminal.txt /*E948*
|
E948 terminal.txt /*E948*
|
||||||
|
E949 editing.txt /*E949*
|
||||||
E95 message.txt /*E95*
|
E95 message.txt /*E95*
|
||||||
E96 diff.txt /*E96*
|
E96 diff.txt /*E96*
|
||||||
E97 diff.txt /*E97*
|
E97 diff.txt /*E97*
|
||||||
@@ -5140,6 +5152,7 @@ backup-extension version4.txt /*backup-extension*
|
|||||||
backup-table editing.txt /*backup-table*
|
backup-table editing.txt /*backup-table*
|
||||||
balloon-eval debugger.txt /*balloon-eval*
|
balloon-eval debugger.txt /*balloon-eval*
|
||||||
balloon_show() eval.txt /*balloon_show()*
|
balloon_show() eval.txt /*balloon_show()*
|
||||||
|
balloon_split() eval.txt /*balloon_split()*
|
||||||
bar motion.txt /*bar*
|
bar motion.txt /*bar*
|
||||||
bars help.txt /*bars*
|
bars help.txt /*bars*
|
||||||
base_font_name_list mbyte.txt /*base_font_name_list*
|
base_font_name_list mbyte.txt /*base_font_name_list*
|
||||||
@@ -6389,10 +6402,15 @@ g:netrw_list_cmd_options pi_netrw.txt /*g:netrw_list_cmd_options*
|
|||||||
g:netrw_list_hide pi_netrw.txt /*g:netrw_list_hide*
|
g:netrw_list_hide pi_netrw.txt /*g:netrw_list_hide*
|
||||||
g:netrw_liststyle pi_netrw.txt /*g:netrw_liststyle*
|
g:netrw_liststyle pi_netrw.txt /*g:netrw_liststyle*
|
||||||
g:netrw_localcopycmd pi_netrw.txt /*g:netrw_localcopycmd*
|
g:netrw_localcopycmd pi_netrw.txt /*g:netrw_localcopycmd*
|
||||||
|
g:netrw_localcopycmdopt pi_netrw.txt /*g:netrw_localcopycmdopt*
|
||||||
g:netrw_localcopydircmd pi_netrw.txt /*g:netrw_localcopydircmd*
|
g:netrw_localcopydircmd pi_netrw.txt /*g:netrw_localcopydircmd*
|
||||||
|
g:netrw_localcopydircmdopt pi_netrw.txt /*g:netrw_localcopydircmdopt*
|
||||||
g:netrw_localmkdir pi_netrw.txt /*g:netrw_localmkdir*
|
g:netrw_localmkdir pi_netrw.txt /*g:netrw_localmkdir*
|
||||||
|
g:netrw_localmkdiropt pi_netrw.txt /*g:netrw_localmkdiropt*
|
||||||
g:netrw_localmovecmd pi_netrw.txt /*g:netrw_localmovecmd*
|
g:netrw_localmovecmd pi_netrw.txt /*g:netrw_localmovecmd*
|
||||||
|
g:netrw_localmovecmdopt pi_netrw.txt /*g:netrw_localmovecmdopt*
|
||||||
g:netrw_localrmdir pi_netrw.txt /*g:netrw_localrmdir*
|
g:netrw_localrmdir pi_netrw.txt /*g:netrw_localrmdir*
|
||||||
|
g:netrw_localrmdiropt pi_netrw.txt /*g:netrw_localrmdiropt*
|
||||||
g:netrw_maxfilenamelen pi_netrw.txt /*g:netrw_maxfilenamelen*
|
g:netrw_maxfilenamelen pi_netrw.txt /*g:netrw_maxfilenamelen*
|
||||||
g:netrw_menu pi_netrw.txt /*g:netrw_menu*
|
g:netrw_menu pi_netrw.txt /*g:netrw_menu*
|
||||||
g:netrw_mkdir_cmd pi_netrw.txt /*g:netrw_mkdir_cmd*
|
g:netrw_mkdir_cmd pi_netrw.txt /*g:netrw_mkdir_cmd*
|
||||||
@@ -6402,11 +6420,13 @@ g:netrw_nogx pi_netrw.txt /*g:netrw_nogx*
|
|||||||
g:netrw_preview pi_netrw.txt /*g:netrw_preview*
|
g:netrw_preview pi_netrw.txt /*g:netrw_preview*
|
||||||
g:netrw_rcp_cmd pi_netrw.txt /*g:netrw_rcp_cmd*
|
g:netrw_rcp_cmd pi_netrw.txt /*g:netrw_rcp_cmd*
|
||||||
g:netrw_remote_mkdir pi_netrw.txt /*g:netrw_remote_mkdir*
|
g:netrw_remote_mkdir pi_netrw.txt /*g:netrw_remote_mkdir*
|
||||||
|
g:netrw_rename_cmd pi_netrw.txt /*g:netrw_rename_cmd*
|
||||||
g:netrw_retmap pi_netrw.txt /*g:netrw_retmap*
|
g:netrw_retmap pi_netrw.txt /*g:netrw_retmap*
|
||||||
g:netrw_rm_cmd pi_netrw.txt /*g:netrw_rm_cmd*
|
g:netrw_rm_cmd pi_netrw.txt /*g:netrw_rm_cmd*
|
||||||
g:netrw_rmdir_cmd pi_netrw.txt /*g:netrw_rmdir_cmd*
|
g:netrw_rmdir_cmd pi_netrw.txt /*g:netrw_rmdir_cmd*
|
||||||
g:netrw_rmf_cmd pi_netrw.txt /*g:netrw_rmf_cmd*
|
g:netrw_rmf_cmd pi_netrw.txt /*g:netrw_rmf_cmd*
|
||||||
g:netrw_rsync_cmd pi_netrw.txt /*g:netrw_rsync_cmd*
|
g:netrw_rsync_cmd pi_netrw.txt /*g:netrw_rsync_cmd*
|
||||||
|
g:netrw_rsync_sep pi_netrw.txt /*g:netrw_rsync_sep*
|
||||||
g:netrw_scp_cmd pi_netrw.txt /*g:netrw_scp_cmd*
|
g:netrw_scp_cmd pi_netrw.txt /*g:netrw_scp_cmd*
|
||||||
g:netrw_scpport pi_netrw.txt /*g:netrw_scpport*
|
g:netrw_scpport pi_netrw.txt /*g:netrw_scpport*
|
||||||
g:netrw_sepchr pi_netrw.txt /*g:netrw_sepchr*
|
g:netrw_sepchr pi_netrw.txt /*g:netrw_sepchr*
|
||||||
@@ -6524,6 +6544,7 @@ ga various.txt /*ga*
|
|||||||
garbagecollect() eval.txt /*garbagecollect()*
|
garbagecollect() eval.txt /*garbagecollect()*
|
||||||
gd pattern.txt /*gd*
|
gd pattern.txt /*gd*
|
||||||
gdb debug.txt /*gdb*
|
gdb debug.txt /*gdb*
|
||||||
|
gdb-version terminal.txt /*gdb-version*
|
||||||
ge motion.txt /*ge*
|
ge motion.txt /*ge*
|
||||||
get() eval.txt /*get()*
|
get() eval.txt /*get()*
|
||||||
get-ms-debuggers debug.txt /*get-ms-debuggers*
|
get-ms-debuggers debug.txt /*get-ms-debuggers*
|
||||||
@@ -7480,7 +7501,11 @@ netrw-browser-var pi_netrw.txt /*netrw-browser-var*
|
|||||||
netrw-browsing pi_netrw.txt /*netrw-browsing*
|
netrw-browsing pi_netrw.txt /*netrw-browsing*
|
||||||
netrw-c pi_netrw.txt /*netrw-c*
|
netrw-c pi_netrw.txt /*netrw-c*
|
||||||
netrw-c-tab pi_netrw.txt /*netrw-c-tab*
|
netrw-c-tab pi_netrw.txt /*netrw-c-tab*
|
||||||
|
netrw-cB pi_netrw.txt /*netrw-cB*
|
||||||
netrw-cadaver pi_netrw.txt /*netrw-cadaver*
|
netrw-cadaver pi_netrw.txt /*netrw-cadaver*
|
||||||
|
netrw-call pi_netrw.txt /*netrw-call*
|
||||||
|
netrw-cb pi_netrw.txt /*netrw-cb*
|
||||||
|
netrw-cd pi_netrw.txt /*netrw-cd*
|
||||||
netrw-chgup pi_netrw.txt /*netrw-chgup*
|
netrw-chgup pi_netrw.txt /*netrw-chgup*
|
||||||
netrw-clean pi_netrw.txt /*netrw-clean*
|
netrw-clean pi_netrw.txt /*netrw-clean*
|
||||||
netrw-contents pi_netrw.txt /*netrw-contents*
|
netrw-contents pi_netrw.txt /*netrw-contents*
|
||||||
@@ -7506,6 +7531,7 @@ netrw-enter pi_netrw.txt /*netrw-enter*
|
|||||||
netrw-ex pi_netrw.txt /*netrw-ex*
|
netrw-ex pi_netrw.txt /*netrw-ex*
|
||||||
netrw-explore pi_netrw.txt /*netrw-explore*
|
netrw-explore pi_netrw.txt /*netrw-explore*
|
||||||
netrw-explore-cmds pi_netrw.txt /*netrw-explore-cmds*
|
netrw-explore-cmds pi_netrw.txt /*netrw-explore-cmds*
|
||||||
|
netrw-expose pi_netrw.txt /*netrw-expose*
|
||||||
netrw-externapp pi_netrw.txt /*netrw-externapp*
|
netrw-externapp pi_netrw.txt /*netrw-externapp*
|
||||||
netrw-file pi_netrw.txt /*netrw-file*
|
netrw-file pi_netrw.txt /*netrw-file*
|
||||||
netrw-filigree pi_netrw.txt /*netrw-filigree*
|
netrw-filigree pi_netrw.txt /*netrw-filigree*
|
||||||
@@ -7555,6 +7581,7 @@ netrw-mh pi_netrw.txt /*netrw-mh*
|
|||||||
netrw-middlemouse pi_netrw.txt /*netrw-middlemouse*
|
netrw-middlemouse pi_netrw.txt /*netrw-middlemouse*
|
||||||
netrw-ml_get pi_netrw.txt /*netrw-ml_get*
|
netrw-ml_get pi_netrw.txt /*netrw-ml_get*
|
||||||
netrw-mm pi_netrw.txt /*netrw-mm*
|
netrw-mm pi_netrw.txt /*netrw-mm*
|
||||||
|
netrw-modify pi_netrw.txt /*netrw-modify*
|
||||||
netrw-mouse pi_netrw.txt /*netrw-mouse*
|
netrw-mouse pi_netrw.txt /*netrw-mouse*
|
||||||
netrw-move pi_netrw.txt /*netrw-move*
|
netrw-move pi_netrw.txt /*netrw-move*
|
||||||
netrw-mp pi_netrw.txt /*netrw-mp*
|
netrw-mp pi_netrw.txt /*netrw-mp*
|
||||||
@@ -7800,6 +7827,7 @@ option-summary options.txt /*option-summary*
|
|||||||
option-window options.txt /*option-window*
|
option-window options.txt /*option-window*
|
||||||
options options.txt /*options*
|
options options.txt /*options*
|
||||||
options-changed version5.txt /*options-changed*
|
options-changed version5.txt /*options-changed*
|
||||||
|
options-in-terminal terminal.txt /*options-in-terminal*
|
||||||
options.txt options.txt /*options.txt*
|
options.txt options.txt /*options.txt*
|
||||||
optwin options.txt /*optwin*
|
optwin options.txt /*optwin*
|
||||||
or() eval.txt /*or()*
|
or() eval.txt /*or()*
|
||||||
@@ -8465,6 +8493,7 @@ star pattern.txt /*star*
|
|||||||
starstar editing.txt /*starstar*
|
starstar editing.txt /*starstar*
|
||||||
starstar-wildcard editing.txt /*starstar-wildcard*
|
starstar-wildcard editing.txt /*starstar-wildcard*
|
||||||
start-of-file pattern.txt /*start-of-file*
|
start-of-file pattern.txt /*start-of-file*
|
||||||
|
start-vimdiff diff.txt /*start-vimdiff*
|
||||||
starting starting.txt /*starting*
|
starting starting.txt /*starting*
|
||||||
starting-amiga starting.txt /*starting-amiga*
|
starting-amiga starting.txt /*starting-amiga*
|
||||||
starting.txt starting.txt /*starting.txt*
|
starting.txt starting.txt /*starting.txt*
|
||||||
@@ -8617,6 +8646,7 @@ t_PE term.txt /*t_PE*
|
|||||||
t_PS term.txt /*t_PS*
|
t_PS term.txt /*t_PS*
|
||||||
t_RB term.txt /*t_RB*
|
t_RB term.txt /*t_RB*
|
||||||
t_RC term.txt /*t_RC*
|
t_RC term.txt /*t_RC*
|
||||||
|
t_RF term.txt /*t_RF*
|
||||||
t_RI term.txt /*t_RI*
|
t_RI term.txt /*t_RI*
|
||||||
t_RS term.txt /*t_RS*
|
t_RS term.txt /*t_RS*
|
||||||
t_RV term.txt /*t_RV*
|
t_RV term.txt /*t_RV*
|
||||||
@@ -8869,16 +8899,29 @@ termcap-cursor-color term.txt /*termcap-cursor-color*
|
|||||||
termcap-cursor-shape term.txt /*termcap-cursor-shape*
|
termcap-cursor-shape term.txt /*termcap-cursor-shape*
|
||||||
termcap-options term.txt /*termcap-options*
|
termcap-options term.txt /*termcap-options*
|
||||||
termcap-title term.txt /*termcap-title*
|
termcap-title term.txt /*termcap-title*
|
||||||
|
termdebug-commands terminal.txt /*termdebug-commands*
|
||||||
|
termdebug-communication terminal.txt /*termdebug-communication*
|
||||||
|
termdebug-customizing terminal.txt /*termdebug-customizing*
|
||||||
|
termdebug-example terminal.txt /*termdebug-example*
|
||||||
|
termdebug-starting terminal.txt /*termdebug-starting*
|
||||||
|
termdebug-stepping terminal.txt /*termdebug-stepping*
|
||||||
|
termdebug-variables terminal.txt /*termdebug-variables*
|
||||||
terminal terminal.txt /*terminal*
|
terminal terminal.txt /*terminal*
|
||||||
terminal-colors os_unix.txt /*terminal-colors*
|
terminal-colors os_unix.txt /*terminal-colors*
|
||||||
|
terminal-cursor-style terminal.txt /*terminal-cursor-style*
|
||||||
terminal-debug terminal.txt /*terminal-debug*
|
terminal-debug terminal.txt /*terminal-debug*
|
||||||
terminal-functions usr_41.txt /*terminal-functions*
|
terminal-functions usr_41.txt /*terminal-functions*
|
||||||
terminal-info term.txt /*terminal-info*
|
terminal-info term.txt /*terminal-info*
|
||||||
terminal-key-codes term.txt /*terminal-key-codes*
|
terminal-key-codes term.txt /*terminal-key-codes*
|
||||||
|
terminal-ms-windows terminal.txt /*terminal-ms-windows*
|
||||||
terminal-options term.txt /*terminal-options*
|
terminal-options term.txt /*terminal-options*
|
||||||
terminal-output-codes term.txt /*terminal-output-codes*
|
terminal-output-codes term.txt /*terminal-output-codes*
|
||||||
|
terminal-resizing terminal.txt /*terminal-resizing*
|
||||||
|
terminal-size-color terminal.txt /*terminal-size-color*
|
||||||
|
terminal-special-keys terminal.txt /*terminal-special-keys*
|
||||||
terminal-testing terminal.txt /*terminal-testing*
|
terminal-testing terminal.txt /*terminal-testing*
|
||||||
terminal-typing terminal.txt /*terminal-typing*
|
terminal-typing terminal.txt /*terminal-typing*
|
||||||
|
terminal-unix terminal.txt /*terminal-unix*
|
||||||
terminal-use terminal.txt /*terminal-use*
|
terminal-use terminal.txt /*terminal-use*
|
||||||
terminal.txt terminal.txt /*terminal.txt*
|
terminal.txt terminal.txt /*terminal.txt*
|
||||||
terminfo term.txt /*terminfo*
|
terminfo term.txt /*terminfo*
|
||||||
@@ -9114,8 +9157,9 @@ v:t_none eval.txt /*v:t_none*
|
|||||||
v:t_number eval.txt /*v:t_number*
|
v:t_number eval.txt /*v:t_number*
|
||||||
v:t_string eval.txt /*v:t_string*
|
v:t_string eval.txt /*v:t_string*
|
||||||
v:termblinkresp eval.txt /*v:termblinkresp*
|
v:termblinkresp eval.txt /*v:termblinkresp*
|
||||||
|
v:termrbgresp eval.txt /*v:termrbgresp*
|
||||||
v:termresponse eval.txt /*v:termresponse*
|
v:termresponse eval.txt /*v:termresponse*
|
||||||
v:termrgbresp eval.txt /*v:termrgbresp*
|
v:termrfgresp eval.txt /*v:termrfgresp*
|
||||||
v:termstyleresp eval.txt /*v:termstyleresp*
|
v:termstyleresp eval.txt /*v:termstyleresp*
|
||||||
v:termu7resp eval.txt /*v:termu7resp*
|
v:termu7resp eval.txt /*v:termu7resp*
|
||||||
v:testing eval.txt /*v:testing*
|
v:testing eval.txt /*v:testing*
|
||||||
@@ -9400,6 +9444,8 @@ wildmenumode() eval.txt /*wildmenumode()*
|
|||||||
win32 os_win32.txt /*win32*
|
win32 os_win32.txt /*win32*
|
||||||
win32-!start gui_w32.txt /*win32-!start*
|
win32-!start gui_w32.txt /*win32-!start*
|
||||||
win32-PATH os_win32.txt /*win32-PATH*
|
win32-PATH os_win32.txt /*win32-PATH*
|
||||||
|
win32-backslashes os_win32.txt /*win32-backslashes*
|
||||||
|
win32-cmdargs os_win32.txt /*win32-cmdargs*
|
||||||
win32-colors gui_w32.txt /*win32-colors*
|
win32-colors gui_w32.txt /*win32-colors*
|
||||||
win32-compiling os_win32.txt /*win32-compiling*
|
win32-compiling os_win32.txt /*win32-compiling*
|
||||||
win32-curdir os_win32.txt /*win32-curdir*
|
win32-curdir os_win32.txt /*win32-curdir*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*tagsrch.txt* For Vim version 8.0. Last change: 2016 Sep 20
|
*tagsrch.txt* For Vim version 8.0. Last change: 2017 Oct 20
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -195,6 +195,7 @@ the same entry.
|
|||||||
information in the tags file(s).
|
information in the tags file(s).
|
||||||
When [ident] is not given, the last tag name from the
|
When [ident] is not given, the last tag name from the
|
||||||
tag stack is used.
|
tag stack is used.
|
||||||
|
See |tag-!| for [!].
|
||||||
With a '>' in the first column is indicated which is
|
With a '>' in the first column is indicated which is
|
||||||
the current position in the list (if there is one).
|
the current position in the list (if there is one).
|
||||||
[ident] can be a regexp pattern, see |tag-regexp|.
|
[ident] can be a regexp pattern, see |tag-regexp|.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*term.txt* For Vim version 8.0. Last change: 2017 Aug 28
|
*term.txt* For Vim version 8.0. Last change: 2017 Oct 14
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -327,6 +327,7 @@ Added by Vim (there are no standard codes for these):
|
|||||||
|xterm-8bit| |v:termresponse| |'ttymouse'| |xterm-codes|
|
|xterm-8bit| |v:termresponse| |'ttymouse'| |xterm-codes|
|
||||||
t_u7 request cursor position (for xterm) *t_u7* *'t_u7'*
|
t_u7 request cursor position (for xterm) *t_u7* *'t_u7'*
|
||||||
see |'ambiwidth'|
|
see |'ambiwidth'|
|
||||||
|
t_RF request terminal foreground color *t_RF* *'t_RF'*
|
||||||
t_RB request terminal background color *t_RB* *'t_RB'*
|
t_RB request terminal background color *t_RB* *'t_RB'*
|
||||||
t_8f set foreground color (R, G, B) *t_8f* *'t_8f'*
|
t_8f set foreground color (R, G, B) *t_8f* *'t_8f'*
|
||||||
|xterm-true-color|
|
|xterm-true-color|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*terminal.txt* For Vim version 8.0. Last change: 2017 Sep 17
|
*terminal.txt* For Vim version 8.0. Last change: 2017 Nov 17
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -14,9 +14,25 @@ The terminal feature is optional, use this to check if your Vim has it: >
|
|||||||
If the result is "1" you have it.
|
If the result is "1" you have it.
|
||||||
|
|
||||||
|
|
||||||
1. Basic use |terminal-use|
|
1. Basic use |terminal-use|
|
||||||
2. Remote testing |terminal-testing|
|
Typing |terminal-typing|
|
||||||
3. Debugging |terminal-debug|
|
Size and color |terminal-size-color|
|
||||||
|
Syntax |:terminal|
|
||||||
|
Resizing |terminal-resizing|
|
||||||
|
Terminal Modes |Terminal-mode|
|
||||||
|
Cursor style |terminal-cursor-style|
|
||||||
|
Special keys |terminal-special-keys|
|
||||||
|
Unix |terminal-unix|
|
||||||
|
MS-Windows |terminal-ms-windows|
|
||||||
|
2. Remote testing |terminal-testing|
|
||||||
|
3. Debugging |terminal-debug|
|
||||||
|
Starting |termdebug-starting|
|
||||||
|
Example session |termdebug-example|
|
||||||
|
Stepping through code |termdebug-stepping|
|
||||||
|
Inspecting variables |termdebug-variables|
|
||||||
|
Other commands |termdebug-commands|
|
||||||
|
Communication |termdebug-communication|
|
||||||
|
Customizing |termdebug-customizing|
|
||||||
|
|
||||||
{Vi does not have any of these commands}
|
{Vi does not have any of these commands}
|
||||||
{only available when compiled with the |+terminal| feature}
|
{only available when compiled with the |+terminal| feature}
|
||||||
@@ -44,7 +60,7 @@ the job. This uses a pty when possible. You can click outside of the
|
|||||||
terminal window to move keyboard focus elsewhere.
|
terminal window to move keyboard focus elsewhere.
|
||||||
|
|
||||||
CTRL-W can be used to navigate between windows and other CTRL-W commands, e.g.:
|
CTRL-W can be used to navigate between windows and other CTRL-W commands, e.g.:
|
||||||
CTRL-W CTRL-W move focus to the next window
|
CTRL-W CTRL-W move focus to the next window
|
||||||
CTRL-W : enter an Ex command
|
CTRL-W : enter an Ex command
|
||||||
See |CTRL-W| for more commands.
|
See |CTRL-W| for more commands.
|
||||||
|
|
||||||
@@ -64,7 +80,7 @@ the job. For example:
|
|||||||
'termkey' : enter an Ex command
|
'termkey' : enter an Ex command
|
||||||
'termkey' 'termkey' send 'termkey' to the job in the terminal
|
'termkey' 'termkey' send 'termkey' to the job in the terminal
|
||||||
'termkey' . send a CTRL-W to the job in the terminal
|
'termkey' . send a CTRL-W to the job in the terminal
|
||||||
'termkey' N go to terminal Normal mode, see below
|
'termkey' N go to terminal Normal mode, see below
|
||||||
'termkey' CTRL-N same as CTRL-W N
|
'termkey' CTRL-N same as CTRL-W N
|
||||||
'termkey' CTRL-C same as |t_CTRL-W_CTRL-C|
|
'termkey' CTRL-C same as |t_CTRL-W_CTRL-C|
|
||||||
*t_CTRL-\_CTRL-N*
|
*t_CTRL-\_CTRL-N*
|
||||||
@@ -81,11 +97,22 @@ themselves (like Vim does).
|
|||||||
|
|
||||||
To change the keys you type use terminal mode mappings, see |:tmap|.
|
To change the keys you type use terminal mode mappings, see |:tmap|.
|
||||||
These are defined like any mapping, but apply only when typing keys that are
|
These are defined like any mapping, but apply only when typing keys that are
|
||||||
sent to the job running in the terminal.
|
sent to the job running in the terminal. For example, to make Escape switch
|
||||||
|
to Terminal-Normal mode: >
|
||||||
|
tnoremap <Esc> <C-W>N
|
||||||
|
< *options-in-terminal*
|
||||||
|
After opening the terminal window and setting 'buftype' to "terminal" the
|
||||||
|
BufWinEnter autocommand event is triggered. This makes it possible to set
|
||||||
|
options specifically for the window and buffer. Example: >
|
||||||
|
au BufWinEnter * if &buftype == 'terminal' | setlocal bufhidden=hide | endif
|
||||||
|
|
||||||
|
Mouse events (click and drag) are passed to the terminal. Mouse move events
|
||||||
|
are only passed when Vim itself is receiving them. For a terminal that is
|
||||||
|
when 'balloonevalterm' is enabled.
|
||||||
|
|
||||||
|
|
||||||
Size and color ~
|
Size and color ~
|
||||||
|
*terminal-size-color*
|
||||||
See option 'termsize' for controlling the size of the terminal window.
|
See option 'termsize' for controlling the size of the terminal window.
|
||||||
(TODO: scrolling when the terminal is larger than the window)
|
(TODO: scrolling when the terminal is larger than the window)
|
||||||
|
|
||||||
@@ -194,7 +221,7 @@ the buffer name will still be set to the command.
|
|||||||
|
|
||||||
|
|
||||||
Resizing ~
|
Resizing ~
|
||||||
|
*terminal-resizing*
|
||||||
The size of the terminal can be in one of three modes:
|
The size of the terminal can be in one of three modes:
|
||||||
|
|
||||||
1. The 'termsize' option is empty: The terminal size follows the window size.
|
1. The 'termsize' option is empty: The terminal size follows the window size.
|
||||||
@@ -244,7 +271,7 @@ It is not possible to enter Insert mode from Terminal-Job mode.
|
|||||||
|
|
||||||
|
|
||||||
Cursor style ~
|
Cursor style ~
|
||||||
|
*terminal-cursor-style*
|
||||||
By default the cursor in the terminal window uses a not blinking block. The
|
By default the cursor in the terminal window uses a not blinking block. The
|
||||||
normal xterm escape sequences can be used to change the blinking state and the
|
normal xterm escape sequences can be used to change the blinking state and the
|
||||||
shape. Once focus leaves the terminal window Vim will restore the original
|
shape. Once focus leaves the terminal window Vim will restore the original
|
||||||
@@ -256,8 +283,21 @@ is inverted. Since Vim cannot detect this, the terminal window cursor
|
|||||||
blinking will also be inverted.
|
blinking will also be inverted.
|
||||||
|
|
||||||
|
|
||||||
Unix ~
|
Special keys ~
|
||||||
|
*terminal-special-keys*
|
||||||
|
Since the terminal emulator simulates an xterm, only escape sequences that
|
||||||
|
both Vim and xterm recognize will be available in the terminal window. If you
|
||||||
|
want to pass on other escape sequences to the job running in the terminal you
|
||||||
|
need to set up forwarding. Example: >
|
||||||
|
tmap <expr> <Esc>]b SendToTerm("\<Esc>]b")
|
||||||
|
func SendToTerm(what)
|
||||||
|
call term_sendkeys('', a:what)
|
||||||
|
return ''
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
|
||||||
|
Unix ~
|
||||||
|
*terminal-unix*
|
||||||
On Unix a pty is used to make it possible to run all kinds of commands. You
|
On Unix a pty is used to make it possible to run all kinds of commands. You
|
||||||
can even run Vim in the terminal! That's used for debugging, see below.
|
can even run Vim in the terminal! That's used for debugging, see below.
|
||||||
|
|
||||||
@@ -280,7 +320,7 @@ This will open the file "some_file.c" and put the cursor on line 123.
|
|||||||
|
|
||||||
|
|
||||||
MS-Windows ~
|
MS-Windows ~
|
||||||
|
*terminal-ms-windows*
|
||||||
On MS-Windows winpty is used to make it possible to run all kind of commands.
|
On MS-Windows winpty is used to make it possible to run all kind of commands.
|
||||||
Obviously, they must be commands that run in a terminal, not open their own
|
Obviously, they must be commands that run in a terminal, not open their own
|
||||||
window.
|
window.
|
||||||
@@ -299,6 +339,9 @@ to point to the right file, if needed. If you have both the 32-bit and 64-bit
|
|||||||
version, rename to winpty32.dll and winpty64.dll to match the way Vim was
|
version, rename to winpty32.dll and winpty64.dll to match the way Vim was
|
||||||
build.
|
build.
|
||||||
|
|
||||||
|
Environment variables are used to pass information to the running job:
|
||||||
|
VIM_SERVERNAME v:servername
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
2. Remote testing *terminal-testing*
|
2. Remote testing *terminal-testing*
|
||||||
|
|
||||||
@@ -323,12 +366,12 @@ Vim this also works remotely over an ssh connection.
|
|||||||
|
|
||||||
|
|
||||||
Starting ~
|
Starting ~
|
||||||
|
*termdebug-starting*
|
||||||
Load the plugin with this command: >
|
Load the plugin with this command: >
|
||||||
packadd termdebug
|
packadd termdebug
|
||||||
< *:Termdebug*
|
< *:Termdebug*
|
||||||
To start debugging use `:TermDebug` folowed by the command name, for example: >
|
To start debugging use `:TermDebug` folowed by the command name, for example: >
|
||||||
:TermDebug vim
|
:Termdebug vim
|
||||||
|
|
||||||
This opens two windows:
|
This opens two windows:
|
||||||
gdb window A terminal window in which "gdb vim" is executed. Here you
|
gdb window A terminal window in which "gdb vim" is executed. Here you
|
||||||
@@ -352,37 +395,99 @@ When the debugger ends, typically by typing "quit" in the gdb window, the two
|
|||||||
opened windows are closed.
|
opened windows are closed.
|
||||||
|
|
||||||
|
|
||||||
|
Example session ~
|
||||||
|
*termdebug-example*
|
||||||
|
Start in the Vim "src" directory and build Vim: >
|
||||||
|
% make
|
||||||
|
Start Vim: >
|
||||||
|
% ./vim
|
||||||
|
Load the termdebug plugin and start debugging Vim: >
|
||||||
|
:packadd termdebug
|
||||||
|
:Termdebug vim
|
||||||
|
You should now have three windows:
|
||||||
|
source - where you started, has a window toolbar with buttons
|
||||||
|
gdb - you can type gdb commands here
|
||||||
|
program - the executed program will use this window
|
||||||
|
You can use CTRL-W CTRL-W or the mouse to move focus between windows.
|
||||||
|
Put focus on the gdb window and type: >
|
||||||
|
break ex_help
|
||||||
|
run
|
||||||
|
Vim will start running in the program window. Put focus there and type: >
|
||||||
|
:help gui
|
||||||
|
Gdb will run into the ex_help breakpoint. The source window now shows the
|
||||||
|
ex_cmds.c file. A ">>" marker will appear where the breakpoint was set. The
|
||||||
|
line where the debugger stopped is highlighted. You can now step through the
|
||||||
|
program. Let's use the mouse: click on the "Next" button in the window
|
||||||
|
toolbar. You will see the highlighting move as the debugger executes a line
|
||||||
|
of source code.
|
||||||
|
|
||||||
|
Click "Next" a few times until the for loop is highlighted. Put the cursor on
|
||||||
|
the end of "eap->arg", then click "Eval" in the toolbar. You will see this
|
||||||
|
displayed:
|
||||||
|
"eap->arg": 0x555555e68855 "gui" ~
|
||||||
|
This way you can inspect the value of local variables. You can also focus the
|
||||||
|
gdb window and use a "print" command, e.g.: >
|
||||||
|
print *eap
|
||||||
|
|
||||||
|
Now go back to the source window and put the cursor on the first line after
|
||||||
|
the for loop, then type: >
|
||||||
|
:Break
|
||||||
|
You will see a ">>" marker appear, this indicates the new breakpoint. Now
|
||||||
|
click "Cont" in the toolbar and the code until the breakpoint will be
|
||||||
|
executed.
|
||||||
|
|
||||||
|
You can type more advanced commands in the gdb window. For example, type: >
|
||||||
|
watch curbuf
|
||||||
|
Now click "Cont" in the toolbar (or type "cont" in the gdb window). Execution
|
||||||
|
will now continue until the value of "curbuf" changes, which is in do_ecmd().
|
||||||
|
To remove this watchpoint again type in the gdb window: >
|
||||||
|
delete 3
|
||||||
|
|
||||||
|
You can see the stack by typing in the gdb window: >
|
||||||
|
where
|
||||||
|
Move through the stack frames, e.g. with: >
|
||||||
|
frame 3
|
||||||
|
The source window will show the code, at the point where the call was made to
|
||||||
|
a deeper level.
|
||||||
|
|
||||||
|
|
||||||
Stepping through code ~
|
Stepping through code ~
|
||||||
|
*termdebug-stepping*
|
||||||
Put focus on the gdb window to type commands there. Some common ones are:
|
Put focus on the gdb window to type commands there. Some common ones are:
|
||||||
- CTRL-C interrupt the program
|
- CTRL-C interrupt the program
|
||||||
- next execute the current line and stop at the next line
|
- next execute the current line and stop at the next line
|
||||||
- step execute the current line and stop at the next statement, entering
|
- step execute the current line and stop at the next statement,
|
||||||
functions
|
entering functions
|
||||||
- finish execute until leaving the current function
|
- finish execute until leaving the current function
|
||||||
- where show the stack
|
- where show the stack
|
||||||
- frame N go to the Nth stack frame
|
- frame N go to the Nth stack frame
|
||||||
- continue continue execution
|
- continue continue execution
|
||||||
|
|
||||||
In the window showing the source code some commands can used to control gdb:
|
In the window showing the source code these commands can used to control gdb:
|
||||||
:Break set a breakpoint at the current line; a sign will be displayed
|
:Run [args] run the program with [args] or the previous arguments
|
||||||
:Delete delete a breakpoint at the current line
|
:Arguments {args} set arguments for the next :Run
|
||||||
:Step execute the gdb "step" command
|
|
||||||
:Over execute the gdb "next" command (:Next is a Vim command)
|
:Break set a breakpoint at the current line; a sign will be displayed
|
||||||
:Finish execute the gdb "finish" command
|
:Delete delete a breakpoint at the current line
|
||||||
:Continue execute the gdb "continue" command
|
|
||||||
|
:Step execute the gdb "step" command
|
||||||
|
:Over execute the gdb "next" command (:Next is a Vim command)
|
||||||
|
:Finish execute the gdb "finish" command
|
||||||
|
:Continue execute the gdb "continue" command
|
||||||
|
:Stop interrupt the program
|
||||||
|
|
||||||
The plugin adds a window toolbar with these entries:
|
The plugin adds a window toolbar with these entries:
|
||||||
Step :Step
|
Step :Step
|
||||||
Next :Over
|
Next :Over
|
||||||
Finish :Finish
|
Finish :Finish
|
||||||
Cont :Continue
|
Cont :Continue
|
||||||
Eval :Evaluate
|
Stop :Stop
|
||||||
|
Eval :Evaluate
|
||||||
This way you can use the mouse to perform the most common commands.
|
This way you can use the mouse to perform the most common commands.
|
||||||
|
|
||||||
|
|
||||||
Inspecting variables ~
|
Inspecting variables ~
|
||||||
|
*termdebug-variables*
|
||||||
:Evaluate evaluate the expression under the cursor
|
:Evaluate evaluate the expression under the cursor
|
||||||
K same
|
K same
|
||||||
:Evaluate {expr} evaluate {expr}
|
:Evaluate {expr} evaluate {expr}
|
||||||
@@ -392,25 +497,28 @@ This is similar to using "print" in the gdb window.
|
|||||||
|
|
||||||
|
|
||||||
Other commands ~
|
Other commands ~
|
||||||
|
*termdebug-commands*
|
||||||
:Gdb jump to the gdb window
|
:Gdb jump to the gdb window
|
||||||
:Program jump to the window with the running program
|
:Program jump to the window with the running program
|
||||||
|
|
||||||
|
|
||||||
Communication ~
|
Communication ~
|
||||||
|
*termdebug-communication*
|
||||||
There is another, hidden, buffer, which is used for Vim to communicate with
|
There is another, hidden, buffer, which is used for Vim to communicate with
|
||||||
gdb. The buffer name is "gdb communication". Do not delete this buffer, it
|
gdb. The buffer name is "gdb communication". Do not delete this buffer, it
|
||||||
will break the debugger.
|
will break the debugger.
|
||||||
|
|
||||||
|
|
||||||
Customizing ~
|
Customizing ~
|
||||||
|
*termdebug-customizing*
|
||||||
To change the name of the gdb command, set the "termdebugger" variable before
|
To change the name of the gdb command, set the "termdebugger" variable before
|
||||||
invoking `:Termdebug`: >
|
invoking `:Termdebug`: >
|
||||||
let termdebugger = "mygdb"
|
let termdebugger = "mygdb"
|
||||||
|
< *gdb-version*
|
||||||
Only debuggers fully compatible with gdb will work. Vim uses the GDB/MI
|
Only debuggers fully compatible with gdb will work. Vim uses the GDB/MI
|
||||||
interface.
|
interface. This probably requires gdb version 7.12. if you get this error:
|
||||||
|
Undefined command: "new-ui". Try "help".~
|
||||||
|
Then your gdb is too old.
|
||||||
|
|
||||||
The color of the signs can be adjusted with these highlight groups:
|
The color of the signs can be adjusted with these highlight groups:
|
||||||
- debugPC the current position
|
- debugPC the current position
|
||||||
@@ -429,6 +537,10 @@ vertical split: >
|
|||||||
let g:termdebug_wide = 163
|
let g:termdebug_wide = 163
|
||||||
This will set &columns to 163 when :Termdebug is used. The value is restored
|
This will set &columns to 163 when :Termdebug is used. The value is restored
|
||||||
when quitting the debugger.
|
when quitting the debugger.
|
||||||
|
If g:termdebug_wide is set and &Columns is already larger than
|
||||||
|
g:termdebug_wide then a vertical split will be used without changing &columns.
|
||||||
|
Set it to 1 to get a vertical split without every changing &columns (useful
|
||||||
|
for when the terminal can't be resized by Vim).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 8.0. Last change: 2017 Sep 19
|
*todo.txt* For Vim version 8.0. Last change: 2017 Nov 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -7,9 +7,9 @@
|
|||||||
TODO list for Vim *todo*
|
TODO list for Vim *todo*
|
||||||
|
|
||||||
This is a veeeery long list of known bugs, current work and desired
|
This is a veeeery long list of known bugs, current work and desired
|
||||||
improvements. To make it a little bit accessible, the items are grouped by
|
improvements. To make it a little bit accessible, the older items are grouped
|
||||||
subject. In the first column of the line a classification is used to be able
|
by subject. In the first column of the line a classification is used to be
|
||||||
to look for "the next thing to do":
|
able to look for "the next thing to do":
|
||||||
|
|
||||||
Priority classification:
|
Priority classification:
|
||||||
9 next point release
|
9 next point release
|
||||||
@@ -35,18 +35,6 @@ entered there will not be repeated below, unless there is extra information.
|
|||||||
*known-bugs*
|
*known-bugs*
|
||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
:term hangs in Athena and Motif. (Kazunobu Kuriyama, 2017 Sep 17)
|
|
||||||
|
|
||||||
Always use FEAT_WINDOWS:
|
|
||||||
May get rid of:
|
|
||||||
#define W_WINCOL(wp) (wp->w_wincol)
|
|
||||||
#define W_WIDTH(wp) (wp->w_width)
|
|
||||||
#define W_ENDCOL(wp) (wp->w_wincol + wp->w_width)
|
|
||||||
#define W_VSEP_WIDTH(wp) (wp->w_vsep_width)
|
|
||||||
#define W_STATUS_HEIGHT(wp) (wp->w_status_height)
|
|
||||||
#define W_WINROW(wp) (wp->w_winrow)
|
|
||||||
# define ALIST(win) (win)->w_alist
|
|
||||||
|
|
||||||
No maintainer for Vietnamese translations.
|
No maintainer for Vietnamese translations.
|
||||||
No maintainer for Simplified Chinese translations.
|
No maintainer for Simplified Chinese translations.
|
||||||
|
|
||||||
@@ -57,10 +45,6 @@ Terminal emulator window:
|
|||||||
- Implement the right-click popup menu for the terminal. Can use the
|
- Implement the right-click popup menu for the terminal. Can use the
|
||||||
completion popup menu code and mouse dragging.
|
completion popup menu code and mouse dragging.
|
||||||
Use it for "set breakpoint", "remove breakpoint", etc.
|
Use it for "set breakpoint", "remove breakpoint", etc.
|
||||||
- make showballoon() work in a terminal. Requires getting mouse-move
|
|
||||||
events.
|
|
||||||
- send 'balloonText' events for the cursor position (using CursorHold ?)
|
|
||||||
in terminal mode.
|
|
||||||
- get ideas from http://clewn.sf.net
|
- get ideas from http://clewn.sf.net
|
||||||
- Look into the idevim plugin/script.
|
- Look into the idevim plugin/script.
|
||||||
- Improve testing:
|
- Improve testing:
|
||||||
@@ -70,6 +54,8 @@ Terminal emulator window:
|
|||||||
with the expected screenshot. Set t_Co to 256.
|
with the expected screenshot. Set t_Co to 256.
|
||||||
|
|
||||||
+channel:
|
+channel:
|
||||||
|
- Add a separate timeout for opening a socket. Currently it's fixed at 50
|
||||||
|
msec, which is too small for a remote connection. (tverniquet, #2130)
|
||||||
- Try out background make plugin:
|
- Try out background make plugin:
|
||||||
https://github.com/AndrewVos/vim-make-background
|
https://github.com/AndrewVos/vim-make-background
|
||||||
- Problem with stderr on Windows? (Vincent Rischmann, 2016 Aug 31, #1026)
|
- Problem with stderr on Windows? (Vincent Rischmann, 2016 Aug 31, #1026)
|
||||||
@@ -94,6 +80,10 @@ Terminal emulator window:
|
|||||||
Although user could use "xterm -e 'cmd arg'".
|
Although user could use "xterm -e 'cmd arg'".
|
||||||
|
|
||||||
Regexp problems:
|
Regexp problems:
|
||||||
|
- When search pattern has the base character both with and without combining
|
||||||
|
character, search fails. E.g. "รรีบ" in "การรีบรักใคร". (agguser, #2312)
|
||||||
|
- [:space:] only matches ASCII spaces. Add [:white:] for all space-like
|
||||||
|
characters, esp. including 0xa0. Use character class zero.
|
||||||
- Since 7.4.704 the old regex engine fails to match [[:print:]] in 0xf6.
|
- Since 7.4.704 the old regex engine fails to match [[:print:]] in 0xf6.
|
||||||
(Manuel Ortega, 2016 Apr 24)
|
(Manuel Ortega, 2016 Apr 24)
|
||||||
Test fails on Mac. Avoid using isalpha(), isalnum(), etc? Depends on
|
Test fails on Mac. Avoid using isalpha(), isalnum(), etc? Depends on
|
||||||
@@ -140,8 +130,8 @@ Regexp problems:
|
|||||||
Include a few color schemes, based on popularity:
|
Include a few color schemes, based on popularity:
|
||||||
http://www.vim.org/scripts/script_search_results.php?keywords=&script_type=color+scheme&order_by=rating&direction=descending&search=search
|
http://www.vim.org/scripts/script_search_results.php?keywords=&script_type=color+scheme&order_by=rating&direction=descending&search=search
|
||||||
http://vimawesome.com/?q=tag:color-scheme
|
http://vimawesome.com/?q=tag:color-scheme
|
||||||
Use names that indicate their appearnce (Christian Brabandt, 2017 Aug 3)
|
Use names that indicate their appearance (Christian Brabandt, 2017 Aug 3)
|
||||||
- monokai - Xia Crusoe (2017 Aug 4)
|
- monokai - Xia Crusoe (2017 Aug 4)
|
||||||
- seoul256 - Christian Brabandt (2017 Aug 3)
|
- seoul256 - Christian Brabandt (2017 Aug 3)
|
||||||
- gruvbox - Christian Brabandt (2017 Aug 3)
|
- gruvbox - Christian Brabandt (2017 Aug 3)
|
||||||
- janah - Marco Hinz (2017 Aug 4)
|
- janah - Marco Hinz (2017 Aug 4)
|
||||||
@@ -149,66 +139,98 @@ Use names that indicate their appearnce (Christian Brabandt, 2017 Aug 3)
|
|||||||
Suggested by Hiroki Kokubun:
|
Suggested by Hiroki Kokubun:
|
||||||
- [Iceberg](https://github.com/cocopon/iceberg.vim) (my one)
|
- [Iceberg](https://github.com/cocopon/iceberg.vim) (my one)
|
||||||
- [hybrid](https://github.com/w0ng/vim-hybrid)
|
- [hybrid](https://github.com/w0ng/vim-hybrid)
|
||||||
|
Include solarized color scheme?, it does not support termguicolors.
|
||||||
|
-> Make check for colorscheme that it's sane.
|
||||||
|
- Sanitized version of pablo (Lifepillar, 2017 Nov 21)
|
||||||
|
|
||||||
Patch to update Brazilian translations. (Eduardo Dobay, 2017 Sep 10, #2077)
|
Compiler warnings (geeknik, 2017 Oct 26):
|
||||||
|
- signed integer overflow in do_sub() (#2249)
|
||||||
|
- signed integer overflow in get_address() (#2248)
|
||||||
|
- signed integer overflow in getdecchrs() (#2254)
|
||||||
|
- signed integer overflow in nfa_regatom() (#2251)
|
||||||
|
- undefined left shift in get_string_tv() (#2250)
|
||||||
|
|
||||||
|
Patch to use imactivatefunc() also without +xim feature. (Yasuhiro Matsumoto,
|
||||||
|
2017 Nov 19, #2349)
|
||||||
|
|
||||||
|
'hlsearch' shows empty matches, which means highlighting everything.
|
||||||
|
Don't do that. For "foo\|" or "\v"
|
||||||
|
Patch from Christian, 2017 Nov 14. Should still display "$" matches.
|
||||||
|
|
||||||
When starting with --clean packages under "start" are not loaded. Make this
|
When starting with --clean packages under "start" are not loaded. Make this
|
||||||
work: :packadd START {name} similar to :runtime START name
|
work: :packadd START {name} similar to :runtime START name
|
||||||
|
|
||||||
Patch to refactor qf_jump(). (Yegappan, 2017 Sep 17)
|
|
||||||
|
|
||||||
When using :packadd files under "later" are not used, which is inconsistent
|
When using :packadd files under "later" are not used, which is inconsistent
|
||||||
with packages under "start". (xtal8, #1994)
|
with packages under "start". (xtal8, #1994)
|
||||||
|
|
||||||
After 8.0.0962 pasting leaves the cursor in another position. (Ken Takata,
|
Fold at end of the buffer behaves inconsistently. (James McCoy, 2017 Oct 9)
|
||||||
2017 Aug 23, #2015) Also (zdm, 2017 Aug 23)
|
|
||||||
|
|
||||||
Patch to fix popup menu drawing when changing the window size. (Ozaki Kiichi,
|
|
||||||
2017 Sep 17, #2110)
|
|
||||||
|
|
||||||
Patch to fix cursor highlighting with match. (Ozaki Kiichi, 2017 Sep 17,
|
|
||||||
#2111)
|
|
||||||
|
|
||||||
Patch for not profiling the first line of a script. (Lemonboy, 2017 Sep 17,
|
|
||||||
#2103)
|
|
||||||
|
|
||||||
Mac Terminal.app: ctermbg=15 gives light grey instead of white.
|
|
||||||
ctermbg=256 breaks clearing till end of the line. Both work fine in xterm.
|
|
||||||
|
|
||||||
Using ":hi" causes a redraw, but a redraw may update the status line, which
|
|
||||||
may trigger a ":hi" command.
|
|
||||||
|
|
||||||
Last line not in profile if it is a continuation line. (LemonBoy, 2017 Sep 17,
|
|
||||||
#2112)
|
|
||||||
|
|
||||||
"vim -c startinsert!" doesn't append. (#2117)
|
|
||||||
|
|
||||||
With foldmethod=syntax and nofoldenable comment highlighting isn't removed.
|
With foldmethod=syntax and nofoldenable comment highlighting isn't removed.
|
||||||
(Marcin Szewczyk, 2017 Apr 26)
|
(Marcin Szewczyk, 2017 Apr 26)
|
||||||
|
|
||||||
Patch to make Mac features more clear and add "macdarwin". (Kazunobu Kuriyama,
|
|
||||||
2017 Sep 5)
|
|
||||||
|
|
||||||
Using 'wildignore' also applies to literally entered file name. Also with
|
Using 'wildignore' also applies to literally entered file name. Also with
|
||||||
:drop (remote commands).
|
:drop (remote commands).
|
||||||
|
|
||||||
|
Race condition between stat() and open() in write_viminfo(). Use open() in the
|
||||||
|
loop and try another name instead of using a temp file. (Simon Ruderich)
|
||||||
|
The first one, when viminfo is new, should just fail if it creating with
|
||||||
|
O_EXCL fails.
|
||||||
|
Also use umask instead of mch_fopen() after vim_tempname().
|
||||||
|
|
||||||
|
"gvim --remote" from a directory with non-word characters changes the current
|
||||||
|
directory (Paulo Marcel Coelho Arabic, 2017 Oct 30, #2266)
|
||||||
|
Also see #1689.
|
||||||
|
|
||||||
ml_get error when using a Python. (Yggdroot, 2017 Jun 1, #1737)
|
ml_get error when using a Python. (Yggdroot, 2017 Jun 1, #1737)
|
||||||
Lemonboy can reproduce (2017 Jun 5)
|
Lemonboy can reproduce (2017 Jun 5)
|
||||||
|
|
||||||
|
Invalid range error when using BufWinLeave for closing terminal.
|
||||||
|
(Gabriel Barta, 2017 Nov 15, #2339)
|
||||||
|
|
||||||
ml_get errors with buggy script. (Dominique, 2017 Apr 30)
|
ml_get errors with buggy script. (Dominique, 2017 Apr 30)
|
||||||
|
|
||||||
Error in emsg with buggy script. (Dominique, 2017 Apr 30)
|
Error in emsg with buggy script. (Dominique, 2017 Apr 30)
|
||||||
|
|
||||||
Patch to make ":set scroll&" work properly. (Ozaki Kiichi, 2017 Sep 17, #2104)
|
Patch to avoid clearing the intro message on Win32 console.
|
||||||
|
(Ken Takata, 2017 Nov 14)
|
||||||
|
|
||||||
mswin.vim should not map CTRL-F in the console (#2093)
|
Patch to copy buffer-local options before buffer leaves the window. (Bjorn
|
||||||
Patch from Christian, 2017 Sep 15.
|
Linse, 2017 Nov 14, #2336)
|
||||||
|
|
||||||
|
When a timer is running and typing CTRL-R on the command line, it is not
|
||||||
|
redrawn properly. (xtal8, 2017 Oct 23, #2241)
|
||||||
|
|
||||||
|
Universal solution to detect if t_RS is working, using cursor position.
|
||||||
|
Koichi Iwamoto, #2126
|
||||||
|
|
||||||
|
Patch to fix cmdline abbreviation after '<,'>. (Christian Brabandt, 2017 Nov
|
||||||
|
13, on issue #2320)
|
||||||
|
|
||||||
|
Patch to add TextDeletePost and TextYankPost events. (Philippe Vaucher, 2011
|
||||||
|
May 24) Update May 26.
|
||||||
|
Now in patch by Lemonboy, #2333 (who is Lemonboy?)
|
||||||
|
|
||||||
Default install on MS-Windows should source defaults.vim.
|
Default install on MS-Windows should source defaults.vim.
|
||||||
Ask whether to use Windows or Vim key behavior?
|
Ask whether to use Windows or Vim key behavior?
|
||||||
|
|
||||||
|
Patch for improving detecting Ruby on Mac in configure. (Ilya Mikhaltsou, 2017
|
||||||
|
Nov 21)
|
||||||
|
|
||||||
|
When using command line window, CmdlineLeave is triggered without
|
||||||
|
CmdlineEnter. (xtal8, 2017 Oct 30, #2263)
|
||||||
|
Add some way to get the nested state. Although CmdwinEnter is obviously
|
||||||
|
always nested.
|
||||||
|
|
||||||
matchit hasn't been maintained for a long time. #955.
|
matchit hasn't been maintained for a long time. #955.
|
||||||
|
|
||||||
|
Problem with 'delcombine'. (agguser, 2017 Nov 10, #2313)
|
||||||
|
|
||||||
|
MS-Windows: buffer completetion doesn't work when using backslash (or slash)
|
||||||
|
for a path separator. (xtal8, #2201)
|
||||||
|
|
||||||
|
Patch to adjust to DPI setting for GTK. (Roel van de Kraats, 2017 Nov 20,
|
||||||
|
#2357)
|
||||||
|
|
||||||
Test runtime files.
|
Test runtime files.
|
||||||
Start with filetype detection: testdir/test_filetype.vim
|
Start with filetype detection: testdir/test_filetype.vim
|
||||||
|
|
||||||
@@ -227,18 +249,25 @@ Still happens (2017 Jul 9)
|
|||||||
When bracketed paste is used, pasting at the ":append" prompt does not get the
|
When bracketed paste is used, pasting at the ":append" prompt does not get the
|
||||||
line breaks. (Ken Takata, 2017 Aug 22)
|
line breaks. (Ken Takata, 2017 Aug 22)
|
||||||
|
|
||||||
This example in the help does not work (Andy Wokula, 2017 Aug 20):
|
The ":move" command does not honor closed folds. (Ryan Lue, #2351)
|
||||||
augroup mine | au! BufRead | augroup END
|
|
||||||
|
Patch for 24 bit color support in MS-Windows console, using vcon. (Nobuhiro
|
||||||
|
Takasaki, Ken Takata, 2017 Oct 1, #2060).
|
||||||
|
|
||||||
Memory leaks in test_channel? (or is it because of fork())
|
Memory leaks in test_channel? (or is it because of fork())
|
||||||
Memory leak in test_arabic.
|
Memory leak in test_arabic.
|
||||||
Using uninitialized value in test_crypt.
|
Using uninitialized value in test_crypt.
|
||||||
|
|
||||||
|
Patch to clear background when "guibg=NONE" is used and 'termguicolors' is
|
||||||
|
set.
|
||||||
|
|
||||||
Patch to make gM move to middle of line. (Yasuhiro Matsumoto, Sep 8, #2070)
|
Patch to make gM move to middle of line. (Yasuhiro Matsumoto, Sep 8, #2070)
|
||||||
|
|
||||||
|
Cannot copy modeless selection when cursor is inside it. (lkintact, #2300)
|
||||||
|
|
||||||
Include Haiku port. (Adrien Destugues, Siarzhuk Zharski, 2013 Oct 24)
|
Include Haiku port. (Adrien Destugues, Siarzhuk Zharski, 2013 Oct 24)
|
||||||
It can replace the BeOS code, which is likely not used anymore.
|
It can replace the BeOS code, which is likely not used anymore.
|
||||||
Now on github: #1856.
|
Now on github: #1856. Updated Oct 2017
|
||||||
Got permission to include this under the Vim license.
|
Got permission to include this under the Vim license.
|
||||||
|
|
||||||
Refactored HTML indent file. (Michael Lee, #1821)
|
Refactored HTML indent file. (Michael Lee, #1821)
|
||||||
@@ -246,6 +275,8 @@ Refactored HTML indent file. (Michael Lee, #1821)
|
|||||||
Test_writefile_fails_conversion failure on Solaris because if different iconv
|
Test_writefile_fails_conversion failure on Solaris because if different iconv
|
||||||
behavior. Skip when "uname" returns "SunOS"? (Pavel Heimlich, #1872)
|
behavior. Skip when "uname" returns "SunOS"? (Pavel Heimlich, #1872)
|
||||||
|
|
||||||
|
'tagrelative' is broken in specific situation. (xaizek, 2017 Oct 19, #2221)
|
||||||
|
|
||||||
All functions are global, which makes functions like get() and len() awkward.
|
All functions are global, which makes functions like get() and len() awkward.
|
||||||
For the future use the ~get() and ~len() syntax, e.g.:
|
For the future use the ~get() and ~len() syntax, e.g.:
|
||||||
mylist~get(idx)
|
mylist~get(idx)
|
||||||
@@ -263,6 +294,9 @@ The ++ options for the :edit command are also useful on the Vim command line.
|
|||||||
Overlong utf-8 sequence is displayed wrong. (Harm te Hennepe, 2017 Sep 14,
|
Overlong utf-8 sequence is displayed wrong. (Harm te Hennepe, 2017 Sep 14,
|
||||||
#2089) Patch with possible solution by Björn Linse.
|
#2089) Patch with possible solution by Björn Linse.
|
||||||
|
|
||||||
|
The change list index is local to a buffer, but it doesn't make sense using it
|
||||||
|
for another buffer. (lacygoll) Copy w_changelistidx to wininfo_S and back.
|
||||||
|
|
||||||
X11: Putting more than about 262040 characters of text on the clipboard and
|
X11: Putting more than about 262040 characters of text on the clipboard and
|
||||||
pasting it in another Vim doesn't work. (Dominique Pelle, 2008 Aug 21-23)
|
pasting it in another Vim doesn't work. (Dominique Pelle, 2008 Aug 21-23)
|
||||||
clip_x11_request_selection_cb() is called with zero value and length.
|
clip_x11_request_selection_cb() is called with zero value and length.
|
||||||
@@ -286,9 +320,25 @@ terminal.c and then CTRL-N twice.
|
|||||||
Should do current file first and not split it up when more results are found.
|
Should do current file first and not split it up when more results are found.
|
||||||
(Also #1890)
|
(Also #1890)
|
||||||
|
|
||||||
|
Patch from Christian Brabandt to preserve upper case marks when wiping out a
|
||||||
|
buffer. (2013 Dec 9)
|
||||||
|
Also fixes #2166?
|
||||||
|
|
||||||
|
Patch to add argument to :cquit. (Thinca, 2014 Oct 12)
|
||||||
|
|
||||||
Python: After "import vim" error messages only show the first line of the
|
Python: After "import vim" error messages only show the first line of the
|
||||||
stack trace. (Yggdroot, 2017 Jul 28, #1887)
|
stack trace. (Yggdroot, 2017 Jul 28, #1887)
|
||||||
|
|
||||||
|
Profile of a dict function is lost when the dict is deleted. Would it be
|
||||||
|
possible to collect this? (Daniel Hahler, #2350)
|
||||||
|
|
||||||
|
Patch to add "module" to quickfix entries. (Marcin Szamotulski, Coot, 2017 Jun
|
||||||
|
8, #1757) Now part of #2322. Or #2327? #1757 was re-opened, include that
|
||||||
|
first.
|
||||||
|
|
||||||
|
Add `:filter` support for various commands (Marcin Szamotulski, 2017 Nov 12
|
||||||
|
#2322) Now in #2327?
|
||||||
|
|
||||||
When checking if a bufref is valid, also check the buffer number, to catch the
|
When checking if a bufref is valid, also check the buffer number, to catch the
|
||||||
case of :bwipe followed by :new.
|
case of :bwipe followed by :new.
|
||||||
|
|
||||||
@@ -324,8 +374,6 @@ Use gvimext.dll from the nightly build? (Issue #249)
|
|||||||
Problem with using :cd when remotely editing a file. (Gerd Wachsmuth, 2017 May
|
Problem with using :cd when remotely editing a file. (Gerd Wachsmuth, 2017 May
|
||||||
8, #1690)
|
8, #1690)
|
||||||
|
|
||||||
Include solarized color scheme?
|
|
||||||
|
|
||||||
Running test_gui and test_gui_init with Motif sometimes kills the window
|
Running test_gui and test_gui_init with Motif sometimes kills the window
|
||||||
manager. Problem with Motif?
|
manager. Problem with Motif?
|
||||||
|
|
||||||
@@ -402,10 +450,6 @@ Error in test_startup_utf8 on Solaris. (Danek Duvall, 2016 Aug 17)
|
|||||||
|
|
||||||
Completion for :!cmd shows each match twice. #1435
|
Completion for :!cmd shows each match twice. #1435
|
||||||
|
|
||||||
Patch to change GUI behavior: instead of changing the window size change the
|
|
||||||
lines/columns when menu/toolbar/etc. is added/removed. (Ychin, 2016 Mar 20,
|
|
||||||
#703)
|
|
||||||
|
|
||||||
GTK: When adding a timer from 'balloonexpr' it won't fire, because
|
GTK: When adding a timer from 'balloonexpr' it won't fire, because
|
||||||
g_main_context_iteration() doesn't return. Need to trigger an event when the
|
g_main_context_iteration() doesn't return. Need to trigger an event when the
|
||||||
timer expires.
|
timer expires.
|
||||||
@@ -498,8 +542,6 @@ Patch for wrong cursor position on wrapped line, involving breakindent.
|
|||||||
(Ozaki Kiichi, 2016 Nov 25)
|
(Ozaki Kiichi, 2016 Nov 25)
|
||||||
Does this also fix #1408 ?
|
Does this also fix #1408 ?
|
||||||
|
|
||||||
Patch to add "module" to quickfix entries. (Coot, 2017 Jun 8, #1757)
|
|
||||||
|
|
||||||
'cursorline' and match interfere. (Ozaki Kiichi, 2017 Jun 23, #1792)
|
'cursorline' and match interfere. (Ozaki Kiichi, 2017 Jun 23, #1792)
|
||||||
|
|
||||||
Patch for 'cursorlinenr' option. (Ozaki Kiichi, 2016 Nov 30)
|
Patch for 'cursorlinenr' option. (Ozaki Kiichi, 2016 Nov 30)
|
||||||
@@ -618,9 +660,6 @@ Patch to add ":syn foldlevel" to use fold level further down the line.
|
|||||||
Completion for input() does not expand environment variables. (chdiza, 2016
|
Completion for input() does not expand environment variables. (chdiza, 2016
|
||||||
Jul 25, #948)
|
Jul 25, #948)
|
||||||
|
|
||||||
Patch to fix wrong encoding of error message on Cygwin/MSYS terminal.
|
|
||||||
(Ken Takata, 2016 Oct 4)
|
|
||||||
|
|
||||||
Patch to add 'systemencoding', convert between 'encoding' and this for file
|
Patch to add 'systemencoding', convert between 'encoding' and this for file
|
||||||
names, shell commands and the like. (Kikuchan, 2010 Oct 14)
|
names, shell commands and the like. (Kikuchan, 2010 Oct 14)
|
||||||
Assume the system converts between the actual encoding of the filesystem to
|
Assume the system converts between the actual encoding of the filesystem to
|
||||||
@@ -660,11 +699,6 @@ Patch to improve map documentation. Issue #799.
|
|||||||
|
|
||||||
Patch for syntax folding optimization. (Shougo, 2016 Sep 6, #1045)
|
Patch for syntax folding optimization. (Shougo, 2016 Sep 6, #1045)
|
||||||
|
|
||||||
Patch for drag&drop reordering of GUI tab pages reordering.
|
|
||||||
(Ken Takata, 2013 Nov 22, second one, also by Masamichi Abe)
|
|
||||||
Now on Git: https://gist.github.com/nocd5/165286495c782b815b94
|
|
||||||
Update 2016 Aug 10.
|
|
||||||
|
|
||||||
We can use '. to go to the last change in the current buffer, but how about
|
We can use '. to go to the last change in the current buffer, but how about
|
||||||
the last change in any buffer? Can we use ', (, is next to .)?
|
the last change in any buffer? Can we use ', (, is next to .)?
|
||||||
|
|
||||||
@@ -1036,8 +1070,6 @@ Jun 8)
|
|||||||
Bug: Autocompleting ":tag/pat" replaces "/pat" with a match but does not
|
Bug: Autocompleting ":tag/pat" replaces "/pat" with a match but does not
|
||||||
insert a space. (Micha Mos, 2014 Nov 7)
|
insert a space. (Micha Mos, 2014 Nov 7)
|
||||||
|
|
||||||
Patch to add argument to :cquit. (Thinca, 2014 Oct 12)
|
|
||||||
|
|
||||||
No error for missing endwhile. (ZyX, 2014 Mar 20)
|
No error for missing endwhile. (ZyX, 2014 Mar 20)
|
||||||
|
|
||||||
Patch to make extend() fail early when it might fail at some point.
|
Patch to make extend() fail early when it might fail at some point.
|
||||||
@@ -1183,9 +1215,6 @@ When evaluating expression in backticks, autoload doesn't work.
|
|||||||
Using <nr>ifoobar<esc> can slow down Vim. Patch by Christian Brabandt, 2013
|
Using <nr>ifoobar<esc> can slow down Vim. Patch by Christian Brabandt, 2013
|
||||||
Dec 13.
|
Dec 13.
|
||||||
|
|
||||||
Patch from Christian Brabandt to preserve upper case marks when wiping out a
|
|
||||||
buffer. (2013 Dec 9)
|
|
||||||
|
|
||||||
GTK: problem with 'L' in 'guioptions' changing the window width.
|
GTK: problem with 'L' in 'guioptions' changing the window width.
|
||||||
(Aaron Cornelius, 2012 Feb 6)
|
(Aaron Cornelius, 2012 Feb 6)
|
||||||
|
|
||||||
@@ -1459,8 +1488,6 @@ Vim using lots of memory when joining lines. (John Little, 2010 Dec 3)
|
|||||||
BT regexp engine: After trying a \@> match and failing, submatches are not
|
BT regexp engine: After trying a \@> match and failing, submatches are not
|
||||||
cleared. See test64.
|
cleared. See test64.
|
||||||
|
|
||||||
Changes to manpage plugin. (Elias Toivanen, 2011 Jul 25)
|
|
||||||
|
|
||||||
Patch to make "z=" work when 'spell' is off. Does this have nasty side
|
Patch to make "z=" work when 'spell' is off. Does this have nasty side
|
||||||
effects? (Christian Brabandt, 2012 Aug 5, Update 2013 Aug 12)
|
effects? (Christian Brabandt, 2012 Aug 5, Update 2013 Aug 12)
|
||||||
Would also need to do this for spellbadword() and spellsuggest().
|
Would also need to do this for spellbadword() and spellsuggest().
|
||||||
@@ -1503,9 +1530,6 @@ Build problem with small features on Mac OS X 10.6. (Rainer, 2011 Jan 24)
|
|||||||
|
|
||||||
"0g@$" puts '] on last byte of multi-byte. (ZyX, 2011 Jan 22)
|
"0g@$" puts '] on last byte of multi-byte. (ZyX, 2011 Jan 22)
|
||||||
|
|
||||||
Patch to add TextDeletePost and TextYankPost events. (Philippe Vaucher, 2011
|
|
||||||
May 24) Update May 26.
|
|
||||||
|
|
||||||
Patch for :tabrecently. (Hirokazu Yoshida, 2012 Jan 30)
|
Patch for :tabrecently. (Hirokazu Yoshida, 2012 Jan 30)
|
||||||
|
|
||||||
Problem with "syn sync grouphere". (Gustavo Niemeyer, 2011 Jan 27)
|
Problem with "syn sync grouphere". (Gustavo Niemeyer, 2011 Jan 27)
|
||||||
@@ -2236,9 +2260,6 @@ with "gvim -nb:localhost:55555:foo". From nc do: '1:editFile!0 "foo"'. Then
|
|||||||
go to Insert mode and add a few lines. Then backspacing every other time
|
go to Insert mode and add a few lines. Then backspacing every other time
|
||||||
moves the cursor instead of deleting. (Chris Kaiser, 2007 Sep 25)
|
moves the cursor instead of deleting. (Chris Kaiser, 2007 Sep 25)
|
||||||
|
|
||||||
Windows installer should install 32-bit version of right-click handler also on
|
|
||||||
64-bit systems. (Brian Cunningham, 2011 Dec 28)
|
|
||||||
|
|
||||||
Windows installer could add a "open in new tab of existing Vim" menu entry.
|
Windows installer could add a "open in new tab of existing Vim" menu entry.
|
||||||
Gvimext: patch to add "Edit with single Vim &tabbed" menu entry.
|
Gvimext: patch to add "Edit with single Vim &tabbed" menu entry.
|
||||||
Just have two choices, always using one Vim and selecting between using an
|
Just have two choices, always using one Vim and selecting between using an
|
||||||
@@ -4675,7 +4696,7 @@ Command line history:
|
|||||||
- Add "KeyWasTyped" flag: It's reset before each command and set when a
|
- Add "KeyWasTyped" flag: It's reset before each command and set when a
|
||||||
character from the keyboard is consumed. Value is used to decide to put a
|
character from the keyboard is consumed. Value is used to decide to put a
|
||||||
command line in history or not. Put line in history if it didn't
|
command line in history or not. Put line in history if it didn't
|
||||||
completely resulted from one mapping.
|
completely result from one mapping.
|
||||||
- When using ":browse", also put the resulting edit command in the history,
|
- When using ":browse", also put the resulting edit command in the history,
|
||||||
so that it can be repeated. (Demirel)
|
so that it can be repeated. (Demirel)
|
||||||
|
|
||||||
@@ -5223,7 +5244,7 @@ Swap (.swp) files:
|
|||||||
- Add an option to create a swap file only when making the first change to
|
- Add an option to create a swap file only when making the first change to
|
||||||
the buffer. (Liang) Or only when the buffer is not read-only.
|
the buffer. (Liang) Or only when the buffer is not read-only.
|
||||||
- Add option to set "umask" for backup files and swap files (Antwerpen).
|
- Add option to set "umask" for backup files and swap files (Antwerpen).
|
||||||
'backupumask' and 'swapumask'? Or 'umaskback' and 'umaskswap'?
|
'backupumask' and 'swapumask'? Or 'umaskbackup' and 'umaskswap'?
|
||||||
- When editing a readonly file, don't use a swap file but read parts from the
|
- When editing a readonly file, don't use a swap file but read parts from the
|
||||||
original file. Also do this when the file is huge (>'maxmem'). We do
|
original file. Also do this when the file is huge (>'maxmem'). We do
|
||||||
need to load the file once to count the number of lines? Perhaps keep a
|
need to load the file once to count the number of lines? Perhaps keep a
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ Table of contents: |usr_toc.txt|
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
*09.1* Parts of the GUI
|
*09.1* Parts of the GUI
|
||||||
|
|
||||||
You might have an icon on your desktop that starts gVim. Otherwise, one of
|
You might have an icon on your desktop that starts gvim. Otherwise, one of
|
||||||
these commands should do it: >
|
these commands should do it: >
|
||||||
|
|
||||||
gvim file.txt
|
gvim file.txt
|
||||||
@@ -184,12 +184,12 @@ currently highlighted. In Vim this is the Visual area (this assumes you are
|
|||||||
using the default option settings). You can paste this selection in another
|
using the default option settings). You can paste this selection in another
|
||||||
application without any further action.
|
application without any further action.
|
||||||
For example, in this text select a few words with the mouse. Vim will
|
For example, in this text select a few words with the mouse. Vim will
|
||||||
switch to Visual mode and highlight the text. Now start another gVim, without
|
switch to Visual mode and highlight the text. Now start another gvim, without
|
||||||
a file name argument, so that it displays an empty window. Click the middle
|
a file name argument, so that it displays an empty window. Click the middle
|
||||||
mouse button. The selected text will be inserted.
|
mouse button. The selected text will be inserted.
|
||||||
|
|
||||||
The "current selection" will only remain valid until some other text is
|
The "current selection" will only remain valid until some other text is
|
||||||
selected. After doing the paste in the other gVim, now select some characters
|
selected. After doing the paste in the other gvim, now select some characters
|
||||||
in that window. You will notice that the words that were previously selected
|
in that window. You will notice that the words that were previously selected
|
||||||
in the other gvim window are displayed differently. This means that it no
|
in the other gvim window are displayed differently. This means that it no
|
||||||
longer is the current selection.
|
longer is the current selection.
|
||||||
@@ -204,10 +204,10 @@ Now for the other place with which text can be exchanged. We call this the
|
|||||||
"real clipboard", to avoid confusion. Often both the "current selection" and
|
"real clipboard", to avoid confusion. Often both the "current selection" and
|
||||||
the "real clipboard" are called clipboard, you'll have to get used to that.
|
the "real clipboard" are called clipboard, you'll have to get used to that.
|
||||||
To put text on the real clipboard, select a few different words in one of
|
To put text on the real clipboard, select a few different words in one of
|
||||||
the gVims you have running. Then use the Edit/Copy menu entry. Now the text
|
the gvims you have running. Then use the Edit/Copy menu entry. Now the text
|
||||||
has been copied to the real clipboard. You can't see this, unless you have
|
has been copied to the real clipboard. You can't see this, unless you have
|
||||||
some application that shows the clipboard contents (e.g., KDE's Klipper).
|
some application that shows the clipboard contents (e.g., KDE's Klipper).
|
||||||
Now select the other gVim, position the cursor somewhere and use the
|
Now select the other gvim, position the cursor somewhere and use the
|
||||||
Edit/Paste menu. You will see the text from the real clipboard is inserted.
|
Edit/Paste menu. You will see the text from the real clipboard is inserted.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*usr_41.txt* For Vim version 8.0. Last change: 2017 Aug 22
|
*usr_41.txt* For Vim version 8.0. Last change: 2017 Nov 19
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -886,10 +886,11 @@ GUI: *gui-functions*
|
|||||||
getwinposx() X position of the GUI Vim window
|
getwinposx() X position of the GUI Vim window
|
||||||
getwinposy() Y position of the GUI Vim window
|
getwinposy() Y position of the GUI Vim window
|
||||||
balloon_show() set the balloon content
|
balloon_show() set the balloon content
|
||||||
|
balloon_split() split a message for a balloon
|
||||||
|
|
||||||
Vim server: *server-functions*
|
Vim server: *server-functions*
|
||||||
serverlist() return the list of server names
|
serverlist() return the list of server names
|
||||||
remote_startserve() run a server
|
remote_startserver() run a server
|
||||||
remote_send() send command characters to a Vim server
|
remote_send() send command characters to a Vim server
|
||||||
remote_expr() evaluate an expression in a Vim server
|
remote_expr() evaluate an expression in a Vim server
|
||||||
server2client() send a reply to a client of a Vim server
|
server2client() send a reply to a client of a Vim server
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*various.txt* For Vim version 8.0. Last change: 2017 Sep 16
|
*various.txt* For Vim version 8.0. Last change: 2017 Nov 18
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -309,9 +309,13 @@ g8 Print the hex values of the bytes used in the
|
|||||||
*+ARP* Amiga only: ARP support included
|
*+ARP* Amiga only: ARP support included
|
||||||
B *+arabic* |Arabic| language support
|
B *+arabic* |Arabic| language support
|
||||||
N *+autocmd* |:autocmd|, automatic commands
|
N *+autocmd* |:autocmd|, automatic commands
|
||||||
m *+balloon_eval* |balloon-eval| support. Included when compiling with
|
H *+autoservername* Automatically enable |clientserver|
|
||||||
supported GUI (Motif, GTK, GUI) and either
|
m *+balloon_eval* |balloon-eval| support in the GUI. Included when
|
||||||
Netbeans/Sun Workshop integration or |+eval| feature.
|
compiling with supported GUI (Motif, GTK, GUI) and
|
||||||
|
either Netbeans/Sun Workshop integration or |+eval|
|
||||||
|
feature.
|
||||||
|
H *+balloon_eval_term* |balloon-eval| support in the terminal,
|
||||||
|
'balloonevalterm'
|
||||||
N *+browse* |:browse| command
|
N *+browse* |:browse| command
|
||||||
N *+builtin_terms* some terminals builtin |builtin-terms|
|
N *+builtin_terms* some terminals builtin |builtin-terms|
|
||||||
B *++builtin_terms* maximal terminals builtin |builtin-terms|
|
B *++builtin_terms* maximal terminals builtin |builtin-terms|
|
||||||
@@ -447,7 +451,7 @@ N *+visualextra* extra Visual mode commands |blockwise-operators|
|
|||||||
N *+vreplace* |gR| and |gr|
|
N *+vreplace* |gR| and |gr|
|
||||||
N *+wildignore* |'wildignore'|
|
N *+wildignore* |'wildignore'|
|
||||||
N *+wildmenu* |'wildmenu'|
|
N *+wildmenu* |'wildmenu'|
|
||||||
*+windows* more than one window; Always enabled sinde 8.0.1118.
|
*+windows* more than one window; Always enabled since 8.0.1118.
|
||||||
m *+writebackup* |'writebackup'| is default on
|
m *+writebackup* |'writebackup'| is default on
|
||||||
m *+xim* X input method |xim|
|
m *+xim* X input method |xim|
|
||||||
*+xfontset* X fontset support |xfontset|
|
*+xfontset* X fontset support |xfontset|
|
||||||
|
|||||||
@@ -11778,7 +11778,7 @@ Files: src/os_unix.c
|
|||||||
Patch 7.4.1915
|
Patch 7.4.1915
|
||||||
Problem: The effect of the PopupMenu autocommand isn't directly visible.
|
Problem: The effect of the PopupMenu autocommand isn't directly visible.
|
||||||
Solution: Call gui_update_menus() before displaying the popup menu. (Shane
|
Solution: Call gui_update_menus() before displaying the popup menu. (Shane
|
||||||
Harper, closs #855)
|
Harper, closes #855)
|
||||||
Files: src/menu.c
|
Files: src/menu.c
|
||||||
|
|
||||||
Patch 7.4.1916 (after 7.4.1906)
|
Patch 7.4.1916 (after 7.4.1906)
|
||||||
@@ -15398,7 +15398,7 @@ Files: src/testdir/test_undo.vim, src/undo.c
|
|||||||
Patch 8.0.0150
|
Patch 8.0.0150
|
||||||
Problem: When the pattern of :filter does not have a separator then
|
Problem: When the pattern of :filter does not have a separator then
|
||||||
completion of the command fails.
|
completion of the command fails.
|
||||||
Solution: Skip over the pattern. (Ozaki Kiichi, clodes #1299)
|
Solution: Skip over the pattern. (Ozaki Kiichi, closes #1299)
|
||||||
Files: src/ex_docmd.c, src/testdir/test_filter_cmd.vim
|
Files: src/ex_docmd.c, src/testdir/test_filter_cmd.vim
|
||||||
|
|
||||||
Patch 8.0.0151
|
Patch 8.0.0151
|
||||||
|
|||||||
@@ -325,7 +325,7 @@ You can still edit the buffer, but will be prevented from accidentally
|
|||||||
overwriting a file.
|
overwriting a file.
|
||||||
If you do want to overwrite a file, add an exclamation mark to the Ex command,
|
If you do want to overwrite a file, add an exclamation mark to the Ex command,
|
||||||
as in ":w!".
|
as in ":w!".
|
||||||
The \-R option also implies the \-n option (see below).
|
The \-R option also implies the \-n option (see above).
|
||||||
The 'readonly' option can be reset with ":set noro".
|
The 'readonly' option can be reset with ":set noro".
|
||||||
See ":help 'readonly'".
|
See ":help 'readonly'".
|
||||||
.TP
|
.TP
|
||||||
|
|||||||
@@ -225,7 +225,7 @@ OPTIONS
|
|||||||
dentally overwriting a file. If you do want to overwrite a
|
dentally overwriting a file. If you do want to overwrite a
|
||||||
file, add an exclamation mark to the Ex command, as in
|
file, add an exclamation mark to the Ex command, as in
|
||||||
":w!". The -R option also implies the -n option (see
|
":w!". The -R option also implies the -n option (see
|
||||||
below). The 'readonly' option can be reset with ":set
|
above). The 'readonly' option can be reset with ":set
|
||||||
noro". See ":help 'readonly'".
|
noro". See ":help 'readonly'".
|
||||||
|
|
||||||
-r List swap files, with information about using them for
|
-r List swap files, with information about using them for
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*windows.txt* For Vim version 8.0. Last change: 2017 Sep 08
|
*windows.txt* For Vim version 8.0. Last change: 2017 Sep 25
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -619,7 +619,8 @@ The minimal height and width of a window is set with 'winminheight' and
|
|||||||
41. :buffers list of buffers
|
41. :buffers list of buffers
|
||||||
|
|
||||||
The meaning of [N] depends on the command:
|
The meaning of [N] depends on the command:
|
||||||
[N] is number of buffers to go forward/backward on ?2, ?3, and ?4
|
[N] is the number of buffers to go forward/backward on 2/12/22/32,
|
||||||
|
3/13/23/33, and 4/14/24/34
|
||||||
[N] is an argument number, defaulting to current argument, for 1 and 21
|
[N] is an argument number, defaulting to current argument, for 1 and 21
|
||||||
[N] is a buffer number, defaulting to current buffer, for 11 and 31
|
[N] is a buffer number, defaulting to current buffer, for 11 and 31
|
||||||
[N] is a count for 19 and 39
|
[N] is a count for 19 and 39
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
" Vim script for Evim key bindings
|
" Vim script for Evim key bindings
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2016 Jul 24
|
" Last Change: 2017 Sep 20
|
||||||
|
|
||||||
" Don't use Vi-compatible mode.
|
" Don't use Vi-compatible mode.
|
||||||
set nocompatible
|
set nocompatible
|
||||||
@@ -67,8 +67,10 @@ endif " has("autocmd")
|
|||||||
"
|
"
|
||||||
" The matchit plugin makes the % command work better, but it is not backwards
|
" The matchit plugin makes the % command work better, but it is not backwards
|
||||||
" compatible.
|
" compatible.
|
||||||
|
" The ! means the package won't be loaded right away but when plugins are
|
||||||
|
" loaded during initialization.
|
||||||
if has('syntax') && has('eval')
|
if has('syntax') && has('eval')
|
||||||
packadd matchit
|
packadd! matchit
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" vim: set sw=2 :
|
" vim: set sw=2 :
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: C
|
" Language: C
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2016 Jun 12
|
" Last Change: 2017 Sep 28
|
||||||
|
|
||||||
" Only do this when not done yet for this buffer
|
" Only do this when not done yet for this buffer
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
@@ -35,8 +35,8 @@ if has("vms")
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" When the matchit plugin is loaded, this makes the % command skip parens and
|
" When the matchit plugin is loaded, this makes the % command skip parens and
|
||||||
" braces in comments.
|
" braces in comments properly.
|
||||||
let b:match_words = &matchpairs . ',^\s*#\s*if\(\|def\|ndef\)\>:^\s*#\s*elif\>:^\s*#\s*else\>:^\s*#\s*endif\>'
|
let b:match_words = '^\s*#\s*if\(\|def\|ndef\)\>:^\s*#\s*elif\>:^\s*#\s*else\>:^\s*#\s*endif\>'
|
||||||
let b:match_skip = 's:comment\|string\|character\|special'
|
let b:match_skip = 's:comment\|string\|character\|special'
|
||||||
|
|
||||||
" Win32 can filter files in the browse dialog
|
" Win32 can filter files in the browse dialog
|
||||||
|
|||||||
12
runtime/ftplugin/gdb.vim
Normal file
12
runtime/ftplugin/gdb.vim
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
" Vim filetype plugin file
|
||||||
|
" Language: gdb
|
||||||
|
" Maintainer: Michaël Peeters <NOSPAMm.vim@noekeon.org>
|
||||||
|
" Last Changed: 26 Oct 2017
|
||||||
|
|
||||||
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
let b:did_ftplugin = 1
|
||||||
|
|
||||||
|
setlocal commentstring=#%s
|
||||||
|
|
||||||
|
" Undo the stuff we changed.
|
||||||
|
let b:undo_ftplugin = "setlocal cms<"
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: man
|
" Language: man
|
||||||
" Maintainer: SungHyun Nam <goweol@gmail.com>
|
" Maintainer: SungHyun Nam <goweol@gmail.com>
|
||||||
" Last Change: 2017 Jan 18
|
" Last Change: 2017 Nov 11
|
||||||
|
|
||||||
" To make the ":Man" command available before editing a manual page, source
|
" To make the ":Man" command available before editing a manual page, source
|
||||||
" this script from your startup vimrc file.
|
" this script from your startup vimrc file.
|
||||||
@@ -15,12 +15,6 @@ if &filetype == "man"
|
|||||||
endif
|
endif
|
||||||
let b:did_ftplugin = 1
|
let b:did_ftplugin = 1
|
||||||
|
|
||||||
" Ensure Vim is not recursively invoked (man-db does this)
|
|
||||||
" when doing ctrl-[ on a man page reference.
|
|
||||||
if exists("$MANPAGER")
|
|
||||||
let $MANPAGER = ""
|
|
||||||
endif
|
|
||||||
|
|
||||||
" allow dot and dash in manual page name.
|
" allow dot and dash in manual page name.
|
||||||
setlocal iskeyword+=\.,-
|
setlocal iskeyword+=\.,-
|
||||||
|
|
||||||
@@ -176,7 +170,11 @@ func <SID>GetPage(...)
|
|||||||
let $MANWIDTH = winwidth(0)
|
let $MANWIDTH = winwidth(0)
|
||||||
let unsetwidth = 1
|
let unsetwidth = 1
|
||||||
endif
|
endif
|
||||||
silent exec "r !man ".s:GetCmdArg(sect, page)." | col -b"
|
|
||||||
|
" Ensure Vim is not recursively invoked (man-db does this) when doing ctrl-[
|
||||||
|
" on a man page reference by unsetting MANPAGER.
|
||||||
|
silent exec "r !env -u MANPAGER man ".s:GetCmdArg(sect, page)." | col -b"
|
||||||
|
|
||||||
if unsetwidth
|
if unsetwidth
|
||||||
let $MANWIDTH = ''
|
let $MANWIDTH = ''
|
||||||
endif
|
endif
|
||||||
|
|||||||
23
runtime/ftplugin/neomuttrc.vim
Normal file
23
runtime/ftplugin/neomuttrc.vim
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
" Vim filetype plugin file
|
||||||
|
" Language: NeoMutt RC File
|
||||||
|
" Previous Maintainer: Guillaume Brogi <gui-gui@netcourrier.com>
|
||||||
|
" Latest Revision: 2017-09-17
|
||||||
|
" Original version copied from ftplugin/muttrc.vim
|
||||||
|
|
||||||
|
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 com< cms< inc< fo<"
|
||||||
|
|
||||||
|
setlocal comments=:# commentstring=#\ %s
|
||||||
|
setlocal formatoptions-=t formatoptions+=croql
|
||||||
|
|
||||||
|
let &l:include = '^\s*source\>'
|
||||||
|
|
||||||
|
let &cpo = s:cpo_save
|
||||||
|
unlet s:cpo_save
|
||||||
@@ -1,9 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: python
|
" Language: python
|
||||||
" Maintainer: James Sully <sullyj3@gmail.com>
|
" Maintainer: Tom Picton <tom@tompicton.co.uk>
|
||||||
|
" Previous Maintainer: James Sully <sullyj3@gmail.com>
|
||||||
" Previous Maintainer: Johannes Zellner <johannes@zellner.org>
|
" Previous Maintainer: Johannes Zellner <johannes@zellner.org>
|
||||||
" Last Change: Tue, 09 October 2016
|
" Last Change: Thur, 09 November 2017
|
||||||
" https://github.com/sullyj3/vim-ftplugin-python
|
" https://github.com/tpict/vim-ftplugin-python
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
let b:did_ftplugin = 1
|
let b:did_ftplugin = 1
|
||||||
@@ -24,31 +25,51 @@ set wildignore+=*.pyc
|
|||||||
|
|
||||||
let b:next_toplevel='\v%$\|^(class\|def\|async def)>'
|
let b:next_toplevel='\v%$\|^(class\|def\|async def)>'
|
||||||
let b:prev_toplevel='\v^(class\|def\|async def)>'
|
let b:prev_toplevel='\v^(class\|def\|async def)>'
|
||||||
|
let b:next_endtoplevel='\v%$\|\S.*\n+(def\|class)'
|
||||||
|
let b:prev_endtoplevel='\v\S.*\n+(def\|class)'
|
||||||
let b:next='\v%$\|^\s*(class\|def\|async def)>'
|
let b:next='\v%$\|^\s*(class\|def\|async def)>'
|
||||||
let b:prev='\v^\s*(class\|def\|async def)>'
|
let b:prev='\v^\s*(class\|def\|async def)>'
|
||||||
|
let b:next_end='\v\S\n*(%$\|^(\s*\n*)*(class\|def\|async def)\|^\S)'
|
||||||
|
let b:prev_end='\v\S\n*(^(\s*\n*)*(class\|def\|async def)\|^\S)'
|
||||||
|
|
||||||
execute "nnoremap <silent> <buffer> ]] :call <SID>Python_jump('n', '". b:next_toplevel."', 'W')<cr>"
|
execute "nnoremap <silent> <buffer> ]] :call <SID>Python_jump('n', '". b:next_toplevel."', 'W')<cr>"
|
||||||
execute "nnoremap <silent> <buffer> [[ :call <SID>Python_jump('n', '". b:prev_toplevel."', 'Wb')<cr>"
|
execute "nnoremap <silent> <buffer> [[ :call <SID>Python_jump('n', '". b:prev_toplevel."', 'Wb')<cr>"
|
||||||
|
execute "nnoremap <silent> <buffer> ][ :call <SID>Python_jump('n', '". b:next_endtoplevel."', 'W', 0)<cr>"
|
||||||
|
execute "nnoremap <silent> <buffer> [] :call <SID>Python_jump('n', '". b:prev_endtoplevel."', 'Wb', 0)<cr>"
|
||||||
execute "nnoremap <silent> <buffer> ]m :call <SID>Python_jump('n', '". b:next."', 'W')<cr>"
|
execute "nnoremap <silent> <buffer> ]m :call <SID>Python_jump('n', '". b:next."', 'W')<cr>"
|
||||||
execute "nnoremap <silent> <buffer> [m :call <SID>Python_jump('n', '". b:prev."', 'Wb')<cr>"
|
execute "nnoremap <silent> <buffer> [m :call <SID>Python_jump('n', '". b:prev."', 'Wb')<cr>"
|
||||||
|
execute "nnoremap <silent> <buffer> ]M :call <SID>Python_jump('n', '". b:next_end."', 'W', 0)<cr>"
|
||||||
|
execute "nnoremap <silent> <buffer> [M :call <SID>Python_jump('n', '". b:prev_end."', 'Wb', 0)<cr>"
|
||||||
|
|
||||||
execute "onoremap <silent> <buffer> ]] :call <SID>Python_jump('o', '". b:next_toplevel."', 'W')<cr>"
|
execute "onoremap <silent> <buffer> ]] :call <SID>Python_jump('o', '". b:next_toplevel."', 'W')<cr>"
|
||||||
execute "onoremap <silent> <buffer> [[ :call <SID>Python_jump('o', '". b:prev_toplevel."', 'Wb')<cr>"
|
execute "onoremap <silent> <buffer> [[ :call <SID>Python_jump('o', '". b:prev_toplevel."', 'Wb')<cr>"
|
||||||
|
execute "onoremap <silent> <buffer> ][ :call <SID>Python_jump('o', '". b:next_endtoplevel."', 'W', 0)<cr>"
|
||||||
|
execute "onoremap <silent> <buffer> [] :call <SID>Python_jump('o', '". b:prev_endtoplevel."', 'Wb', 0)<cr>"
|
||||||
execute "onoremap <silent> <buffer> ]m :call <SID>Python_jump('o', '". b:next."', 'W')<cr>"
|
execute "onoremap <silent> <buffer> ]m :call <SID>Python_jump('o', '". b:next."', 'W')<cr>"
|
||||||
execute "onoremap <silent> <buffer> [m :call <SID>Python_jump('o', '". b:prev."', 'Wb')<cr>"
|
execute "onoremap <silent> <buffer> [m :call <SID>Python_jump('o', '". b:prev."', 'Wb')<cr>"
|
||||||
|
execute "onoremap <silent> <buffer> ]M :call <SID>Python_jump('o', '". b:next_end."', 'W', 0)<cr>"
|
||||||
|
execute "onoremap <silent> <buffer> [M :call <SID>Python_jump('o', '". b:prev_end."', 'Wb', 0)<cr>"
|
||||||
|
|
||||||
execute "xnoremap <silent> <buffer> ]] :call <SID>Python_jump('x', '". b:next_toplevel."', 'W')<cr>"
|
execute "xnoremap <silent> <buffer> ]] :call <SID>Python_jump('x', '". b:next_toplevel."', 'W')<cr>"
|
||||||
execute "xnoremap <silent> <buffer> [[ :call <SID>Python_jump('x', '". b:prev_toplevel."', 'Wb')<cr>"
|
execute "xnoremap <silent> <buffer> [[ :call <SID>Python_jump('x', '". b:prev_toplevel."', 'Wb')<cr>"
|
||||||
|
execute "xnoremap <silent> <buffer> ][ :call <SID>Python_jump('x', '". b:next_endtoplevel."', 'W', 0)<cr>"
|
||||||
|
execute "xnoremap <silent> <buffer> [] :call <SID>Python_jump('x', '". b:prev_endtoplevel."', 'Wb', 0)<cr>"
|
||||||
execute "xnoremap <silent> <buffer> ]m :call <SID>Python_jump('x', '". b:next."', 'W')<cr>"
|
execute "xnoremap <silent> <buffer> ]m :call <SID>Python_jump('x', '". b:next."', 'W')<cr>"
|
||||||
execute "xnoremap <silent> <buffer> [m :call <SID>Python_jump('x', '". b:prev."', 'Wb')<cr>"
|
execute "xnoremap <silent> <buffer> [m :call <SID>Python_jump('x', '". b:prev."', 'Wb')<cr>"
|
||||||
|
execute "xnoremap <silent> <buffer> ]M :call <SID>Python_jump('x', '". b:next_end."', 'W', 0)<cr>"
|
||||||
|
execute "xnoremap <silent> <buffer> [M :call <SID>Python_jump('x', '". b:prev_end."', 'Wb', 0)<cr>"
|
||||||
|
|
||||||
if !exists('*<SID>Python_jump')
|
if !exists('*<SID>Python_jump')
|
||||||
fun! <SID>Python_jump(mode, motion, flags) range
|
fun! <SID>Python_jump(mode, motion, flags, ...) range
|
||||||
|
let l:startofline = (a:0 >= 1) ? a:1 : 1
|
||||||
|
|
||||||
if a:mode == 'x'
|
if a:mode == 'x'
|
||||||
normal! gv
|
normal! gv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
normal! 0
|
if l:startofline == 1
|
||||||
|
normal! 0
|
||||||
|
endif
|
||||||
|
|
||||||
let cnt = v:count1
|
let cnt = v:count1
|
||||||
mark '
|
mark '
|
||||||
@@ -57,7 +78,9 @@ if !exists('*<SID>Python_jump')
|
|||||||
let cnt = cnt - 1
|
let cnt = cnt - 1
|
||||||
endwhile
|
endwhile
|
||||||
|
|
||||||
normal! ^
|
if l:startofline == 1
|
||||||
|
normal! ^
|
||||||
|
endif
|
||||||
endfun
|
endfun
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin
|
" Vim filetype plugin
|
||||||
" Language: Vim
|
" Language: Vim
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2014 Sep 07
|
" Last Change: 2017 Nov 06
|
||||||
|
|
||||||
" Only do this when not done yet for this buffer
|
" Only do this when not done yet for this buffer
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
@@ -25,6 +25,9 @@ setlocal fo-=t fo+=croql
|
|||||||
" keyword character. E.g., for netrw#Nread().
|
" keyword character. E.g., for netrw#Nread().
|
||||||
setlocal isk+=#
|
setlocal isk+=#
|
||||||
|
|
||||||
|
" Use :help to lookup the keyword under the cursor with K.
|
||||||
|
setlocal keywordprg=:help
|
||||||
|
|
||||||
" Set 'comments' to format dashed lists in comments
|
" Set 'comments' to format dashed lists in comments
|
||||||
setlocal com=sO:\"\ -,mO:\"\ \ ,eO:\"\",:\"
|
setlocal com=sO:\"\ -,mO:\"\ \ ,eO:\"\",:\"
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
" Author: Andy Cedilnik <andy.cedilnik@kitware.com>
|
" Author: Andy Cedilnik <andy.cedilnik@kitware.com>
|
||||||
" Maintainer: Dimitri Merejkowsky <d.merej@gmail.com>
|
" Maintainer: Dimitri Merejkowsky <d.merej@gmail.com>
|
||||||
" Former Maintainer: Karthik Krishnan <karthik.krishnan@kitware.com>
|
" Former Maintainer: Karthik Krishnan <karthik.krishnan@kitware.com>
|
||||||
" Last Change: 2017 Aug 30
|
" Last Change: 2017 Sep 24
|
||||||
"
|
"
|
||||||
" Licence: The CMake license applies to this file. See
|
" Licence: The CMake license applies to this file. See
|
||||||
" https://cmake.org/licensing
|
" https://cmake.org/licensing
|
||||||
@@ -14,7 +14,6 @@ if exists("b:did_indent")
|
|||||||
endif
|
endif
|
||||||
let b:did_indent = 1
|
let b:did_indent = 1
|
||||||
|
|
||||||
setlocal et
|
|
||||||
setlocal indentexpr=CMakeGetIndent(v:lnum)
|
setlocal indentexpr=CMakeGetIndent(v:lnum)
|
||||||
setlocal indentkeys+==ENDIF(,ENDFOREACH(,ENDMACRO(,ELSE(,ELSEIF(,ENDWHILE(
|
setlocal indentkeys+==ENDIF(,ENDFOREACH(,ENDMACRO(,ELSE(,ELSEIF(,ENDWHILE(
|
||||||
|
|
||||||
@@ -67,19 +66,19 @@ fun! CMakeGetIndent(lnum)
|
|||||||
let ind = ind
|
let ind = ind
|
||||||
else
|
else
|
||||||
if previous_line =~? cmake_indent_begin_regex
|
if previous_line =~? cmake_indent_begin_regex
|
||||||
let ind = ind + &sw
|
let ind = ind + shiftwidth()
|
||||||
endif
|
endif
|
||||||
if previous_line =~? cmake_indent_open_regex
|
if previous_line =~? cmake_indent_open_regex
|
||||||
let ind = ind + &sw
|
let ind = ind + shiftwidth()
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Subtract
|
" Subtract
|
||||||
if this_line =~? cmake_indent_end_regex
|
if this_line =~? cmake_indent_end_regex
|
||||||
let ind = ind - &sw
|
let ind = ind - shiftwidth()
|
||||||
endif
|
endif
|
||||||
if previous_line =~? cmake_indent_close_regex
|
if previous_line =~? cmake_indent_close_regex
|
||||||
let ind = ind - &sw
|
let ind = ind - shiftwidth()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
return ind
|
return ind
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
" Vim indent file
|
" Vim indent file
|
||||||
" Language: gitolite configuration
|
" Language: gitolite configuration
|
||||||
" URL: https://github.com/tmatilai/gitolite.vim
|
" URL: https://github.com/sitaramc/gitolite/blob/master/contrib/vim/indent/gitolite.vim
|
||||||
" Maintainer: Teemu Matilainen <teemu.matilainen@iki.fi>
|
" (https://raw.githubusercontent.com/sitaramc/gitolite/master/contrib/vim/indent/gitolite.vim)
|
||||||
" Last Change: 2017 Jun 13
|
" Maintainer: Sitaram Chamarty <sitaramc@gmail.com>
|
||||||
|
" (former Maintainer: Teemu Matilainen <teemu.matilainen@iki.fi>)
|
||||||
|
" Last Change: 2017 Oct 05
|
||||||
|
|
||||||
if exists("b:did_indent")
|
if exists("b:did_indent")
|
||||||
finish
|
finish
|
||||||
@@ -30,6 +32,8 @@ function! GetGitoliteIndent()
|
|||||||
return shiftwidth()
|
return shiftwidth()
|
||||||
elseif cline =~ '^\s*config\s'
|
elseif cline =~ '^\s*config\s'
|
||||||
return shiftwidth()
|
return shiftwidth()
|
||||||
|
elseif cline =~ '^\s*option\s'
|
||||||
|
return shiftwidth()
|
||||||
elseif pline =~ '^\s*repo\s' && cline =~ '^\s*\(#.*\)\?$'
|
elseif pline =~ '^\s*repo\s' && cline =~ '^\s*\(#.*\)\?$'
|
||||||
return shiftwidth()
|
return shiftwidth()
|
||||||
elseif cline =~ '^\s*#'
|
elseif cline =~ '^\s*#'
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
" VHDL indent ('93 syntax)
|
" VHDL indent ('93 syntax)
|
||||||
" Language: VHDL
|
" Language: VHDL
|
||||||
" Maintainer: Gerald Lai <laigera+vim?gmail.com>
|
" Maintainer: Gerald Lai <laigera+vim?gmail.com>
|
||||||
" Version: 1.60
|
" Version: 1.62
|
||||||
" Last Change: 2017 Jun 13
|
" Last Change: 2017 Oct 17
|
||||||
" URL: http://www.vim.org/scripts/script.php?script_id=1450
|
" URL: http://www.vim.org/scripts/script.php?script_id=1450
|
||||||
|
|
||||||
" only load this indent file when no other was loaded
|
" only load this indent file when no other was loaded
|
||||||
@@ -412,11 +412,12 @@ function GetVHDLindent()
|
|||||||
|
|
||||||
" ****************************************************************************************
|
" ****************************************************************************************
|
||||||
" indent: maintain indent of previous opening statement
|
" indent: maintain indent of previous opening statement
|
||||||
" keywords: without "procedure", "generic", "map", "port" + ":" but not ":=" + eventually ;$
|
" keywords: without "procedure", "generic", "map", "port" + ":" but not ":=" + "in", "out", "inout", "buffer", "linkage", variable & ":="
|
||||||
" where: start of current line
|
" where: start of current line
|
||||||
if curs =~? '^\s*\%(\<\%(procedure\|generic\|map\|port\)\>.*\)\@<!\w\+\s*\w*\s*:[^=].*;.*$'
|
if curs =~? '^\s*\%(\<\%(procedure\|generic\|map\|port\)\>.*\)\@<!\w\+\s*\w*\s*:[^=]\@=\s*\%(\%(in\|out\|inout\|buffer\|linkage\)\>\|\w\+\s\+:=\)'
|
||||||
return ind2
|
return ind2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" ****************************************************************************************
|
" ****************************************************************************************
|
||||||
" indent: maintain indent of previous opening statement, corner case which
|
" indent: maintain indent of previous opening statement, corner case which
|
||||||
" does not end in ;, but is part of a mapping
|
" does not end in ;, but is part of a mapping
|
||||||
@@ -424,10 +425,10 @@ function GetVHDLindent()
|
|||||||
" prevline without "procedure", "generic", "map", "port" + ":" but not ":=" + eventually ;$
|
" prevline without "procedure", "generic", "map", "port" + ":" but not ":=" + eventually ;$
|
||||||
" where: start of current line
|
" where: start of current line
|
||||||
if curs =~? '^\s*\%(\<\%(procedure\|generic\|map\|port\)\>.*\)\@<!\w\+\s*\w*\s*:[^=].*[^;].*$'
|
if curs =~? '^\s*\%(\<\%(procedure\|generic\|map\|port\)\>.*\)\@<!\w\+\s*\w*\s*:[^=].*[^;].*$'
|
||||||
if prevs =~? '^\s*\%(\<\%(procedure\|generic\|map\|port\)\>.*\)\@<!\w\+\s*\w*\s*:[^=].*;.*$'
|
if prevs =~? '^\s*\%(\<\%(procedure\|generic\|map\|port\)\>.*\)\@<!\w\+\s*\w*\s*:[^=].*;.*$'
|
||||||
return ind2
|
return ind2
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" return leftover filtered indent
|
" return leftover filtered indent
|
||||||
return ind
|
return ind
|
||||||
|
|||||||
153
runtime/menu.vim
153
runtime/menu.vim
@@ -2,7 +2,7 @@
|
|||||||
" You can also use this as a start for your own set of menus.
|
" You can also use this as a start for your own set of menus.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2017 Mar 04
|
" Last Change: 2017 Nov 09
|
||||||
|
|
||||||
" Note that ":an" (short for ":anoremenu") is often used to make a menu work
|
" Note that ":an" (short for ":anoremenu") is often used to make a menu work
|
||||||
" in all modes and avoid side effects from mappings defined by the user.
|
" in all modes and avoid side effects from mappings defined by the user.
|
||||||
@@ -159,7 +159,7 @@ nnoremenu 20.370 &Edit.Put\ &Before<Tab>[p [p
|
|||||||
inoremenu &Edit.Put\ &Before<Tab>[p <C-O>[p
|
inoremenu &Edit.Put\ &Before<Tab>[p <C-O>[p
|
||||||
nnoremenu 20.380 &Edit.Put\ &After<Tab>]p ]p
|
nnoremenu 20.380 &Edit.Put\ &After<Tab>]p ]p
|
||||||
inoremenu &Edit.Put\ &After<Tab>]p <C-O>]p
|
inoremenu &Edit.Put\ &After<Tab>]p <C-O>]p
|
||||||
if has("win32") || has("win16")
|
if has("win32")
|
||||||
vnoremenu 20.390 &Edit.&Delete<Tab>x x
|
vnoremenu 20.390 &Edit.&Delete<Tab>x x
|
||||||
endif
|
endif
|
||||||
noremenu <script> <silent> 20.400 &Edit.&Select\ All<Tab>ggVG :<C-U>call <SID>SelectAll()<CR>
|
noremenu <script> <silent> 20.400 &Edit.&Select\ All<Tab>ggVG :<C-U>call <SID>SelectAll()<CR>
|
||||||
@@ -167,7 +167,7 @@ inoremenu <script> <silent> 20.400 &Edit.&Select\ All<Tab>ggVG <C-O>:call <SID>S
|
|||||||
cnoremenu <script> <silent> 20.400 &Edit.&Select\ All<Tab>ggVG <C-U>call <SID>SelectAll()<CR>
|
cnoremenu <script> <silent> 20.400 &Edit.&Select\ All<Tab>ggVG <C-U>call <SID>SelectAll()<CR>
|
||||||
|
|
||||||
an 20.405 &Edit.-SEP2- <Nop>
|
an 20.405 &Edit.-SEP2- <Nop>
|
||||||
if has("win32") || has("win16") || has("gui_gtk") || has("gui_kde") || has("gui_motif")
|
if has("win32") || has("gui_gtk") || has("gui_kde") || has("gui_motif")
|
||||||
an 20.410 &Edit.&Find\.\.\. :promptfind<CR>
|
an 20.410 &Edit.&Find\.\.\. :promptfind<CR>
|
||||||
vunmenu &Edit.&Find\.\.\.
|
vunmenu &Edit.&Find\.\.\.
|
||||||
vnoremenu <silent> &Edit.&Find\.\.\. y:promptfind <C-R>=<SID>FixFText()<CR><CR>
|
vnoremenu <silent> &Edit.&Find\.\.\. y:promptfind <C-R>=<SID>FixFText()<CR><CR>
|
||||||
@@ -339,51 +339,65 @@ fun! s:FileFormat()
|
|||||||
endif
|
endif
|
||||||
endfun
|
endfun
|
||||||
|
|
||||||
|
let s:did_setup_color_schemes = 0
|
||||||
|
|
||||||
" Setup the Edit.Color Scheme submenu
|
" Setup the Edit.Color Scheme submenu
|
||||||
|
func! s:SetupColorSchemes() abort
|
||||||
|
if s:did_setup_color_schemes
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let s:did_setup_color_schemes = 1
|
||||||
|
|
||||||
" get NL separated string with file names
|
let n = globpath(&runtimepath, "colors/*.vim", 1, 1)
|
||||||
let s:n = globpath(&runtimepath, "colors/*.vim")
|
|
||||||
|
|
||||||
" split at NL, Ignore case for VMS and windows, sort on name
|
" Ignore case for VMS and windows, sort on name
|
||||||
let s:names = sort(map(split(s:n, "\n"), 'substitute(v:val, "\\c.*[/\\\\:\\]]\\([^/\\\\:]*\\)\\.vim", "\\1", "")'), 1)
|
let names = sort(map(n, 'substitute(v:val, "\\c.*[/\\\\:\\]]\\([^/\\\\:]*\\)\\.vim", "\\1", "")'), 1)
|
||||||
|
|
||||||
" define all the submenu entries
|
" define all the submenu entries
|
||||||
let s:idx = 100
|
let idx = 100
|
||||||
for s:name in s:names
|
for name in names
|
||||||
exe "an 20.450." . s:idx . ' &Edit.C&olor\ Scheme.' . s:name . " :colors " . s:name . "<CR>"
|
exe "an 20.450." . idx . ' &Edit.C&olor\ Scheme.' . name . " :colors " . name . "<CR>"
|
||||||
let s:idx = s:idx + 10
|
let idx = idx + 10
|
||||||
endfor
|
endfor
|
||||||
unlet s:name s:names s:n s:idx
|
silent! aunmenu &Edit.Show\ C&olor\ Schemes\ in\ Menu
|
||||||
|
endfun
|
||||||
|
if exists("do_no_lazyload_menus")
|
||||||
|
call s:SetupColorSchemes()
|
||||||
|
else
|
||||||
|
an <silent> 20.450 &Edit.Show\ C&olor\ Schemes\ in\ Menu :call <SID>SetupColorSchemes()<CR>
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
" Setup the Edit.Keymap submenu
|
" Setup the Edit.Keymap submenu
|
||||||
if has("keymap")
|
if has("keymap")
|
||||||
let s:n = globpath(&runtimepath, "keymap/*.vim")
|
let s:did_setup_keymaps = 0
|
||||||
if s:n != ""
|
|
||||||
let s:idx = 100
|
func! s:SetupKeymaps() abort
|
||||||
an 20.460.90 &Edit.&Keymap.None :set keymap=<CR>
|
if s:did_setup_keymaps
|
||||||
while strlen(s:n) > 0
|
return
|
||||||
let s:i = stridx(s:n, "\n")
|
endif
|
||||||
if s:i < 0
|
let s:did_setup_keymaps = 1
|
||||||
let s:name = s:n
|
|
||||||
let s:n = ""
|
let n = globpath(&runtimepath, "keymap/*.vim", 1, 1)
|
||||||
else
|
if !empty(n)
|
||||||
let s:name = strpart(s:n, 0, s:i)
|
let idx = 100
|
||||||
let s:n = strpart(s:n, s:i + 1, 19999)
|
an 20.460.90 &Edit.&Keymap.None :set keymap=<CR>
|
||||||
endif
|
for name in n
|
||||||
" Ignore case for VMS and windows
|
" Ignore case for VMS and windows
|
||||||
let s:name = substitute(s:name, '\c.*[/\\:\]]\([^/\\:_]*\)\(_[0-9a-zA-Z-]*\)\=\.vim', '\1', '')
|
let name = substitute(name, '\c.*[/\\:\]]\([^/\\:_]*\)\(_[0-9a-zA-Z-]*\)\=\.vim', '\1', '')
|
||||||
exe "an 20.460." . s:idx . ' &Edit.&Keymap.' . s:name . " :set keymap=" . s:name . "<CR>"
|
exe "an 20.460." . idx . ' &Edit.&Keymap.' . name . " :set keymap=" . name . "<CR>"
|
||||||
unlet s:name
|
let idx = idx + 10
|
||||||
unlet s:i
|
endfor
|
||||||
let s:idx = s:idx + 10
|
endif
|
||||||
endwhile
|
silent! aunmenu &Edit.Show\ &Keymaps\ in\ Menu
|
||||||
unlet s:idx
|
endfun
|
||||||
|
if exists("do_no_lazyload_menus")
|
||||||
|
call s:SetupKeymaps()
|
||||||
|
else
|
||||||
|
an <silent> 20.460 &Edit.Show\ &Keymaps\ in\ Menu :call <SID>SetupKeymaps()<CR>
|
||||||
endif
|
endif
|
||||||
unlet s:n
|
|
||||||
endif
|
endif
|
||||||
if has("win32") || has("win16") || has("gui_motif") || has("gui_gtk") || has("gui_kde") || has("gui_photon") || has("gui_mac")
|
if has("win32") || has("gui_motif") || has("gui_gtk") || has("gui_kde") || has("gui_photon") || has("gui_mac")
|
||||||
an 20.470 &Edit.Select\ Fo&nt\.\.\. :set guifont=*<CR>
|
an 20.470 &Edit.Select\ Fo&nt\.\.\. :set guifont=*<CR>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -441,10 +455,10 @@ if has("spell")
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
let found = 0
|
let found = 0
|
||||||
let s = globpath(&rtp, "spell/*." . enc . ".spl")
|
let s = globpath(&runtimepath, "spell/*." . enc . ".spl", 1, 1)
|
||||||
if s != ""
|
if !empty(s)
|
||||||
let n = 300
|
let n = 300
|
||||||
for f in split(s, "\n")
|
for f in s
|
||||||
let nm = substitute(f, '.*spell[/\\]\(..\)\.[^/\\]*\.spl', '\1', "")
|
let nm = substitute(f, '.*spell[/\\]\(..\)\.[^/\\]*\.spl', '\1', "")
|
||||||
if nm != "en" && nm !~ '/'
|
if nm != "en" && nm !~ '/'
|
||||||
let _nm = nm
|
let _nm = nm
|
||||||
@@ -574,27 +588,46 @@ func! s:XxdFind()
|
|||||||
endif
|
endif
|
||||||
endfun
|
endfun
|
||||||
|
|
||||||
|
let s:did_setup_compilers = 0
|
||||||
|
|
||||||
" Setup the Tools.Compiler submenu
|
" Setup the Tools.Compiler submenu
|
||||||
let s:n = globpath(&runtimepath, "compiler/*.vim")
|
func! s:SetupCompilers() abort
|
||||||
let s:idx = 100
|
if s:did_setup_compilers
|
||||||
while strlen(s:n) > 0
|
return
|
||||||
let s:i = stridx(s:n, "\n")
|
|
||||||
if s:i < 0
|
|
||||||
let s:name = s:n
|
|
||||||
let s:n = ""
|
|
||||||
else
|
|
||||||
let s:name = strpart(s:n, 0, s:i)
|
|
||||||
let s:n = strpart(s:n, s:i + 1, 19999)
|
|
||||||
endif
|
endif
|
||||||
" Ignore case for VMS and windows
|
let s:did_setup_compilers = 1
|
||||||
let s:name = substitute(s:name, '\c.*[/\\:\]]\([^/\\:]*\)\.vim', '\1', '')
|
|
||||||
exe "an 30.440." . s:idx . ' &Tools.Se&t\ Compiler.' . s:name . " :compiler " . s:name . "<CR>"
|
let n = globpath(&runtimepath, "compiler/*.vim", 1, 1)
|
||||||
unlet s:name
|
let idx = 100
|
||||||
unlet s:i
|
for name in n
|
||||||
let s:idx = s:idx + 10
|
" Ignore case for VMS and windows
|
||||||
endwhile
|
let name = substitute(name, '\c.*[/\\:\]]\([^/\\:]*\)\.vim', '\1', '')
|
||||||
unlet s:n
|
exe "an 30.440." . idx . ' &Tools.Se&t\ Compiler.' . name . " :compiler " . name . "<CR>"
|
||||||
unlet s:idx
|
let idx = idx + 10
|
||||||
|
endfor
|
||||||
|
silent! aunmenu &Tools.Show\ Compiler\ Se&ttings\ in\ Menu
|
||||||
|
endfun
|
||||||
|
if exists("do_no_lazyload_menus")
|
||||||
|
call s:SetupCompilers()
|
||||||
|
else
|
||||||
|
an <silent> 30.440 &Tools.Show\ Compiler\ Se&ttings\ in\ Menu :call <SID>SetupCompilers()<CR>
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Load ColorScheme, Compiler Setting and Keymap menus when idle.
|
||||||
|
if !exists("do_no_lazyload_menus")
|
||||||
|
func! s:SetupLazyloadMenus()
|
||||||
|
call s:SetupColorSchemes()
|
||||||
|
call s:SetupCompilers()
|
||||||
|
if has("keymap")
|
||||||
|
call s:SetupKeymaps()
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
augroup SetupLazyloadMenus
|
||||||
|
au!
|
||||||
|
au CursorHold,CursorHoldI * call <SID>SetupLazyloadMenus() | au! SetupLazyloadMenus
|
||||||
|
augroup END
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
if !exists("no_buffers_menu")
|
if !exists("no_buffers_menu")
|
||||||
|
|
||||||
@@ -1095,7 +1128,7 @@ if (exists("did_load_filetypes") || exists("syntax_on"))
|
|||||||
if exists("do_syntax_sel_menu")
|
if exists("do_syntax_sel_menu")
|
||||||
runtime! synmenu.vim
|
runtime! synmenu.vim
|
||||||
else
|
else
|
||||||
an 50.10 &Syntax.&Show\ File\ Types\ in\ Menu :let do_syntax_sel_menu = 1<Bar>runtime! synmenu.vim<Bar>aunmenu &Syntax.&Show\ File\ Types\ in\ Menu<CR>
|
an <silent> 50.10 &Syntax.&Show\ File\ Types\ in\ Menu :let do_syntax_sel_menu = 1<Bar>runtime! synmenu.vim<Bar>aunmenu &Syntax.&Show\ File\ Types\ in\ Menu<CR>
|
||||||
an 50.195 &Syntax.-SEP1- <Nop>
|
an 50.195 &Syntax.-SEP1- <Nop>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" Set options and add mapping such that Vim behaves a lot like MS-Windows
|
" Set options and add mapping such that Vim behaves a lot like MS-Windows
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last change: 2017 Feb 09
|
" Last change: 2017 Oct 28
|
||||||
|
|
||||||
" bail out if this isn't wanted (mrsvim.vim uses this).
|
" bail out if this isn't wanted (mrsvim.vim uses this).
|
||||||
if exists("g:skip_loading_mswin") && g:skip_loading_mswin
|
if exists("g:skip_loading_mswin") && g:skip_loading_mswin
|
||||||
@@ -105,14 +105,15 @@ onoremap <C-F4> <C-C><C-W>c
|
|||||||
|
|
||||||
if has("gui")
|
if has("gui")
|
||||||
" CTRL-F is the search dialog
|
" CTRL-F is the search dialog
|
||||||
noremap <C-F> :promptfind<CR>
|
noremap <expr> <C-F> has("gui_running") ? ":promptfind\<CR>" : "/"
|
||||||
inoremap <C-F> <C-\><C-O>:promptfind<CR>
|
inoremap <expr> <C-F> has("gui_running") ? "\<C-\>\<C-O>:promptfind\<CR>" : "\<C-\>\<C-O>/"
|
||||||
cnoremap <C-F> <C-\><C-C>:promptfind<CR>
|
cnoremap <expr> <C-F> has("gui_running") ? "\<C-\>\<C-C>:promptfind\<CR>" : "\<C-\>\<C-O>/"
|
||||||
|
|
||||||
" CTRL-H is the replace dialog
|
" CTRL-H is the replace dialog,
|
||||||
noremap <C-H> :promptrepl<CR>
|
" but in console, it might be backspace, so don't map it there
|
||||||
inoremap <C-H> <C-\><C-O>:promptrepl<CR>
|
nnoremap <expr> <C-H> has("gui_running") ? ":promptrepl\<CR>" : "\<C-H>"
|
||||||
cnoremap <C-H> <C-\><C-C>:promptrepl<CR>
|
inoremap <expr> <C-H> has("gui_running") ? "\<C-\>\<C-O>:promptrepl\<CR>" : "\<C-H>"
|
||||||
|
cnoremap <expr> <C-H> has("gui_running") ? "\<C-\>\<C-C>:promptrepl\<CR>" : "\<C-H>"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" restore 'cpoptions'
|
" restore 'cpoptions'
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" These commands create the option window.
|
" These commands create the option window.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2017 Sep 10
|
" Last Change: 2017 Nov 21
|
||||||
|
|
||||||
" If there already is an option window, jump to that one.
|
" If there already is an option window, jump to that one.
|
||||||
let buf = bufnr('option-window')
|
let buf = bufnr('option-window')
|
||||||
@@ -647,11 +647,17 @@ if has("gui")
|
|||||||
endif
|
endif
|
||||||
call append("$", "linespace\tnumber of pixel lines to use between characters")
|
call append("$", "linespace\tnumber of pixel lines to use between characters")
|
||||||
call append("$", " \tset lsp=" . &lsp)
|
call append("$", " \tset lsp=" . &lsp)
|
||||||
if has("balloon_eval")
|
if has("balloon_eval") || has("balloon_eval_term")
|
||||||
call append("$", "balloondelay\tdelay in milliseconds before a balloon may pop up")
|
call append("$", "balloondelay\tdelay in milliseconds before a balloon may pop up")
|
||||||
call append("$", " \tset bdlay=" . &bdlay)
|
call append("$", " \tset bdlay=" . &bdlay)
|
||||||
call append("$", "ballooneval\twhether the balloon evaluation is to be used")
|
if has("balloon_eval")
|
||||||
call <SID>BinOptionG("beval", &beval)
|
call append("$", "ballooneval\tuse balloon evaluation in the GUI")
|
||||||
|
call <SID>BinOptionG("beval", &beval)
|
||||||
|
endif
|
||||||
|
if has("balloon_eval_term")
|
||||||
|
call append("$", "balloonevalterm\tuse balloon evaluation in the terminal")
|
||||||
|
call <SID>BinOptionG("bevalterm", &beval)
|
||||||
|
endif
|
||||||
if has("eval")
|
if has("eval")
|
||||||
call append("$", "balloonexpr\texpression to show in balloon eval")
|
call append("$", "balloonexpr\texpression to show in balloon eval")
|
||||||
call append("$", " \tset bexpr=" . &bexpr)
|
call append("$", " \tset bexpr=" . &bexpr)
|
||||||
@@ -1360,6 +1366,12 @@ if exists("&tcldll")
|
|||||||
call append("$", "tcldll\tname of the Tcl dynamic library")
|
call append("$", "tcldll\tname of the Tcl dynamic library")
|
||||||
call <SID>OptionG("tcldll", &tcldll)
|
call <SID>OptionG("tcldll", &tcldll)
|
||||||
endif
|
endif
|
||||||
|
if exists("&mzschemedll")
|
||||||
|
call append("$", "mzschemedll\tname of the Tcl dynamic library")
|
||||||
|
call <SID>OptionG("mzschemedll", &mzschemedll)
|
||||||
|
call append("$", "mzschemegcdll\tname of the Tcl GC dynamic library")
|
||||||
|
call <SID>OptionG("mzschemegcdll", &mzschemegcdll)
|
||||||
|
endif
|
||||||
|
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
|
|||||||
153
runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
vendored
153
runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
vendored
@@ -20,6 +20,9 @@ if exists(':Termdebug')
|
|||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Uncomment this line to write logging in "debuglog".
|
||||||
|
" call ch_logfile('debuglog', 'w')
|
||||||
|
|
||||||
" The command that starts debugging, e.g. ":Termdebug vim".
|
" The command that starts debugging, e.g. ":Termdebug vim".
|
||||||
" To end type "quit" in the gdb window.
|
" To end type "quit" in the gdb window.
|
||||||
command -nargs=* -complete=file Termdebug call s:StartDebug(<q-args>)
|
command -nargs=* -complete=file Termdebug call s:StartDebug(<q-args>)
|
||||||
@@ -31,6 +34,7 @@ endif
|
|||||||
|
|
||||||
let s:pc_id = 12
|
let s:pc_id = 12
|
||||||
let s:break_id = 13
|
let s:break_id = 13
|
||||||
|
let s:stopped = 1
|
||||||
|
|
||||||
if &background == 'light'
|
if &background == 'light'
|
||||||
hi default debugPC term=reverse ctermbg=lightblue guibg=lightblue
|
hi default debugPC term=reverse ctermbg=lightblue guibg=lightblue
|
||||||
@@ -43,12 +47,14 @@ func s:StartDebug(cmd)
|
|||||||
let s:startwin = win_getid(winnr())
|
let s:startwin = win_getid(winnr())
|
||||||
let s:startsigncolumn = &signcolumn
|
let s:startsigncolumn = &signcolumn
|
||||||
|
|
||||||
if exists('g:termdebug_wide') && &columns < g:termdebug_wide
|
let s:save_columns = 0
|
||||||
let s:save_columns = &columns
|
if exists('g:termdebug_wide')
|
||||||
let &columns = g:termdebug_wide
|
if &columns < g:termdebug_wide
|
||||||
|
let s:save_columns = &columns
|
||||||
|
let &columns = g:termdebug_wide
|
||||||
|
endif
|
||||||
let vertical = 1
|
let vertical = 1
|
||||||
else
|
else
|
||||||
let s:save_columns = 0
|
|
||||||
let vertical = 0
|
let vertical = 0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -63,6 +69,11 @@ func s:StartDebug(cmd)
|
|||||||
endif
|
endif
|
||||||
let pty = job_info(term_getjob(s:ptybuf))['tty_out']
|
let pty = job_info(term_getjob(s:ptybuf))['tty_out']
|
||||||
let s:ptywin = win_getid(winnr())
|
let s:ptywin = win_getid(winnr())
|
||||||
|
if vertical
|
||||||
|
" Assuming the source code window will get a signcolumn, use two more
|
||||||
|
" columns for that, thus one less for the terminal window.
|
||||||
|
exe (&columns / 2 - 1) . "wincmd |"
|
||||||
|
endif
|
||||||
|
|
||||||
" Create a hidden terminal window to communicate with gdb
|
" Create a hidden terminal window to communicate with gdb
|
||||||
let s:commbuf = term_start('NONE', {
|
let s:commbuf = term_start('NONE', {
|
||||||
@@ -78,13 +89,14 @@ func s:StartDebug(cmd)
|
|||||||
let commpty = job_info(term_getjob(s:commbuf))['tty_out']
|
let commpty = job_info(term_getjob(s:commbuf))['tty_out']
|
||||||
|
|
||||||
" Open a terminal window to run the debugger.
|
" Open a terminal window to run the debugger.
|
||||||
let cmd = [g:termdebugger, '-tty', pty, a:cmd]
|
" Add -quiet to avoid the intro message causing a hit-enter prompt.
|
||||||
|
let cmd = [g:termdebugger, '-quiet', '-tty', pty, a:cmd]
|
||||||
echomsg 'executing "' . join(cmd) . '"'
|
echomsg 'executing "' . join(cmd) . '"'
|
||||||
let gdbbuf = term_start(cmd, {
|
let s:gdbbuf = term_start(cmd, {
|
||||||
\ 'exit_cb': function('s:EndDebug'),
|
\ 'exit_cb': function('s:EndDebug'),
|
||||||
\ 'term_finish': 'close',
|
\ 'term_finish': 'close',
|
||||||
\ })
|
\ })
|
||||||
if gdbbuf == 0
|
if s:gdbbuf == 0
|
||||||
echoerr 'Failed to open the gdb terminal window'
|
echoerr 'Failed to open the gdb terminal window'
|
||||||
exe 'bwipe! ' . s:ptybuf
|
exe 'bwipe! ' . s:ptybuf
|
||||||
exe 'bwipe! ' . s:commbuf
|
exe 'bwipe! ' . s:commbuf
|
||||||
@@ -93,7 +105,13 @@ func s:StartDebug(cmd)
|
|||||||
let s:gdbwin = win_getid(winnr())
|
let s:gdbwin = win_getid(winnr())
|
||||||
|
|
||||||
" Connect gdb to the communication pty, using the GDB/MI interface
|
" Connect gdb to the communication pty, using the GDB/MI interface
|
||||||
call term_sendkeys(gdbbuf, 'new-ui mi ' . commpty . "\r")
|
" If you get an error "undefined command" your GDB is too old.
|
||||||
|
call term_sendkeys(s:gdbbuf, 'new-ui mi ' . commpty . "\r")
|
||||||
|
|
||||||
|
" Interpret commands while the target is running. This should usualy only be
|
||||||
|
" exec-interrupt, since many commands don't work properly while the target is
|
||||||
|
" running.
|
||||||
|
call s:SendCommand('-gdb-set mi-async on')
|
||||||
|
|
||||||
" Sign used to highlight the line where the program has stopped.
|
" Sign used to highlight the line where the program has stopped.
|
||||||
" There can be only one.
|
" There can be only one.
|
||||||
@@ -108,6 +126,17 @@ func s:StartDebug(cmd)
|
|||||||
call s:InstallCommands()
|
call s:InstallCommands()
|
||||||
call win_gotoid(s:gdbwin)
|
call win_gotoid(s:gdbwin)
|
||||||
|
|
||||||
|
" Enable showing a balloon with eval info
|
||||||
|
if has("balloon_eval") || has("balloon_eval_term")
|
||||||
|
set balloonexpr=TermDebugBalloonExpr()
|
||||||
|
if has("balloon_eval")
|
||||||
|
set ballooneval
|
||||||
|
endif
|
||||||
|
if has("balloon_eval_term")
|
||||||
|
set balloonevalterm
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
let s:breakpoints = {}
|
let s:breakpoints = {}
|
||||||
|
|
||||||
augroup TermDebug
|
augroup TermDebug
|
||||||
@@ -131,6 +160,16 @@ func s:EndDebug(job, status)
|
|||||||
let &columns = s:save_columns
|
let &columns = s:save_columns
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if has("balloon_eval") || has("balloon_eval_term")
|
||||||
|
set balloonexpr=
|
||||||
|
if has("balloon_eval")
|
||||||
|
set noballooneval
|
||||||
|
endif
|
||||||
|
if has("balloon_eval_term")
|
||||||
|
set noballoonevalterm
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
au! TermDebug
|
au! TermDebug
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
@@ -166,6 +205,9 @@ func s:InstallCommands()
|
|||||||
command Step call s:SendCommand('-exec-step')
|
command Step call s:SendCommand('-exec-step')
|
||||||
command Over call s:SendCommand('-exec-next')
|
command Over call s:SendCommand('-exec-next')
|
||||||
command Finish call s:SendCommand('-exec-finish')
|
command Finish call s:SendCommand('-exec-finish')
|
||||||
|
command -nargs=* Run call s:Run(<q-args>)
|
||||||
|
command -nargs=* Arguments call s:SendCommand('-exec-arguments ' . <q-args>)
|
||||||
|
command Stop call s:SendCommand('-exec-interrupt')
|
||||||
command Continue call s:SendCommand('-exec-continue')
|
command Continue call s:SendCommand('-exec-continue')
|
||||||
command -range -nargs=* Evaluate call s:Evaluate(<range>, <q-args>)
|
command -range -nargs=* Evaluate call s:Evaluate(<range>, <q-args>)
|
||||||
command Gdb call win_gotoid(s:gdbwin)
|
command Gdb call win_gotoid(s:gdbwin)
|
||||||
@@ -175,11 +217,12 @@ func s:InstallCommands()
|
|||||||
nnoremap K :Evaluate<CR>
|
nnoremap K :Evaluate<CR>
|
||||||
|
|
||||||
if has('menu')
|
if has('menu')
|
||||||
amenu WinBar.Step :Step<CR>
|
nnoremenu WinBar.Step :Step<CR>
|
||||||
amenu WinBar.Next :Over<CR>
|
nnoremenu WinBar.Next :Over<CR>
|
||||||
amenu WinBar.Finish :Finish<CR>
|
nnoremenu WinBar.Finish :Finish<CR>
|
||||||
amenu WinBar.Cont :Continue<CR>
|
nnoremenu WinBar.Cont :Continue<CR>
|
||||||
amenu WinBar.Eval :Evaluate<CR>
|
nnoremenu WinBar.Stop :Stop<CR>
|
||||||
|
nnoremenu WinBar.Eval :Evaluate<CR>
|
||||||
endif
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
@@ -190,6 +233,9 @@ func s:DeleteCommands()
|
|||||||
delcommand Step
|
delcommand Step
|
||||||
delcommand Over
|
delcommand Over
|
||||||
delcommand Finish
|
delcommand Finish
|
||||||
|
delcommand Run
|
||||||
|
delcommand Arguments
|
||||||
|
delcommand Stop
|
||||||
delcommand Continue
|
delcommand Continue
|
||||||
delcommand Evaluate
|
delcommand Evaluate
|
||||||
delcommand Gdb
|
delcommand Gdb
|
||||||
@@ -202,6 +248,7 @@ func s:DeleteCommands()
|
|||||||
aunmenu WinBar.Next
|
aunmenu WinBar.Next
|
||||||
aunmenu WinBar.Finish
|
aunmenu WinBar.Finish
|
||||||
aunmenu WinBar.Cont
|
aunmenu WinBar.Cont
|
||||||
|
aunmenu WinBar.Stop
|
||||||
aunmenu WinBar.Eval
|
aunmenu WinBar.Eval
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -216,8 +263,19 @@ endfunc
|
|||||||
|
|
||||||
" :Break - Set a breakpoint at the cursor position.
|
" :Break - Set a breakpoint at the cursor position.
|
||||||
func s:SetBreakpoint()
|
func s:SetBreakpoint()
|
||||||
call term_sendkeys(s:commbuf, '-break-insert --source '
|
" Setting a breakpoint may not work while the program is running.
|
||||||
\ . fnameescape(expand('%:p')) . ' --line ' . line('.') . "\r")
|
" Interrupt to make it work.
|
||||||
|
let do_continue = 0
|
||||||
|
if !s:stopped
|
||||||
|
let do_continue = 1
|
||||||
|
call s:SendCommand('-exec-interrupt')
|
||||||
|
sleep 10m
|
||||||
|
endif
|
||||||
|
call s:SendCommand('-break-insert --source '
|
||||||
|
\ . fnameescape(expand('%:p')) . ' --line ' . line('.'))
|
||||||
|
if do_continue
|
||||||
|
call s:SendCommand('-exec-continue')
|
||||||
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" :Delete - Delete a breakpoint at the cursor position.
|
" :Delete - Delete a breakpoint at the cursor position.
|
||||||
@@ -240,6 +298,18 @@ func s:SendCommand(cmd)
|
|||||||
call term_sendkeys(s:commbuf, a:cmd . "\r")
|
call term_sendkeys(s:commbuf, a:cmd . "\r")
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
func s:Run(args)
|
||||||
|
if a:args != ''
|
||||||
|
call s:SendCommand('-exec-arguments ' . a:args)
|
||||||
|
endif
|
||||||
|
call s:SendCommand('-exec-run')
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func s:SendEval(expr)
|
||||||
|
call s:SendCommand('-data-evaluate-expression "' . a:expr . '"')
|
||||||
|
let s:evalexpr = a:expr
|
||||||
|
endfunc
|
||||||
|
|
||||||
" :Evaluate - evaluate what is under the cursor
|
" :Evaluate - evaluate what is under the cursor
|
||||||
func s:Evaluate(range, arg)
|
func s:Evaluate(range, arg)
|
||||||
if a:arg != ''
|
if a:arg != ''
|
||||||
@@ -255,25 +325,55 @@ func s:Evaluate(range, arg)
|
|||||||
else
|
else
|
||||||
let expr = expand('<cexpr>')
|
let expr = expand('<cexpr>')
|
||||||
endif
|
endif
|
||||||
call term_sendkeys(s:commbuf, '-data-evaluate-expression "' . expr . "\"\r")
|
call s:SendEval(expr)
|
||||||
let s:evalexpr = expr
|
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
let s:evalFromBalloonExpr = 0
|
||||||
|
|
||||||
" Handle the result of data-evaluate-expression
|
" Handle the result of data-evaluate-expression
|
||||||
func s:HandleEvaluate(msg)
|
func s:HandleEvaluate(msg)
|
||||||
let value = substitute(a:msg, '.*value="\(.*\)"', '\1', '')
|
let value = substitute(a:msg, '.*value="\(.*\)"', '\1', '')
|
||||||
let value = substitute(value, '\\"', '"', 'g')
|
let value = substitute(value, '\\"', '"', 'g')
|
||||||
echomsg '"' . s:evalexpr . '": ' . value
|
if s:evalFromBalloonExpr
|
||||||
|
if s:evalFromBalloonExprResult == ''
|
||||||
if s:evalexpr[0] != '*' && value =~ '^0x' && value !~ '"$'
|
let s:evalFromBalloonExprResult = s:evalexpr . ': ' . value
|
||||||
" Looks like a pointer, also display what it points to.
|
else
|
||||||
let s:evalexpr = '*' . s:evalexpr
|
let s:evalFromBalloonExprResult .= ' = ' . value
|
||||||
call term_sendkeys(s:commbuf, '-data-evaluate-expression "' . s:evalexpr . "\"\r")
|
endif
|
||||||
|
call balloon_show(s:evalFromBalloonExprResult)
|
||||||
|
else
|
||||||
|
echomsg '"' . s:evalexpr . '": ' . value
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if s:evalexpr[0] != '*' && value =~ '^0x' && value != '0x0' && value !~ '"$'
|
||||||
|
" Looks like a pointer, also display what it points to.
|
||||||
|
call s:SendEval('*' . s:evalexpr)
|
||||||
|
else
|
||||||
|
let s:evalFromBalloonExpr = 0
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
" Show a balloon with information of the variable under the mouse pointer,
|
||||||
|
" if there is any.
|
||||||
|
func TermDebugBalloonExpr()
|
||||||
|
if v:beval_winid != s:startwin
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
call s:SendEval(v:beval_text)
|
||||||
|
let s:evalFromBalloonExpr = 1
|
||||||
|
let s:evalFromBalloonExprResult = ''
|
||||||
|
return ''
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Handle an error.
|
" Handle an error.
|
||||||
func s:HandleError(msg)
|
func s:HandleError(msg)
|
||||||
|
if a:msg =~ 'No symbol .* in current context'
|
||||||
|
\ || a:msg =~ 'Cannot access memory at address '
|
||||||
|
\ || a:msg =~ 'Attempt to use a type name as an expression'
|
||||||
|
\ || a:msg =~ 'A syntax error in expression,'
|
||||||
|
" Result of s:SendEval() failed, ignore.
|
||||||
|
return
|
||||||
|
endif
|
||||||
echoerr substitute(a:msg, '.*msg="\(.*\)"', '\1', '')
|
echoerr substitute(a:msg, '.*msg="\(.*\)"', '\1', '')
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
@@ -282,6 +382,12 @@ endfunc
|
|||||||
func s:HandleCursor(msg)
|
func s:HandleCursor(msg)
|
||||||
let wid = win_getid(winnr())
|
let wid = win_getid(winnr())
|
||||||
|
|
||||||
|
if a:msg =~ '^\*stopped'
|
||||||
|
let s:stopped = 1
|
||||||
|
elseif a:msg =~ '^\*running'
|
||||||
|
let s:stopped = 0
|
||||||
|
endif
|
||||||
|
|
||||||
if win_gotoid(s:startwin)
|
if win_gotoid(s:startwin)
|
||||||
let fname = substitute(a:msg, '.*fullname="\([^"]*\)".*', '\1', '')
|
let fname = substitute(a:msg, '.*fullname="\([^"]*\)".*', '\1', '')
|
||||||
if a:msg =~ '^\(\*stopped\|=thread-selected\)' && filereadable(fname)
|
if a:msg =~ '^\(\*stopped\|=thread-selected\)' && filereadable(fname)
|
||||||
@@ -297,6 +403,7 @@ func s:HandleCursor(msg)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
exe lnum
|
exe lnum
|
||||||
|
exe 'sign unplace ' . s:pc_id
|
||||||
exe 'sign place ' . s:pc_id . ' line=' . lnum . ' name=debugPC file=' . fname
|
exe 'sign place ' . s:pc_id . ' line=' . lnum . ' name=debugPC file=' . fname
|
||||||
setlocal signcolumn=yes
|
setlocal signcolumn=yes
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
" Vim plugin for using Vim as manpager.
|
" Vim plugin for using Vim as manpager.
|
||||||
" Maintainer: Enno Nagel <ennonagel+vim@gmail.com>
|
" Maintainer: Enno Nagel <ennonagel+vim@gmail.com>
|
||||||
" Last Change: 2016 May 20
|
" Last Change: 2017 November 07
|
||||||
|
|
||||||
" $MAN_PN is supposed to be set by MANPAGER, see ":help manpager.vim".
|
" $MAN_PN is supposed to be set by MANPAGER, see ":help manpager.vim".
|
||||||
if empty($MAN_PN)
|
if empty($MAN_PN)
|
||||||
@@ -10,17 +10,17 @@ endif
|
|||||||
command! -nargs=0 MANPAGER call s:MANPAGER() | delcommand MANPAGER
|
command! -nargs=0 MANPAGER call s:MANPAGER() | delcommand MANPAGER
|
||||||
|
|
||||||
function! s:MANPAGER()
|
function! s:MANPAGER()
|
||||||
let page_pattern = '\v\w+%([-_.]\w+)*'
|
let page_pattern = '\v\w[-_.:0-9A-Za-z]*'
|
||||||
let sec_pattern = '\v\w+%(\+\w+)*'
|
let sec_pattern = '\v\w+%(\+\w+)*'
|
||||||
let pagesec_pattern = '\v(' . page_pattern . ')\((' . sec_pattern . ')\)'
|
let pagesec_pattern = '\v(' . page_pattern . ')\((' . sec_pattern . ')\)'
|
||||||
|
|
||||||
if $MAN_PN is '1'
|
if $MAN_PN is '1'
|
||||||
let manpage = matchstr( getline(1), '^' . pagesec_pattern )
|
let manpage = tolower(matchstr( getline(nextnonblank(1)), '^' . pagesec_pattern ))
|
||||||
else
|
else
|
||||||
let manpage = expand('$MAN_PN')
|
let manpage = expand($MAN_PN)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let page_sec = matchlist(tolower(manpage), '^' . pagesec_pattern . '$')
|
let page_sec = matchlist(manpage, '^' . pagesec_pattern . '$')
|
||||||
|
|
||||||
bwipe!
|
bwipe!
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
" Vim plugin for showing matching parens
|
" Vim plugin for showing matching parens
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2016 Feb 16
|
" Last Change: 2017 Sep 30
|
||||||
|
|
||||||
" Exit quickly when:
|
" Exit quickly when:
|
||||||
" - this plugin was already loaded (or disabled)
|
" - this plugin was already loaded (or disabled)
|
||||||
@@ -186,9 +186,23 @@ function! s:Highlight_Matching_Pair()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Define commands that will disable and enable the plugin.
|
" Define commands that will disable and enable the plugin.
|
||||||
command! NoMatchParen windo silent! call matchdelete(3) | unlet! g:loaded_matchparen |
|
command! DoMatchParen call s:DoMatchParen()
|
||||||
\ au! matchparen
|
command! NoMatchParen call s:NoMatchParen()
|
||||||
command! DoMatchParen runtime plugin/matchparen.vim | windo doau CursorMoved
|
|
||||||
|
func! s:NoMatchParen()
|
||||||
|
let w = winnr()
|
||||||
|
noau windo silent! call matchdelete(3)
|
||||||
|
unlet! g:loaded_matchparen
|
||||||
|
exe "noau ". w . "wincmd w"
|
||||||
|
au! matchparen
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func! s:DoMatchParen()
|
||||||
|
runtime plugin/matchparen.vim
|
||||||
|
let w = winnr()
|
||||||
|
silent windo doau CursorMoved
|
||||||
|
exe "noau ". w . "wincmd w"
|
||||||
|
endfunc
|
||||||
|
|
||||||
let &cpo = s:cpo_save
|
let &cpo = s:cpo_save
|
||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
if &cp || exists("g:loaded_netrwPlugin")
|
if &cp || exists("g:loaded_netrwPlugin")
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let g:loaded_netrwPlugin = "v156"
|
let g:loaded_netrwPlugin = "v162"
|
||||||
let s:keepcpo = &cpo
|
let s:keepcpo = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
"DechoRemOn
|
"DechoRemOn
|
||||||
@@ -42,8 +42,8 @@ augroup END
|
|||||||
" Network Browsing Reading Writing: {{{2
|
" Network Browsing Reading Writing: {{{2
|
||||||
augroup Network
|
augroup Network
|
||||||
au!
|
au!
|
||||||
au BufReadCmd file://* call netrw#FileUrlRead(expand("<amatch>"))
|
au BufReadCmd file://* call netrw#FileUrlEdit(expand("<amatch>"))
|
||||||
au BufReadCmd ftp://*,rcp://*,scp://*,http://*,file://*,https://*,dav://*,davs://*,rsync://*,sftp://* exe "sil doau BufReadPre ".fnameescape(expand("<amatch>"))|call netrw#Nread(2,expand("<amatch>"))|exe "sil doau BufReadPost ".fnameescape(expand("<amatch>"))
|
au BufReadCmd ftp://*,rcp://*,scp://*,http://*,https://*,dav://*,davs://*,rsync://*,sftp://* exe "sil doau BufReadPre ".fnameescape(expand("<amatch>"))|call netrw#Nread(2,expand("<amatch>"))|exe "sil doau BufReadPost ".fnameescape(expand("<amatch>"))
|
||||||
au FileReadCmd ftp://*,rcp://*,scp://*,http://*,file://*,https://*,dav://*,davs://*,rsync://*,sftp://* exe "sil doau FileReadPre ".fnameescape(expand("<amatch>"))|call netrw#Nread(1,expand("<amatch>"))|exe "sil doau FileReadPost ".fnameescape(expand("<amatch>"))
|
au FileReadCmd ftp://*,rcp://*,scp://*,http://*,file://*,https://*,dav://*,davs://*,rsync://*,sftp://* exe "sil doau FileReadPre ".fnameescape(expand("<amatch>"))|call netrw#Nread(1,expand("<amatch>"))|exe "sil doau FileReadPost ".fnameescape(expand("<amatch>"))
|
||||||
au BufWriteCmd ftp://*,rcp://*,scp://*,http://*,file://*,dav://*,davs://*,rsync://*,sftp://* exe "sil doau BufWritePre ".fnameescape(expand("<amatch>"))|exe 'Nwrite '.fnameescape(expand("<amatch>"))|exe "sil doau BufWritePost ".fnameescape(expand("<amatch>"))
|
au BufWriteCmd ftp://*,rcp://*,scp://*,http://*,file://*,dav://*,davs://*,rsync://*,sftp://* exe "sil doau BufWritePre ".fnameescape(expand("<amatch>"))|exe 'Nwrite '.fnameescape(expand("<amatch>"))|exe "sil doau BufWritePost ".fnameescape(expand("<amatch>"))
|
||||||
au FileWriteCmd ftp://*,rcp://*,scp://*,http://*,file://*,dav://*,davs://*,rsync://*,sftp://* exe "sil doau FileWritePre ".fnameescape(expand("<amatch>"))|exe "'[,']".'Nwrite '.fnameescape(expand("<amatch>"))|exe "sil doau FileWritePost ".fnameescape(expand("<amatch>"))
|
au FileWriteCmd ftp://*,rcp://*,scp://*,http://*,file://*,dav://*,davs://*,rsync://*,sftp://* exe "sil doau FileWritePre ".fnameescape(expand("<amatch>"))|exe "'[,']".'Nwrite '.fnameescape(expand("<amatch>"))|exe "sil doau FileWritePost ".fnameescape(expand("<amatch>"))
|
||||||
@@ -59,7 +59,7 @@ com! -count=1 -nargs=* Nread let s:svpos= winsaveview()<bar>call netrw#NetRead(
|
|||||||
com! -range=% -nargs=* Nwrite let s:svpos= winsaveview()<bar><line1>,<line2>call netrw#NetWrite(<f-args>)<bar>call winrestview(s:svpos)
|
com! -range=% -nargs=* Nwrite let s:svpos= winsaveview()<bar><line1>,<line2>call netrw#NetWrite(<f-args>)<bar>call winrestview(s:svpos)
|
||||||
com! -nargs=* NetUserPass call NetUserPass(<f-args>)
|
com! -nargs=* NetUserPass call NetUserPass(<f-args>)
|
||||||
com! -nargs=* Nsource let s:svpos= winsaveview()<bar>call netrw#NetSource(<f-args>)<bar>call winrestview(s:svpos)
|
com! -nargs=* Nsource let s:svpos= winsaveview()<bar>call netrw#NetSource(<f-args>)<bar>call winrestview(s:svpos)
|
||||||
com! -nargs=? Ntree call netrw#SetTreetop(<q-args>)
|
com! -nargs=? Ntree call netrw#SetTreetop(1,<q-args>)
|
||||||
|
|
||||||
" Commands: :Explore, :Sexplore, Hexplore, Vexplore, Lexplore {{{2
|
" Commands: :Explore, :Sexplore, Hexplore, Vexplore, Lexplore {{{2
|
||||||
com! -nargs=* -bar -bang -count=0 -complete=dir Explore call netrw#Explore(<count>,0,0+<bang>0,<q-args>)
|
com! -nargs=* -bar -bang -count=0 -complete=dir Explore call netrw#Explore(<count>,0,0+<bang>0,<q-args>)
|
||||||
@@ -81,7 +81,7 @@ if !exists("g:netrw_nogx")
|
|||||||
if !hasmapto('<Plug>NetrwBrowseX')
|
if !hasmapto('<Plug>NetrwBrowseX')
|
||||||
nmap <unique> gx <Plug>NetrwBrowseX
|
nmap <unique> gx <Plug>NetrwBrowseX
|
||||||
endif
|
endif
|
||||||
nno <silent> <Plug>NetrwBrowseX :call netrw#BrowseX(expand((exists("g:netrw_gx")? g:netrw_gx : '<cfile>')),netrw#CheckIfRemote())<cr>
|
nno <silent> <Plug>NetrwBrowseX :call netrw#BrowseX(netrw#GX(),netrw#CheckIfRemote(netrw#GX()))<cr>
|
||||||
endif
|
endif
|
||||||
if maparg('gx','v') == ""
|
if maparg('gx','v') == ""
|
||||||
if !hasmapto('<Plug>NetrwBrowseXVis')
|
if !hasmapto('<Plug>NetrwBrowseXVis')
|
||||||
@@ -129,19 +129,15 @@ fun! s:LocalBrowse(dirname)
|
|||||||
elseif isdirectory(a:dirname)
|
elseif isdirectory(a:dirname)
|
||||||
" call Decho("(LocalBrowse) dirname<".a:dirname."> ft=".&ft." (isdirectory, not amiga)")
|
" call Decho("(LocalBrowse) dirname<".a:dirname."> ft=".&ft." (isdirectory, not amiga)")
|
||||||
" call Dredir("LocalBrowse ft last set: ","verbose set ft")
|
" call Dredir("LocalBrowse ft last set: ","verbose set ft")
|
||||||
" call Decho("(s:LocalBrowse) COMBAK#23: buf#".bufnr("%")." file<".expand("%")."> line#".line(".")." col#".col("."))
|
|
||||||
sil! call netrw#LocalBrowseCheck(a:dirname)
|
sil! call netrw#LocalBrowseCheck(a:dirname)
|
||||||
" call Decho("(s:LocalBrowse) COMBAK#24: buf#".bufnr("%")." file<".expand("%")."> line#".line(".")." col#".col("."))
|
|
||||||
if exists("w:netrw_bannercnt") && line('.') < w:netrw_bannercnt
|
if exists("w:netrw_bannercnt") && line('.') < w:netrw_bannercnt
|
||||||
exe w:netrw_bannercnt
|
exe w:netrw_bannercnt
|
||||||
" call Decho("(s:LocalBrowse) COMBAK#25: buf#".bufnr("%")." file<".expand("%")."> line#".line(".")." col#".col("."))
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
else
|
else
|
||||||
" not a directory, ignore it
|
" not a directory, ignore it
|
||||||
" call Decho("(LocalBrowse) dirname<".a:dirname."> not a directory, ignoring...")
|
" call Decho("(LocalBrowse) dirname<".a:dirname."> not a directory, ignoring...")
|
||||||
endif
|
endif
|
||||||
" call Decho("(s:LocalBrowse) COMBAK#26: buf#".bufnr("%")." file<".expand("%")."> line#".line(".")." col#".col("."))
|
|
||||||
|
|
||||||
" call Dret("s:LocalBrowse")
|
" call Dret("s:LocalBrowse")
|
||||||
endfun
|
endfun
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim support file to detect file types in scripts
|
" Vim support file to detect file types in scripts
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last change: 2017 Aug 27
|
" Last change: 2017 Nov 11
|
||||||
|
|
||||||
" This file is called by an autocommand for every file that has just been
|
" This file is called by an autocommand for every file that has just been
|
||||||
" loaded into a buffer. It checks if the type of file can be recognized by
|
" loaded into a buffer. It checks if the type of file can be recognized by
|
||||||
@@ -66,19 +66,19 @@ if s:line1 =~# "^#!"
|
|||||||
|
|
||||||
" Bourne-like shell scripts: bash bash2 ksh ksh93 sh
|
" Bourne-like shell scripts: bash bash2 ksh ksh93 sh
|
||||||
if s:name =~# '^\(bash\d*\|\|ksh\d*\|sh\)\>'
|
if s:name =~# '^\(bash\d*\|\|ksh\d*\|sh\)\>'
|
||||||
call SetFileTypeSH(s:line1) " defined in filetype.vim
|
call dist#ft#SetFileTypeSH(s:line1) " defined in filetype.vim
|
||||||
|
|
||||||
" csh scripts
|
" csh scripts
|
||||||
elseif s:name =~# '^csh\>'
|
elseif s:name =~# '^csh\>'
|
||||||
if exists("g:filetype_csh")
|
if exists("g:filetype_csh")
|
||||||
call SetFileTypeShell(g:filetype_csh)
|
call dist#ft#SetFileTypeShell(g:filetype_csh)
|
||||||
else
|
else
|
||||||
call SetFileTypeShell("csh")
|
call dist#ft#SetFileTypeShell("csh")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" tcsh scripts
|
" tcsh scripts
|
||||||
elseif s:name =~# '^tcsh\>'
|
elseif s:name =~# '^tcsh\>'
|
||||||
call SetFileTypeShell("tcsh")
|
call dist#ft#SetFileTypeShell("tcsh")
|
||||||
|
|
||||||
" Z shell scripts
|
" Z shell scripts
|
||||||
elseif s:name =~# '^zsh\>'
|
elseif s:name =~# '^zsh\>'
|
||||||
@@ -185,7 +185,7 @@ else
|
|||||||
|
|
||||||
" Bourne-like shell scripts: sh ksh bash bash2
|
" Bourne-like shell scripts: sh ksh bash bash2
|
||||||
if s:line1 =~# '^:$'
|
if s:line1 =~# '^:$'
|
||||||
call SetFileTypeSH(s:line1) " defined in filetype.vim
|
call dist#ft#SetFileTypeSH(s:line1) " defined in filetype.vim
|
||||||
|
|
||||||
" Z shell scripts
|
" Z shell scripts
|
||||||
elseif s:line1 =~# '^#compdef\>' || s:line1 =~# '^#autoload\>' ||
|
elseif s:line1 =~# '^#compdef\>' || s:line1 =~# '^#autoload\>' ||
|
||||||
@@ -324,7 +324,7 @@ else
|
|||||||
set ft=sindacmp
|
set ft=sindacmp
|
||||||
|
|
||||||
" DNS zone files
|
" DNS zone files
|
||||||
elseif s:line1.s:line2.s:line3.s:line4 =~# '^; <<>> DiG [0-9.]\+ <<>>\|BIND.*named\|$ORIGIN\|$TTL\|IN\s\+SOA'
|
elseif s:line1.s:line2.s:line3.s:line4 =~# '^; <<>> DiG [0-9.]\+.* <<>>\|$ORIGIN\|$TTL\|IN\s\+SOA'
|
||||||
set ft=bindzone
|
set ft=bindzone
|
||||||
|
|
||||||
" BAAN
|
" BAAN
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
" This file is normally sourced from menu.vim.
|
" This file is normally sourced from menu.vim.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2014 Aug 13
|
" Last Change: 2017 Oct 28
|
||||||
|
|
||||||
" Define the SetSyn function, used for the Syntax menu entries.
|
" Define the SetSyn function, used for the Syntax menu entries.
|
||||||
" Set 'filetype' and also 'syntax' if it is manually selected.
|
" Set 'filetype' and also 'syntax' if it is manually selected.
|
||||||
@@ -351,12 +351,13 @@ an 50.70.510 &Syntax.M.Muttrc :cal SetSyn("muttrc")<CR>
|
|||||||
an 50.80.100 &Syntax.NO.Nanorc :cal SetSyn("nanorc")<CR>
|
an 50.80.100 &Syntax.NO.Nanorc :cal SetSyn("nanorc")<CR>
|
||||||
an 50.80.110 &Syntax.NO.Nastran\ input/DMAP :cal SetSyn("nastran")<CR>
|
an 50.80.110 &Syntax.NO.Nastran\ input/DMAP :cal SetSyn("nastran")<CR>
|
||||||
an 50.80.120 &Syntax.NO.Natural :cal SetSyn("natural")<CR>
|
an 50.80.120 &Syntax.NO.Natural :cal SetSyn("natural")<CR>
|
||||||
an 50.80.130 &Syntax.NO.Netrc :cal SetSyn("netrc")<CR>
|
an 50.80.130 &Syntax.NO.Neomuttrc :cal SetSyn("neomuttrc")<CR>
|
||||||
an 50.80.140 &Syntax.NO.Ninja :cal SetSyn("ninja")<CR>
|
an 50.80.140 &Syntax.NO.Netrc :cal SetSyn("netrc")<CR>
|
||||||
an 50.80.150 &Syntax.NO.Novell\ NCF\ batch :cal SetSyn("ncf")<CR>
|
an 50.80.150 &Syntax.NO.Ninja :cal SetSyn("ninja")<CR>
|
||||||
an 50.80.160 &Syntax.NO.Not\ Quite\ C\ (LEGO) :cal SetSyn("nqc")<CR>
|
an 50.80.160 &Syntax.NO.Novell\ NCF\ batch :cal SetSyn("ncf")<CR>
|
||||||
an 50.80.170 &Syntax.NO.Nroff :cal SetSyn("nroff")<CR>
|
an 50.80.170 &Syntax.NO.Not\ Quite\ C\ (LEGO) :cal SetSyn("nqc")<CR>
|
||||||
an 50.80.180 &Syntax.NO.NSIS\ script :cal SetSyn("nsis")<CR>
|
an 50.80.180 &Syntax.NO.Nroff :cal SetSyn("nroff")<CR>
|
||||||
|
an 50.80.190 &Syntax.NO.NSIS\ script :cal SetSyn("nsis")<CR>
|
||||||
an 50.80.200 &Syntax.NO.Obj\ 3D\ wavefront :cal SetSyn("obj")<CR>
|
an 50.80.200 &Syntax.NO.Obj\ 3D\ wavefront :cal SetSyn("obj")<CR>
|
||||||
an 50.80.210 &Syntax.NO.Objective\ C :cal SetSyn("objc")<CR>
|
an 50.80.210 &Syntax.NO.Objective\ C :cal SetSyn("objc")<CR>
|
||||||
an 50.80.220 &Syntax.NO.Objective\ C++ :cal SetSyn("objcpp")<CR>
|
an 50.80.220 &Syntax.NO.Objective\ C++ :cal SetSyn("objcpp")<CR>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
" Language: BibTeX (bibliographic database format for (La)TeX)
|
" Language: BibTeX (bibliographic database format for (La)TeX)
|
||||||
" Maintainer: Bernd Feige <Bernd.Feige@gmx.net>
|
" Maintainer: Bernd Feige <Bernd.Feige@gmx.net>
|
||||||
" Filenames: *.bib
|
" Filenames: *.bib
|
||||||
" Last Change: 2016 Sep 12
|
" Last Change: 2017 Sep 29
|
||||||
|
|
||||||
" Thanks to those who pointed out problems with this file or supplied fixes!
|
" Thanks to those who pointed out problems with this file or supplied fixes!
|
||||||
|
|
||||||
@@ -81,16 +81,18 @@ syn match bibUnescapedSpecial contained /[^\\][%&]/hs=s+1
|
|||||||
syn match bibKey contained /\s*[^ \t}="]\+,/hs=s,he=e-1 nextgroup=bibField
|
syn match bibKey contained /\s*[^ \t}="]\+,/hs=s,he=e-1 nextgroup=bibField
|
||||||
syn match bibVariable contained /[^{}," \t=]/
|
syn match bibVariable contained /[^{}," \t=]/
|
||||||
syn region bibComment start=/./ end=/^\s*@/me=e-1 contains=@bibCommentContents nextgroup=bibEntry
|
syn region bibComment start=/./ end=/^\s*@/me=e-1 contains=@bibCommentContents nextgroup=bibEntry
|
||||||
syn region bibMath contained start=/\$/ end=/\$/ skip=/\(\\\$\)/
|
syn region bibMath contained start=/\(\\\)\@<!\$/ end=/\$/ skip=/\(\\\$\)/
|
||||||
syn region bibQuote contained start=/"/ end=/"/ skip=/\(\\"\)/ contains=@bibVarContents
|
syn region bibQuote contained start=/"/ end=/"/ skip=/\(\\"\)/ contains=@bibVarContents
|
||||||
syn region bibBrace contained start=/{/ end=/}/ skip=/\(\\[{}]\)/ contains=@bibVarContents
|
syn region bibBrace contained start=/{/ end=/}/ skip=/\(\\[{}]\)/ contains=@bibVarContents
|
||||||
syn region bibParen contained start=/(/ end=/)/ skip=/\(\\[()]\)/ contains=@bibVarContents
|
syn region bibParen contained start=/(/ end=/)/ skip=/\(\\[()]\)/ contains=@bibVarContents
|
||||||
syn region bibField contained start="\S\+\s*=\s*" end=/[}),]/me=e-1 contains=bibEntryKw,bibNSEntryKw,bibBrace,bibParen,bibQuote,bibVariable
|
syn region bibField contained start="\S\+\s*=\s*" end=/[}),]/me=e-1 contains=bibEntryKw,bibNSEntryKw,bibBrace,bibParen,bibQuote,bibVariable
|
||||||
syn region bibEntryData contained start=/[{(]/ms=e+1 end=/[})]/me=e-1 contains=bibKey,bibField
|
syn region bibEntryData contained start=/[{(]/ms=e+1 end=/[})]/me=e-1 contains=bibKey,bibField,bibComment3
|
||||||
" Actually, 5.8 <= Vim < 6.0 would ignore the `fold' keyword anyway, but Vim<5.8 would produce
|
" Actually, 5.8 <= Vim < 6.0 would ignore the `fold' keyword anyway, but Vim<5.8 would produce
|
||||||
" an error, so we explicitly distinguish versions with and without folding functionality:
|
" an error, so we explicitly distinguish versions with and without folding functionality:
|
||||||
syn region bibEntry start=/@\S\+\s*[{(]/ end=/^\s*[})]/ transparent fold contains=bibType,bibEntryData nextgroup=bibComment
|
syn region bibEntry start=/@\S\+\s*[{(]/ end=/^\s*[})]/ transparent fold contains=bibType,bibEntryData nextgroup=bibComment
|
||||||
syn region bibComment2 start=/@Comment\s*[{(]/ end=/^\s*[})]/me=e-1 contains=@bibCommentContents nextgroup=bibEntry
|
syn region bibComment2 start=/@Comment\s*[{(]/ end=/^\s*[})]/me=e-1 contains=@bibCommentContents nextgroup=bibEntry
|
||||||
|
" biblatex style comments inside a bibEntry
|
||||||
|
syn match bibComment3 "%.*"
|
||||||
|
|
||||||
" Synchronization
|
" Synchronization
|
||||||
" ===============
|
" ===============
|
||||||
@@ -111,6 +113,7 @@ hi def link bibVariable Constant
|
|||||||
hi def link bibUnescapedSpecial Error
|
hi def link bibUnescapedSpecial Error
|
||||||
hi def link bibComment Comment
|
hi def link bibComment Comment
|
||||||
hi def link bibComment2 Comment
|
hi def link bibComment2 Comment
|
||||||
|
hi def link bibComment3 Comment
|
||||||
|
|
||||||
let b:current_syntax = "bib"
|
let b:current_syntax = "bib"
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
||||||
" Former Maintainers: Gerfried Fuchs <alfie@ist.org>
|
" Former Maintainers: Gerfried Fuchs <alfie@ist.org>
|
||||||
" Wichert Akkerman <wakkerma@debian.org>
|
" Wichert Akkerman <wakkerma@debian.org>
|
||||||
" Last Change: 2017 Aug 18
|
" Last Change: 2017 Nov 04
|
||||||
" URL: https://anonscm.debian.org/cgit/pkg-vim/vim.git/plain/runtime/syntax/debcontrol.vim
|
" URL: https://anonscm.debian.org/cgit/pkg-vim/vim.git/plain/runtime/syntax/debcontrol.vim
|
||||||
|
|
||||||
" Standard syntax initialization
|
" Standard syntax initialization
|
||||||
@@ -17,6 +17,8 @@ set cpo&vim
|
|||||||
" Should match case except for the keys of each field
|
" Should match case except for the keys of each field
|
||||||
syn case match
|
syn case match
|
||||||
|
|
||||||
|
syn iskeyword @,48-57,-,/
|
||||||
|
|
||||||
" Everything that is not explicitly matched by the rules below
|
" Everything that is not explicitly matched by the rules below
|
||||||
syn match debcontrolElse "^.*$"
|
syn match debcontrolElse "^.*$"
|
||||||
|
|
||||||
@@ -24,24 +26,50 @@ syn match debcontrolElse "^.*$"
|
|||||||
syn match debControlComma ",[ \t]*"
|
syn match debControlComma ",[ \t]*"
|
||||||
syn match debControlSpace "[ \t]"
|
syn match debControlSpace "[ \t]"
|
||||||
|
|
||||||
let s:kernels = '\%(linux\|hurd\|kfreebsd\|knetbsd\|kopensolaris\|netbsd\)'
|
let s:kernels = ['linux', 'hurd', 'kfreebsd', 'knetbsd', 'kopensolaris', 'netbsd']
|
||||||
let s:archs = '\%(alpha\|amd64\|armeb\|armel\|armhf\|arm64\|avr32\|hppa\|i386'
|
let s:archs = [
|
||||||
\ . '\|ia64\|lpia\|m32r\|m68k\|mipsel\|mips64el\|mips\|powerpcspe\|powerpc\|ppc64el'
|
\ 'alpha', 'amd64', 'armeb', 'armel', 'armhf', 'arm64', 'avr32', 'hppa'
|
||||||
\ . '\|ppc64\|s390x\|s390\|sh3eb\|sh3\|sh4eb\|sh4\|sh\|sparc64\|sparc\|x32\)'
|
\, 'i386', 'ia64', 'lpia', 'm32r', 'm68k', 'mipsel', 'mips64el', 'mips'
|
||||||
let s:pairs = 'hurd-i386\|kfreebsd-i386\|kfreebsd-amd64\|knetbsd-i386\|kopensolaris-i386\|netbsd-alpha\|netbsd-i386'
|
\, 'powerpcspe', 'powerpc', 'ppc64el', 'ppc64', 's390x', 's390', 'sh3eb'
|
||||||
|
\, 'sh3', 'sh4eb', 'sh4', 'sh', 'sparc64', 'sparc', 'x32'
|
||||||
|
\ ]
|
||||||
|
let s:pairs = [
|
||||||
|
\ 'hurd-i386', 'kfreebsd-i386', 'kfreebsd-amd64', 'knetbsd-i386'
|
||||||
|
\, 'kopensolaris-i386', 'netbsd-alpha', 'netbsd-i386'
|
||||||
|
\ ]
|
||||||
|
|
||||||
" Define some common expressions we can use later on
|
" Define some common expressions we can use later on
|
||||||
exe 'syn match debcontrolArchitecture contained "\%(all\|'. s:kernels .'-any\|\%(any-\)\='. s:archs .'\|'. s:pairs .'\|any\)"'
|
syn keyword debcontrolArchitecture contained all any
|
||||||
|
exe 'syn keyword debcontrolArchitecture contained '. join(map(s:kernels, {k,v -> v .'-any'}))
|
||||||
|
exe 'syn keyword debcontrolArchitecture contained '. join(map(s:archs, {k,v -> 'any-'.v}))
|
||||||
|
exe 'syn keyword debcontrolArchitecture contained '. join(s:archs)
|
||||||
|
exe 'syn keyword debcontrolArchitecture contained '. join(s:pairs)
|
||||||
|
|
||||||
unlet s:kernels s:archs s:pairs
|
unlet s:kernels s:archs s:pairs
|
||||||
|
|
||||||
syn match debcontrolMultiArch contained "\%(no\|foreign\|allowed\|same\)"
|
let s:sections = [
|
||||||
|
\ 'admin', 'cli-mono', 'comm', 'database', 'debian-installer', 'debug'
|
||||||
|
\, 'devel', 'doc', 'editors', 'education', 'electronics', 'embedded'
|
||||||
|
\, 'fonts', 'games', 'gnome', 'gnustep', 'gnu-r', 'golang', 'graphics'
|
||||||
|
\, 'hamradio', 'haskell', 'httpd', 'interpreters', 'introspection'
|
||||||
|
\, 'java', 'javascript', 'kde', 'kernel', 'libs', 'libdevel', 'lisp'
|
||||||
|
\, 'localization', 'mail', 'math', 'metapackages', 'misc', 'net'
|
||||||
|
\, 'news', 'ocaml', 'oldlibs', 'otherosfs', 'perl', 'php', 'python'
|
||||||
|
\, 'ruby', 'rust', 'science', 'shells', 'sound', 'text', 'tex'
|
||||||
|
\, 'utils', 'vcs', 'video', 'web', 'x11', 'xfce', 'zope'
|
||||||
|
\ ]
|
||||||
|
|
||||||
|
syn keyword debcontrolMultiArch contained no foreign allowed same
|
||||||
syn match debcontrolName contained "[a-z0-9][a-z0-9+.-]\+"
|
syn match debcontrolName contained "[a-z0-9][a-z0-9+.-]\+"
|
||||||
syn match debcontrolPriority contained "\(extra\|important\|optional\|required\|standard\)"
|
syn keyword debcontrolPriority contained extra important optional required standard
|
||||||
syn match debcontrolSection contained "\v((contrib|non-free|non-US/main|non-US/contrib|non-US/non-free|restricted|universe|multiverse)/)?(admin|cli-mono|comm|database|debian-installer|debug|devel|doc|editors|education|electronics|embedded|fonts|games|gnome|gnustep|gnu-r|graphics|hamradio|haskell|httpd|interpreters|introspection|java%(script)=|kde|kernel|libs|libdevel|lisp|localization|mail|math|metapackages|misc|net|news|ocaml|oldlibs|otherosfs|perl|php|python|ruby|rust|science|shells|sound|text|tex|utils|vcs|video|web|x11|xfce|zope)"
|
exe 'syn match debcontrolSection contained "\%(\%(contrib\|non-free\|non-US/main\|non-US/contrib\|non-US/non-free\|restricted\|universe\|multiverse\)/\)\=\%('.join(s:sections, '\|').'\)"'
|
||||||
syn match debcontrolPackageType contained "u\?deb"
|
syn keyword debcontrolPackageType contained udeb deb
|
||||||
syn match debcontrolVariable contained "\${.\{-}}"
|
syn match debcontrolVariable contained "\${.\{-}}"
|
||||||
syn match debcontrolDmUpload contained "\cyes"
|
syn keyword debcontrolDmUpload contained yes
|
||||||
|
syn keyword debcontrolYesNo contained yes no
|
||||||
|
syn match debcontrolR3 contained "\<\%(no\|binary-targets\|[[:graph:]]\+/[[:graph:]]\+\%( \+[[:graph:]]\+/[[:graph:]]\+\)*\)\>"
|
||||||
|
|
||||||
|
unlet s:sections
|
||||||
|
|
||||||
" A URL (using the domain name definitions from RFC 1034 and 1738), right now
|
" A URL (using the domain name definitions from RFC 1034 and 1738), right now
|
||||||
" only enforce protocol and some sanity on the server/path part;
|
" only enforce protocol and some sanity on the server/path part;
|
||||||
@@ -59,15 +87,28 @@ syn match debcontrolComment "^#.*$" contains=@Spell
|
|||||||
|
|
||||||
syn case ignore
|
syn case ignore
|
||||||
|
|
||||||
" List of all legal keys
|
" List of all legal keys, in order, from deb-src-control(5)
|
||||||
syn match debcontrolKey contained "^\%(Source\|Package\|Section\|Priority\|\%(XSBC-Original-\)\=Maintainer\|Uploaders\|Build-\%(Conflicts\|Depends\)\%(-Arch\|-Indep\)\=\|Standards-Version\|\%(Pre-\)\=Depends\|Recommends\|Suggests\|Provides\|Replaces\|Conflicts\|Enhances\|Breaks\|Essential\|Architecture\|Multi-Arch\|Description\|Bugs\|Origin\|X[SB]-Python-Version\|Homepage\|\(XS-\)\=Vcs-\(Browser\|Arch\|Bzr\|Cvs\|Darcs\|Git\|Hg\|Mtn\|Svn\)\|\%(XC-\)\=Package-Type\|\%(XS-\)\=Testsuite\): *"
|
" Source fields
|
||||||
|
syn match debcontrolKey contained "^\%(Source\|Maintainer\|Uploaders\|Standards-Version\|Description\|Homepage\|Bugs\|Rules-Requires-Root\): *"
|
||||||
|
syn match debcontrolKey contained "^\%(XS-\)\=Vcs-\%(Arch\|Bzr\|Cvs\|Darcs\|Git\|Hg\|Mtn\|Svn\|Browser\): *"
|
||||||
|
syn match debcontrolKey contained "^\%(Origin\|Section\|Priority\): *"
|
||||||
|
syn match debcontrolKey contained "^Build-\%(Depends\|Conflicts\)\%(-Arch\|-Indep\)\=: *"
|
||||||
|
|
||||||
|
" Binary fields
|
||||||
|
syn match debcontrolKey contained "^\%(Package\%(-Type\)\=\|Architecture\|Build-Profiles\): *"
|
||||||
|
syn match debcontrolKey contained "^\%(\%(Build-\)\=Essential\|Multi-Arch\|Tag\): *"
|
||||||
|
syn match debcontrolKey contained "^\%(\%(Pre-\)\=Depends\|Recommends\|Suggests\|Breaks\|Enhances\|Replaces\|Conflicts\|Provides\|Built-Using\): *"
|
||||||
|
syn match debcontrolKey contained "^\%(Subarchitecture\|Kernel-Version\|Installer-Menu-Item\): *"
|
||||||
|
|
||||||
|
" User-defined fields
|
||||||
|
syn match debcontrolKey contained "^X[SBC]\{0,3\}\%(-Private\)\=-[-a-zA-Z0-9]\+: *"
|
||||||
|
|
||||||
syn match debcontrolDeprecatedKey contained "^\%(\%(XS-\)\=DM-Upload-Allowed\): *"
|
syn match debcontrolDeprecatedKey contained "^\%(\%(XS-\)\=DM-Upload-Allowed\): *"
|
||||||
|
|
||||||
" Fields for which we do strict syntax checking
|
" Fields for which we do strict syntax checking
|
||||||
syn region debcontrolStrictField start="^Architecture" end="$" contains=debcontrolKey,debcontrolArchitecture,debcontrolSpace oneline
|
syn region debcontrolStrictField start="^Architecture" end="$" contains=debcontrolKey,debcontrolArchitecture,debcontrolSpace oneline
|
||||||
syn region debcontrolStrictField start="^Multi-Arch" end="$" contains=debcontrolKey,debcontrolMultiArch oneline
|
syn region debcontrolStrictField start="^Multi-Arch" end="$" contains=debcontrolKey,debcontrolMultiArch oneline
|
||||||
syn region debcontrolStrictField start="^\(Package\|Source\)" end="$" contains=debcontrolKey,debcontrolName oneline
|
syn region debcontrolStrictField start="^\%(Package\|Source\)" end="$" contains=debcontrolKey,debcontrolName oneline
|
||||||
syn region debcontrolStrictField start="^Priority" end="$" contains=debcontrolKey,debcontrolPriority oneline
|
syn region debcontrolStrictField start="^Priority" end="$" contains=debcontrolKey,debcontrolPriority oneline
|
||||||
syn region debcontrolStrictField start="^Section" end="$" contains=debcontrolKey,debcontrolSection oneline
|
syn region debcontrolStrictField start="^Section" end="$" contains=debcontrolKey,debcontrolSection oneline
|
||||||
syn region debcontrolStrictField start="^\%(XC-\)\=Package-Type" end="$" contains=debcontrolKey,debcontrolPackageType oneline
|
syn region debcontrolStrictField start="^\%(XC-\)\=Package-Type" end="$" contains=debcontrolKey,debcontrolPackageType oneline
|
||||||
@@ -77,10 +118,12 @@ syn region debcontrolStrictField start="^\%(XS-\)\=Vcs-Svn" end="$" contains=deb
|
|||||||
syn region debcontrolStrictField start="^\%(XS-\)\=Vcs-Cvs" end="$" contains=debcontrolKey,debcontrolVcsCvs oneline keepend
|
syn region debcontrolStrictField start="^\%(XS-\)\=Vcs-Cvs" end="$" contains=debcontrolKey,debcontrolVcsCvs oneline keepend
|
||||||
syn region debcontrolStrictField start="^\%(XS-\)\=Vcs-Git" end="$" contains=debcontrolKey,debcontrolVcsGit oneline keepend
|
syn region debcontrolStrictField start="^\%(XS-\)\=Vcs-Git" end="$" contains=debcontrolKey,debcontrolVcsGit oneline keepend
|
||||||
syn region debcontrolStrictField start="^\%(XS-\)\=DM-Upload-Allowed" end="$" contains=debcontrolDeprecatedKey,debcontrolDmUpload oneline
|
syn region debcontrolStrictField start="^\%(XS-\)\=DM-Upload-Allowed" end="$" contains=debcontrolDeprecatedKey,debcontrolDmUpload oneline
|
||||||
|
syn region debcontrolStrictField start="^Rules-Requires-Root" end="$" contains=debcontrolKey,debcontrolR3 oneline
|
||||||
|
syn region debcontrolStrictField start="^\%(Build-\)\=Essential" end="$" contains=debcontrolKey,debcontrolYesNo oneline
|
||||||
|
|
||||||
" Catch-all for the other legal fields
|
" Catch-all for the other legal fields
|
||||||
syn region debcontrolField start="^\%(\%(XSBC-Original-\)\=Maintainer\|Standards-Version\|Essential\|Bugs\|Origin\|X[SB]-Python-Version\|\%(XS-\)\=Vcs-Mtn\|\%(XS-\)\=Testsuite\):" end="$" contains=debcontrolKey,debcontrolVariable,debcontrolEmail oneline
|
syn region debcontrolField start="^\%(\%(XSBC-Original-\)\=Maintainer\|Standards-Version\|Bugs\|Origin\|X[SB]-Python-Version\|\%(XS-\)\=Vcs-Mtn\|\%(XS-\)\=Testsuite\|Build-Profiles\|Tag\|Subarchitecture\|Kernel-Version\|Installer-Menu-Item\):" end="$" contains=debcontrolKey,debcontrolVariable,debcontrolEmail oneline
|
||||||
syn region debcontrolMultiField start="^\%(Build-\%(Conflicts\|Depends\)\%(-Arch\|-Indep\)\=\|\%(Pre-\)\=Depends\|Recommends\|Suggests\|Provides\|Replaces\|Conflicts\|Enhances\|Breaks\|Uploaders\|Description\):" skip="^[ \t]" end="^$"me=s-1 end="^[^ \t#]"me=s-1 contains=debcontrolKey,debcontrolEmail,debcontrolVariable,debcontrolComment
|
syn region debcontrolMultiField start="^\%(Build-\%(Conflicts\|Depends\)\%(-Arch\|-Indep\)\=\|\%(Pre-\)\=Depends\|Recommends\|Suggests\|Breaks\|Enhances\|Replaces\|Conflicts\|Provides\|Built-Using\|Uploaders\|X[SBC]\{0,3\}\%(Private-\)\=-[-a-zA-Z0-9]\+\):" skip="^[ \t]" end="^$"me=s-1 end="^[^ \t#]"me=s-1 contains=debcontrolKey,debcontrolEmail,debcontrolVariable,debcontrolComment
|
||||||
syn region debcontrolMultiFieldSpell start="^\%(Description\):" skip="^[ \t]" end="^$"me=s-1 end="^[^ \t#]"me=s-1 contains=debcontrolKey,debcontrolEmail,debcontrolVariable,debcontrolComment,@Spell
|
syn region debcontrolMultiFieldSpell start="^\%(Description\):" skip="^[ \t]" end="^$"me=s-1 end="^[^ \t#]"me=s-1 contains=debcontrolKey,debcontrolEmail,debcontrolVariable,debcontrolComment,@Spell
|
||||||
|
|
||||||
" Associate our matches and regions with pretty colours
|
" Associate our matches and regions with pretty colours
|
||||||
@@ -102,6 +145,8 @@ hi def link debcontrolVcsCvs Identifier
|
|||||||
hi def link debcontrolVcsGit Identifier
|
hi def link debcontrolVcsGit Identifier
|
||||||
hi def link debcontrolHTTPUrl Identifier
|
hi def link debcontrolHTTPUrl Identifier
|
||||||
hi def link debcontrolDmUpload Identifier
|
hi def link debcontrolDmUpload Identifier
|
||||||
|
hi def link debcontrolYesNo Identifier
|
||||||
|
hi def link debcontrolR3 Identifier
|
||||||
hi def link debcontrolComment Comment
|
hi def link debcontrolComment Comment
|
||||||
hi def link debcontrolElse Special
|
hi def link debcontrolElse Special
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
" Language: Debian sources.list
|
" Language: Debian sources.list
|
||||||
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
||||||
" Former Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl>
|
" Former Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl>
|
||||||
" Last Change: 2017 Apr 22
|
" Last Change: 2017 Oct 28
|
||||||
" URL: https://anonscm.debian.org/cgit/pkg-vim/vim.git/plain/runtime/syntax/debsources.vim
|
" URL: https://anonscm.debian.org/cgit/pkg-vim/vim.git/plain/runtime/syntax/debsources.vim
|
||||||
|
|
||||||
" Standard syntax initialization
|
" Standard syntax initialization
|
||||||
@@ -23,18 +23,18 @@ let s:cpo = &cpo
|
|||||||
set cpo-=C
|
set cpo-=C
|
||||||
let s:supported = [
|
let s:supported = [
|
||||||
\ 'oldstable', 'stable', 'testing', 'unstable', 'experimental',
|
\ 'oldstable', 'stable', 'testing', 'unstable', 'experimental',
|
||||||
\ 'squeeze', 'wheezy', 'jessie', 'stretch', 'sid', 'rc-buggy',
|
\ 'wheezy', 'jessie', 'stretch', 'sid', 'rc-buggy',
|
||||||
\
|
\
|
||||||
\ 'trusty', 'xenial', 'yakkety', 'zesty', 'artful', 'devel'
|
\ 'trusty', 'xenial', 'zesty', 'artful', 'bionic', 'devel'
|
||||||
\ ]
|
\ ]
|
||||||
let s:unsupported = [
|
let s:unsupported = [
|
||||||
\ 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato',
|
\ 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato',
|
||||||
\ 'woody', 'sarge', 'etch', 'lenny',
|
\ 'woody', 'sarge', 'etch', 'lenny', 'squeeze',
|
||||||
\
|
\
|
||||||
\ 'warty', 'hoary', 'breezy', 'dapper', 'edgy', 'feisty',
|
\ 'warty', 'hoary', 'breezy', 'dapper', 'edgy', 'feisty',
|
||||||
\ 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid',
|
\ 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid',
|
||||||
\ 'maverick', 'natty', 'oneiric', 'precise', 'quantal', 'raring', 'saucy',
|
\ 'maverick', 'natty', 'oneiric', 'precise', 'quantal', 'raring', 'saucy',
|
||||||
\ 'utopic', 'vivid', 'wily'
|
\ 'utopic', 'vivid', 'wily', 'yakkety'
|
||||||
\ ]
|
\ ]
|
||||||
let &cpo=s:cpo
|
let &cpo=s:cpo
|
||||||
|
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
" Language: doxygen on top of c, cpp, idl, java, php
|
" Language: doxygen on top of c, cpp, idl, java, php
|
||||||
" Maintainer: Michael Geddes <vimmer@frog.wheelycreek.net>
|
" Maintainer: Michael Geddes <vimmer@frog.wheelycreek.net>
|
||||||
" Author: Michael Geddes
|
" Author: Michael Geddes
|
||||||
" Last Change: Jan 2009 (\tparam by Domnique Pelle, Aug 2013)
|
" Last Change: November 2017 (\throws by Candy Gumdrop)
|
||||||
" Version: 1.23
|
" Version: 1.27
|
||||||
"
|
"
|
||||||
" Copyright 2004-2008 Michael Geddes
|
" Copyright 2004-2017 Michael Geddes
|
||||||
" Please feel free to use, modify & distribute all or part of this script,
|
" Please feel free to use, modify & distribute all or part of this script,
|
||||||
" providing this copyright message remains.
|
" providing this copyright message remains.
|
||||||
" I would appreciate being acknowledged in any derived scripts, and would
|
" I would appreciate being acknowledged in any derived scripts, and would
|
||||||
@@ -58,52 +58,76 @@ try
|
|||||||
"
|
"
|
||||||
|
|
||||||
" C/C++ Style line comments
|
" C/C++ Style line comments
|
||||||
syn region doxygenComment start=+/\*\(\*/\)\@![*!]+ end=+\*/+ contains=doxygenSyncStart,doxygenStart,doxygenTODO keepend fold containedin=phpRegion
|
syn match doxygenCommentWhite +\s*\ze/\*\(\*/\)\@![*!]+ containedin=phpRegion
|
||||||
syn region doxygenCommentL start=+//[/!]<\@!+me=e-1 end=+$+ contains=doxygenStartL,@Spell keepend skipwhite skipnl nextgroup=doxygenComment2 fold containedin=phpRegion
|
syn match doxygenCommentWhite +\s*\ze//[/!]+ containedin=phpRegion
|
||||||
|
syn match doxygenCommentWhite +\s*\ze/\*\(\*/\)\@![*!]+
|
||||||
|
syn match doxygenCommentWhite +\s*\ze//[/!]+ containedin=phpRegion
|
||||||
|
|
||||||
|
syn region doxygenComment start=+/\*\(\*/\)\@![*!]+ end=+\*/+ contains=doxygenSyncStart,doxygenStart,doxygenTODO,doxygenLeadingWhite keepend fold containedin=phpRegion
|
||||||
|
syn region doxygenCommentL start=+//[/!]<\@!+me=e-1 end=+$+ contains=doxygenLeadingLWhite,doxygenStartL,@Spell keepend skipwhite skipnl nextgroup=doxygenCommentWhite2 fold containedin=phpRegion
|
||||||
syn region doxygenCommentL start=+//[/!]<+me=e-2 end=+$+ contains=doxygenStartL,@Spell keepend skipwhite skipnl fold containedin=phpRegion
|
syn region doxygenCommentL start=+//[/!]<+me=e-2 end=+$+ contains=doxygenStartL,@Spell keepend skipwhite skipnl fold containedin=phpRegion
|
||||||
syn region doxygenCommentL start=+//@\ze[{}]+ end=+$+ contains=doxygenGroupDefine,doxygenGroupDefineSpecial,@Spell fold containedin=phpRegion
|
syn region doxygenCommentL start=+//@\ze[{}]+ end=+$+ contains=doxygenGroupDefine,doxygenGroupDefineSpecial,@Spell fold containedin=phpRegion
|
||||||
|
syn region doxygenComment start=+/\*@\ze[{}]+ end=+\*/+ contains=doxygenGroupDefine,doxygenGroupDefineSpecial,@Spell fold containedin=phpRegion
|
||||||
|
|
||||||
" Single line brief followed by multiline comment.
|
" Single line brief followed by multiline comment.
|
||||||
|
syn match doxygenCommentWhite2 +\_s*\ze/\*\(\*/\)\@![*!]+ contained nextgroup=doxygenComment2
|
||||||
syn region doxygenComment2 start=+/\*\(\*/\)\@![*!]+ end=+\*/+ contained contains=doxygenSyncStart2,doxygenStart2,doxygenTODO keepend fold
|
syn region doxygenComment2 start=+/\*\(\*/\)\@![*!]+ end=+\*/+ contained contains=doxygenSyncStart2,doxygenStart2,doxygenTODO keepend fold
|
||||||
" This helps with sync-ing as for some reason, syncing behaves differently to a normal region, and the start pattern does not get matched.
|
" This helps with sync-ing as for some reason, syncing behaves differently to a normal region, and the start pattern does not get matched.
|
||||||
syn match doxygenSyncStart2 +[^*/]+ contained nextgroup=doxygenBody,doxygenPrev,doxygenStartSpecial,doxygenSkipComment,doxygenStartSkip2 skipwhite skipnl
|
syn match doxygenSyncStart2 +[^*/]+ contained nextgroup=doxygenBody,doxygenPrev,doxygenStartSpecial,doxygenSkipComment,doxygenStartSkip2 skipwhite skipnl
|
||||||
|
|
||||||
" Skip empty lines at the start for when comments start on the 2nd/3rd line.
|
" Skip empty lines at the start for when comments start on the 2nd/3rd line.
|
||||||
syn match doxygenStartSkip2 +^\s*\*[^/]+me=e-1 contained nextgroup=doxygenBody,doxygenStartSpecial,doxygenStartSkip skipwhite skipnl
|
syn match doxygenStartSkip2 +^\s*\*[^/]+me=e-1 contained nextgroup=doxygenBody,doxygenStartSpecial,doxygenStartSkipWhite skipwhite skipnl
|
||||||
syn match doxygenStartSkip2 +^\s*\*$+ contained nextgroup=doxygenBody,doxygenStartSpecial,,doxygenStartSkip skipwhite skipnl
|
syn match doxygenStartSkip2 +^\s*\*$+ contained nextgroup=doxygenBody,doxygenStartSpecial,doxygenStartSkipWhite skipwhite skipnl
|
||||||
syn match doxygenStart2 +/\*[*!]+ contained nextgroup=doxygenBody,doxygenPrev,doxygenStartSpecial,doxygenStartSkip2 skipwhite skipnl
|
syn match doxygenStart2 +/\*[*!]+ contained nextgroup=doxygenBody,doxygenPrev,doxygenStartSpecial,doxygenStartSkip2 skipwhite skipnl
|
||||||
|
|
||||||
|
|
||||||
" Match the Starting pattern (effectively creating the start of a BNF)
|
" Match the Starting pattern (effectively creating the start of a BNF)
|
||||||
if !exists('g:doxygen_javadoc_autobrief') || g:doxygen_javadoc_autobrief
|
if !exists('g:doxygen_javadoc_autobrief') || g:doxygen_javadoc_autobrief
|
||||||
syn match doxygenStart +/\*[*!]+ contained nextgroup=doxygenBrief,doxygenPrev,doxygenFindBriefSpecial,doxygenStartSpecial,doxygenStartSkip,doxygenPage skipwhite skipnl
|
syn match doxygenStart +/\*[*!]+ contained nextgroup=doxygenBrief,doxygenPrev,doxygenFindBriefSpecial,doxygenStartSpecial,doxygenStartSkipWhite,doxygenPage skipwhite skipnl
|
||||||
syn match doxygenStartL +//[/!]+ contained nextgroup=doxygenPrevL,doxygenBriefL,doxygenSpecial skipwhite
|
syn match doxygenLeadingLWhite +\s\++ contained nextgroup=doxygenPrevL,doxygenBriefL,doxygenSpecial
|
||||||
|
syn match doxygenStartL +//[/!]+ contained nextgroup=doxygenLeaingLWhite,doxygenPrevL,doxygenBriefL,doxygenSpecial
|
||||||
" Match the first sentence as a brief comment
|
" Match the first sentence as a brief comment
|
||||||
if ! exists('g:doxygen_end_punctuation')
|
if ! exists('g:doxygen_end_punctuation')
|
||||||
let g:doxygen_end_punctuation='[.]'
|
let g:doxygen_end_punctuation='[.]'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
exe 'syn region doxygenBrief contained start=+[\\@]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\|[^ \t\\@*]+ start=+\(^\s*\)\@<!\*/\@!+ start=+\<\k+ skip=+'.doxygen_end_punctuation.'\S\@=+ end=+'.doxygen_end_punctuation.'+ end=+\(\s*\(\n\s*\*\=\s*\)[@\\]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\@!\)\@=+ contains=doxygenSmallSpecial,doxygenContinueComment,doxygenBriefEndComment,doxygenFindBriefSpecial,doxygenSmallSpecial,@doxygenHtmlGroup,doxygenTODO,doxygenHyperLink,doxygenHashLink,@Spell skipnl nextgroup=doxygenBody'
|
exe 'syn region doxygenBrief contained start=+[\\@]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\|[^ \t\\@*]+ start=+\(^\s*\)\@<!\*/\@!+ start=+\<\k+ skip=+'.doxygen_end_punctuation.'\S\@=+ end=+'.doxygen_end_punctuation.'+ end=+\(\s*\(\n\s*\*\=\s*\)[@\\]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\@!\)\@=+ contains=doxygenSmallSpecial,doxygenContinueCommentWhite,doxygenLeadingWhite,doxygenBriefEndComment,doxygenFindBriefSpecial,doxygenSmallSpecial,@doxygenHtmlGroup,doxygenTODO,doxygenHyperLink,doxygenHashLink,@Spell skipnl nextgroup=doxygenBody'
|
||||||
|
|
||||||
syn match doxygenBriefEndComment +\*/+ contained
|
syn match doxygenBriefEndComment +\*/+ contained
|
||||||
|
|
||||||
exe 'syn region doxygenBriefL start=+@\k\@!\|[\\@]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\|[^ \t\\@]+ start=+\<+ skip=+'.doxygen_end_punctuation.'\S+ end=+'.doxygen_end_punctuation.'\|$+ contained contains=doxygenSmallSpecial,doxygenHyperLink,doxygenHashLink,@doxygenHtmlGroup,@Spell keepend'
|
exe 'syn region doxygenBriefL start=+@\k\@!\|[\\@]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\|[^ \t\\@]+ start=+\<+ skip=+'.doxygen_end_punctuation.'\S+ end=+'.doxygen_end_punctuation.'\|$+ contained contains=doxygenSmallSpecial,doxygenHyperLink,doxygenHashLink,@doxygenHtmlGroup,@Spell keepend'
|
||||||
syn match doxygenPrevL +<+ contained nextgroup=doxygenBriefL,doxygenSpecial skipwhite
|
syn match doxygenPrevL +<+ contained nextgroup=doxygenBriefL,doxygenSpecial skipwhite
|
||||||
else
|
else
|
||||||
syn match doxygenStart +/\*[*!]+ contained nextgroup=doxygenBody,doxygenPrev,doxygenFindBriefSpecial,doxygenStartSpecial,doxygenStartSkip,doxygenPage skipwhite skipnl
|
syn match doxygenStart +/\*[*!]+ contained nextgroup=doxygenBody,doxygenPrev,doxygenFindBriefSpecial,doxygenStartSpecial,doxygenStartSkipWhite,doxygenPage skipwhite skipnl
|
||||||
syn match doxygenStartL +//[/!]+ contained nextgroup=doxygenPrevL,doxygenLine,doxygenSpecial skipwhite
|
syn match doxygenStartL +//[/!]+ contained nextgroup=doxygenLeadingLWhite,doxygenPrevL,doxygenLine,doxygenSpecial
|
||||||
|
syn match doxygenLeadingLWhite +\s\++ contained nextgroup=doxygenPrevL,doxygenLine,doxygenSpecial
|
||||||
syn region doxygenLine start=+@\k\@!\|[\\@]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\|[^ \t\\@<]+ start=+\<+ end='$' contained contains=doxygenSmallSpecial,doxygenHyperLink,doxygenHashLink,@doxygenHtmlGroup,@Spell keepend
|
syn region doxygenLine start=+@\k\@!\|[\\@]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\|[^ \t\\@<]+ start=+\<+ end='$' contained contains=doxygenSmallSpecial,doxygenHyperLink,doxygenHashLink,@doxygenHtmlGroup,@Spell keepend
|
||||||
syn match doxygenPrevL +<+ contained nextgroup=doxygenLine,doxygenSpecial skipwhite
|
syn match doxygenPrevL +<+ contained nextgroup=doxygenLine,doxygenSpecial skipwhite
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" This helps with sync-ing as for some reason, syncing behaves differently to a normal region, and the start pattern does not get matched.
|
" This helps with sync-ing as for some reason, syncing behaves differently to a normal region, and the start pattern does not get matched.
|
||||||
syn match doxygenSyncStart +\ze[^*/]+ contained nextgroup=doxygenBrief,doxygenPrev,doxygenStartSpecial,doxygenFindBriefSpecial,doxygenStartSkip,doxygenPage skipwhite skipnl
|
syn match doxygenSyncStart +\ze[^*/]+ contained nextgroup=doxygenBrief,doxygenPrev,doxygenStartSpecial,doxygenFindBriefSpecial,doxygenStartSkipWhite,doxygenPage skipwhite skipnl
|
||||||
|
" Match an [@\]brief so that it moves to body-mode.
|
||||||
|
"
|
||||||
|
"
|
||||||
|
" syn match doxygenBriefLine contained
|
||||||
|
syn match doxygenBriefSpecial contained +[@\\]+ nextgroup=doxygenBriefWord skipwhite
|
||||||
|
" syn region doxygenFindBriefSpecial start=+[@\\]brief\>+ end=+\(\n\s*\*\=\s*\([@\\]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\@!\)\|\s*$\)\@=+ keepend contains=doxygenBriefSpecial nextgroup=doxygenBody keepend skipwhite skipnl contained
|
||||||
|
syn region doxygenFindBriefSpecial start=+[@\\]brief\>+ skip=+^\s*\(\*/\@!\s*\)\=\(\<\|[@\\]\<\([npcbea]\>\|em\>\|ref\|link\>\>\|f\$\|[$\\&<>#]\)\|[^ \t\\@*]\)+ end=+^+ keepend contains=doxygenBriefSpecial nextgroup=doxygenBody keepend skipwhite skipnl contained
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
" end=+\(\n\s*\*\=\s*\([@\\]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\@!\)\|\s*$\)\@=+
|
||||||
|
"syn region doxygenBriefLine contained start=+\<\k+ skip=+^\s*\(\*/\@!\s*\)\=\(\<\|[@\\]\<\([npcbea]\>\|em\>\|ref\|link\>\>\|f\$\|[$\\&<>#]\)\|[^ \t\\@*]\)+ end=+^+ contains=doxygenContinueCommentWhite,doxygenSmallSpecial,@doxygenHtmlGroup,doxygenTODO,doxygenHyperLink,doxygenHashLink,@Spell skipwhite keepend matchgroup=xxx
|
||||||
|
syn region doxygenBriefLine contained start=+\<\k+ skip=+^\s*\(\*/\@!\s*\)\=\(\<\|[@\\]\<\([npcbea]\>\|em\>\|ref\|link\>\>\|f\$\|[$\\&<>#]\)\|[^ \t\\@*]\)+ end=+^+ skipwhite keepend matchgroup=xxx
|
||||||
|
" syn region doxygenBriefLine matchgroup=xxxy contained start=+\<\k.\++ skip=+^\s*\k+ end=+end+ skipwhite keepend
|
||||||
|
"doxygenFindBriefSpecial,
|
||||||
|
"" syn region doxygenSpecialMultilineDesc start=+.\++ contained contains=doxygenSpecialContinueCommentWhite,doxygenSmallSpecial,doxygenHyperLink,doxygenHashLink,@doxygenHtmlGroup,@Spell skipwhite keepend
|
||||||
|
|
||||||
syn region doxygenBriefLine contained start=+\<\k+ end=+\(\n\s*\*\=\s*\([@\\]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\@!\)\|\s*$\)\@=+ contains=doxygenContinueComment,doxygenFindBriefSpecial,doxygenSmallSpecial,@doxygenHtmlGroup,doxygenTODO,doxygenHyperLink,doxygenHashLink,@Spell skipwhite keepend
|
|
||||||
|
|
||||||
" Match a '<' for applying a comment to the previous element.
|
" Match a '<' for applying a comment to the previous element.
|
||||||
syn match doxygenPrev +<+ contained nextgroup=doxygenBrief,doxygenBody,doxygenSpecial,doxygenStartSkip skipwhite
|
syn match doxygenPrev +<+ contained nextgroup=doxygenBrief,doxygenBody,doxygenSpecial,doxygenStartSkipWhite skipwhite
|
||||||
|
|
||||||
if exists("c_comment_strings")
|
if exists("c_comment_strings")
|
||||||
" These are anti-Doxygen comments. If there are more than two asterisks or 3 '/'s
|
" These are anti-Doxygen comments. If there are more than two asterisks or 3 '/'s
|
||||||
@@ -122,10 +146,11 @@ endif
|
|||||||
"syn region doxygenBodyBit contained start=+$+
|
"syn region doxygenBodyBit contained start=+$+
|
||||||
|
|
||||||
" The main body of a doxygen comment.
|
" The main body of a doxygen comment.
|
||||||
syn region doxygenBody contained start=+\(/\*[*!]\)\@<!<\|[^<]\|$+ matchgroup=doxygenEndComment end=+\*/+re=e-2,me=e-2 contains=doxygenContinueComment,doxygenTODO,doxygenSpecial,doxygenSmallSpecial,doxygenHyperLink,doxygenHashLink,@doxygenHtmlGroup,@Spell
|
syn region doxygenBody contained start=+\(/\*[*!]\)\@<!<\|[^<]\|$+ matchgroup=doxygenEndComment end=+\*/+re=e-2,me=e-2 contains=doxygenContinueCommentWhite,doxygenTODO,doxygenSpecial,doxygenSmallSpecial,doxygenHyperLink,doxygenHashLink,@doxygenHtmlGroup,@Spell
|
||||||
|
|
||||||
" These allow the skipping of comment continuation '*' characters.
|
" These allow the skipping of comment continuation '*' characters.
|
||||||
syn match doxygenContinueComment contained +^\s*\*/\@!\s*+
|
syn match doxygenContinueCommentWhite contained +^\s*\ze\*+ nextgroup=doxygenContinueComment
|
||||||
|
syn match doxygenContinueComment contained +\*/\@!+
|
||||||
|
|
||||||
" Catch a Brief comment without punctuation - flag it as an error but
|
" Catch a Brief comment without punctuation - flag it as an error but
|
||||||
" make sure the end comment is picked up also.
|
" make sure the end comment is picked up also.
|
||||||
@@ -134,27 +159,19 @@ endif
|
|||||||
|
|
||||||
" Skip empty lines at the start for when comments start on the 2nd/3rd line.
|
" Skip empty lines at the start for when comments start on the 2nd/3rd line.
|
||||||
if !exists('g:doxygen_javadoc_autobrief') || g:doxygen_javadoc_autobrief
|
if !exists('g:doxygen_javadoc_autobrief') || g:doxygen_javadoc_autobrief
|
||||||
syn match doxygenStartSkip +^\s*\*[^/]+me=e-1 contained nextgroup=doxygenBrief,doxygenStartSpecial,doxygenFindBriefSpecial,doxygenStartSkip,doxygenPage skipwhite skipnl
|
syn match doxygenStartSkipWhite +^\s*\ze\*/\@!+ contained nextgroup=doxygenBrief,doxygenStartSpecial,doxygenFindBriefSpecial,doxygenStartSkipWhite,doxygenPage skipwhite skipnl
|
||||||
syn match doxygenStartSkip +^\s*\*$+ contained nextgroup=doxygenBrief,doxygenStartSpecial,doxygenFindBriefSpecial,doxygenStartSkip,doxygenPage skipwhite skipnl
|
"syn match doxygenStartSkipWhite +^\s*\ze\*$+ contained nextgroup=doxygenBrief,doxygenStartSpecial,doxygenFindBriefSpecial,doxygenStartSkipWhite,doxygenPage skipwhite skipnl
|
||||||
else
|
else
|
||||||
syn match doxygenStartSkip +^\s*\*[^/]+me=e-1 contained nextgroup=doxygenStartSpecial,doxygenFindBriefSpecial,doxygenStartSkip,doxygenPage,doxygenBody skipwhite skipnl
|
syn match doxygenStartSkipWhite +^\s*\*[^/]+me=e-1 contained nextgroup=doxygenStartSpecial,doxygenFindBriefSpecial,doxygenStartSkipWhite,doxygenPage,doxygenBody skipwhite skipnl
|
||||||
syn match doxygenStartSkip +^\s*\*$+ contained nextgroup=doxygenStartSpecial,doxygenFindBriefSpecial,doxygenStartSkip,doxygenPage,doxygenBody skipwhite skipnl
|
syn match doxygenStartSkipWhite +^\s*\*$+ contained nextgroup=doxygenStartSpecial,doxygenFindBriefSpecial,doxygenStartSkipWhite,doxygenPage,doxygenBody skipwhite skipnl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Match an [@\]brief so that it moves to body-mode.
|
|
||||||
"
|
|
||||||
"
|
|
||||||
" syn match doxygenBriefLine contained
|
|
||||||
syn match doxygenBriefSpecial contained +[@\\]+ nextgroup=doxygenBriefWord skipwhite
|
|
||||||
syn region doxygenFindBriefSpecial start=+[@\\]brief\>+ end=+\(\n\s*\*\=\s*\([@\\]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\@!\)\|\s*$\)\@=+ keepend contains=doxygenBriefSpecial nextgroup=doxygenBody keepend skipwhite skipnl contained
|
|
||||||
|
|
||||||
|
|
||||||
" Create the single word matching special identifiers.
|
" Create the single word matching special identifiers.
|
||||||
|
|
||||||
fun! s:DxyCreateSmallSpecial( kword, name )
|
fun! s:DxyCreateSmallSpecial( kword, name )
|
||||||
|
|
||||||
let mx='[-:0-9A-Za-z_%=&+*/!~>|]\@<!\([-0-9A-Za-z_%=+*/!~>|#]\+[-0-9A-Za-z_%=+*/!~>|]\@!\|\\[\\<>&.]@\|[.,][0-9a-zA-Z_]\@=\|::\|([^)]*)\|&[0-9a-zA-Z]\{2,7};\)\+'
|
let mx='[-:0-9A-Za-z_%=&+*/!~>|]\@<!\([-0-9A-Za-z_%=+*/!~>|#]\+[-0-9A-Za-z_%=+*/!~>|]\@!\|\\[\\<>&.]@\|[.,][0-9a-zA-Z_]\@=\|::\|([^)]*)\|&[0-9a-zA-Z]\{2,7};\)\+'
|
||||||
exe 'syn region doxygenSpecial'.a:name.'Word contained start=+'.a:kword.'+ end=+\(\_s\+'.mx.'\)\@<=[-a-zA-Z_0-9+*/^%|~!=&\\]\@!+ skipwhite contains=doxygenContinueComment,doxygen'.a:name.'Word'
|
exe 'syn region doxygenSpecial'.a:name.'Word contained start=+'.a:kword.'+ end=+\(\_s\+'.mx.'\)\@<=[-a-zA-Z_0-9+*/^%|~!=&\\]\@!+ skipwhite contains=doxygenContinueCommentWhite,doxygen'.a:name.'Word'
|
||||||
exe 'syn match doxygen'.a:name.'Word contained "\_s\@<='.mx.'" contains=doxygenHtmlSpecial,@Spell keepend'
|
exe 'syn match doxygen'.a:name.'Word contained "\_s\@<='.mx.'" contains=doxygenHtmlSpecial,@Spell keepend'
|
||||||
endfun
|
endfun
|
||||||
call s:DxyCreateSmallSpecial('p', 'Code')
|
call s:DxyCreateSmallSpecial('p', 'Code')
|
||||||
@@ -179,40 +196,42 @@ endif
|
|||||||
|
|
||||||
" Match parameters and retvals (highlighting the first word as special).
|
" Match parameters and retvals (highlighting the first word as special).
|
||||||
syn match doxygenParamDirection contained "\v\[(\s*in>((]\s*\[|\s*,\s*)out>)=|out>((]\s*\[|\s*,\s*)in>)=)\]" nextgroup=doxygenParamName skipwhite
|
syn match doxygenParamDirection contained "\v\[(\s*in>((]\s*\[|\s*,\s*)out>)=|out>((]\s*\[|\s*,\s*)in>)=)\]" nextgroup=doxygenParamName skipwhite
|
||||||
syn keyword doxygenParam contained param tparam nextgroup=doxygenParamName,doxygenParamDirection skipwhite
|
syn keyword doxygenParam contained param nextgroup=doxygenParamName,doxygenParamDirection skipwhite
|
||||||
|
syn keyword doxygenTParam contained tparam nextgroup=doxygenParamName skipwhite
|
||||||
syn match doxygenParamName contained +[A-Za-z0-9_:]\++ nextgroup=doxygenSpecialMultilineDesc skipwhite
|
syn match doxygenParamName contained +[A-Za-z0-9_:]\++ nextgroup=doxygenSpecialMultilineDesc skipwhite
|
||||||
syn keyword doxygenRetval contained retval throw exception nextgroup=doxygenParamName skipwhite
|
syn keyword doxygenRetval contained retval throw throws exception nextgroup=doxygenParamName skipwhite
|
||||||
|
|
||||||
" Match one line identifiers.
|
" Match one line identifiers.
|
||||||
syn keyword doxygenOther contained addindex anchor
|
syn keyword doxygenOther contained addindex anchor
|
||||||
\ dontinclude endhtmlonly endlatexonly showinitializer hideinitializer
|
\ dontinclude endhtmlonly endlatexonly showinitializer hideinitializer
|
||||||
\ example htmlonly image include ingroup internal latexonly line
|
\ example htmlonly image include includelineno ingroup internal latexonly line
|
||||||
\ overload relates relatesalso sa skip skipline
|
\ overload relates relatesalso sa skip skipline
|
||||||
\ until verbinclude version addtogroup htmlinclude copydoc dotfile
|
\ until verbinclude version addtogroup htmlinclude copydoc dotfile
|
||||||
\ xmlonly endxmlonly
|
\ xmlonly endxmlonly
|
||||||
\ nextgroup=doxygenSpecialOnelineDesc
|
\ nextgroup=doxygenSpecialOnelineDesc copybrief copydetails copyright dir extends
|
||||||
|
\ implements
|
||||||
|
|
||||||
syn region doxygenCodeRegion contained matchgroup=doxygenOther start=+\<code\>+ matchgroup=doxygenOther end=+[\\@]\@<=\<endcode\>+ contains=doxygenCodeRegionSpecial,doxygenContinueComment,doxygenErrorComment,@NoSpell
|
syn region doxygenCodeRegion contained matchgroup=doxygenOther start=+\<code\>+ matchgroup=doxygenOther end=+[\\@]\@<=\<endcode\>+ contains=doxygenCodeRegionSpecial,doxygenContinueCommentWhite,doxygenErrorComment,@NoSpell
|
||||||
syn match doxygenCodeRegionSpecial contained +[\\@]\(endcode\>\)\@=+
|
syn match doxygenCodeRegionSpecial contained +[\\@]\(endcode\>\)\@=+
|
||||||
|
|
||||||
syn region doxygenVerbatimRegion contained matchgroup=doxygenOther start=+\<verbatim\>+ matchgroup=doxygenOther end=+[\\@]\@<=\<endverbatim\>+ contains=doxygenVerbatimRegionSpecial,doxygenContinueComment,doxygenErrorComment,@NoSpell
|
syn region doxygenVerbatimRegion contained matchgroup=doxygenOther start=+\<verbatim\>+ matchgroup=doxygenOther end=+[\\@]\@<=\<endverbatim\>+ contains=doxygenVerbatimRegionSpecial,doxygenContinueCommentWhite,doxygenErrorComment,@NoSpell
|
||||||
syn match doxygenVerbatimRegionSpecial contained +[\\@]\(endverbatim\>\)\@=+
|
syn match doxygenVerbatimRegionSpecial contained +[\\@]\(endverbatim\>\)\@=+
|
||||||
|
|
||||||
if exists('b:current_syntax')
|
if exists('b:current_syntax')
|
||||||
let b:doxygen_syntax_save=b:current_syntax
|
let b:doxygen_syntax_save=b:current_syntax
|
||||||
unlet b:current_syntax
|
unlet b:current_syntax
|
||||||
endif
|
endif
|
||||||
|
|
||||||
syn include @Dotx syntax/dot.vim
|
syn include @Dotx syntax/dot.vim
|
||||||
|
|
||||||
if exists('b:doxygen_syntax_save')
|
if exists('b:doxygen_syntax_save')
|
||||||
let b:current_syntax=b:doxygen_syntax_save
|
let b:current_syntax=b:doxygen_syntax_save
|
||||||
unlet b:doxygen_syntax_save
|
unlet b:doxygen_syntax_save
|
||||||
else
|
else
|
||||||
unlet b:current_syntax
|
unlet b:current_syntax
|
||||||
endif
|
endif
|
||||||
|
|
||||||
syn region doxygenDotRegion contained matchgroup=doxygenOther start=+\<dot\>+ matchgroup=doxygenOther end=+[\\@]\@<=\<enddot\>+ contains=doxygenDotRegionSpecial,doxygenErrorComment,doxygenContinueComment,@NoSpell,@Dotx
|
syn region doxygenDotRegion contained matchgroup=doxygenOther start=+\<dot\>+ matchgroup=doxygenOther end=+[\\@]\@<=\<enddot\>+ contains=doxygenDotRegionSpecial,doxygenErrorComment,doxygenContinueCommentWhite,@NoSpell,@Dotx
|
||||||
syn match doxygenDotRegionSpecial contained +[\\@]\(enddot\>\)\@=+
|
syn match doxygenDotRegionSpecial contained +[\\@]\(enddot\>\)\@=+
|
||||||
|
|
||||||
" Match single line identifiers.
|
" Match single line identifiers.
|
||||||
@@ -223,13 +242,13 @@ endif
|
|||||||
syn keyword doxygenOther contained par nextgroup=doxygenHeaderLine
|
syn keyword doxygenOther contained par nextgroup=doxygenHeaderLine
|
||||||
syn region doxygenHeaderLine start=+.+ end=+^+ contained skipwhite nextgroup=doxygenSpecialMultilineDesc
|
syn region doxygenHeaderLine start=+.+ end=+^+ contained skipwhite nextgroup=doxygenSpecialMultilineDesc
|
||||||
|
|
||||||
syn keyword doxygenOther contained arg author date deprecated li return returns see invariant note post pre remarks since test nextgroup=doxygenSpecialMultilineDesc
|
syn keyword doxygenOther contained arg author authors date deprecated li return returns see invariant note post pre remarks since test nextgroup=doxygenSpecialMultilineDesc
|
||||||
syn keyword doxygenOtherTODO contained todo attention nextgroup=doxygenSpecialMultilineDesc
|
syn keyword doxygenOtherTODO contained todo attention nextgroup=doxygenSpecialMultilineDesc
|
||||||
syn keyword doxygenOtherWARN contained warning nextgroup=doxygenSpecialMultilineDesc
|
syn keyword doxygenOtherWARN contained warning nextgroup=doxygenSpecialMultilineDesc
|
||||||
syn keyword doxygenOtherBUG contained bug nextgroup=doxygenSpecialMultilineDesc
|
syn keyword doxygenOtherBUG contained bug nextgroup=doxygenSpecialMultilineDesc
|
||||||
|
|
||||||
" Handle \link, \endlink, highlighting the link-to and the link text bits separately.
|
" Handle \link, \endlink, highlighting the link-to and the link text bits separately.
|
||||||
syn region doxygenOtherLink matchgroup=doxygenOther start=+\<link\>+ end=+[\@]\@<=endlink\>+ contained contains=doxygenLinkWord,doxygenContinueComment,doxygenLinkError,doxygenEndlinkSpecial
|
syn region doxygenOtherLink matchgroup=doxygenOther start=+\<link\>+ end=+[\@]\@<=endlink\>+ contained contains=doxygenLinkWord,doxygenContinueCommentWhite,doxygenLinkError,doxygenEndlinkSpecial
|
||||||
syn match doxygenEndlinkSpecial contained +[\\@]\zeendlink\>+
|
syn match doxygenEndlinkSpecial contained +[\\@]\zeendlink\>+
|
||||||
|
|
||||||
syn match doxygenLinkWord "[_a-zA-Z:#()][_a-z0-9A-Z:#()]*\>" contained skipnl nextgroup=doxygenLinkRest,doxygenContinueLinkComment
|
syn match doxygenLinkWord "[_a-zA-Z:#()][_a-z0-9A-Z:#()]*\>" contained skipnl nextgroup=doxygenLinkRest,doxygenContinueLinkComment
|
||||||
@@ -249,7 +268,7 @@ endif
|
|||||||
|
|
||||||
" Handle section
|
" Handle section
|
||||||
syn keyword doxygenOther defgroup section subsection subsubsection weakgroup contained skipwhite nextgroup=doxygenSpecialIdent
|
syn keyword doxygenOther defgroup section subsection subsubsection weakgroup contained skipwhite nextgroup=doxygenSpecialIdent
|
||||||
syn region doxygenSpecialSectionDesc start=+.\++ end=+$+ contained skipwhite contains=doxygenSmallSpecial,@doxygenHtmlGroup keepend skipwhite skipnl nextgroup=doxygenContinueComment
|
syn region doxygenSpecialSectionDesc start=+.\++ end=+$+ contained skipwhite contains=doxygenSmallSpecial,@doxygenHtmlGroup keepend skipwhite skipnl nextgroup=doxygenContinueCommentWhite
|
||||||
syn match doxygenSpecialIdent "\<[a-zA-Z_0-9]\+\>" contained nextgroup=doxygenSpecialSectionDesc
|
syn match doxygenSpecialIdent "\<[a-zA-Z_0-9]\+\>" contained nextgroup=doxygenSpecialSectionDesc
|
||||||
|
|
||||||
" Does the one-line description for the one-line type identifiers.
|
" Does the one-line description for the one-line type identifiers.
|
||||||
@@ -259,8 +278,12 @@ endif
|
|||||||
" Handle the multiline description for the multiline type identifiers.
|
" Handle the multiline description for the multiline type identifiers.
|
||||||
" Continue until an 'empty' line (can contain a '*' continuation) or until the
|
" Continue until an 'empty' line (can contain a '*' continuation) or until the
|
||||||
" next whole-line @ command \ command.
|
" next whole-line @ command \ command.
|
||||||
syn region doxygenSpecialMultilineDesc start=+.\++ skip=+^\s*\(\*/\@!\s*\)\=\(\<\|[@\\]\<\([npcbea]\>\|em\>\|ref\|link\>\>\|f\$\|[$\\&<>#]\)\|[^ \t\\@*]\)+ end=+^+ contained contains=doxygenSpecialContinueComment,doxygenSmallSpecial,doxygenHyperLink,doxygenHashLink,@doxygenHtmlGroup,@Spell skipwhite keepend
|
syn region doxygenSpecialMultilineDesc start=+.\++ skip=+^\s*\(\*/\@!\s*\)\=\(\<\|[@\\]\<\([npcbea]\>\|em\>\|ref\|link\>\>\|f\$\|[$\\&<>#]\)\|[^ \t\\@*]\)+ end=+^+ contained contains=doxygenSpecialContinueCommentWhite,doxygenSmallSpecial,doxygenHyperLink,doxygenHashLink,@doxygenHtmlGroup,@Spell skipwhite keepend
|
||||||
syn match doxygenSpecialContinueComment contained +^\s*\*/\@!\s*+ nextgroup=doxygenSpecial skipwhite
|
|
||||||
|
" syn match doxygenSpecialContinueComment contained +^\s*\*/\@!\s*+ nextgroup=doxygenSpecial skipwhite
|
||||||
|
syn match doxygenSpecialContinueCommentWhite contained +^\s*\ze\*+ nextgroup=doxygenSpecialContinueComment
|
||||||
|
syn match doxygenSpecialContinueComment contained +\*/\@!+
|
||||||
|
|
||||||
|
|
||||||
" Handle special cases 'bold' and 'group'
|
" Handle special cases 'bold' and 'group'
|
||||||
syn keyword doxygenBold contained bold nextgroup=doxygenSpecialHeading
|
syn keyword doxygenBold contained bold nextgroup=doxygenSpecialHeading
|
||||||
@@ -287,7 +310,7 @@ endif
|
|||||||
|
|
||||||
" Supported HTML subset. Not perfect, but okay.
|
" Supported HTML subset. Not perfect, but okay.
|
||||||
syn case ignore
|
syn case ignore
|
||||||
syn region doxygenHtmlTag contained matchgroup=doxygenHtmlCh start=+\v\</=\ze([biuap]|em|strong|img|br|center|code|dfn|d[ldt]|hr|h[0-3]|li|[ou]l|pre|small|sub|sup|table|tt|var|caption|src|alt|longdesc|name|height|width|usemap|ismap|href|type)>+ skip=+\\<\|\<\k\+=\("[^"]*"\|'[^']*\)+ end=+>+ contains=doxygenHtmlCmd,doxygenContinueComment,doxygenHtmlVar
|
syn region doxygenHtmlTag contained matchgroup=doxygenHtmlCh start=+\v\</=\ze([biuap]|em|strong|img|br|center|code|dfn|d[ldt]|hr|h[0-3]|li|[ou]l|pre|small|sub|sup|table|tt|var|caption|src|alt|longdesc|name|height|width|usemap|ismap|href|type)>+ skip=+\\<\|\<\k\+=\("[^"]*"\|'[^']*\)+ end=+>+ contains=doxygenHtmlCmd,doxygenContinueCommentWhite,doxygenHtmlVar
|
||||||
syn keyword doxygenHtmlCmd contained b i em strong u img a br p center code dfn dl dd dt hr h1 h2 h3 li ol ul pre small sub sup table tt var caption nextgroup=doxygenHtmlVar skipwhite
|
syn keyword doxygenHtmlCmd contained b i em strong u img a br p center code dfn dl dd dt hr h1 h2 h3 li ol ul pre small sub sup table tt var caption nextgroup=doxygenHtmlVar skipwhite
|
||||||
syn keyword doxygenHtmlVar contained src alt longdesc name height width usemap ismap href type nextgroup=doxygenHtmlEqu skipwhite
|
syn keyword doxygenHtmlVar contained src alt longdesc name height width usemap ismap href type nextgroup=doxygenHtmlEqu skipwhite
|
||||||
syn match doxygenHtmlEqu contained +=+ nextgroup=doxygenHtmlExpr skipwhite
|
syn match doxygenHtmlEqu contained +=+ nextgroup=doxygenHtmlExpr skipwhite
|
||||||
@@ -297,7 +320,7 @@ endif
|
|||||||
|
|
||||||
syn cluster doxygenHtmlGroup contains=doxygenHtmlCode,doxygenHtmlBold,doxygenHtmlUnderline,doxygenHtmlItalic,doxygenHtmlSpecial,doxygenHtmlTag,doxygenHtmlLink
|
syn cluster doxygenHtmlGroup contains=doxygenHtmlCode,doxygenHtmlBold,doxygenHtmlUnderline,doxygenHtmlItalic,doxygenHtmlSpecial,doxygenHtmlTag,doxygenHtmlLink
|
||||||
|
|
||||||
syn cluster doxygenHtmlTop contains=@Spell,doxygenHtmlSpecial,doxygenHtmlTag,doxygenContinueComment
|
syn cluster doxygenHtmlTop contains=@Spell,doxygenHtmlSpecial,doxygenHtmlTag,doxygenContinueCommentWhite
|
||||||
" Html Support
|
" Html Support
|
||||||
syn region doxygenHtmlLink contained start=+<[aA]\>\s*\(\n\s*\*\s*\)\=\(\(name\|href\)=\("[^"]*"\|'[^']*'\)\)\=\s*>+ end=+</[aA]>+me=e-4 contains=@doxygenHtmlTop
|
syn region doxygenHtmlLink contained start=+<[aA]\>\s*\(\n\s*\*\s*\)\=\(\(name\|href\)=\("[^"]*"\|'[^']*'\)\)\=\s*>+ end=+</[aA]>+me=e-4 contains=@doxygenHtmlTop
|
||||||
hi link doxygenHtmlLink Underlined
|
hi link doxygenHtmlLink Underlined
|
||||||
@@ -342,7 +365,7 @@ endif
|
|||||||
syn cluster rcGroup add=doxygen.*
|
syn cluster rcGroup add=doxygen.*
|
||||||
|
|
||||||
let s:my_syncolor=0
|
let s:my_syncolor=0
|
||||||
if !exists(':SynColor')
|
if !exists(':SynColor')
|
||||||
command -nargs=+ SynColor hi def <args>
|
command -nargs=+ SynColor hi def <args>
|
||||||
let s:my_syncolor=1
|
let s:my_syncolor=1
|
||||||
endif
|
endif
|
||||||
@@ -468,6 +491,8 @@ endif
|
|||||||
|
|
||||||
call s:Doxygen_Hilights()
|
call s:Doxygen_Hilights()
|
||||||
|
|
||||||
|
syn match doxygenLeadingWhite +\(^\s*\*\)\@<=\s*+ contained
|
||||||
|
|
||||||
" This is still a proposal, but won't do any harm.
|
" This is still a proposal, but won't do any harm.
|
||||||
aug doxygengroup
|
aug doxygengroup
|
||||||
au!
|
au!
|
||||||
@@ -482,6 +507,7 @@ endif
|
|||||||
SynLink doxygenOtherTODO Todo
|
SynLink doxygenOtherTODO Todo
|
||||||
SynLink doxygenOtherWARN Todo
|
SynLink doxygenOtherWARN Todo
|
||||||
SynLink doxygenOtherBUG Todo
|
SynLink doxygenOtherBUG Todo
|
||||||
|
SynLink doxygenLeadingLWhite doxygenBody
|
||||||
|
|
||||||
SynLink doxygenErrorSpecial Error
|
SynLink doxygenErrorSpecial Error
|
||||||
SynLink doxygenErrorEnd Error
|
SynLink doxygenErrorEnd Error
|
||||||
@@ -516,7 +542,10 @@ endif
|
|||||||
SynLink doxygenBriefL doxygenBrief
|
SynLink doxygenBriefL doxygenBrief
|
||||||
SynLink doxygenBriefLine doxygenBrief
|
SynLink doxygenBriefLine doxygenBrief
|
||||||
SynLink doxygenHeaderLine doxygenSpecialHeading
|
SynLink doxygenHeaderLine doxygenSpecialHeading
|
||||||
SynLink doxygenStartSkip doxygenContinueComment
|
SynLink doxygenCommentWhite Normal
|
||||||
|
SynLink doxygenCommentWhite2 doxygenCommentWhite
|
||||||
|
SynLink doxygenContinueCommentWhite doxygenCommentWhite
|
||||||
|
SynLink doxygenStartSkipWhite doxygenContinueCommentWhite
|
||||||
SynLink doxygenLinkWord doxygenParamName
|
SynLink doxygenLinkWord doxygenParamName
|
||||||
SynLink doxygenLinkRest doxygenSpecialMultilineDesc
|
SynLink doxygenLinkRest doxygenSpecialMultilineDesc
|
||||||
SynLink doxygenHyperLink doxygenLinkWord
|
SynLink doxygenHyperLink doxygenLinkWord
|
||||||
@@ -590,5 +619,5 @@ finally
|
|||||||
let &cpo = s:cpo_save
|
let &cpo = s:cpo_save
|
||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
endtry
|
endtry
|
||||||
|
let suppress_doxygen=1
|
||||||
" vim:et sw=2 sts=2
|
" vim:et sw=2 sts=2
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
" Language: fstab file
|
" Language: fstab file
|
||||||
" Maintainer: Radu Dineiu <radu.dineiu@gmail.com>
|
" Maintainer: Radu Dineiu <radu.dineiu@gmail.com>
|
||||||
" URL: https://raw.github.com/rid9/vim-fstab/master/fstab.vim
|
" URL: https://raw.github.com/rid9/vim-fstab/master/fstab.vim
|
||||||
" Last Change: 2013 May 21
|
" Last Change: 2017 Nov 09
|
||||||
" Version: 1.0
|
" Version: 1.2
|
||||||
"
|
"
|
||||||
" Credits:
|
" Credits:
|
||||||
" David Necas (Yeti) <yeti@physics.muni.cz>
|
" David Necas (Yeti) <yeti@physics.muni.cz>
|
||||||
@@ -38,10 +38,14 @@ syn match fsDeviceError /\%([^a-zA-Z0-9_\/#@:\.-]\|^\w\{-}\ze\W\)/ contained
|
|||||||
syn keyword fsDeviceKeyword contained none proc linproc tmpfs devpts devtmpfs sysfs usbfs
|
syn keyword fsDeviceKeyword contained none proc linproc tmpfs devpts devtmpfs sysfs usbfs
|
||||||
syn keyword fsDeviceKeyword contained LABEL nextgroup=fsDeviceLabel
|
syn keyword fsDeviceKeyword contained LABEL nextgroup=fsDeviceLabel
|
||||||
syn keyword fsDeviceKeyword contained UUID nextgroup=fsDeviceUUID
|
syn keyword fsDeviceKeyword contained UUID nextgroup=fsDeviceUUID
|
||||||
|
syn keyword fsDeviceKeyword contained PARTLABEL nextgroup=fsDevicePARTLABEL
|
||||||
|
syn keyword fsDeviceKeyword contained PARTUUID nextgroup=fsDevicePARTUUID
|
||||||
syn keyword fsDeviceKeyword contained sshfs nextgroup=fsDeviceSshfs
|
syn keyword fsDeviceKeyword contained sshfs nextgroup=fsDeviceSshfs
|
||||||
syn match fsDeviceKeyword contained /^[a-zA-Z0-9.\-]\+\ze:/
|
syn match fsDeviceKeyword contained /^[a-zA-Z0-9.\-]\+\ze:/
|
||||||
syn match fsDeviceLabel contained /=[^ \t]\+/hs=s+1 contains=fsOperator
|
syn match fsDeviceLabel contained /=[^ \t]\+/hs=s+1 contains=fsOperator
|
||||||
syn match fsDeviceUUID contained /=[^ \t]\+/hs=s+1 contains=fsOperator
|
syn match fsDeviceUUID contained /=[^ \t]\+/hs=s+1 contains=fsOperator
|
||||||
|
syn match fsDevicePARTLABEL contained /=[^ \t]\+/hs=s+1 contains=fsOperator
|
||||||
|
syn match fsDevicePARTUUID contained /=[^ \t]\+/hs=s+1 contains=fsOperator
|
||||||
syn match fsDeviceSshfs contained /#[_=[:alnum:]\.\/+-]\+@[a-z0-9._-]\+\a\{2}:[^ \t]\+/hs=s+1 contains=fsOperator
|
syn match fsDeviceSshfs contained /#[_=[:alnum:]\.\/+-]\+@[a-z0-9._-]\+\a\{2}:[^ \t]\+/hs=s+1 contains=fsOperator
|
||||||
|
|
||||||
" Mount Point
|
" Mount Point
|
||||||
@@ -64,7 +68,7 @@ syn match fsOptionsString /[a-zA-Z0-9_-]\+/
|
|||||||
syn keyword fsOptionsYesNo yes no
|
syn keyword fsOptionsYesNo yes no
|
||||||
syn cluster fsOptionsCheckCluster contains=fsOptionsExt2Check,fsOptionsFatCheck
|
syn cluster fsOptionsCheckCluster contains=fsOptionsExt2Check,fsOptionsFatCheck
|
||||||
syn keyword fsOptionsSize 512 1024 2048
|
syn keyword fsOptionsSize 512 1024 2048
|
||||||
syn keyword fsOptionsGeneral async atime auto bind current defaults dev devgid devmode devmtime devuid dirsync exec force fstab kudzu loop mand move noatime noauto noclusterr noclusterw nodev nodevmtime nodiratime noexec nomand nosuid nosymfollow nouser owner rbind rdonly remount ro rq rw suid suiddir supermount sw sync union update user users xx
|
syn keyword fsOptionsGeneral async atime auto bind current defaults dev devgid devmode devmtime devuid dirsync exec force fstab kudzu loop mand move noatime noauto noclusterr noclusterw nodev nodevmtime nodiratime noexec nomand norelatime nosuid nosymfollow nouser owner rbind rdonly relatime remount ro rq rw suid suiddir supermount sw sync union update user users wxallowed xx
|
||||||
syn match fsOptionsGeneral /_netdev/
|
syn match fsOptionsGeneral /_netdev/
|
||||||
|
|
||||||
" Options: adfs
|
" Options: adfs
|
||||||
@@ -137,7 +141,7 @@ syn match fsOptionsKeywords contained /\<\%(dir\|file\|\)_umask=/ nextgroup=fsOp
|
|||||||
syn match fsOptionsKeywords contained /\<\%(session\|part\)=/ nextgroup=fsOptionsNumber
|
syn match fsOptionsKeywords contained /\<\%(session\|part\)=/ nextgroup=fsOptionsNumber
|
||||||
|
|
||||||
" Options: ffs
|
" Options: ffs
|
||||||
syn keyword fsOptionsKeyWords contained softdep
|
syn keyword fsOptionsKeyWords contained noperm softdep
|
||||||
|
|
||||||
" Options: hpfs
|
" Options: hpfs
|
||||||
syn match fsOptionsKeywords contained /\<case=/ nextgroup=fsOptionsHpfsCase
|
syn match fsOptionsKeywords contained /\<case=/ nextgroup=fsOptionsHpfsCase
|
||||||
@@ -228,7 +232,6 @@ syn match fsFreqPass /\s\+.\{-}$/ contains=@fsFreqPassCluster,@fsGeneralCluster
|
|||||||
" Whole line comments
|
" Whole line comments
|
||||||
syn match fsCommentLine /^#.*$/ contains=@Spell
|
syn match fsCommentLine /^#.*$/ contains=@Spell
|
||||||
|
|
||||||
|
|
||||||
hi def link fsOperator Operator
|
hi def link fsOperator Operator
|
||||||
hi def link fsComment Comment
|
hi def link fsComment Comment
|
||||||
hi def link fsCommentLine Comment
|
hi def link fsCommentLine Comment
|
||||||
@@ -237,15 +240,17 @@ hi def link fsTypeKeyword Type
|
|||||||
hi def link fsDeviceKeyword Identifier
|
hi def link fsDeviceKeyword Identifier
|
||||||
hi def link fsDeviceLabel String
|
hi def link fsDeviceLabel String
|
||||||
hi def link fsDeviceUUID String
|
hi def link fsDeviceUUID String
|
||||||
|
hi def link fsDevicePARTLABEL String
|
||||||
|
hi def link fsDevicePARTUUID String
|
||||||
hi def link fsDeviceSshfs String
|
hi def link fsDeviceSshfs String
|
||||||
hi def link fsFreqPassNumber Number
|
hi def link fsFreqPassNumber Number
|
||||||
|
|
||||||
if exists('fstab_unknown_fs_errors') && fstab_unknown_fs_errors == 1
|
if exists('fstab_unknown_fs_errors') && fstab_unknown_fs_errors == 1
|
||||||
hi def link fsTypeUnknown Error
|
hi def link fsTypeUnknown Error
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !exists('fstab_unknown_device_errors') || fstab_unknown_device_errors == 1
|
if !exists('fstab_unknown_device_errors') || fstab_unknown_device_errors == 1
|
||||||
hi def link fsDeviceError Error
|
hi def link fsDeviceError Error
|
||||||
endif
|
endif
|
||||||
|
|
||||||
hi def link fsMountPointError Error
|
hi def link fsMountPointError Error
|
||||||
@@ -278,7 +283,6 @@ hi def link fsOptionsUfsError String
|
|||||||
|
|
||||||
hi def link fsOptionsVfatShortname String
|
hi def link fsOptionsVfatShortname String
|
||||||
|
|
||||||
|
|
||||||
let b:current_syntax = "fstab"
|
let b:current_syntax = "fstab"
|
||||||
|
|
||||||
let &cpo = s:cpo_save
|
let &cpo = s:cpo_save
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: gitolite configuration
|
" Language: gitolite configuration
|
||||||
" URL: https://github.com/tmatilai/gitolite.vim
|
" URL: https://github.com/sitaramc/gitolite/blob/master/contrib/vim/syntax/gitolite.vim
|
||||||
" Maintainer: Teemu Matilainen <teemu.matilainen@iki.fi>
|
" (https://raw.githubusercontent.com/sitaramc/gitolite/master/contrib/vim/syntax/gitolite.vim)
|
||||||
" Last Change: 2011-12-25
|
" Maintainer: Sitaram Chamarty <sitaramc@gmail.com>
|
||||||
|
" (former Maintainer: Teemu Matilainen <teemu.matilainen@iki.fi>)
|
||||||
|
" Last Change: 2017 Oct 05
|
||||||
|
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
finish
|
finish
|
||||||
@@ -11,74 +13,80 @@ endif
|
|||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
" Comment
|
" this seems to be the best way, for now.
|
||||||
syn match gitoliteComment "\(^\|\s\)#.*" contains=gitoliteTodo
|
syntax sync fromstart
|
||||||
syn keyword gitoliteTodo TODO FIXME XXX NOT contained
|
|
||||||
|
|
||||||
" Groups, users and repos
|
" ---- common stuff
|
||||||
syn match gitoliteGroupDef "\(^\s*\)\@<=@[^=]\{-1,}\(\s*=\)\@=" contains=gitoliteSpaceError,gitoliteUserError nextgroup=gitoliteGroupDefSep
|
|
||||||
syn match gitoliteGroupDefSep "\s*=" contained nextgroup=gitoliteRepoLine
|
|
||||||
syn match gitoliteRepoDef "^\s*repo\s" nextgroup=gitoliteRepoLine
|
|
||||||
|
|
||||||
syn match gitoliteRepoLine ".*" contained transparent contains=gitoliteGroup,gitoliteWildRepo,gitoliteCreator,gitoliteExtCmdHelper,gitoliteRepoError,gitoliteComment
|
syn match gitoliteGroup '@\S\+'
|
||||||
syn match gitoliteUserLine ".*" contained transparent contains=gitoliteGroup,gitolitePreProc,gitoliteUserError,gitoliteComment
|
|
||||||
|
|
||||||
syn match gitoliteWildRepo "[ \t=]\@<=[^ \t]*[\\^$|()[\]*?{},][^ \t]*" contained contains=gitoliteCreator,gitoliteRepoError
|
syn match gitoliteComment '#.*' contains=gitoliteTodo
|
||||||
syn match gitoliteGroup "[ \t=]\@<=@[^ \t]\+" contained contains=gitoliteUserError
|
syn keyword gitoliteTodo TODO FIXME XXX NOT contained
|
||||||
|
|
||||||
syn keyword gitoliteCreator CREATER CREATOR contained
|
" ---- main section
|
||||||
syn keyword gitolitePreProc CREATER CREATOR READERS WRITERS contained
|
|
||||||
|
|
||||||
syn match gitoliteExtCmdHelper "[ \t=]\@<=EXTCMD/" contained nextgroup=gitoliteExtCmd
|
" catch template-data syntax appearing outside template-data section
|
||||||
syn match gitoliteExtCmd "rsync\(\s\|$\)" contained
|
syn match gitoliteRepoError '^\s*repo.*='
|
||||||
|
syn match gitoliteRepoError '^\s*\S\+\s*=' " this gets overridden later when first word is a perm, don't worry
|
||||||
|
|
||||||
" Illegal characters
|
" normal gitolite group and repo lines
|
||||||
syn match gitoliteRepoError "[^ \t0-9a-zA-Z._@+/\\^$|()[\]*?{},-]\+" contained
|
syn match gitoliteGroupLine '^\s*@\S\+\s*=\s*\S.*$' contains=gitoliteGroup,gitoliteComment
|
||||||
syn match gitoliteUserError "[^ \t0-9a-zA-Z._@+-]\+" contained
|
syn match gitoliteRepoLine '^\s*repo\s\+[^=]*$' contains=gitoliteRepo,gitoliteGroup,gitoliteComment
|
||||||
syn match gitoliteSpaceError "\s\+" contained
|
syn keyword gitoliteRepo repo contained
|
||||||
|
|
||||||
" Permission
|
syn keyword gitoliteSpecialRepo CREATOR
|
||||||
syn match gitoliteKeyword "^\s*\(C\|R\|RW\|RW+\|RWC\|RW+C\|RWD\|RW+D\|RWCD\|RW+CD\)[ \t=]\@=" nextgroup=gitoliteRefex
|
|
||||||
syn match gitoliteKeyword "^\s*-[ \t=]\@=" nextgroup=gitoliteDenyRefex
|
|
||||||
syn match gitoliteRefex "[^=]*="he=e-1 contained contains=gitoliteSpecialRefex,gitoliteGroup nextgroup=gitoliteUserLine
|
|
||||||
syn match gitoliteDenyRefex "[^=]*="he=e-1 contained contains=gitoliteSpecialRefex,gitoliteGroup nextgroup=gitoliteDenyUsers
|
|
||||||
syn match gitoliteSpecialRefex "\sNAME/"he=e-1 contained
|
|
||||||
syn match gitoliteSpecialRefex "/USER/"hs=s+1,he=e-1 contained
|
|
||||||
syn match gitoliteDenyUsers ".*" contained contains=gitoliteUserError,gitoliteComment
|
|
||||||
|
|
||||||
" Configuration
|
" normal gitolite rule lines
|
||||||
syn match gitoliteKeyword "^\s*config\s\+" nextgroup=gitoliteConfVariable
|
syn match gitoliteRuleLine '^\s*\(-\|C\|R\|RW+\?C\?D\?\)\s[^#]*' contains=gitoliteRule,gitoliteCreateRule,gitoliteDenyRule,gitoliteRefex,gitoliteUsers,gitoliteGroup
|
||||||
syn match gitoliteConfVariable "[^=]*" contained
|
syn match gitoliteRule '\(^\s*\)\@<=\(-\|C\|R\|RW+\?C\?D\?\)\s\@=' contained
|
||||||
|
syn match gitoliteRefex '\(^\s*\(-\|R\|RW+\?C\?D\?\)\s\+\)\@<=\S.\{-}\(\s*=\)\@=' contains=gitoliteSpecialRefex
|
||||||
|
syn match gitoliteSpecialRefex 'NAME/'
|
||||||
|
syn match gitoliteSpecialRefex '/USER/'
|
||||||
|
syn match gitoliteCreateRule '\(^\s*C\s.*=\s*\)\@<=\S[^#]*[^# ]' contained contains=gitoliteGroup
|
||||||
|
syn match gitoliteDenyRule '\(^\s*-\s.*=\s*\)\@<=\S[^#]*[^# ]' contained
|
||||||
|
|
||||||
" Include
|
" normal gitolite config (and similar) lines
|
||||||
syn match gitoliteInclude "^\s*\(include\|subconf\)\s"
|
syn match gitoliteConfigLine '^\s*\(config\|option\|include\|subconf\)\s[^#]*' contains=gitoliteConfigKW,gitoliteConfigKey,gitoliteConfigVal,gitoliteComment
|
||||||
|
syn keyword gitoliteConfigKW config option include subconf contained
|
||||||
|
syn match gitoliteConfigKey '\(\(config\|option\)\s\+\)\@<=[^ =]*' contained
|
||||||
|
syn match gitoliteConfigVal '\(=\s*\)\@<=\S.*' contained
|
||||||
|
|
||||||
" String
|
" ---- template-data section
|
||||||
syn region gitoliteString start=+"+ end=+"+ oneline
|
|
||||||
|
|
||||||
" Define the default highlighting
|
syn region gitoliteTemplateLine matchgroup=PreProc start='^=begin template-data$' end='^=end$' contains=gitoliteTplRepoLine,gitoliteTplRoleLine,gitoliteGroup,gitoliteComment,gitoliteTplError
|
||||||
hi def link gitoliteComment Comment
|
|
||||||
hi def link gitoliteTodo Todo
|
syn match gitoliteTplRepoLine '^\s*repo\s\+\S.*=.*' contained contains=gitoliteTplRepo,gitoliteTplTemplates,gitoliteGroup
|
||||||
hi def link gitoliteGroupDef gitoliteGroup
|
syn keyword gitoliteTplRepo repo contained
|
||||||
hi def link gitoliteGroup Identifier
|
syn match gitoliteTplTemplates '\(=\s*\)\@<=\S.*' contained contains=gitoliteGroup,gitoliteComment
|
||||||
hi def link gitoliteWildRepo Special
|
|
||||||
hi def link gitoliteRepoError gitoliteError
|
syn match gitoliteTplRoleLine '^\s*\S\+\s*=\s*.*' contained contains=gitoliteTplRole,gitoliteGroup,gitoliteComment
|
||||||
hi def link gitoliteUserError gitoliteError
|
syn match gitoliteTplRole '\S\+\s*='he=e-1 contained
|
||||||
hi def link gitoliteSpaceError gitoliteError
|
|
||||||
hi def link gitoliteError Error
|
" catch normal gitolite rules appearing in template-data section
|
||||||
hi def link gitoliteCreator gitolitePreProc
|
syn match gitoliteTplError '^\s*repo[^=]*$' contained
|
||||||
hi def link gitolitePreProc PreProc
|
syn match gitoliteTplError '^\s*\(-\|R\|RW+\?C\?D\?\)\s'he=e-1 contained
|
||||||
hi def link gitoliteExtCmdHelper PreProc
|
syn match gitoliteTplError '^\s*\(config\|option\|include\|subconf\)\s'he=e-1 contained
|
||||||
hi def link gitoliteExtCmd Special
|
syn match gitoliteTplError '^\s*@\S\+\s*=' contained contains=NONE
|
||||||
hi def link gitoliteRepoDef Type
|
|
||||||
hi def link gitoliteKeyword Keyword
|
hi def link gitoliteGroup Identifier
|
||||||
hi def link gitoliteRefex String
|
hi def link gitoliteComment Comment
|
||||||
hi def link gitoliteDenyRefex gitoliteRefex
|
hi def link gitoliteTodo ToDo
|
||||||
hi def link gitoliteSpecialRefex PreProc
|
hi def link gitoliteRepoError Error
|
||||||
hi def link gitoliteDenyUsers WarningMsg
|
hi def link gitoliteGroupLine PreProc
|
||||||
hi def link gitoliteConfVariable Identifier
|
hi def link gitoliteRepo Keyword
|
||||||
hi def link gitoliteInclude Include
|
hi def link gitoliteSpecialRepo PreProc
|
||||||
hi def link gitoliteString String
|
hi def link gitoliteRule Keyword
|
||||||
|
hi def link gitoliteCreateRule PreProc
|
||||||
|
hi def link gitoliteDenyRule WarningMsg
|
||||||
|
hi def link gitoliteRefex Constant
|
||||||
|
hi def link gitoliteSpecialRefex PreProc
|
||||||
|
hi def link gitoliteConfigKW Keyword
|
||||||
|
hi def link gitoliteConfigKey Identifier
|
||||||
|
hi def link gitoliteConfigVal String
|
||||||
|
hi def link gitoliteTplRepo Keyword
|
||||||
|
hi def link gitoliteTplTemplates Constant
|
||||||
|
hi def link gitoliteTplRole Constant
|
||||||
|
hi def link gitoliteTplError Error
|
||||||
|
|
||||||
let b:current_syntax = "gitolite"
|
let b:current_syntax = "gitolite"
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Vim help file
|
" Language: Vim help file
|
||||||
" Maintainer: Bram Moolenaar (Bram@vim.org)
|
" Maintainer: Bram Moolenaar (Bram@vim.org)
|
||||||
" Last Change: 2017 Jun 13
|
" Last Change: 2017 Oct 19
|
||||||
|
|
||||||
" Quit when a (custom) syntax file was already loaded
|
" Quit when a (custom) syntax file was already loaded
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
@@ -60,6 +60,7 @@ syn match helpSpecial "\<N\>"
|
|||||||
syn match helpSpecial "\<N\.$"me=e-1
|
syn match helpSpecial "\<N\.$"me=e-1
|
||||||
syn match helpSpecial "\<N\.\s"me=e-2
|
syn match helpSpecial "\<N\.\s"me=e-2
|
||||||
syn match helpSpecial "(N\>"ms=s+1
|
syn match helpSpecial "(N\>"ms=s+1
|
||||||
|
|
||||||
syn match helpSpecial "\[N]"
|
syn match helpSpecial "\[N]"
|
||||||
" avoid highlighting N N in help.txt
|
" avoid highlighting N N in help.txt
|
||||||
syn match helpSpecial "N N"he=s+1
|
syn match helpSpecial "N N"he=s+1
|
||||||
@@ -85,6 +86,9 @@ syn match helpSpecial "\[arguments]"
|
|||||||
syn match helpSpecial "\[ident]"
|
syn match helpSpecial "\[ident]"
|
||||||
syn match helpSpecial "\[addr]"
|
syn match helpSpecial "\[addr]"
|
||||||
syn match helpSpecial "\[group]"
|
syn match helpSpecial "\[group]"
|
||||||
|
" Don't highlight [converted] and others that do not have a tag
|
||||||
|
syn match helpNormal "\[\(readonly\|fifo\|socket\|converted\|crypted\)]"
|
||||||
|
|
||||||
syn match helpSpecial "CTRL-."
|
syn match helpSpecial "CTRL-."
|
||||||
syn match helpSpecial "CTRL-Break"
|
syn match helpSpecial "CTRL-Break"
|
||||||
syn match helpSpecial "CTRL-PageUp"
|
syn match helpSpecial "CTRL-PageUp"
|
||||||
|
|||||||
@@ -3,8 +3,9 @@
|
|||||||
" Maintainer: Jorge Maldonado Ventura <jorgesumle@freakspot.net>
|
" Maintainer: Jorge Maldonado Ventura <jorgesumle@freakspot.net>
|
||||||
" Previous Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
" Previous Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
||||||
" Repository: https://notabug.org/jorgesumle/vim-html-syntax
|
" Repository: https://notabug.org/jorgesumle/vim-html-syntax
|
||||||
" Last Change: 2017 Jan 21
|
" Last Change: 2017 Sep 30
|
||||||
" included patch from Jorge Maldonado Ventura
|
" included patch from Christian Brabandt to make use of the strikethrough attributes
|
||||||
|
"
|
||||||
|
|
||||||
" Please check :help html.vim for some comments and a description of the options
|
" Please check :help html.vim for some comments and a description of the options
|
||||||
|
|
||||||
@@ -45,13 +46,13 @@ syn keyword htmlTagName contained cite code dd dfn dir div dl dt font
|
|||||||
syn keyword htmlTagName contained form hr html img
|
syn keyword htmlTagName contained form hr html img
|
||||||
syn keyword htmlTagName contained input isindex kbd li link map menu
|
syn keyword htmlTagName contained input isindex kbd li link map menu
|
||||||
syn keyword htmlTagName contained meta ol option param pre p samp span
|
syn keyword htmlTagName contained meta ol option param pre p samp span
|
||||||
syn keyword htmlTagName contained select small strike sub sup
|
syn keyword htmlTagName contained select small sub sup
|
||||||
syn keyword htmlTagName contained table td textarea th tr tt ul var xmp
|
syn keyword htmlTagName contained table td textarea th tr tt ul var xmp
|
||||||
syn match htmlTagName contained "\<\(b\|i\|u\|h[1-6]\|em\|strong\|head\|body\|title\)\>"
|
syn match htmlTagName contained "\<\(b\|i\|u\|h[1-6]\|em\|strong\|head\|body\|title\)\>"
|
||||||
|
|
||||||
" new html 4.0 tags
|
" new html 4.0 tags
|
||||||
syn keyword htmlTagName contained abbr acronym bdo button col label
|
syn keyword htmlTagName contained abbr acronym bdo button col label
|
||||||
syn keyword htmlTagName contained colgroup del fieldset iframe ins legend
|
syn keyword htmlTagName contained colgroup fieldset iframe ins legend
|
||||||
syn keyword htmlTagName contained object optgroup q s tbody tfoot thead
|
syn keyword htmlTagName contained object optgroup q s tbody tfoot thead
|
||||||
|
|
||||||
" new html 5 tags
|
" new html 5 tags
|
||||||
@@ -135,6 +136,9 @@ if !exists("html_no_rendering")
|
|||||||
" rendering
|
" rendering
|
||||||
syn cluster htmlTop contains=@Spell,htmlTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,htmlLink,javaScript,@htmlPreproc
|
syn cluster htmlTop contains=@Spell,htmlTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,htmlLink,javaScript,@htmlPreproc
|
||||||
|
|
||||||
|
syn region htmlStrike start="<del\>" end="</del>"me=e-6 contains=@htmlTop
|
||||||
|
syn region htmlStrike start="<strike\>" end="</strike>"me=e-9 contains=@htmlTop
|
||||||
|
|
||||||
syn region htmlBold start="<b\>" end="</b>"me=e-4 contains=@htmlTop,htmlBoldUnderline,htmlBoldItalic
|
syn region htmlBold start="<b\>" end="</b>"me=e-4 contains=@htmlTop,htmlBoldUnderline,htmlBoldItalic
|
||||||
syn region htmlBold start="<strong\>" end="</strong>"me=e-9 contains=@htmlTop,htmlBoldUnderline,htmlBoldItalic
|
syn region htmlBold start="<strong\>" end="</strong>"me=e-9 contains=@htmlTop,htmlBoldUnderline,htmlBoldItalic
|
||||||
syn region htmlBoldUnderline contained start="<u\>" end="</u>"me=e-4 contains=@htmlTop,htmlBoldUnderlineItalic
|
syn region htmlBoldUnderline contained start="<u\>" end="</u>"me=e-4 contains=@htmlTop,htmlBoldUnderlineItalic
|
||||||
@@ -268,6 +272,11 @@ if !exists("html_no_rendering")
|
|||||||
hi def htmlUnderline term=underline cterm=underline gui=underline
|
hi def htmlUnderline term=underline cterm=underline gui=underline
|
||||||
hi def htmlUnderlineItalic term=italic,underline cterm=italic,underline gui=italic,underline
|
hi def htmlUnderlineItalic term=italic,underline cterm=italic,underline gui=italic,underline
|
||||||
hi def htmlItalic term=italic cterm=italic gui=italic
|
hi def htmlItalic term=italic cterm=italic gui=italic
|
||||||
|
if v:version > 800 || v:version == 800 && has("patch1038")
|
||||||
|
hi def htmlStrike term=strikethrough cterm=strikethrough gui=strikethrough
|
||||||
|
else
|
||||||
|
hi def htmlStrike term=underline cterm=underline gui=underline
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
1032
runtime/syntax/neomuttrc.vim
Normal file
1032
runtime/syntax/neomuttrc.vim
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,8 @@
|
|||||||
" Language : Netrw Remote-Directory Listing Syntax
|
" Language : Netrw Listing Syntax
|
||||||
" Maintainer : Charles E. Campbell
|
" Maintainer : Charles E. Campbell
|
||||||
" Last change: Oct 06, 2014
|
" Last change: Oct 31, 2016
|
||||||
" Version : 19
|
" Version : 20 NOT RELEASED
|
||||||
" ---------------------------------------------------------------------
|
" ---------------------------------------------------------------------
|
||||||
|
|
||||||
" Syntax Clearing: {{{1
|
|
||||||
" quit when a syntax file was already loaded
|
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
@@ -55,24 +52,30 @@ syn match netrwLink "-->" contained skipwhite
|
|||||||
" -----------------------------
|
" -----------------------------
|
||||||
" Special filetype highlighting {{{1
|
" Special filetype highlighting {{{1
|
||||||
" -----------------------------
|
" -----------------------------
|
||||||
if exists("g:netrw_special_syntax") && netrw_special_syntax
|
if exists("g:netrw_special_syntax") && g:netrw_special_syntax
|
||||||
syn match netrwBak "\(\S\+ \)*\S\+\.bak\>" contains=netrwTreeBar,@NoSpell
|
if exists("+suffixes") && &suffixes != ""
|
||||||
syn match netrwCompress "\(\S\+ \)*\S\+\.\%(gz\|bz2\|Z\|zip\)\>" contains=netrwTreeBar,@NoSpell
|
let suflist= join(split(&suffixes,','))
|
||||||
if has("unix")
|
let suflist= escape(substitute(suflist," ",'\\|','g'),'.~')
|
||||||
syn match netrwCoreDump "\<core\%(\.\d\+\)\=\>" contains=netrwTreeBar,@NoSpell
|
exe "syn match netrwSpecFile '\\(\\S\\+ \\)*\\S*\\(".suflist."\\)\\>' contains=netrwTreeBar,@NoSpell"
|
||||||
endif
|
endif
|
||||||
syn match netrwLex "\(\S\+ \)*\S\+\.\%(l\|lex\)\>" contains=netrwTreeBar,@NoSpell
|
syn match netrwBak "\(\S\+ \)*\S\+\.bak\>" contains=netrwTreeBar,@NoSpell
|
||||||
syn match netrwYacc "\(\S\+ \)*\S\+\.y\>" contains=netrwTreeBar,@NoSpell
|
syn match netrwCompress "\(\S\+ \)*\S\+\.\%(gz\|bz2\|Z\|zip\)\>" contains=netrwTreeBar,@NoSpell
|
||||||
syn match netrwData "\(\S\+ \)*\S\+\.dat\>" contains=netrwTreeBar,@NoSpell
|
if has("unix")
|
||||||
syn match netrwDoc "\(\S\+ \)*\S\+\.\%(doc\|txt\|pdf\|ps\)" contains=netrwTreeBar,@NoSpell
|
syn match netrwCoreDump "\<core\%(\.\d\+\)\=\>" contains=netrwTreeBar,@NoSpell
|
||||||
syn match netrwHdr "\(\S\+ \)*\S\+\.\%(h\|hpp\)\>" contains=netrwTreeBar,@NoSpell
|
endif
|
||||||
syn match netrwLib "\(\S\+ \)*\S*\.\%(a\|so\|lib\|dll\)\>" contains=netrwTreeBar,@NoSpell
|
syn match netrwLex "\(\S\+ \)*\S\+\.\%(l\|lex\)\>" contains=netrwTreeBar,@NoSpell
|
||||||
syn match netrwMakeFile "\<[mM]akefile\>\|\(\S\+ \)*\S\+\.mak\>" contains=netrwTreeBar,@NoSpell
|
syn match netrwYacc "\(\S\+ \)*\S\+\.y\>" contains=netrwTreeBar,@NoSpell
|
||||||
syn match netrwObj "\(\S\+ \)*\S*\.\%(o\|obj\)\>" contains=netrwTreeBar,@NoSpell
|
syn match netrwData "\(\S\+ \)*\S\+\.dat\>" contains=netrwTreeBar,@NoSpell
|
||||||
syn match netrwTags "\<\(ANmenu\|ANtags\)\>" contains=netrwTreeBar,@NoSpell
|
syn match netrwDoc "\(\S\+ \)*\S\+\.\%(doc\|txt\|pdf\|ps\|docx\)\>" contains=netrwTreeBar,@NoSpell
|
||||||
syn match netrwTags "\<tags\>" contains=netrwTreeBar,@NoSpell
|
syn match netrwHdr "\(\S\+ \)*\S\+\.\%(h\|hpp\)\>" contains=netrwTreeBar,@NoSpell
|
||||||
syn match netrwTilde "\(\S\+ \)*\S\+\~\*\=\>" contains=netrwTreeBar,@NoSpell
|
syn match netrwLib "\(\S\+ \)*\S*\.\%(a\|so\|lib\|dll\)\>" contains=netrwTreeBar,@NoSpell
|
||||||
syn match netrwTmp "\<tmp\(\S\+ \)*\S\+\>\|\(\S\+ \)*\S*tmp\>" contains=netrwTreeBar,@NoSpell
|
syn match netrwMakeFile "\<[mM]akefile\>\|\(\S\+ \)*\S\+\.mak\>" contains=netrwTreeBar,@NoSpell
|
||||||
|
syn match netrwObj "\(\S\+ \)*\S*\.\%(o\|obj\)\>" contains=netrwTreeBar,@NoSpell
|
||||||
|
syn match netrwPix "\c\(\S\+ \)*\S*\.\%(bmp\|fits\=\|gif\|je\=pg\|pcx\|ppc\|pgm\|png\|ppm\|psd\|rgb\|tif\|xbm\|xcf\)\>" contains=netrwTreeBar,@NoSpell
|
||||||
|
syn match netrwTags "\<\(ANmenu\|ANtags\)\>" contains=netrwTreeBar,@NoSpell
|
||||||
|
syn match netrwTags "\<tags\>" contains=netrwTreeBar,@NoSpell
|
||||||
|
syn match netrwTilde "\(\S\+ \)*\S\+\~\*\=\>" contains=netrwTreeBar,@NoSpell
|
||||||
|
syn match netrwTmp "\<tmp\(\S\+ \)*\S\+\>\|\(\S\+ \)*\S*tmp\>" contains=netrwTreeBar,@NoSpell
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
" ---------------------------------------------------------------------
|
||||||
@@ -101,21 +104,42 @@ if !exists("did_drchip_netrwlist_syntax")
|
|||||||
hi default link netrwLink Special
|
hi default link netrwLink Special
|
||||||
|
|
||||||
" special syntax highlighting (see :he g:netrw_special_syntax)
|
" special syntax highlighting (see :he g:netrw_special_syntax)
|
||||||
hi default link netrwBak NonText
|
|
||||||
hi default link netrwCompress Folded
|
|
||||||
hi default link netrwCoreDump WarningMsg
|
hi default link netrwCoreDump WarningMsg
|
||||||
hi default link netrwData DiffChange
|
hi default link netrwData DiffChange
|
||||||
hi default link netrwHdr netrwPlain
|
hi default link netrwHdr netrwPlain
|
||||||
hi default link netrwLex netrwPlain
|
hi default link netrwLex netrwPlain
|
||||||
hi default link netrwLib DiffChange
|
hi default link netrwLib DiffChange
|
||||||
hi default link netrwMakefile DiffChange
|
hi default link netrwMakefile DiffChange
|
||||||
hi default link netrwObj Folded
|
|
||||||
hi default link netrwTilde Folded
|
|
||||||
hi default link netrwTmp Folded
|
|
||||||
hi default link netrwTags Folded
|
|
||||||
hi default link netrwYacc netrwPlain
|
hi default link netrwYacc netrwPlain
|
||||||
|
hi default link netrwPix Special
|
||||||
|
|
||||||
|
hi default link netrwBak netrwGray
|
||||||
|
hi default link netrwCompress netrwGray
|
||||||
|
hi default link netrwSpecFile netrwGray
|
||||||
|
hi default link netrwObj netrwGray
|
||||||
|
hi default link netrwTags netrwGray
|
||||||
|
hi default link netrwTilde netrwGray
|
||||||
|
hi default link netrwTmp netrwGray
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" set up netrwGray to be understated (but not Ignore'd or Conceal'd, as those
|
||||||
|
" can be hard/impossible to read). Users may override this in a colorscheme by
|
||||||
|
" specifying netrwGray highlighting.
|
||||||
|
redir => s:netrwgray
|
||||||
|
sil hi netrwGray
|
||||||
|
redir END
|
||||||
|
if s:netrwgray !~ 'guifg'
|
||||||
|
if has("gui") && has("gui_running")
|
||||||
|
if &bg == "dark"
|
||||||
|
exe "hi netrwGray gui=NONE guifg=gray30"
|
||||||
|
else
|
||||||
|
exe "hi netrwGray gui=NONE guifg=gray70"
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
hi link netrwGray Folded
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
" Current Syntax: {{{1
|
" Current Syntax: {{{1
|
||||||
let b:current_syntax = "netrwlist"
|
let b:current_syntax = "netrwlist"
|
||||||
" ---------------------------------------------------------------------
|
" ---------------------------------------------------------------------
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
" Language: shell (sh) Korn shell (ksh) bash (sh)
|
" Language: shell (sh) Korn shell (ksh) bash (sh)
|
||||||
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
|
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
|
||||||
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
|
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
|
||||||
" Last Change: Jan 30, 2017
|
" Last Change: Oct 02, 2017
|
||||||
" Version: 168
|
" Version: 172
|
||||||
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH
|
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH
|
||||||
" For options and settings, please use: :help ft-sh-syntax
|
" For options and settings, please use: :help ft-sh-syntax
|
||||||
" This file includes many ideas from Eric Brunet (eric.brunet@ens.fr)
|
" This file includes many ideas from Eric Brunet (eric.brunet@ens.fr)
|
||||||
@@ -128,7 +128,7 @@ syn cluster shArithParenList contains=shArithmetic,shCaseEsac,shComment,shDeref,
|
|||||||
syn cluster shArithList contains=@shArithParenList,shParenError
|
syn cluster shArithList contains=@shArithParenList,shParenError
|
||||||
syn cluster shCaseEsacList contains=shCaseStart,shCase,shCaseBar,shCaseIn,shComment,shDeref,shDerefSimple,shCaseCommandSub,shCaseExSingleQuote,shCaseSingleQuote,shCaseDoubleQuote,shCtrlSeq,@shErrorList,shStringSpecial,shCaseRange
|
syn cluster shCaseEsacList contains=shCaseStart,shCase,shCaseBar,shCaseIn,shComment,shDeref,shDerefSimple,shCaseCommandSub,shCaseExSingleQuote,shCaseSingleQuote,shCaseDoubleQuote,shCtrlSeq,@shErrorList,shStringSpecial,shCaseRange
|
||||||
syn cluster shCaseList contains=@shCommandSubList,shCaseEsac,shColon,shCommandSub,shComment,shDo,shEcho,shExpr,shFor,shHereDoc,shIf,shHereString,shRedir,shSetList,shSource,shStatement,shVariable,shCtrlSeq
|
syn cluster shCaseList contains=@shCommandSubList,shCaseEsac,shColon,shCommandSub,shComment,shDo,shEcho,shExpr,shFor,shHereDoc,shIf,shHereString,shRedir,shSetList,shSource,shStatement,shVariable,shCtrlSeq
|
||||||
syn cluster shCommandSubList contains=shAlias,shArithmetic,shComment,shCmdParenRegion,shCtrlSeq,shDeref,shDerefSimple,shDoubleQuote,shEcho,shEscape,shExDoubleQuote,shExpr,shExSingleQuote,shHereDoc,shNumber,shOperator,shOption,shPosnParm,shHereString,shRedir,shSingleQuote,shSpecial,shStatement,shSubSh,shTest,shVariable
|
syn cluster shCommandSubList contains=shAlias,shArithmetic,shCmdParenRegion,shCtrlSeq,shDeref,shDerefSimple,shDoubleQuote,shEcho,shEscape,shExDoubleQuote,shExpr,shExSingleQuote,shHereDoc,shNumber,shOperator,shOption,shPosnParm,shHereString,shRedir,shSingleQuote,shSpecial,shStatement,shSubSh,shTest,shVariable
|
||||||
syn cluster shCurlyList contains=shNumber,shComma,shDeref,shDerefSimple,shDerefSpecial
|
syn cluster shCurlyList contains=shNumber,shComma,shDeref,shDerefSimple,shDerefSpecial
|
||||||
syn cluster shDblQuoteList contains=shCommandSub,shDeref,shDerefSimple,shEscape,shPosnParm,shCtrlSeq,shSpecial
|
syn cluster shDblQuoteList contains=shCommandSub,shDeref,shDerefSimple,shEscape,shPosnParm,shCtrlSeq,shSpecial
|
||||||
syn cluster shDerefList contains=shDeref,shDerefSimple,shDerefVar,shDerefSpecial,shDerefWordError,shDerefPSR,shDerefPPS
|
syn cluster shDerefList contains=shDeref,shDerefSimple,shDerefVar,shDerefSpecial,shDerefWordError,shDerefPSR,shDerefPPS
|
||||||
@@ -150,6 +150,7 @@ syn cluster shLoopList contains=@shCaseList,@shErrorList,shCaseEsac,shConditiona
|
|||||||
syn cluster shPPSRightList contains=shComment,shDeref,shDerefSimple,shEscape,shPosnParm
|
syn cluster shPPSRightList contains=shComment,shDeref,shDerefSimple,shEscape,shPosnParm
|
||||||
syn cluster shSubShList contains=@shCommandSubList,shCaseEsac,shColon,shCommandSub,shComment,shDo,shEcho,shExpr,shFor,shIf,shHereString,shRedir,shSetList,shSource,shStatement,shVariable,shCtrlSeq,shOperator
|
syn cluster shSubShList contains=@shCommandSubList,shCaseEsac,shColon,shCommandSub,shComment,shDo,shEcho,shExpr,shFor,shIf,shHereString,shRedir,shSetList,shSource,shStatement,shVariable,shCtrlSeq,shOperator
|
||||||
syn cluster shTestList contains=shCharClass,shCommandSub,shCtrlSeq,shDeref,shDerefSimple,shDoubleQuote,shExDoubleQuote,shExpr,shExSingleQuote,shNumber,shOperator,shSingleQuote,shTest,shTestOpr
|
syn cluster shTestList contains=shCharClass,shCommandSub,shCtrlSeq,shDeref,shDerefSimple,shDoubleQuote,shExDoubleQuote,shExpr,shExSingleQuote,shNumber,shOperator,shSingleQuote,shTest,shTestOpr
|
||||||
|
syn cluster shNoZSList contains=shSpecialNoZS
|
||||||
|
|
||||||
" Echo: {{{1
|
" Echo: {{{1
|
||||||
" ====
|
" ====
|
||||||
@@ -220,13 +221,13 @@ syn region shSubSh transparent matchgroup=shSubShRegion start="[^(]\zs(" end=")"
|
|||||||
"=======
|
"=======
|
||||||
syn region shExpr matchgroup=shRange start="\[" skip=+\\\\\|\\$\|\[+ end="\]" contains=@shTestList,shSpecial
|
syn region shExpr matchgroup=shRange start="\[" skip=+\\\\\|\\$\|\[+ end="\]" contains=@shTestList,shSpecial
|
||||||
syn region shTest transparent matchgroup=shStatement start="\<test\s" skip=+\\\\\|\\$+ matchgroup=NONE end="[;&|]"me=e-1 end="$" contains=@shExprList1
|
syn region shTest transparent matchgroup=shStatement start="\<test\s" skip=+\\\\\|\\$+ matchgroup=NONE end="[;&|]"me=e-1 end="$" contains=@shExprList1
|
||||||
syn region shNoQuote start='\S' skip='\%(\\\\\)*\\.' end='\ze\s' contained contains=shDerefSimple,shDeref
|
syn region shNoQuote start='\S' skip='\%(\\\\\)*\\.' end='\ze\s' end="\ze['"]" contained contains=shDerefSimple,shDeref
|
||||||
syn match shAstQuote contained '\*\ze"' nextgroup=shString
|
syn match shAstQuote contained '\*\ze"' nextgroup=shString
|
||||||
syn match shTestOpr contained '[^-+/%]\zs=' skipwhite nextgroup=shTestDoubleQuote,shTestSingleQuote,shTestPattern
|
syn match shTestOpr contained '[^-+/%]\zs=' skipwhite nextgroup=shTestDoubleQuote,shTestSingleQuote,shTestPattern
|
||||||
syn match shTestOpr contained "<=\|>=\|!=\|==\|=\~\|-.\>\|-\(nt\|ot\|ef\|eq\|ne\|lt\|le\|gt\|ge\)\>\|[!<>]"
|
syn match shTestOpr contained "<=\|>=\|!=\|==\|=\~\|-.\>\|-\(nt\|ot\|ef\|eq\|ne\|lt\|le\|gt\|ge\)\>\|[!<>]"
|
||||||
syn match shTestPattern contained '\w\+'
|
syn match shTestPattern contained '\w\+'
|
||||||
syn region shTestDoubleQuote contained start='\%(\%(\\\\\)*\\\)\@<!"' skip=+\\\\\|\\"+ end='"' contains=shDeref,shDerefSimple,shDerefSpecial
|
syn region shTestDoubleQuote contained start='\%(\%(\\\\\)*\\\)\@<!"' skip=+\\\\\|\\"+ end='"' contains=shDeref,shDerefSimple,shDerefSpecial
|
||||||
syn match shTestSingleQuote contained '\\.'
|
syn match shTestSingleQuote contained '\\.' nextgroup=shTestSingleQuote
|
||||||
syn match shTestSingleQuote contained "'[^']*'"
|
syn match shTestSingleQuote contained "'[^']*'"
|
||||||
if exists("b:is_kornshell") || exists("b:is_bash")
|
if exists("b:is_kornshell") || exists("b:is_bash")
|
||||||
syn region shDblBrace matchgroup=Delimiter start="\[\[" skip=+\%(\\\\\)*\\$+ end="\]\]" contains=@shTestList,shAstQuote,shNoQuote,shComment
|
syn region shDblBrace matchgroup=Delimiter start="\[\[" skip=+\%(\\\\\)*\\$+ end="\]\]" contains=@shTestList,shAstQuote,shNoQuote,shComment
|
||||||
@@ -261,7 +262,11 @@ syn match shComma contained ","
|
|||||||
" ====
|
" ====
|
||||||
syn match shCaseBar contained skipwhite "\(^\|[^\\]\)\(\\\\\)*\zs|" nextgroup=shCase,shCaseStart,shCaseBar,shComment,shCaseExSingleQuote,shCaseSingleQuote,shCaseDoubleQuote
|
syn match shCaseBar contained skipwhite "\(^\|[^\\]\)\(\\\\\)*\zs|" nextgroup=shCase,shCaseStart,shCaseBar,shComment,shCaseExSingleQuote,shCaseSingleQuote,shCaseDoubleQuote
|
||||||
syn match shCaseStart contained skipwhite skipnl "(" nextgroup=shCase,shCaseBar
|
syn match shCaseStart contained skipwhite skipnl "(" nextgroup=shCase,shCaseBar
|
||||||
ShFoldIfDoFor syn region shCase contained skipwhite skipnl matchgroup=shSnglCase start="\%(\\.\|[^#$()'" \t]\)\{-}\zs)" end=";;" end="esac"me=s-1 contains=@shCaseList nextgroup=shCaseStart,shCase,shComment
|
if exists("b:is_bash")
|
||||||
|
ShFoldIfDoFor syn region shCase contained skipwhite skipnl matchgroup=shSnglCase start="\%(\\.\|[^#$()'" \t]\)\{-}\zs)" end=";;" end=";&" end=";;&" end="esac"me=s-1 contains=@shCaseList nextgroup=shCaseStart,shCase,shComment
|
||||||
|
else
|
||||||
|
ShFoldIfDoFor syn region shCase contained skipwhite skipnl matchgroup=shSnglCase start="\%(\\.\|[^#$()'" \t]\)\{-}\zs)" end=";;" end="esac"me=s-1 contains=@shCaseList nextgroup=shCaseStart,shCase,shComment
|
||||||
|
endif
|
||||||
ShFoldIfDoFor syn region shCaseEsac matchgroup=shConditional start="\<case\>" end="\<esac\>" contains=@shCaseEsacList
|
ShFoldIfDoFor syn region shCaseEsac matchgroup=shConditional start="\<case\>" end="\<esac\>" contains=@shCaseEsacList
|
||||||
|
|
||||||
syn keyword shCaseIn contained skipwhite skipnl in nextgroup=shCase,shCaseStart,shCaseBar,shComment,shCaseExSingleQuote,shCaseSingleQuote,shCaseDoubleQuote
|
syn keyword shCaseIn contained skipwhite skipnl in nextgroup=shCase,shCaseStart,shCaseBar,shComment,shCaseExSingleQuote,shCaseSingleQuote,shCaseDoubleQuote
|
||||||
@@ -291,7 +296,7 @@ syn match shEscape contained '\%(^\)\@!\%(\\\\\)*\\.'
|
|||||||
" (ie. Posix compliant shell). /bin/ksh should work for those
|
" (ie. Posix compliant shell). /bin/ksh should work for those
|
||||||
" systems too, however, so the following syntax will flag $(..) as
|
" systems too, however, so the following syntax will flag $(..) as
|
||||||
" an Error under /bin/sh. By consensus of vimdev'ers!
|
" an Error under /bin/sh. By consensus of vimdev'ers!
|
||||||
if exists("b:is_kornshell") || exists("b:is_bash")
|
if exists("b:is_kornshell") || exists("b:is_bash") || exists("b:is_posix")
|
||||||
syn region shCommandSub matchgroup=shCmdSubRegion start="\$(" skip='\\\\\|\\.' end=")" contains=@shCommandSubList
|
syn region shCommandSub matchgroup=shCmdSubRegion start="\$(" skip='\\\\\|\\.' end=")" contains=@shCommandSubList
|
||||||
syn region shArithmetic matchgroup=shArithRegion start="\$((" skip='\\\\\|\\.' end="))" contains=@shArithList
|
syn region shArithmetic matchgroup=shArithRegion start="\$((" skip='\\\\\|\\.' end="))" contains=@shArithList
|
||||||
syn region shArithmetic matchgroup=shArithRegion start="\$\[" skip='\\\\\|\\.' end="\]" contains=@shArithList
|
syn region shArithmetic matchgroup=shArithRegion start="\$\[" skip='\\\\\|\\.' end="\]" contains=@shArithList
|
||||||
@@ -346,8 +351,9 @@ syn region shSingleQuote matchgroup=shQuote start=+'+ end=+'+ contains=@Spell
|
|||||||
syn region shDoubleQuote matchgroup=shQuote start=+\%(\%(\\\\\)*\\\)\@<!"+ skip=+\\"+ end=+"+ contains=@shDblQuoteList,shStringSpecial,@Spell
|
syn region shDoubleQuote matchgroup=shQuote start=+\%(\%(\\\\\)*\\\)\@<!"+ skip=+\\"+ end=+"+ contains=@shDblQuoteList,shStringSpecial,@Spell
|
||||||
syn match shStringSpecial "[^[:print:] \t]" contained
|
syn match shStringSpecial "[^[:print:] \t]" contained
|
||||||
syn match shStringSpecial "[^\\]\zs\%(\\\\\)*\\[\\"'`$()#]"
|
syn match shStringSpecial "[^\\]\zs\%(\\\\\)*\\[\\"'`$()#]"
|
||||||
syn match shSpecial "[^\\]\zs\%(\\\\\)*\\[\\"'`$()#]"
|
syn match shSpecial "[^\\]\zs\%(\\\\\)*\\[\\"'`$()#]" nextgroup=shBkslshSnglQuote,shBkslshDblQuote,@shNoZSList
|
||||||
syn match shSpecial "^\%(\\\\\)*\\[\\"'`$()#]"
|
syn match shSpecial "^\%(\\\\\)*\\[\\"'`$()#]"
|
||||||
|
syn match shSpecialNoZS contained "\%(\\\\\)*\\[\\"'`$()#]"
|
||||||
syn match shSpecialNxt contained "\\[\\"'`$()#]"
|
syn match shSpecialNxt contained "\\[\\"'`$()#]"
|
||||||
syn region shBkslshSnglQuote contained matchgroup=shQuote start=+'+ end=+'+ contains=@Spell
|
syn region shBkslshSnglQuote contained matchgroup=shQuote start=+'+ end=+'+ contains=@Spell
|
||||||
syn region shBkslshDblQuote contained matchgroup=shQuote start=+"+ skip=+\\"+ end=+"+ contains=@shDblQuoteList,shStringSpecial,@Spell
|
syn region shBkslshDblQuote contained matchgroup=shQuote start=+"+ skip=+\\"+ end=+"+ contains=@shDblQuoteList,shStringSpecial,@Spell
|
||||||
@@ -370,8 +376,8 @@ syn match shQuickComment contained "#.*$"
|
|||||||
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc01 start="<<\s*\\\=\z([^ \t|>]\+\)" matchgroup=shHereDoc01 end="^\z1\s*$" contains=@shDblQuoteList
|
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc01 start="<<\s*\\\=\z([^ \t|>]\+\)" matchgroup=shHereDoc01 end="^\z1\s*$" contains=@shDblQuoteList
|
||||||
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc02 start="<<\s*\"\z([^ \t|>]\+\)\"" matchgroup=shHereDoc02 end="^\z1\s*$"
|
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc02 start="<<\s*\"\z([^ \t|>]\+\)\"" matchgroup=shHereDoc02 end="^\z1\s*$"
|
||||||
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc03 start="<<-\s*\z([^ \t|>]\+\)" matchgroup=shHereDoc03 end="^\s*\z1\s*$" contains=@shDblQuoteList
|
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc03 start="<<-\s*\z([^ \t|>]\+\)" matchgroup=shHereDoc03 end="^\s*\z1\s*$" contains=@shDblQuoteList
|
||||||
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc04 start="<<-\s*'\z([^ \t|>]\+\)'" matchgroup=shHereDoc04 end="^\s*\z1\s*$"
|
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc04 start="<<-\s*'\z([^']\+\)'" matchgroup=shHereDoc04 end="^\s*\z1\s*$"
|
||||||
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc05 start="<<\s*'\z([^ \t|>]\+\)'" matchgroup=shHereDoc05 end="^\z1\s*$"
|
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc05 start="<<\s*'\z([^']\+\)'" matchgroup=shHereDoc05 end="^\z1\s*$"
|
||||||
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc06 start="<<-\s*\"\z([^ \t|>]\+\)\"" matchgroup=shHereDoc06 end="^\s*\z1\s*$"
|
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc06 start="<<-\s*\"\z([^ \t|>]\+\)\"" matchgroup=shHereDoc06 end="^\s*\z1\s*$"
|
||||||
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc07 start="<<\s*\\\_$\_s*\z([^ \t|>]\+\)" matchgroup=shHereDoc07 end="^\z1\s*$" contains=@shDblQuoteList
|
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc07 start="<<\s*\\\_$\_s*\z([^ \t|>]\+\)" matchgroup=shHereDoc07 end="^\z1\s*$" contains=@shDblQuoteList
|
||||||
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc08 start="<<\s*\\\_$\_s*'\z([^ \t|>]\+\)'" matchgroup=shHereDoc08 end="^\z1\s*$"
|
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc08 start="<<\s*\\\_$\_s*'\z([^ \t|>]\+\)'" matchgroup=shHereDoc08 end="^\z1\s*$"
|
||||||
@@ -428,14 +434,14 @@ endif
|
|||||||
if !exists("g:sh_no_error")
|
if !exists("g:sh_no_error")
|
||||||
syn match shDerefWordError "[^}$[~]" contained
|
syn match shDerefWordError "[^}$[~]" contained
|
||||||
endif
|
endif
|
||||||
syn match shDerefSimple "\$\%(\h\w*\|\d\)"
|
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
|
||||||
syn match shDerefSimple "\$[-#*@!?]"
|
syn match shDerefSimple "\$[-#*@!?]" nextgroup=@shNoZSList
|
||||||
syn match shDerefSimple "\$\$"
|
syn match shDerefSimple "\$\$" nextgroup=@shNoZSList
|
||||||
syn match shDerefSimple "\${\d}"
|
syn match shDerefSimple "\${\d}" nextgroup=@shNoZSList
|
||||||
if exists("b:is_bash") || exists("b:is_kornshell")
|
if exists("b:is_bash") || exists("b:is_kornshell")
|
||||||
syn region shDeref matchgroup=PreProc start="\${##\=" end="}" contains=@shDerefList
|
syn region shDeref matchgroup=PreProc start="\${##\=" end="}" contains=@shDerefList nextgroup=@shSpecialNoZS
|
||||||
syn region shDeref matchgroup=PreProc start="\${\$\$" end="}" contains=@shDerefList
|
syn region shDeref matchgroup=PreProc start="\${\$\$" end="}" contains=@shDerefList nextgroup=@shSpecialNoZS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" ksh: ${!var[*]} array index list syntax: {{{1
|
" ksh: ${!var[*]} array index list syntax: {{{1
|
||||||
@@ -685,6 +691,7 @@ if !exists("skip_sh_syntax_inits")
|
|||||||
hi def link shSetList Identifier
|
hi def link shSetList Identifier
|
||||||
hi def link shShellVariables PreProc
|
hi def link shShellVariables PreProc
|
||||||
hi def link shSpecial Special
|
hi def link shSpecial Special
|
||||||
|
hi def link shSpecialNoZS shSpecial
|
||||||
hi def link shStatement Statement
|
hi def link shStatement Statement
|
||||||
hi def link shString String
|
hi def link shString String
|
||||||
hi def link shTodo Todo
|
hi def link shTodo Todo
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
" Contributor: Leonard Ehrenfried <leonard.ehrenfried@web.de>
|
" Contributor: Leonard Ehrenfried <leonard.ehrenfried@web.de>
|
||||||
" Contributor: Karsten Hopp <karsten@redhat.com>
|
" Contributor: Karsten Hopp <karsten@redhat.com>
|
||||||
" Originally: 2009-07-09
|
" Originally: 2009-07-09
|
||||||
" Last Change: 2016 Dec 28
|
" Last Change: 2017 Oct 25
|
||||||
" SSH Version: 7.4p1
|
" SSH Version: 7.6p1
|
||||||
"
|
"
|
||||||
|
|
||||||
" Setup
|
" Setup
|
||||||
@@ -224,7 +224,6 @@ syn keyword sshdconfigKeyword TrustedUserCAKeys
|
|||||||
syn keyword sshdconfigKeyword UseDNS
|
syn keyword sshdconfigKeyword UseDNS
|
||||||
syn keyword sshdconfigKeyword UseLogin
|
syn keyword sshdconfigKeyword UseLogin
|
||||||
syn keyword sshdconfigKeyword UsePAM
|
syn keyword sshdconfigKeyword UsePAM
|
||||||
syn keyword sshdconfigKeyword UsePrivilegeSeparation
|
|
||||||
syn keyword sshdconfigKeyword VersionAddendum
|
syn keyword sshdconfigKeyword VersionAddendum
|
||||||
syn keyword sshdconfigKeyword X11DisplayOffset
|
syn keyword sshdconfigKeyword X11DisplayOffset
|
||||||
syn keyword sshdconfigKeyword X11Forwarding
|
syn keyword sshdconfigKeyword X11Forwarding
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: TeX
|
" Language: TeX
|
||||||
" Maintainer: Charles E. Campbell <NdrchipO@ScampbellPfamily.AbizM>
|
" Maintainer: Charles E. Campbell <NdrchipO@ScampbellPfamily.AbizM>
|
||||||
" Last Change: Jan 31, 2017
|
" Last Change: Oct 12, 2017
|
||||||
" Version: 103
|
" Version: 105
|
||||||
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX
|
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX
|
||||||
"
|
"
|
||||||
" Notes: {{{1
|
" Notes: {{{1
|
||||||
@@ -259,6 +259,7 @@ syn match texAccent +\\[=^.\~"`']+
|
|||||||
syn match texAccent +\\['=t'.c^ud"vb~Hr]{\a}+
|
syn match texAccent +\\['=t'.c^ud"vb~Hr]{\a}+
|
||||||
syn match texLigature "\\\([ijolL]\|ae\|oe\|ss\|AA\|AE\|OE\)$"
|
syn match texLigature "\\\([ijolL]\|ae\|oe\|ss\|AA\|AE\|OE\)$"
|
||||||
|
|
||||||
|
|
||||||
" \begin{}/\end{} section markers: {{{1
|
" \begin{}/\end{} section markers: {{{1
|
||||||
syn match texBeginEnd "\\begin\>\|\\end\>" nextgroup=texBeginEndName
|
syn match texBeginEnd "\\begin\>\|\\end\>" nextgroup=texBeginEndName
|
||||||
if s:tex_fast =~# 'm'
|
if s:tex_fast =~# 'm'
|
||||||
@@ -588,12 +589,21 @@ else
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" %begin-include ... %end-include acts like a texDocZone for \include'd files. Permits spell checking, for example, in such files.
|
||||||
|
if !s:tex_nospell
|
||||||
|
TexFold syn region texDocZone matchgroup=texSection start='^\s*%begin-include\>' end='^\s*%end-include\>' contains=@texFoldGroup,@texDocGroup,@Spell
|
||||||
|
else
|
||||||
|
TexFold syn region texDocZone matchgroup=texSection start='^\s*%begin-include\>' end='^\s*%end-include\>' contains=@texFoldGroup,@texDocGroup
|
||||||
|
endif
|
||||||
|
|
||||||
" Separate lines used for verb` and verb# so that the end conditions {{{1
|
" Separate lines used for verb` and verb# so that the end conditions {{{1
|
||||||
" will appropriately terminate.
|
" will appropriately terminate.
|
||||||
" If g:tex_verbspell exists, then verbatim texZones will permit spellchecking there.
|
" If g:tex_verbspell exists, then verbatim texZones will permit spellchecking there.
|
||||||
if s:tex_fast =~# 'v'
|
if s:tex_fast =~# 'v'
|
||||||
if exists("g:tex_verbspell") && g:tex_verbspell
|
if exists("g:tex_verbspell") && g:tex_verbspell
|
||||||
syn region texZone start="\\begin{[vV]erbatim}" end="\\end{[vV]erbatim}\|%stopzone\>" contains=@Spell
|
syn region texZone start="\\begin{[vV]erbatim}" end="\\end{[vV]erbatim}\|%stopzone\>" contains=@Spell
|
||||||
|
" listings package:
|
||||||
|
syn region texZone start="\\begin{lstlisting}" end="\\end{lstlisting}\|%stopzone\>" contains=@Spell
|
||||||
if b:tex_stylish
|
if b:tex_stylish
|
||||||
syn region texZone start="\\verb\*\=\z([^\ta-zA-Z@]\)" end="\z1\|%stopzone\>" contains=@Spell
|
syn region texZone start="\\verb\*\=\z([^\ta-zA-Z@]\)" end="\z1\|%stopzone\>" contains=@Spell
|
||||||
else
|
else
|
||||||
@@ -1183,11 +1193,13 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
delfun s:SuperSub
|
delfun s:SuperSub
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Accented characters: {{{2
|
" Accented characters and Ligatures: {{{2
|
||||||
if s:tex_conceal =~# 'a'
|
if s:tex_conceal =~# 'a'
|
||||||
if b:tex_stylish
|
if b:tex_stylish
|
||||||
syn match texAccent "\\[bcdvuH][^a-zA-Z@]"me=e-1
|
syn match texAccent "\\[bcdvuH][^a-zA-Z@]"me=e-1
|
||||||
syn match texLigature "\\\([ijolL]\|ae\|oe\|ss\|AA\|AE\|OE\)[^a-zA-Z@]"me=e-1
|
syn match texLigature "\\\([ijolL]\|ae\|oe\|ss\|AA\|AE\|OE\)[^a-zA-Z@]"me=e-1
|
||||||
|
syn match texLigature '--'
|
||||||
|
syn match texLigature '---'
|
||||||
else
|
else
|
||||||
fun! s:Accents(chr,...)
|
fun! s:Accents(chr,...)
|
||||||
let i= 1
|
let i= 1
|
||||||
@@ -1248,15 +1260,17 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
call s:Accents('\\i','ì','í','î','ï','ĩ','į',' ',' ',' ',' ',' ','ĭ',' ')
|
call s:Accents('\\i','ì','í','î','ï','ĩ','į',' ',' ',' ',' ',' ','ĭ',' ')
|
||||||
" \` \' \^ \" \~ \. \= \c \H \k \r \u \v
|
" \` \' \^ \" \~ \. \= \c \H \k \r \u \v
|
||||||
delfun s:Accents
|
delfun s:Accents
|
||||||
syn match texAccent '\\aa\>' conceal cchar=å
|
syn match texAccent '\\aa\>' conceal cchar=å
|
||||||
syn match texAccent '\\AA\>' conceal cchar=Å
|
syn match texAccent '\\AA\>' conceal cchar=Å
|
||||||
syn match texAccent '\\o\>' conceal cchar=ø
|
syn match texAccent '\\o\>' conceal cchar=ø
|
||||||
syn match texAccent '\\O\>' conceal cchar=Ø
|
syn match texAccent '\\O\>' conceal cchar=Ø
|
||||||
syn match texLigature '\\AE\>' conceal cchar=Æ
|
syn match texLigature '\\AE\>' conceal cchar=Æ
|
||||||
syn match texLigature '\\ae\>' conceal cchar=æ
|
syn match texLigature '\\ae\>' conceal cchar=æ
|
||||||
syn match texLigature '\\oe\>' conceal cchar=œ
|
syn match texLigature '\\oe\>' conceal cchar=œ
|
||||||
syn match texLigature '\\OE\>' conceal cchar=Œ
|
syn match texLigature '\\OE\>' conceal cchar=Œ
|
||||||
syn match texLigature '\\ss\>' conceal cchar=ß
|
syn match texLigature '\\ss\>' conceal cchar=ß
|
||||||
|
syn match texLigature '--' conceal cchar=–
|
||||||
|
syn match texLigature '---' conceal cchar=—
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Vim 8.0 script
|
" Language: Vim 8.0 script
|
||||||
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
|
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
|
||||||
" Last Change: Jan 19, 2017
|
" Last Change: November 03, 2017
|
||||||
" Version: 8.0-02
|
" Version: 8.0-04
|
||||||
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM
|
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM
|
||||||
" Automatically generated keyword lists: {{{1
|
" Automatically generated keyword lists: {{{1
|
||||||
|
|
||||||
@@ -19,24 +19,24 @@ syn keyword vimTodo contained COMBAK FIXME TODO XXX
|
|||||||
syn cluster vimCommentGroup contains=vimTodo,@Spell
|
syn cluster vimCommentGroup contains=vimTodo,@Spell
|
||||||
|
|
||||||
" regular vim commands {{{2
|
" regular vim commands {{{2
|
||||||
syn keyword vimCommand contained a argd[elete] as[cii] bd[elete] bo[tright] breakl[ist] cN[ext] caddf[ile] ccl[ose] cfdo chd[ir] cle[arjumps] co[py] con[tinue] cr[ewind] d[elete] deletel delm[arks] diffo[ff] dir dp earlier em[enu] ene[w] filet fir[st] foldo[pen] grepa[dd] helpf[ind] i in ju[mps] keepp[atterns] lad[dexpr] later lcl[ose] lefta[bove] lg[etfile] lh[elpgrep] lmak[e] lo[adview] lol[der] ls lv[imgrep] mak[e] messages mkvie[w] nb[key] noa nos[wapfile] on[ly] packl[oadall] po[p] pro ps[earch] ptl[ast] pu[t] pydo quita[ll] redr[aw] retu[rn] rub[y] sI sIn sal[l] sba[ll] sbp[revious] scg scripte[ncoding] setg[lobal] sgI sgn sic sim[alt] sla[st] smile so[urce] spelli[nfo] sr sri sta[g] stopi[nsert] sus[pend] sync ta[g] tabe[dit] tabn[ext] tabs te[aroff] tm[enu] try undoj[oin] up[date] vi[sual] vmapc[lear] wa[ll] winp[os] ws[verb] xmapc[lear] xprop
|
syn keyword vimCommand contained a arga[dd] argu[ment] bad[d] bn[ext] breakd[el] bw[ipeout] cadde[xpr] cc cf[ile] changes cla[st] cnf[ile] comp[iler] cq[uit] cw[indow] delep dell diffg[et] dig[raphs] doau ea el[se] endt[ry] f[ile] fina[lly] foldd[oopen] go[to] ha[rdcopy] hid[e] ij[ump] isp[lit] keepa l[ist] lat lcl[ose] lex[pr] lgete[xpr] lla[st] lnf[ile] lol[der] lt[ag] lw[indow] menut[ranslate] mkv[imrc] n[ext] nmapc[lear] nore omapc[lear] pa[ckadd] perld[o] prev[ious] promptr[epl] ptj[ump] pts[elect] py[thon] pyx quita[ll] redr[aw] retu[rn] rub[y] sI sIn sal[l] sba[ll] sbp[revious] scg scripte[ncoding] setg[lobal] sgI sgn sic sim[alt] sla[st] smile so[urce] spelli[nfo] sr sri sta[g] stopi[nsert] sus[pend] sync ta[g] tabe[dit] tabn[ext] tabs te[aroff] tm[enu] to[pleft] tu[nmenu] undol[ist] up[date] vi[sual] vmapc[lear] wa[ll] winp[os] ws[verb] xmapc[lear] xprop
|
||||||
syn keyword vimCommand contained abc[lear] argdo au bel[owright] bp[revious] bro[wse] cNf[ile] cal[l] cd cfir[st] che[ckpath] clo[se] col[der] conf[irm] cs debug deletep delp diffp[atch] dj[ump] dr[op] echoe[rr] en[dif] ex filetype fix[del] for gui helpg[rep] iabc[lear] intro k lN[ext] laddb[uffer] lb[uffer] lcs lex[pr] lgetb[uffer] lhi[story] lmapc[lear] loadk lop[en] lt[ag] lvimgrepa[dd] marks mk[exrc] mod[e] nbc[lose] noautocmd nu[mber] opt[ions] pc[lose] popu[p] prof[ile] ptN[ext] ptn[ext] pw[d] pyf[ile] r[ead] redraws[tatus] rew[ind] rubyd[o] sIc sIp san[dbox] sbf[irst] sbr[ewind] sci scs setl[ocal] sgc sgp sie sin sm[agic] sn[ext] sor[t] spellr[epall] srI srl star[tinsert] sts[elect] sv[iew] syncbind tab tabf[ind] tabnew tags tf[irst] tn[ext] ts[elect] undol[ist] v vie[w] vne[w] wh[ile] wn[ext] wundo xme xunme
|
syn keyword vimCommand contained ab argd[elete] as[cii] bd[elete] bo[tright] breakl[ist] cN[ext] caddf[ile] ccl[ose] cfdo chd[ir] cle[arjumps] co[py] con[tinue] cr[ewind] d[elete] deletel delm[arks] diffo[ff] dir dp earlier elsei[f] endw[hile] files fini[sh] folddoc[losed] gr[ep] helpc[lose] his[tory] il[ist] iuna[bbrev] keepalt la[st] later lcs lf[ile] lgr[ep] lli[st] lo[adview] lop[en] lua m[ove] mes mkvie[w] nb[key] noa nos[wapfile] on[ly] packl[oadall] po[p] pro ps[earch] ptl[ast] pu[t] pydo pyxdo r[ead] redraws[tatus] rew[ind] rubyd[o] sIc sIp san[dbox] sbf[irst] sbr[ewind] sci scs setl[ocal] sgc sgp sie sin sm[agic] sn[ext] sor[t] spellr[epall] srI srl star[tinsert] sts[elect] sv[iew] syncbind tab tabf[ind] tabnew tags tf[irst] tma[p] tp[revious] tunma[p] unh[ide] v vie[w] vne[w] wh[ile] wn[ext] wundo xme xunme
|
||||||
syn keyword vimCommand contained abo[veleft] arge[dit] bN[ext] bf[irst] br[ewind] bufdo c[hange] cat[ch] cdo cg[etfile] checkt[ime] cmapc[lear] colo[rscheme] cope[n] cscope debugg[reedy] deletl dep diffpu[t] dl ds[earch] echom[sg] endf[unction] exi[t] filt[er] fo[ld] fu[nction] gvim helpt[ags] if is[earch] kee[pmarks] lNf[ile] laddf[ile] lbo[ttom] lcscope lf[ile] lgete[xpr] ll lne[xt] loadkeymap lp[revious] lua lw[indow] mat[ch] mks[ession] mz[scheme] nbs[tart] noh[lsearch] o[pen] ownsyntax pe[rl] pp[op] profd[el] pta[g] ptp[revious] py3 python3 rec[over] reg[isters] ri[ght] rubyf[ile] sIe sIr sav[eas] sbl[ast] sc scl scscope sf[ind] sge sgr sig sip sm[ap] sno[magic] sp[lit] spellu[ndo] src srn startg[replace] sun[hide] sw[apname] syntime tabN[ext] tabfir[st] tabo[nly] tc[l] th[row] to[pleft] tu[nmenu] unh[ide] ve[rsion] vim[grep] vs[plit] win[size] wp[revious] wv[iminfo] xmenu xunmenu
|
syn keyword vimCommand contained abc[lear] argdo au bel[owright] bp[revious] bro[wse] cNf[ile] cal[l] cd cfir[st] che[ckpath] clo[se] col[der] conf[irm] cs debug deletep delp diffp[atch] dj[ump] dr[op] ec em[enu] ene[w] filet fir[st] foldo[pen] grepa[dd] helpf[ind] i imapc[lear] j[oin] keepj[umps] lad[dexpr] lb[uffer] lcscope lfdo lgrepa[dd] lmak[e] loadk lp[revious] luado ma[rk] messages mod[e] nbc[lose] noautocmd nu[mber] opt[ions] pc[lose] popu[p] prof[ile] ptN[ext] ptn[ext] pw[d] pyf[ile] pyxfile rec[over] reg[isters] ri[ght] rubyf[ile] sIe sIr sav[eas] sbl[ast] sc scl scscope sf[ind] sge sgr sig sip sm[ap] sno[magic] sp[lit] spellu[ndo] src srn startg[replace] sun[hide] sw[apname] syntime tabN[ext] tabfir[st] tabo[nly] tc[l] th[row] tmapc[lear] tr[ewind] u[ndo] unl ve[rsion] vim[grep] vs[plit] win[size] wp[revious] wv[iminfo] xmenu xunmenu
|
||||||
syn keyword vimCommand contained al[l] argg[lobal] b[uffer] bl[ast] brea[k] buffers cabc[lear] cb[uffer] ce[nter] cgetb[uffer] chi[story] cn[ext] com cp[revious] cstag delc[ommand] deletp di[splay] diffs[plit] dli[st] dsp[lit] echon endfo[r] exu[sage] fin[d] foldc[lose] g h[elp] hi ij[ump] isp[lit] keepa l[ist] lan[guage] lc[d] ld[o] lfdo lgr[ep] lla[st] lnew[er] loc[kmarks] lpf[ile] luado m[ove] menut[ranslate] mksp[ell] mzf[ile] new nor ol[dfiles] p[rint] ped[it] pre[serve] promptf[ind] ptf[irst] ptr[ewind] py3do q[uit] red[o] res[ize] rightb[elow] rundo sIg sN[ext] sbN[ext] sbm[odified] scI scp se[t] sfir[st] sgi sh[ell] sign sir sme snoreme spe[llgood] spellw[rong] sre[wind] srp startr[eplace] sunme sy t tabc[lose] tabl[ast] tabp[revious] tcld[o] tj[ump] tp[revious] u[ndo] unlo[ckvar] verb[ose] vimgrepa[dd] wN[ext] winc[md] wq x[it] xnoreme xwininfo
|
syn keyword vimCommand contained abo[veleft] arge[dit] bN[ext] bf[irst] br[ewind] bufdo c[hange] cat[ch] cdo cg[etfile] checkt[ime] cmapc[lear] colo[rscheme] cope[n] cscope debugg[reedy] deletl dep diffpu[t] dl ds[earch] echoe[rr] en[dif] ex filetype fix[del] for gui helpg[rep] ia in ju[mps] keepp[atterns] laddb[uffer] lbo[ttom] ld[o] lfir[st] lh[elpgrep] lmapc[lear] loadkeymap lpf[ile] luafile mak[e] mk[exrc] mz[scheme] nbs[tart] noh[lsearch] o[pen] ownsyntax pe[rl] pp[op] profd[el] pta[g] ptp[revious] py3 python3 q[uit] red[o] res[ize] rightb[elow] rundo sIg sN[ext] sbN[ext] sbm[odified] scI scp se[t] sfir[st] sgi sh[ell] sign sir sme snoreme spe[llgood] spellw[rong] sre[wind] srp startr[eplace] sunme sy t tabc[lose] tabl[ast] tabp[revious] tcld[o] tj[ump] tn[ext] try una[bbreviate] unlo[ckvar] verb[ose] vimgrepa[dd] wN[ext] winc[md] wq x[it] xnoreme xwininfo
|
||||||
syn keyword vimCommand contained ar[gs] argl[ocal] ba[ll] bm[odified] breaka[dd] bun[load] cad[dbuffer] cbo[ttom] cex[pr] cgete[xpr] cl[ist] cnew[er] comc[lear] cpf[ile] cuna[bbrev] delel delf[unction] dif[fupdate] difft[his] do e[dit] el[se] endt[ry] f[ile] fina[lly] foldd[oopen] go[to] ha[rdcopy] hid[e] il[ist] iuna[bbrev] keepalt la[st] lat lch[dir] le[ft] lfir[st] lgrepa[dd] lli[st] lnf[ile] lockv[ar] lr[ewind] luafile ma[rk] mes mkv[imrc] n[ext] nmapc[lear] nore omapc[lear] pa[ckadd] perld[o] prev[ious] promptr[epl] ptj[ump] pts[elect] py[thon] qa[ll] redi[r] ret[ab] ru[ntime] rv[iminfo] sIl sa[rgument] sb[uffer] sbn[ext] sce scr[iptnames] setf[iletype] sg sgl si sil[ent] sl[eep] smenu snoremenu spelld[ump] spr[evious] srg st[op] stj[ump] sunmenu syn tN[ext] tabd[o] tabm[ove] tabr[ewind] tclf[ile] tl[ast] tr[ewind] una[bbreviate] uns[ilent] vert[ical] viu[sage] w[rite] windo wqa[ll] xa[ll] xnoremenu y[ank]
|
syn keyword vimCommand contained al[l] argg[lobal] b[uffer] bl[ast] brea[k] buffers cabc[lear] cb[uffer] ce[nter] cgetb[uffer] chi[story] cn[ext] com cp[revious] cstag delc[ommand] deletp di[splay] diffs[plit] dli[st] dsp[lit] echom[sg] endf[unction] exi[t] filt[er] fo[ld] fu[nction] gvim helpt[ags] iabc[lear] intro k lN[ext] laddf[ile] lc[d] le[ft] lg[etfile] lhi[story] lne[xt] loc[kmarks] lr[ewind] lv[imgrep] marks mks[ession] mzf[ile] new nor ol[dfiles] p[rint] ped[it] pre[serve] promptf[ind] ptf[irst] ptr[ewind] py3do pythonx qa[ll] redi[r] ret[ab] ru[ntime] rv[iminfo] sIl sa[rgument] sb[uffer] sbn[ext] sce scr[iptnames] setf[iletype] sg sgl si sil[ent] sl[eep] smenu snoremenu spelld[ump] spr[evious] srg st[op] stj[ump] sunmenu syn tN[ext] tabd[o] tabm[ove] tabr[ewind] tclf[ile] tl[ast] tno[remap] ts[elect] undoj[oin] uns[ilent] vert[ical] viu[sage] w[rite] windo wqa[ll] xa[ll] xnoremenu y[ank]
|
||||||
syn keyword vimCommand contained arga[dd] argu[ment] bad[d] bn[ext] breakd[el] bw[ipeout] cadde[xpr] cc cf[ile] changes cla[st] cnf[ile] comp[iler] cq[uit] cw[indow] delep dell diffg[et] dig[raphs] doau ea elsei[f] endw[hile] files fini[sh] folddoc[losed] gr[ep] helpc[lose] his[tory] imapc[lear] j[oin] keepj[umps]
|
syn keyword vimCommand contained ar[gs] argl[ocal] ba[ll] bm[odified] breaka[dd] bun[load] cad[dbuffer] cbo[ttom] cex[pr] cgete[xpr] cl[ist] cnew[er] comc[lear] cpf[ile] cuna[bbrev] delel delf[unction] dif[fupdate] difft[his] do e[dit] echon endfo[r] exu[sage] fin[d] foldc[lose] g h[elp] hi if is[earch] kee[pmarks] lNf[ile] lan[guage] lch[dir] lefta[bove] lgetb[uffer] ll lnew[er] lockv[ar] ls lvimgrepa[dd] mat[ch] mksp[ell]
|
||||||
syn match vimCommand contained "\<z[-+^.=]\=\>"
|
syn match vimCommand contained "\<z[-+^.=]\=\>"
|
||||||
syn keyword vimStdPlugin contained DiffOrig Man N[ext] P[rint] S TOhtml XMLent XMLns
|
syn keyword vimStdPlugin contained DiffOrig Man N[ext] P[rint] S TOhtml XMLent XMLns
|
||||||
|
|
||||||
" vimOptions are caught only when contained in a vimSet {{{2
|
" vimOptions are caught only when contained in a vimSet {{{2
|
||||||
syn keyword vimOption contained acd ambw arshape background ballooneval bg bomb bs cb ch cinoptions cms commentstring copyindent cscopepathcomp csprg cursorbind delcombine digraph eadirection ek ep et fdc fdo ffs filetype fml foldignore foldopen fs gfn grepprg guiheadroom helplang history hls imactivatefunc imdisable inc indk isfname joinspaces kmp lazyredraw lispwords lpl ma matchtime mco ml modeline mousefocus mousetime nrformats ofu packpath path ph pp printfont pumheight rdt renderoptions rl ru sbo scrollbind secure shcf shelltemp shortmess showtabline sj smd spell splitbelow ssl stl sw sxe tabpagemax tags tbs termguicolors tgst titleold top ttimeoutlen ttyscroll ul ur verbosefile visualbell wcm wi wildmenu winfixwidth wm wrapscan
|
syn keyword vimOption contained acd ambw arshape background ballooneval bg bomb bs cb ch cinoptions cms commentstring copyindent cscopepathcomp csprg cursorbind delcombine digraph eadirection emo equalprg expandtab fdls fex fileignorecase fml foldlevel formatexpr gcr go guifontset helpheight history hlsearch imactivatekey imi imstyle indentkeys isf isprint km laststatus lisp loadplugins lz mat maxmempattern mh mmp more mouses mzq number opendevice paragraphs penc pi previewheight printmbcharset pvw rdt renderoptions rl ru sbo scrollbind secure shcf shelltemp shortmess showtabline sj smd spell splitbelow ssl stl sw sxe tabpagemax tags tbs termguicolors tf title tms ts ttybuiltin tx undolevels vbs viewdir vop wd wic wildmode winheight wm wrapscan
|
||||||
syn keyword vimOption contained ai anti autochdir backspace balloonexpr bh breakat bsdir cc charconvert cinw co compatible cot cscopeprg csqf cursorcolumn dex dip eb emo equalalways eventignore fde fdt fic fillchars fmr foldlevel foldtext fsync gfs gtl guioptions hf hk hlsearch imactivatekey imi include inex isi js kp lbr list lrm macatsui maxcombine mef mls modelines mousehide mp nu omnifunc para pdev pheader preserveindent printheader pvh re report rlc rubydll sbr scrolljump sel shell shelltype shortname shq slm sn spellcapcheck splitright ssop stmp swapfile sxq tabstop tagstack tc terse thesaurus titlestring tpm ttm ttytype undodir ut vfile vop wd wic wildmode winheight wmh write
|
syn keyword vimOption contained ai anti autochdir backspace balloonexpr bh breakat bsdir cc charconvert cinw co compatible cot cscopeprg csqf cursorcolumn dex dip eb emoji errorbells exrc fdm ff filetype fmr foldlevelstart formatlistpat gd gp guifontwide helplang hk ic imaf iminsert inc indk isfname joinspaces kmp lazyredraw lispwords lpl ma matchpairs maxmemtot mis mmt mouse mouseshape mzquantum numberwidth operatorfunc paste perldll pm previewwindow printmbfont pythondll re report rlc rubydll sbr scrolljump sel shell shelltype shortname shq slm sn spellcapcheck splitright ssop stmp swapfile sxq tabstop tagstack tc termkey tgc titlelen to tsl ttyfast uc undoreload vdir viewoptions wa weirdinvert wig wildoptions winminheight wmh write
|
||||||
syn keyword vimOption contained akm antialias autoindent backup bdir bin breakindent bsk ccv ci cinwords cocu complete cp cscopequickfix csre cursorline dg dir ed emoji equalprg ex fdi fen fileencoding fixendofline fo foldlevelstart formatexpr ft gfw gtt guipty hh hkmap ic imaf iminsert includeexpr inf isident key langmap lcs listchars ls magic maxfuncdepth menuitems mm modifiable mousem mps number opendevice paragraphs penc pi previewheight printmbcharset pvw readonly restorescreen rnu ruf sc scrolloff selection shellcmdflag shellxescape showbreak si sm so spellfile spr st sts swapsync syn tag tal tcldll textauto tildeop tl tr tty tw undofile vb vi wa weirdinvert wig wildoptions winminheight wmnu writeany
|
syn keyword vimOption contained akm antialias autoindent backup bdir bin breakindent bsk ccv ci cinwords cocu complete cp cscopequickfix csre cursorline dg dir ed enc errorfile fcl fdn ffs fillchars fo foldmarker formatoptions gdefault grepformat guiheadroom hf hkmap icon imak ims include inex isi js kp lbr list lrm macatsui matchtime mco mkspellmem mod mousef mouset mzschemedll nuw opfunc pastetoggle pex pmbcs printdevice printoptions pythonthreedll readonly restorescreen rnu ruf sc scrolloff selection shellcmdflag shellxescape showbreak si sm so spellfile spr st sts swapsync syn tag tal tcldll termsize tgst titleold toolbar tsr ttym udf updatecount ve vif wak wfh wildchar wim winminwidth wmnu writeany
|
||||||
syn keyword vimOption contained al ar autoread backupcopy bdlay binary breakindentopt bt cd cin clipboard cole completefunc cpo cscoperelative cst cwh dict directory edcompatible enc errorbells expandtab fdl fenc fileencodings fixeol foldclose foldmarker formatlistpat gcr ghr guicursor guitablabel hi hkmapp icon imak ims incsearch infercase isk keymap langmenu linebreak lm lsp makeef maxmapdepth mfd mmd modified mousemodel msm numberwidth operatorfunc paste perldll pm previewwindow printmbfont pythondll redrawtime revins ro ruler scb scrollopt selectmode shellpipe shellxquote showcmd sidescroll smartcase softtabstop spelllang sps sta su swb synmaxcol tagbsearch tb tenc textmode timeout tm ts ttybuiltin tx undolevels vbs viewdir wak wfh wildchar wim winminwidth wmw writebackup
|
syn keyword vimOption contained al ar autoread backupcopy bdlay binary breakindentopt bt cd cin clipboard cole completefunc cpo cscoperelative cst cwh dict directory edcompatible encoding errorformat fcs fdo fic fixendofline foldclose foldmethod formatprg gfm grepprg guioptions hh hkmapp iconstring imc imsearch includeexpr inf isident key langmap lcs listchars ls magic maxcombine mef ml modeline mousefocus mousetime mzschemegcdll odev osfiletype patchexpr pexpr pmbfn printencoding prompt pyx redrawtime revins ro ruler scb scrollopt selectmode shellpipe shellxquote showcmd sidescroll smartcase softtabstop spelllang sps sta su swb synmaxcol tagbsearch tb tenc terse thesaurus titlestring toolbariconsize ttimeout ttymouse udir updatetime verbose viminfo warn wfw wildcharm winaltkeys winptydll wmw writebackup
|
||||||
syn keyword vimOption contained aleph arab autowrite backupdir belloff bk bri bufhidden cdpath cindent cm colorcolumn completeopt cpoptions cscopetag csto debug dictionary display ef encoding errorfile exrc fdls fencs fileformat fk foldcolumn foldmethod formatoptions gd go guifont guitabtooltip hid hkp iconstring imc imsearch inde insertmode iskeyword keymodel langnoremap lines lmap luadll makeprg maxmem mh mmp more mouses mzq nuw opfunc pastetoggle pex pmbcs printdevice printoptions pythonthreedll regexpengine ri rop rulerformat scl scs sessionoptions shellquote shiftround showfulltag sidescrolloff smartindent sol spellsuggest sr stal sua swf syntax tagcase tbi term textwidth timeoutlen to tsl ttyfast uc undoreload vdir viewoptions warn wfw wildcharm winaltkeys winwidth wop writedelay
|
syn keyword vimOption contained aleph arab autowrite backupdir belloff bk bri bufhidden cdpath cindent cm colorcolumn completeopt cpoptions cscopetag csto debug dictionary display ef endofline esckeys fdc fdt fileencoding fixeol foldcolumn foldminlines fp gfn gtl guipty hi hkp ignorecase imcmdline imsf incsearch infercase isk keymap langmenu linebreak lm lsp makeef maxfuncdepth menc mls modelines mousehide mp nf oft pa patchmode pfn popt printexpr pt pyxversion regexpengine ri rop rulerformat scl scs sessionoptions shellquote shiftround showfulltag sidescrolloff smartindent sol spellsuggest sr stal sua swf syntax tagcase tbi term textauto tildeop tk top ttimeoutlen ttyscroll ul ur verbosefile viminfofile wb wh wildignore window winwidth wop writedelay
|
||||||
syn keyword vimOption contained allowrevins arabic autowriteall backupext beval bkc briopt buflisted cedit cink cmdheight columns concealcursor cpt cscopetagorder csverb deco diff dy efm endofline errorformat fcl fdm fex fileformats fkmap foldenable foldminlines formatprg gdefault gp guifontset helpfile hidden hl ignorecase imcmdline imsf indentexpr is isp keywordprg langremap linespace lnr lw mat maxmempattern mis mmt mouse mouseshape mzquantum odev osfiletype patchexpr pexpr pmbfn printencoding prompt qe relativenumber rightleft rs runtimepath scr sect sft shellredir shiftwidth showmatch signcolumn smarttab sp spf srr startofline suffixes switchbuf ta taglength tbidi termbidi tf title toolbar tsr ttym udf updatecount ve viminfo wb wh wildignore window wiv wrap ws
|
syn keyword vimOption contained allowrevins arabic autowriteall backupext beval bkc briopt buflisted cedit cink cmdheight columns concealcursor cpt cscopetagorder csverb deco diff dy efm eol et fde fen fileencodings fk foldenable foldnestmax fs gfs gtt guitablabel hid hl im imd imst inde insertmode iskeyword keymodel langnoremap lines lmap luadll makeencoding maxmapdepth menuitems mm modifiable mousem mps nrformats ofu packpath path ph pp printfont pumheight qe relativenumber rightleft rs runtimepath scr sect sft shellredir shiftwidth showmatch signcolumn smarttab sp spf srr startofline suffixes switchbuf ta taglength tbidi termbidi textmode timeout tl tpm ttm ttytype undodir ut vfile virtualedit wc whichwrap wildignorecase winfixheight wiv wrap ws
|
||||||
syn keyword vimOption contained altkeymap arabicshape aw backupskip bex bl brk buftype cf cinkeys cmdwinheight com conceallevel crb cscopeverbose cuc def diffexpr ea ei eol esckeys fcs fdn ff fileignorecase flp foldexpr foldnestmax fp gfm grepformat guifontwide helpheight highlight hlg im imd imstatusfunc indentkeys isf isprint km laststatus lisp loadplugins lz matchpairs maxmemtot mkspellmem mod mousef mouset nf oft pa patchmode pfn popt printexpr pt quoteescape remap rightleftcmd rtp sb scroll sections sh shellslash shm showmode siso smc spc spl ss statusline suffixesadd sws tabline tagrelative tbis termencoding tgc titlelen toolbariconsize ttimeout ttymouse udir updatetime verbose virtualedit wc whichwrap wildignorecase winfixheight wiw wrapmargin ww
|
syn keyword vimOption contained altkeymap arabicshape aw backupskip bex bl brk buftype cf cinkeys cmdwinheight com conceallevel crb cscopeverbose cuc def diffexpr ea ei ep eventignore fdi fenc fileformat fkmap foldexpr foldopen fsync gfw guicursor guitabtooltip hidden hlg imactivatefunc imdisable imstatusfunc indentexpr is isp keywordprg langremap linespace lnr lw makeprg maxmem mfd mmd modified mousemodel msm nu omnifunc para pdev pheader preserveindent printheader pvh quoteescape remap rightleftcmd rtp sb scroll sections sh shellslash shm showmode siso smc spc spl ss statusline suffixesadd sws tabline tagrelative tbis termencoding textwidth timeoutlen tm tr tty tw undofile vb vi visualbell wcm wi wildmenu winfixwidth wiw wrapmargin ww
|
||||||
syn keyword vimOption contained ambiwidth ari awa balloondelay bexpr bo browsedir casemap cfu cino cmp comments confirm cryptmethod cspc cul define diffopt ead
|
syn keyword vimOption contained ambiwidth ari awa balloondelay bexpr bo browsedir casemap cfu cino cmp comments confirm cryptmethod cspc cul define diffopt ead ek equalalways ex fdl fencs fileformats flp foldignore foldtext ft ghr guifont helpfile highlight hls
|
||||||
|
|
||||||
" vimOptions: These are the turn-off setting variants {{{2
|
" vimOptions: These are the turn-off setting variants {{{2
|
||||||
syn keyword vimOption contained noacd noallowrevins noantialias noarabic noarshape noautoread noaw noballooneval nobinary nobomb nobuflisted nocin noconfirm nocrb nocscopeverbose nocsverb nocursorbind nodeco nodiff noeb noek noendofline noerrorbells noex nofen nofixendofline nofkmap nofsync noguipty nohk nohkp noic noim noimd noinf nois nolangnoremap nolazyredraw nolinebreak nolist noloadplugins nolrm noma nomagic noml nomodeline nomodified nomousef nomousehide nonumber noopendevice nopi nopreviewwindow nopvw norelativenumber norestorescreen nori norl noro noru nosb noscb noscs nosft noshelltemp noshortname noshowfulltag noshowmode nosm nosmartindent nosmd nosol nosplitbelow nospr nossl nostartofline noswapfile nota notagrelative notbi notbs noterse notextmode notgst notimeout noto notr nottybuiltin notx noundofile novisualbell nowarn noweirdinvert nowfw nowildignorecase nowinfixheight nowiv nowrap nowrite nowritebackup
|
syn keyword vimOption contained noacd noallowrevins noantialias noarabic noarshape noautoread noaw noballooneval nobinary nobomb nobuflisted nocin noconfirm nocrb nocscopeverbose nocsverb nocursorbind nodeco nodiff noeb noek noendofline noerrorbells noex nofen nofixendofline nofkmap nofsync noguipty nohk nohkp noic noim noimd noinf nois nolangnoremap nolazyredraw nolinebreak nolist noloadplugins nolrm noma nomagic noml nomodeline nomodified nomousef nomousehide nonumber noopendevice nopi nopreviewwindow nopvw norelativenumber norestorescreen nori norl noro noru nosb noscb noscs nosft noshelltemp noshortname noshowfulltag noshowmode nosm nosmartindent nosmd nosol nosplitbelow nospr nossl nostartofline noswapfile nota notagrelative notbi notbs noterse notextmode notgst notimeout noto notr nottybuiltin notx noundofile novisualbell nowarn noweirdinvert nowfw nowildignorecase nowinfixheight nowiv nowrap nowrite nowritebackup
|
||||||
@@ -49,15 +49,15 @@ syn keyword vimOption contained invai invaltkeymap invar invarabicshape invautoc
|
|||||||
syn keyword vimOption contained invakm invanti invarab invari invautoindent invautowriteall invbackup invbin invbl invbri invci invcompatible invcp invcscopetag invcst invcul invcursorline invdg invea invedcompatible invemoji invequalalways invet invexrc invfileignorecase invfk invfs invgdefault invhidden invhkmapp invhlsearch invignorecase invimcmdline invincsearch invinsertmode invjs
|
syn keyword vimOption contained invakm invanti invarab invari invautoindent invautowriteall invbackup invbin invbl invbri invci invcompatible invcp invcscopetag invcst invcul invcursorline invdg invea invedcompatible invemoji invequalalways invet invexrc invfileignorecase invfk invfs invgdefault invhidden invhkmapp invhlsearch invignorecase invimcmdline invincsearch invinsertmode invjs
|
||||||
|
|
||||||
" termcap codes (which can also be set) {{{2
|
" termcap codes (which can also be set) {{{2
|
||||||
syn keyword vimOption contained t_8b t_AB t_AL t_CV t_Co t_DL t_F1 t_F3 t_F5 t_F7 t_F9 t_IS t_K1 t_K3 t_K4 t_K5 t_K6 t_K7 t_K8 t_K9 t_KA t_KB t_KC t_KD t_KE t_KF t_KG t_KH t_KI t_KJ t_KK t_KL t_RB t_RI t_RV t_SI t_SR t_Sb t_Sf t_WP t_WS t_ZH t_ZR t_al t_bc t_cd t_ce t_cl t_cm t_cs t_da t_db t_dl t_fs t_k1 t_k2 t_k3 t_k4 t_k5 t_k6 t_k7 t_k8 t_k9 t_kB t_kD t_kI t_kN t_kP t_kb t_kd t_ke t_kh t_kl t_kr t_ks t_ku t_le t_mb t_md t_me t_mr t_ms t_nd t_op t_se t_so t_sr t_te t_ti t_ts t_u7 t_ue t_us t_ut t_vb t_ve t_vi t_vs t_xn t_xs
|
syn keyword vimOption contained t_8b t_AB t_al t_bc t_BE t_ce t_cl t_Co t_Cs t_CV t_db t_DL t_EI t_F2 t_F4 t_F6 t_F8 t_fs t_IE t_k1 t_k2 t_K3 t_K4 t_K5 t_K6 t_K7 t_k8 t_K8 t_k9 t_K9 t_KA t_kb t_kB t_KB t_KC t_kd t_kD t_KD t_ke t_KE t_KF t_KG t_kh t_KH t_kI t_KI t_KJ t_KK t_kl t_KL t_kN t_kP t_kr t_ks t_ku t_le t_mb t_md t_me t_mr t_ms t_nd t_op t_PE t_PS t_RB t_RC t_RF t_RI t_RS t_RV t_Sb t_SC t_se t_Sf t_SH t_SI t_so t_sr t_SR t_te t_Te t_ti t_ts t_Ts t_u7 t_ue t_us t_ut t_vb t_ve t_vi t_vs t_VS t_WP t_WS t_xn t_xs t_ZH t_ZR
|
||||||
syn keyword vimOption contained t_8f t_AF t_CS t_Ce t_Cs t_EI t_F2 t_F4 t_F6 t_F8 t_IE
|
syn keyword vimOption contained t_8f t_AF t_AL t_BD t_cd t_Ce t_cm t_cs t_CS t_da t_dl t_EC t_F1 t_F3 t_F5 t_F7 t_F9 t_GP t_IS t_K1 t_k3 t_k4 t_k5 t_k6 t_k7
|
||||||
|
syn match vimOption contained "t_%1"
|
||||||
syn match vimOption contained "t_#2"
|
syn match vimOption contained "t_#2"
|
||||||
syn match vimOption contained "t_#4"
|
syn match vimOption contained "t_#4"
|
||||||
syn match vimOption contained "t_%1"
|
|
||||||
syn match vimOption contained "t_%i"
|
|
||||||
syn match vimOption contained "t_&8"
|
|
||||||
syn match vimOption contained "t_*7"
|
|
||||||
syn match vimOption contained "t_@7"
|
syn match vimOption contained "t_@7"
|
||||||
|
syn match vimOption contained "t_*7"
|
||||||
|
syn match vimOption contained "t_&8"
|
||||||
|
syn match vimOption contained "t_%i"
|
||||||
syn match vimOption contained "t_k;"
|
syn match vimOption contained "t_k;"
|
||||||
|
|
||||||
" unsupported settings: some were supported by vi but don't do anything in vim {{{2
|
" unsupported settings: some were supported by vi but don't do anything in vim {{{2
|
||||||
@@ -66,21 +66,21 @@ syn keyword vimErrSetting contained bioskey biosk conskey consk autoprint beauti
|
|||||||
|
|
||||||
" AutoCmd Events {{{2
|
" AutoCmd Events {{{2
|
||||||
syn case ignore
|
syn case ignore
|
||||||
syn keyword vimAutoEvent contained BufAdd BufCreate BufDelete BufEnter BufFilePost BufFilePre BufHidden BufLeave BufNew BufNewFile BufRead BufReadCmd BufReadPost BufReadPre BufUnload BufWinEnter BufWinLeave BufWipeout BufWrite BufWriteCmd BufWritePost BufWritePre CmdUndefined CmdwinEnter CmdwinLeave ColorScheme CompleteDone CursorHold CursorHoldI CursorMoved CursorMovedI EncodingChanged FileAppendCmd FileAppendPost FileAppendPre FileChangedRO FileChangedShell FileChangedShellPost FileEncoding FileReadCmd FileReadPost FileReadPre FileType FileWriteCmd FileWritePost FileWritePre FilterReadPost FilterReadPre FilterWritePost FilterWritePre FocusGained FocusLost FuncUndefined GUIEnter GUIFailed InsertChange InsertCharPre InsertEnter InsertLeave MenuPopup OptionSet QuickFixCmdPost QuickFixCmdPre QuitPre RemoteReply SessionLoadPost ShellCmdPost ShellFilterPost SourceCmd SourcePre SpellFileMissing StdinReadPost StdinReadPre SwapExists Syntax TabClosed TabEnter TabLeave TabNew TermChanged TermResponse TextChanged TextChangedI User VimEnter VimLeave VimLeavePre VimResized WinEnter WinLeave WinNew
|
syn keyword vimAutoEvent contained BufAdd BufCreate BufDelete BufEnter BufFilePost BufFilePre BufHidden BufLeave BufNew BufNewFile BufRead BufReadCmd BufReadPost BufReadPre BufUnload BufWinEnter BufWinLeave BufWipeout BufWrite BufWriteCmd BufWritePost BufWritePre CmdlineEnter CmdlineLeave CmdUndefined CmdwinEnter CmdwinLeave ColorScheme CompleteDone CursorHold CursorHoldI CursorMoved CursorMovedI EncodingChanged FileAppendCmd FileAppendPost FileAppendPre FileChangedRO FileChangedShell FileChangedShellPost FileEncoding FileReadCmd FileReadPost FileReadPre FileType FileWriteCmd FileWritePost FileWritePre FilterReadPost FilterReadPre FilterWritePost FilterWritePre FocusGained FocusLost FuncUndefined GUIEnter GUIFailed InsertChange InsertCharPre InsertEnter InsertLeave MenuPopup OptionSet QuickFixCmdPost QuickFixCmdPre QuitPre RemoteReply SessionLoadPost ShellCmdPost ShellFilterPost SourceCmd SourcePre SpellFileMissing StdinReadPost StdinReadPre SwapExists Syntax TabClosed TabEnter TabLeave TabNew TermChanged TermResponse TextChanged TextChangedI User VimEnter VimLeave VimLeavePre VimResized WinEnter WinLeave WinNew
|
||||||
|
|
||||||
" Highlight commonly used Groupnames {{{2
|
" Highlight commonly used Groupnames {{{2
|
||||||
syn keyword vimGroup contained Comment Constant String Character Number Boolean Float Identifier Function Statement Conditional Repeat Label Operator Keyword Exception PreProc Include Define Macro PreCondit Type StorageClass Structure Typedef Special SpecialChar Tag Delimiter SpecialComment Debug Underlined Ignore Error Todo
|
syn keyword vimGroup contained Comment Constant String Character Number Boolean Float Identifier Function Statement Conditional Repeat Label Operator Keyword Exception PreProc Include Define Macro PreCondit Type StorageClass Structure Typedef Special SpecialChar Tag Delimiter SpecialComment Debug Underlined Ignore Error Todo
|
||||||
|
|
||||||
" Default highlighting groups {{{2
|
" Default highlighting groups {{{2
|
||||||
syn keyword vimHLGroup contained ColorColumn Cursor CursorColumn CursorIM CursorLine CursorLineNr DiffAdd DiffChange DiffDelete DiffText Directory EndOfBuffer ErrorMsg FoldColumn Folded IncSearch LineNr MatchParen Menu ModeMsg MoreMsg NonText Normal Pmenu PmenuSbar PmenuSel PmenuThumb Question Scrollbar Search SignColumn SpecialKey SpellBad SpellCap SpellLocal SpellRare StatusLine StatusLineNC TabLine TabLineFill TabLineSel Title Tooltip VertSplit Visual VisualNOS WarningMsg WildMenu
|
syn keyword vimHLGroup contained ColorColumn Cursor CursorColumn CursorIM CursorLine CursorLineNr DiffAdd DiffChange DiffDelete DiffText Directory EndOfBuffer ErrorMsg FoldColumn Folded IncSearch LineNr MatchParen Menu ModeMsg MoreMsg NonText Normal Pmenu PmenuSbar PmenuSel PmenuThumb Question QuickFixLine Scrollbar Search SignColumn SpecialKey SpellBad SpellCap SpellLocal SpellRare StatusLine StatusLineNC TabLine TabLineFill TabLineSel Title Tooltip VertSplit Visual VisualNOS WarningMsg WildMenu
|
||||||
syn match vimHLGroup contained "Conceal"
|
syn match vimHLGroup contained "Conceal"
|
||||||
syn case match
|
syn case match
|
||||||
|
|
||||||
" Function Names {{{2
|
" Function Names {{{2
|
||||||
syn keyword vimFuncName contained abs append argv assert_fails assert_notequal atan2 buflisted bufwinid byteidxcomp ch_close_in ch_getjob ch_open ch_sendraw char2nr complete copy cscope_connection did_filetype escape execute expand filewritable float2nr fnamemodify foldtext function getbufline getcharsearch getcmdwintype getfontname getftype getpid getregtype getwininfo glob has_key histdel hlexists index inputrestore invert items job_start js_decode json_encode libcall line2byte log map match matcharg matchlist max mode nr2char perleval printf pyeval reltime remote_expr remote_read rename reverse screenchar search searchpairpos serverlist setcmdpos setloclist setqflist settabwinvar shellescape sin soundfold split str2nr strdisplaywidth stridx strpart strwidth synID synconcealed systemlist tabpagewinnr tan test_alloc_fail test_garbagecollect_now test_null_job test_null_string timer_pause timer_stopall tr undofile values wildmenumode win_gotoid winbufnr winline winrestview wordcount
|
syn keyword vimFuncName contained abs append argv assert_fails assert_notequal atan browsedir bufname byte2line ceil ch_close ch_getbufnr ch_logfile ch_sendexpr cindent complete_add cos cursor diff_filler eval exepath extend filter floor foldclosed foldtextresult garbagecollect getbufvar getcmdline getcompletion getfperm getline getpos gettabinfo getwinposx glob2regpat haslocaldir histget hostname input inputsave isdirectory job_getchannel job_status js_encode len line2byte log10 mapcheck matcharg matchstr mkdir nr2char pow py3eval readfile remote_expr remote_send repeat screenattr search searchpos setbufvar setline setqflist setwinvar simplify soundfold sqrt strcharpart strftime string strridx submatch synID synstack tabpagebuflist tagfiles tanh term_getattr term_getline term_getstatus term_gettty term_sendkeys term_wait test_feedinput test_null_channel test_null_list test_override timer_pause timer_stopall tr undofile values wildmenumode win_findbuf winheight winline winrestview wordcount
|
||||||
syn keyword vimFuncName contained acos argc asin assert_false assert_notmatch browse bufloaded bufwinnr call ch_evalexpr ch_info ch_read ch_setoptions cindent complete_add cos cursor diff_filler eval exepath extend filter floor foldclosed foldtextresult garbagecollect getbufvar getcmdline getcompletion getfperm getline getpos gettabinfo getwinposx glob2regpat haslocaldir histget hostname input inputsave isdirectory job_getchannel job_status js_encode keys libcallnr lispindent log10 maparg matchadd matchdelete matchstr min mzeval or pow pumvisible range reltimefloat remote_foreground remote_send repeat round screencol searchdecl searchpos setbufline setbufvar setfperm setmatches setreg setwinvar shiftwidth sinh spellbadword sqrt strcharpart strftime string strridx submatch synIDattr synstack tabpagebuflist tagfiles tanh test_autochdir test_null_channel test_null_list test_settime timer_start tolower trunc undotree virtcol win_findbuf win_id2tabwin wincol winnr winsaveview writefile
|
syn keyword vimFuncName contained acos argc asin assert_false assert_notmatch atan2 bufexists bufnr byteidx changenr ch_close_in ch_getjob ch_open ch_sendraw clearmatches complete_check cosh deepcopy diff_hlID eventhandler exists feedkeys finddir fmod foldclosedend foreground get getchar getcmdpos getcurpos getfsize getloclist getqflist gettabvar getwinposy globpath hasmapto histnr iconv inputdialog inputsecret islocked job_info job_stop json_decode libcall lispindent luaeval match matchdelete matchstrpos mode or prevnonblank pyeval reltime remote_foreground remote_startserver resolve screenchar searchdecl server2client setcharsearch setloclist setreg sha256 sin spellbadword str2float strchars strgetchar strlen strtrans substitute synIDattr system tabpagenr taglist tempname term_getcursor term_getscrolled term_gettitle term_list term_setsize test_alloc_fail test_garbagecollect_now test_null_dict test_null_partial test_settime timer_start tolower trunc undotree virtcol winbufnr win_getid win_id2tabwin winnr winsaveview writefile
|
||||||
syn keyword vimFuncName contained add argidx assert_equal assert_inrange assert_true browsedir bufname byte2line ceil ch_evalraw ch_log ch_readraw ch_status clearmatches complete_check cosh deepcopy diff_hlID eventhandler exists feedkeys finddir fmod foldclosedend foreground get getchar getcmdpos getcurpos getfsize getloclist getqflist gettabvar getwinposy globpath hasmapto histnr iconv inputdialog inputsecret islocked job_info job_stop json_decode len line localtime luaeval mapcheck matchaddpos matchend matchstrpos mkdir nextnonblank pathshorten prevnonblank py3eval readfile reltimestr remote_peek remove resolve screenattr screenrow searchpair server2client setcharsearch setline setpos settabvar sha256 simplify sort spellsuggest str2float strchars strgetchar strlen strtrans substitute synIDtrans system tabpagenr taglist tempname test_disable_char_avail test_null_dict test_null_partial timer_info timer_stop toupper type uniq visualmode win_getid win_id2win winheight winrestcmd winwidth xor
|
syn keyword vimFuncName contained add argidx assert_equal assert_inrange assert_report balloon_show buflisted bufwinid byteidxcomp char2nr ch_evalexpr ch_info ch_read ch_setoptions col confirm count delete empty executable exp filereadable findfile fnameescape foldlevel funcref getbufinfo getcharmod getcmdtype getcwd getftime getmatches getreg gettabwinvar getwinvar has histadd hlexists indent inputlist insert isnan job_setoptions join json_encode libcallnr localtime map matchadd matchend max mzeval pathshorten printf pyxeval reltimefloat remote_peek remove reverse screencol searchpair serverlist setcmdpos setmatches settabvar shellescape sinh spellsuggest str2nr strdisplaywidth stridx strpart strwidth synconcealed synIDtrans systemlist tabpagewinnr tan term_getaltscreen term_getjob term_getsize term_getttty term_scrape term_start test_autochdir test_ignore_error test_null_job test_null_string timer_info timer_stop toupper type uniq visualmode wincol win_gotoid win_id2win winrestcmd winwidth xor
|
||||||
syn keyword vimFuncName contained and arglistid assert_exception assert_match atan bufexists bufnr byteidx ch_close ch_getbufnr ch_logfile ch_sendexpr changenr col confirm count delete empty executable exp filereadable findfile fnameescape foldlevel funcref getbufinfo getcharmod getcmdtype getcwd getftime getmatches getreg gettabwinvar getwinvar has histadd hlID indent inputlist insert isnan job_setoptions join
|
syn keyword vimFuncName contained and arglistid assert_exception assert_match assert_true browse bufloaded bufwinnr call ch_canread ch_evalraw ch_log ch_readraw ch_status complete copy cscope_connection did_filetype escape execute expand filewritable float2nr fnamemodify foldtext function getbufline getcharsearch getcmdwintype getfontname getftype getpid getregtype getwininfo glob has_key histdel hlID index inputrestore invert items job_start js_decode keys line log maparg matchaddpos matchlist min nextnonblank perleval pumvisible range reltimestr remote_read rename round screenrow searchpairpos setbufline setfperm setpos settabwinvar shiftwidth sort split
|
||||||
|
|
||||||
"--- syntax here and above generated by mkvimvim ---
|
"--- syntax here and above generated by mkvimvim ---
|
||||||
" Special Vim Highlighting (not automatic) {{{1
|
" Special Vim Highlighting (not automatic) {{{1
|
||||||
@@ -164,7 +164,6 @@ endif
|
|||||||
syn match vimNumber "\<\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=" skipwhite nextgroup=vimGlobal,vimSubst,vimCommand
|
syn match vimNumber "\<\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=" skipwhite nextgroup=vimGlobal,vimSubst,vimCommand
|
||||||
syn match vimNumber "-\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=" skipwhite nextgroup=vimGlobal,vimSubst,vimCommand
|
syn match vimNumber "-\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=" skipwhite nextgroup=vimGlobal,vimSubst,vimCommand
|
||||||
syn match vimNumber "\<0[xX]\x\+"
|
syn match vimNumber "\<0[xX]\x\+"
|
||||||
syn match vimNumber "\<0[bB][01]\+"
|
|
||||||
syn match vimNumber "\%(^\|[^a-zA-Z]\)\zs#\x\{6}"
|
syn match vimNumber "\%(^\|[^a-zA-Z]\)\zs#\x\{6}"
|
||||||
|
|
||||||
" All vimCommands are contained by vimIsCommands. {{{2
|
" All vimCommands are contained by vimIsCommands. {{{2
|
||||||
@@ -299,8 +298,8 @@ syn region vimPatSepZone oneline contained matchgroup=vimPatSepZ start="\\%\
|
|||||||
syn region vimPatRegion contained transparent matchgroup=vimPatSepR start="\\[z%]\=(" end="\\)" contains=@vimSubstList oneline
|
syn region vimPatRegion contained transparent matchgroup=vimPatSepR start="\\[z%]\=(" end="\\)" contains=@vimSubstList oneline
|
||||||
syn match vimNotPatSep contained "\\\\"
|
syn match vimNotPatSep contained "\\\\"
|
||||||
syn cluster vimStringGroup contains=vimEscapeBrace,vimPatSep,vimNotPatSep,vimPatSepErr,vimPatSepZone,@Spell
|
syn cluster vimStringGroup contains=vimEscapeBrace,vimPatSep,vimNotPatSep,vimPatSepErr,vimPatSepZone,@Spell
|
||||||
syn region vimString oneline keepend start=+[^:a-zA-Z>!\\@]"+lc=1 skip=+\\\\\|\\"+ end=+"+ contains=@vimStringGroup
|
syn region vimString oneline keepend start=+[^a-zA-Z>!\\@]"+lc=1 skip=+\\\\\|\\"+ end=+"+ contains=@vimStringGroup
|
||||||
syn region vimString oneline keepend start=+[^:a-zA-Z>!\\@]'+lc=1 end=+'+
|
syn region vimString oneline keepend start=+[^a-zA-Z>!\\@]'+lc=1 end=+'+
|
||||||
syn region vimString oneline start=+=!+lc=1 skip=+\\\\\|\\!+ end=+!+ contains=@vimStringGroup
|
syn region vimString oneline start=+=!+lc=1 skip=+\\\\\|\\!+ end=+!+ contains=@vimStringGroup
|
||||||
syn region vimString oneline start="=+"lc=1 skip="\\\\\|\\+" end="+" contains=@vimStringGroup
|
syn region vimString oneline start="=+"lc=1 skip="\\\\\|\\+" end="+" contains=@vimStringGroup
|
||||||
syn region vimString oneline start="\s/\s*\A"lc=1 skip="\\\\\|\\+" end="/" contains=@vimStringGroup
|
syn region vimString oneline start="\s/\s*\A"lc=1 skip="\\\\\|\\+" end="/" contains=@vimStringGroup
|
||||||
@@ -560,7 +559,7 @@ syn match vimHiBang contained "!" skipwhite nextgroup=@vimHighlightCluster
|
|||||||
|
|
||||||
syn match vimHiGroup contained "\i\+"
|
syn match vimHiGroup contained "\i\+"
|
||||||
syn case ignore
|
syn case ignore
|
||||||
syn keyword vimHiAttrib contained none bold inverse italic reverse standout underline undercurl nocombine
|
syn keyword vimHiAttrib contained none bold inverse italic reverse standout underline undercurl
|
||||||
syn keyword vimFgBgAttrib contained none bg background fg foreground
|
syn keyword vimFgBgAttrib contained none bg background fg foreground
|
||||||
syn case match
|
syn case match
|
||||||
syn match vimHiAttribList contained "\i\+" contains=vimHiAttrib
|
syn match vimHiAttribList contained "\i\+" contains=vimHiAttrib
|
||||||
|
|||||||
1009
runtime/tutor/tutor.lv
Normal file
1009
runtime/tutor/tutor.lv
Normal file
File diff suppressed because it is too large
Load Diff
@@ -455,8 +455,8 @@ de Inser
|
|||||||
|
|
||||||
4. Mova o cursor at<61> o primeiro erro.
|
4. Mova o cursor at<61> o primeiro erro.
|
||||||
|
|
||||||
5. Digite c$ para tornar o resto da linha igual <20> segunda e pressione
|
5. Digite c$ e digite o resto da segunda para torn<72>-las iguais e
|
||||||
<ESC>.
|
pressione <ESC>.
|
||||||
|
|
||||||
---> O fim desta linha precisa de ajuda para ficar igual <20> segunda.
|
---> O fim desta linha precisa de ajuda para ficar igual <20> segunda.
|
||||||
---> O fim desta linha precisa ser corrigido usando o comando c$.
|
---> O fim desta linha precisa ser corrigido usando o comando c$.
|
||||||
|
|||||||
@@ -455,8 +455,8 @@ de Inserção.
|
|||||||
|
|
||||||
4. Mova o cursor até o primeiro erro.
|
4. Mova o cursor até o primeiro erro.
|
||||||
|
|
||||||
5. Digite c$ para tornar o resto da linha igual à segunda e pressione
|
5. Digite c$ e digite o resto da segunda linha para torná-las iguais e
|
||||||
<ESC>.
|
pressione <ESC>.
|
||||||
|
|
||||||
---> O fim desta linha precisa de ajuda para ficar igual à segunda.
|
---> O fim desta linha precisa de ajuda para ficar igual à segunda.
|
||||||
---> O fim desta linha precisa ser corrigido usando o comando c$.
|
---> O fim desta linha precisa ser corrigido usando o comando c$.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" An example for a vimrc file.
|
" An example for a vimrc file.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last change: 2016 Jul 28
|
" Last change: 2017 Sep 20
|
||||||
"
|
"
|
||||||
" To use it, copy it to
|
" To use it, copy it to
|
||||||
" for Unix and OS/2: ~/.vimrc
|
" for Unix and OS/2: ~/.vimrc
|
||||||
@@ -53,6 +53,8 @@ endif " has("autocmd")
|
|||||||
"
|
"
|
||||||
" The matchit plugin makes the % command work better, but it is not backwards
|
" The matchit plugin makes the % command work better, but it is not backwards
|
||||||
" compatible.
|
" compatible.
|
||||||
|
" The ! means the package won't be loaded right away but when plugins are
|
||||||
|
" loaded during initialization.
|
||||||
if has('syntax') && has('eval')
|
if has('syntax') && has('eval')
|
||||||
packadd matchit
|
packadd! matchit
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -51,14 +51,17 @@ olelibsdll = ole32.lib uuid.lib oleaut32.lib user32.lib gdi32.lib advapi32.lib
|
|||||||
# include CPUARG
|
# include CPUARG
|
||||||
cflags = $(cflags) $(CPUARG)
|
cflags = $(cflags) $(CPUARG)
|
||||||
|
|
||||||
|
SUBSYSTEM = console
|
||||||
|
!if "$(SUBSYSTEM_VER)" != ""
|
||||||
|
SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER)
|
||||||
|
!endif
|
||||||
|
|
||||||
all: gvimext.dll
|
all: gvimext.dll
|
||||||
|
|
||||||
gvimext.dll: gvimext.obj \
|
gvimext.dll: gvimext.obj \
|
||||||
gvimext.res
|
gvimext.res
|
||||||
# $(implib) /NOLOGO -machine:$(CPU) -def:gvimext.def $** -out:gvimext.lib
|
$(link) $(lflags) -dll -def:gvimext.def -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib comctl32.lib -subsystem:$(SUBSYSTEM)
|
||||||
# $(link) $(dlllflags) -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib gvimext.lib comctl32.lib gvimext.exp
|
if exist $*.dll.manifest mt -nologo -manifest $*.dll.manifest -outputresource:$*.dll;2
|
||||||
$(link) $(lflags) -dll -def:gvimext.def -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib comctl32.lib
|
|
||||||
if exist $*.dll.manifest mt -nologo -manifest $*.dll.manifest -outputresource:$*.dll;2
|
|
||||||
|
|
||||||
gvimext.obj: gvimext.h
|
gvimext.obj: gvimext.h
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ STGMEDIUM medium;
|
|||||||
HRESULT hres = 0;
|
HRESULT hres = 0;
|
||||||
UINT cbFiles = 0;
|
UINT cbFiles = 0;
|
||||||
|
|
||||||
/* The buffers size used to be MAX_PATH (256 bytes), but that's not always
|
/* The buffers size used to be MAX_PATH (260 bytes), but that's not always
|
||||||
* enough */
|
* enough */
|
||||||
#define BUFSIZE 1100
|
#define BUFSIZE 1100
|
||||||
|
|
||||||
@@ -203,7 +203,7 @@ dyn_libintl_init(char *dir)
|
|||||||
if (hLibintlDLL)
|
if (hLibintlDLL)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
// Load gettext library from the Vim runtime directory.
|
// Load gettext library from $VIMRUNTIME\GvimExt{64,32} directory.
|
||||||
// Add the directory to $PATH temporarily.
|
// Add the directory to $PATH temporarily.
|
||||||
len = GetEnvironmentVariableW(L"PATH", NULL, 0);
|
len = GetEnvironmentVariableW(L"PATH", NULL, 0);
|
||||||
len2 = MAX_PATH + 1 + len;
|
len2 = MAX_PATH + 1 + len;
|
||||||
@@ -212,7 +212,11 @@ dyn_libintl_init(char *dir)
|
|||||||
if (buf != NULL && buf2 != NULL)
|
if (buf != NULL && buf2 != NULL)
|
||||||
{
|
{
|
||||||
GetEnvironmentVariableW(L"PATH", buf, len);
|
GetEnvironmentVariableW(L"PATH", buf, len);
|
||||||
_snwprintf(buf2, len2, L"%S;%s", dir, buf);
|
#ifdef _WIN64
|
||||||
|
_snwprintf(buf2, len2, L"%S\\GvimExt64;%s", dir, buf);
|
||||||
|
#else
|
||||||
|
_snwprintf(buf2, len2, L"%S\\GvimExt32;%s", dir, buf);
|
||||||
|
#endif
|
||||||
SetEnvironmentVariableW(L"PATH", buf2);
|
SetEnvironmentVariableW(L"PATH", buf2);
|
||||||
hLibintlDLL = LoadLibrary(GETTEXT_DLL);
|
hLibintlDLL = LoadLibrary(GETTEXT_DLL);
|
||||||
#ifdef GETTEXT_DLL_ALT
|
#ifdef GETTEXT_DLL_ALT
|
||||||
@@ -883,37 +887,7 @@ BOOL CShellExt::LoadMenuIcon()
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifndef __BORLANDC__
|
||||||
// This symbol is not defined in older versions of the SDK or Visual C++.
|
|
||||||
|
|
||||||
#ifndef VER_PLATFORM_WIN32_WINDOWS
|
|
||||||
# define VER_PLATFORM_WIN32_WINDOWS 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static DWORD g_PlatformId;
|
|
||||||
|
|
||||||
//
|
|
||||||
// Set g_PlatformId to VER_PLATFORM_WIN32_NT (NT) or
|
|
||||||
// VER_PLATFORM_WIN32_WINDOWS (Win95).
|
|
||||||
//
|
|
||||||
static void
|
|
||||||
PlatformId(void)
|
|
||||||
{
|
|
||||||
static int done = FALSE;
|
|
||||||
|
|
||||||
if (!done)
|
|
||||||
{
|
|
||||||
OSVERSIONINFO ovi;
|
|
||||||
|
|
||||||
ovi.dwOSVersionInfoSize = sizeof(ovi);
|
|
||||||
GetVersionEx(&ovi);
|
|
||||||
|
|
||||||
g_PlatformId = ovi.dwPlatformId;
|
|
||||||
done = TRUE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# ifndef __BORLANDC__
|
|
||||||
static char *
|
static char *
|
||||||
searchpath(char *name)
|
searchpath(char *name)
|
||||||
{
|
{
|
||||||
@@ -922,28 +896,17 @@ searchpath(char *name)
|
|||||||
|
|
||||||
// There appears to be a bug in FindExecutableA() on Windows NT.
|
// There appears to be a bug in FindExecutableA() on Windows NT.
|
||||||
// Use FindExecutableW() instead...
|
// Use FindExecutableW() instead...
|
||||||
PlatformId();
|
MultiByteToWideChar(CP_ACP, 0, (LPCSTR)name, -1,
|
||||||
if (g_PlatformId == VER_PLATFORM_WIN32_NT)
|
(LPWSTR)widename, BUFSIZE);
|
||||||
|
if (FindExecutableW((LPCWSTR)widename, (LPCWSTR)"",
|
||||||
|
(LPWSTR)location) > (HINSTANCE)32)
|
||||||
{
|
{
|
||||||
MultiByteToWideChar(CP_ACP, 0, (LPCTSTR)name, -1,
|
WideCharToMultiByte(CP_ACP, 0, (LPWSTR)location, -1,
|
||||||
(LPWSTR)widename, BUFSIZE);
|
(LPSTR)widename, 2 * BUFSIZE, NULL, NULL);
|
||||||
if (FindExecutableW((LPCWSTR)widename, (LPCWSTR)"",
|
return widename;
|
||||||
(LPWSTR)location) > (HINSTANCE)32)
|
|
||||||
{
|
|
||||||
WideCharToMultiByte(CP_ACP, 0, (LPWSTR)location, -1,
|
|
||||||
(LPSTR)widename, 2 * BUFSIZE, NULL, NULL);
|
|
||||||
return widename;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (FindExecutableA((LPCTSTR)name, (LPCTSTR)"",
|
|
||||||
(LPTSTR)location) > (HINSTANCE)32)
|
|
||||||
return location;
|
|
||||||
}
|
}
|
||||||
return (char *)"";
|
return (char *)"";
|
||||||
}
|
}
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
STDMETHODIMP CShellExt::InvokeGvim(HWND hParent,
|
STDMETHODIMP CShellExt::InvokeGvim(HWND hParent,
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ INSTALLpc.txt - Installation of Vim on PC
|
|||||||
This file contains instructions for compiling Vim. If you already have an
|
This file contains instructions for compiling Vim. If you already have an
|
||||||
executable version of Vim, you don't need this.
|
executable version of Vim, you don't need this.
|
||||||
|
|
||||||
More information can be found here: (Very stale now.)
|
You can find the lastest here: https://github.com/vim/vim-win32-installer
|
||||||
|
This page also has links to install support for interfaces such as Perl,
|
||||||
http://mywebpage.netscape.com/sharppeople/vim/howto/
|
Python, Lua, etc.
|
||||||
|
|
||||||
The file "feature.h" can be edited to match your preferences. You can skip
|
The file "feature.h" can be edited to match your preferences. You can skip
|
||||||
this, then you will get the default behavior as is documented, which should
|
this, then you will get the default behavior as is documented, which should
|
||||||
@@ -15,6 +15,10 @@ This document assumes that you are building Vim for Win32 or later (Windows
|
|||||||
XP/2003/Vista/7/8/10). There are also instructions for pre-XP systems, but
|
XP/2003/Vista/7/8/10). There are also instructions for pre-XP systems, but
|
||||||
they might no longer work.
|
they might no longer work.
|
||||||
|
|
||||||
|
The recommended way is to build a 32 bit Vim, also on 64 bit systems. You can
|
||||||
|
build a 64 bit Vim if you like, the executable will be bigger and Vim won't be
|
||||||
|
any faster, but you can edit files larger than 2 Gbyte.
|
||||||
|
|
||||||
|
|
||||||
Contents:
|
Contents:
|
||||||
1. Microsoft Visual C++
|
1. Microsoft Visual C++
|
||||||
@@ -24,7 +28,7 @@ Contents:
|
|||||||
5. Cross compiling for Win32 from a Linux machine
|
5. Cross compiling for Win32 from a Linux machine
|
||||||
6. Building with Python support
|
6. Building with Python support
|
||||||
7. Building with Python3 support
|
7. Building with Python3 support
|
||||||
8. Building with MzScheme/Racket support
|
8. Building with Racket or MzScheme support
|
||||||
9. Building with Lua support
|
9. Building with Lua support
|
||||||
10. Building with Perl support
|
10. Building with Perl support
|
||||||
11. Building with Ruby support
|
11. Building with Ruby support
|
||||||
@@ -36,13 +40,24 @@ Contents:
|
|||||||
16. Installing after building from sources
|
16. Installing after building from sources
|
||||||
|
|
||||||
|
|
||||||
The currently preferred method is using the free Visual C++ Toolkit 2008
|
The currently recommended way (that means it has been verified to work) is
|
||||||
|msvc-2008-express|, the produced binary runs on most MS-Windows systems.
|
using the "Visual Studio Community 2015" installation. This includes the SDK
|
||||||
|
needed to target Windows XP. But not older Windows versions (95, 98), see
|
||||||
|
|msvc-2008-express| below for that
|
||||||
|
|
||||||
|
|
||||||
1. Microsoft Visual C++
|
1. Microsoft Visual C++
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
|
We do not provide download links, since Microsoft keeps changing them. You
|
||||||
|
can search for "Visual Studio Community 2015", for example. You will need to
|
||||||
|
create a Microsoft account (it's free).
|
||||||
|
|
||||||
|
When installing "Visual Studio Community 2015 with Update 3" make sure to
|
||||||
|
select "custom" and check "Windows XP Support for C++" and all checkboxes
|
||||||
|
under "Universal Windows App Development Tools"
|
||||||
|
|
||||||
|
|
||||||
Visual Studio
|
Visual Studio
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
@@ -50,9 +65,8 @@ Building with Visual Studio (VS 98, VS .NET, VS .NET 2003, VS 2005, VS 2008,
|
|||||||
VS2010, VS2012, VS2013 and VS2015) is straightforward. (These instructions
|
VS2010, VS2012, VS2013 and VS2015) is straightforward. (These instructions
|
||||||
should also work for VS 4 and VS 5.)
|
should also work for VS 4 and VS 5.)
|
||||||
|
|
||||||
Using VS C++ 2008 Express is recommended, the binaries built with that run on
|
Using VS C++ 2008 Express is recommended if you need the binary to run on
|
||||||
nearly all platforms. Binaries from later versions may not run on Windows 95
|
Windows 95 or 97, see |msvc-2008-express| below.
|
||||||
or XP.
|
|
||||||
|
|
||||||
To build Vim from the command line with MSVC, use Make_mvc.mak.
|
To build Vim from the command line with MSVC, use Make_mvc.mak.
|
||||||
Visual Studio installed a batch file called vcvars32.bat, which you must
|
Visual Studio installed a batch file called vcvars32.bat, which you must
|
||||||
@@ -117,8 +131,8 @@ To set the environment execute the msvc2010.bat script. You can then build
|
|||||||
Vim with Make_mvc.mak.
|
Vim with Make_mvc.mak.
|
||||||
|
|
||||||
|
|
||||||
Targeting Windows XP with new MSVC *new-msvc-windows-xp*
|
Targeting Windows XP with MSVC 2012 and later *new-msvc-windows-xp*
|
||||||
----------------------------------
|
---------------------------------------------
|
||||||
|
|
||||||
Beginning with Visual C++ 2012, Microsoft changed the behavior of LINK.EXE
|
Beginning with Visual C++ 2012, Microsoft changed the behavior of LINK.EXE
|
||||||
so that it targets Windows 6.0 (Vista) by default. In order to override
|
so that it targets Windows 6.0 (Vista) by default. In order to override
|
||||||
@@ -127,16 +141,28 @@ follows:
|
|||||||
LINK ... /subsystem:console,5.01
|
LINK ... /subsystem:console,5.01
|
||||||
|
|
||||||
Make_mvc.mak now supports a macro SUBSYSTEM_VER to pass the Windows version.
|
Make_mvc.mak now supports a macro SUBSYSTEM_VER to pass the Windows version.
|
||||||
Use lines like follows to target Windows XP (assuming using Visual C++ 2012
|
Use lines like follows to target Windows XP x86 (assuming using Visual C++
|
||||||
under 64-bit Windows):
|
2012 under 64-bit Windows):
|
||||||
set WinSdk71=%ProgramFiles(x86)%\Microsoft SDKs\Windows\v7.1A
|
set WinSdk71=%ProgramFiles(x86)%\Microsoft SDKs\Windows\v7.1A
|
||||||
set SDK_INCLUDE_DIR=%WinSdk71%\Include
|
|
||||||
set INCLUDE=%WinSdk71%\Include;%INCLUDE%
|
set INCLUDE=%WinSdk71%\Include;%INCLUDE%
|
||||||
set LIB=%WinSdk71%\Lib;%LIB%
|
set LIB=%WinSdk71%\Lib;%LIB%
|
||||||
set PATH=%WinSdk71%\Bin;%PATH%
|
|
||||||
set CL=/D_USING_V110_SDK71_
|
set CL=/D_USING_V110_SDK71_
|
||||||
nmake -f Make_mvc.mak ... WINVER=0x0501 SUBSYSTEM_VER=5.01
|
nmake -f Make_mvc.mak ... WINVER=0x0501 SUBSYSTEM_VER=5.01
|
||||||
|
|
||||||
|
To target Windows XP x64 instead of x86, you need to change the settings of
|
||||||
|
LIB and SUBSYSTEM_VER:
|
||||||
|
...
|
||||||
|
set LIB=%WinSdk71%\Lib\x64;%LIB%
|
||||||
|
...
|
||||||
|
nmake -f Make_mvc.mak ... WINVER=0x0501 SUBSYSTEM_VER=5.02
|
||||||
|
|
||||||
|
If you use Visual C++ 2015 (either Express or Community Edition), executing
|
||||||
|
msvc2015.bat will set them automatically. For x86 builds run this without
|
||||||
|
options:
|
||||||
|
msvc2015
|
||||||
|
For x64 builds run this with the "x86_amd64" option:
|
||||||
|
msvc2015 x86_amd64
|
||||||
|
|
||||||
The following Visual C++ team blog can serve as a reference page:
|
The following Visual C++ team blog can serve as a reference page:
|
||||||
http://blogs.msdn.com/b/vcblog/archive/2012/10/08/windows-xp-targeting-with-c-in-visual-studio-2012.aspx
|
http://blogs.msdn.com/b/vcblog/archive/2012/10/08/windows-xp-targeting-with-c-in-visual-studio-2012.aspx
|
||||||
|
|
||||||
@@ -188,10 +214,10 @@ Now you can build Vim with Make_mvc.mak.
|
|||||||
|
|
||||||
Getting the Windows Platform SDK *ms-platform-sdk*
|
Getting the Windows Platform SDK *ms-platform-sdk*
|
||||||
|
|
||||||
You will also need a copy of the Windows Platform SDK from
|
You will also need a copy of the Windows Platform SDK. Specifically, you need
|
||||||
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
|
the Windows Core SDK subset of the Platform SDK, which contains the Windows
|
||||||
Specifically, you need the Windows Core SDK subset of the Platform SDK,
|
headers and libraries. You need to search for it, Microsoft keeps changing
|
||||||
which contains the Windows headers and libraries.
|
the URL.
|
||||||
|
|
||||||
|
|
||||||
Getting the .NET Framework 1.1 Runtime *dotnet-1.1-redist*
|
Getting the .NET Framework 1.1 Runtime *dotnet-1.1-redist*
|
||||||
@@ -263,17 +289,11 @@ your AUTOEXEC.BAT file with a line like:
|
|||||||
|
|
||||||
or on NT/2000/XP, go to the Control Panel, (Performance and Maintenance),
|
or on NT/2000/XP, go to the Control Panel, (Performance and Maintenance),
|
||||||
System, Advanced, and edit the environment from there. If you use msys2
|
System, Advanced, and edit the environment from there. If you use msys2
|
||||||
compilers, set your installed paths:
|
compilers, set your installed paths (normally one of the following):
|
||||||
|
|
||||||
C:\msys2\mingw32\bin
|
C:\msys32\mingw32\bin (32-bit msys2, targeting 32-bit builds)
|
||||||
or
|
C:\msys64\mingw32\bin (64-bit msys2, targeting 32-bit builds)
|
||||||
C:\msys64\mingw32\bin
|
C:\msys64\mingw64\bin (64-bit msys2, targeting 64-bit builds)
|
||||||
|
|
||||||
for 32bit. And 64bit:
|
|
||||||
|
|
||||||
C:\msys2\mingw64\bin
|
|
||||||
or
|
|
||||||
C:\msys64\mingw64\bin
|
|
||||||
|
|
||||||
Test if gcc is on your path. From a CMD (or COMMAND on '95/98) window:
|
Test if gcc is on your path. From a CMD (or COMMAND on '95/98) window:
|
||||||
|
|
||||||
@@ -408,9 +428,9 @@ And if you use msys2 to build python support (as one line):
|
|||||||
DYNAMIC_PYTHON=yes
|
DYNAMIC_PYTHON=yes
|
||||||
PYTHON_VER=27
|
PYTHON_VER=27
|
||||||
DYNAMIC_PYTHON_DLL=libpython2.7.dll
|
DYNAMIC_PYTHON_DLL=libpython2.7.dll
|
||||||
ARCH=x86-64
|
|
||||||
STATIC_STDCPLUS=yes
|
STATIC_STDCPLUS=yes
|
||||||
|
|
||||||
|
(This is for 64-bit builds. For 32-bit builds, replace mingw64 with mingw32.)
|
||||||
You will end up with a Python-enabled, Win32 version. Enjoy!
|
You will end up with a Python-enabled, Win32 version. Enjoy!
|
||||||
|
|
||||||
|
|
||||||
@@ -432,10 +452,61 @@ E.g. When using MSVC (as one line):
|
|||||||
PYTHON3=C:\Python34 DYNAMIC_PYTHON3=yes PYTHON3_VER=34
|
PYTHON3=C:\Python34 DYNAMIC_PYTHON3=yes PYTHON3_VER=34
|
||||||
|
|
||||||
|
|
||||||
8. Building with MzScheme/Racket support
|
8. Building with Racket or MzScheme support
|
||||||
========================================
|
========================================
|
||||||
|
|
||||||
1) Building with MzScheme support
|
1) Building with Racket support (newest)
|
||||||
|
|
||||||
|
MzScheme and PLT Scheme names have been rebranded as Racket. Vim with Racket
|
||||||
|
support can be built with either MSVC or MinGW (or Cygwin).
|
||||||
|
Get it from https://download.racket-lang.org/
|
||||||
|
|
||||||
|
Copy lib/libracket{version}.dll to your Windows system directory. The system
|
||||||
|
directory depends on your Windows bitness and Vim bitness:
|
||||||
|
32-bit Vim on 32-bit Windows: C:\Windows\System32
|
||||||
|
32-bit Vim on 64-bit Windows: C:\Windows\SysWOW64
|
||||||
|
64-bit Vim on 64-bit Windows: C:\Windows\System32
|
||||||
|
|
||||||
|
For building you need to set the following variables:
|
||||||
|
|
||||||
|
MZSCHEME: Where Racket is installed.
|
||||||
|
E.g. C:\Program Files (x86)\Racket
|
||||||
|
DYNAMIC_MZSCHEME: Whether dynamic linking is used. Usually, set to yes.
|
||||||
|
MZSCHEME_VER: Racket DLL version which is used for the file name.
|
||||||
|
See below for a list of MZSCHEME_VER.
|
||||||
|
The DLL can be found under the lib directory. E.g.
|
||||||
|
C:\Program Files (x86)\Racket\lib\libracket3m_XXXXXX.dll
|
||||||
|
MZSCHEME_COLLECTS: (Optional) Path of the collects directory used at
|
||||||
|
runtime. Default: $(MZSCHEME)\collects
|
||||||
|
User can override this with the PLTCOLLECTS environment
|
||||||
|
variable.
|
||||||
|
|
||||||
|
List of MZSCHEME_VER (incomplete):
|
||||||
|
|
||||||
|
Racket ver. | MZSCHEME_VER
|
||||||
|
==========================
|
||||||
|
6.3 | 3m_9z0ds0
|
||||||
|
6.6 | 3m_a0solc
|
||||||
|
6.8 | 3m_a1zjsw
|
||||||
|
6.10 | 3m_a36fs8
|
||||||
|
|
||||||
|
|
||||||
|
E.g. When using MSVC (as one line):
|
||||||
|
|
||||||
|
nmake -f Make_mvc.mak
|
||||||
|
MZSCHEME="C:\Program Files (x86)\Racket" DYNAMIC_MZSCHEME=yes
|
||||||
|
MZSCHEME_VER=3m_9z0ds0
|
||||||
|
|
||||||
|
Or when using MinGW (as one line):
|
||||||
|
|
||||||
|
mingw32-make -f Make_ming.mak
|
||||||
|
MZSCHEME='C:/Program\ Files\ (x86)/Racket' DYNAMIC_MZSCHEME=yes
|
||||||
|
MZSCHEME_VER=3m_9z0ds0
|
||||||
|
|
||||||
|
Spaces should be escaped with '\'.
|
||||||
|
|
||||||
|
|
||||||
|
2) Building with MzScheme support (older)
|
||||||
|
|
||||||
(written by Sergey Khorev <sergey.khorev@gmail.com>)
|
(written by Sergey Khorev <sergey.khorev@gmail.com>)
|
||||||
|
|
||||||
@@ -470,40 +541,6 @@ After a successful build, these dlls can be freely removed, leaving them in
|
|||||||
%WINDOWS%\System32 only.
|
%WINDOWS%\System32 only.
|
||||||
|
|
||||||
|
|
||||||
2) Building with Racket support
|
|
||||||
|
|
||||||
MzScheme and PLT Scheme names have been rebranded as Racket. Vim with Racket
|
|
||||||
(https://racket-lang.org/) support can be built with either MSVC or MinGW (or
|
|
||||||
Cygwin).
|
|
||||||
|
|
||||||
You need to set the following variables:
|
|
||||||
|
|
||||||
MZSCHEME: Where Racket is installed.
|
|
||||||
E.g. C:\Program Files (x86)\Racket
|
|
||||||
DYNAMIC_MZSCHEME: Whether dynamic linking is used. Usually, set to yes.
|
|
||||||
MZSCHEME_VER: Racket DLL version which is used for the file name.
|
|
||||||
E.g. 3m_9z0ds0 for Racket 6.3.
|
|
||||||
The DLL can be found under the lib directory. E.g.
|
|
||||||
C:\Program Files (x86)\Racket\lib\libracket3m_XXXXXX.dll
|
|
||||||
MZSCHEME_COLLECTS: (Optional) Path of the collects directory used at
|
|
||||||
runtime. Default: $(MZSCHEME)\collects
|
|
||||||
User can override this with the PLTCOLLECTS environment
|
|
||||||
variable.
|
|
||||||
|
|
||||||
E.g. When using MSVC (as one line):
|
|
||||||
|
|
||||||
nmake -f Make_mvc.mak
|
|
||||||
MZSCHEME="C:\Program Files (x86)\Racket" DYNAMIC_MZSCHEME=yes
|
|
||||||
MZSCHEME_VER=3m_9z0ds0
|
|
||||||
|
|
||||||
Or when using MinGW (as one line):
|
|
||||||
|
|
||||||
mingw32-make -f Make_ming.mak
|
|
||||||
MZSCHEME='C:/Program\ Files\ (x86)/Racket' DYNAMIC_MZSCHEME=yes
|
|
||||||
MZSCHEME_VER=3m_9z0ds0
|
|
||||||
|
|
||||||
Spaces should be escaped with '\'.
|
|
||||||
|
|
||||||
|
|
||||||
9. Building with Lua support
|
9. Building with Lua support
|
||||||
============================
|
============================
|
||||||
@@ -550,8 +587,8 @@ E.g. When using MSVC (as one line):
|
|||||||
|
|
||||||
Or when using MinGW (as one line):
|
Or when using MinGW (as one line):
|
||||||
|
|
||||||
mingw32-make -f Make_mingw.mak
|
mingw32-make -f Make_ming.mak
|
||||||
LUA=C:\projects\lua53 DYNAMIC_LUA=yes LUA_VER=53
|
LUA=C:/projects/lua53 DYNAMIC_LUA=yes LUA_VER=53
|
||||||
|
|
||||||
|
|
||||||
Or when using Cygwin (as one line) (untested):
|
Or when using Cygwin (as one line) (untested):
|
||||||
@@ -582,8 +619,8 @@ E.g. When using MSVC (as one line):
|
|||||||
|
|
||||||
Or when using MinGW (as one line):
|
Or when using MinGW (as one line):
|
||||||
|
|
||||||
mingw32-make -f Make_mingw.mak
|
mingw32-make -f Make_ming.mak
|
||||||
PERL=C:\Perl DYNAMIC_PERL=yes PERL_VER=522
|
PERL=C:/Perl DYNAMIC_PERL=yes PERL_VER=522
|
||||||
|
|
||||||
|
|
||||||
11. Building with Ruby support
|
11. Building with Ruby support
|
||||||
@@ -591,7 +628,7 @@ Or when using MinGW (as one line):
|
|||||||
|
|
||||||
Vim with Ruby support can be built with either MSVC or MinGW (or Cygwin).
|
Vim with Ruby support can be built with either MSVC or MinGW (or Cygwin).
|
||||||
Ruby doesn't provide the official Windows binaries. The most widely used
|
Ruby doesn't provide the official Windows binaries. The most widely used
|
||||||
Windows binaries might be RubyInstaller.
|
Windows binaries might be RubyInstaller. Currently Ruby 2.4 is recommended.
|
||||||
|
|
||||||
http://rubyinstaller.org/
|
http://rubyinstaller.org/
|
||||||
|
|
||||||
@@ -602,11 +639,11 @@ you need some tricks described below.
|
|||||||
|
|
||||||
When building, you need to set the following variables at least:
|
When building, you need to set the following variables at least:
|
||||||
|
|
||||||
RUBY: Where ruby is installed. E.g. C:\Ruby22
|
RUBY: Where ruby is installed. E.g. C:\Ruby24
|
||||||
DYNAMIC_RUBY: Whether dynamic linking is used. Usually, set to yes.
|
DYNAMIC_RUBY: Whether dynamic linking is used. Usually, set to yes.
|
||||||
RUBY_VER: Ruby version. E.g. 22 for Ruby 2.2.X.
|
RUBY_VER: Ruby version. E.g. 24 for Ruby 2.4.X.
|
||||||
RUBY_API_VER_LONG: Ruby API version in a long format.
|
RUBY_API_VER_LONG: Ruby API version in a long format.
|
||||||
E.g. 2.2.0 for Ruby 2.2.X.
|
E.g. 2.4.0 for Ruby 2.4.X.
|
||||||
|
|
||||||
Ruby version vs. Ruby API version:
|
Ruby version vs. Ruby API version:
|
||||||
|
|
||||||
@@ -631,33 +668,34 @@ config.h and Ruby's DLL name. Here are the steps for working around them:
|
|||||||
1) Download and Install RubyInstaller.
|
1) Download and Install RubyInstaller.
|
||||||
You can install RubyInstaller with the default options and directory.
|
You can install RubyInstaller with the default options and directory.
|
||||||
E.g.:
|
E.g.:
|
||||||
C:\Ruby22 (32-bit) or C:\Ruby22-x64 (64-bit)
|
C:\Ruby24 (32-bit) or C:\Ruby24-x64 (64-bit)
|
||||||
|
|
||||||
Ruby 2.2.X is used in this example.
|
Ruby 2.4.X is used in this example.
|
||||||
|
|
||||||
2) Download Ruby 2.2.X's source code and generate config.h:
|
2) Download Ruby 2.4.X's source code and generate config.h:
|
||||||
|
|
||||||
cd C:\projects
|
cd C:\projects
|
||||||
git clone https://github.com/ruby/ruby.git -b ruby_2_2
|
git clone https://github.com/ruby/ruby.git -b ruby_2_4
|
||||||
cd ruby
|
cd ruby
|
||||||
win32\configure.bat
|
win32\configure.bat
|
||||||
nmake .config.h.time
|
nmake .config.h.time
|
||||||
|
|
||||||
Note that ruby_2_2 is the branch name for Ruby 2.2.X's source code.
|
Note that ruby_2_4 is the branch name for Ruby 2.4.X's source code.
|
||||||
There is no need to build whole Ruby, just config.h is needed.
|
There is no need to build whole Ruby, just config.h is needed.
|
||||||
If you use 32-bit MSVC10, the config.h is generated in the
|
If you use 32-bit MSVC 2015, the config.h is generated in the
|
||||||
.ext\include\i386-mswin32_100 directory.
|
.ext\include\i386-mswin32_140 directory.
|
||||||
|
|
||||||
3) Install the generated config.h.
|
3) Install the generated config.h.
|
||||||
|
|
||||||
xcopy /s .ext\include C:\Ruby22\include\ruby-2.2.0
|
xcopy /s .ext\include C:\Ruby24\include\ruby-2.4.0
|
||||||
|
|
||||||
Note that 2.2.0 is Ruby API version of Ruby 2.2.X.
|
Note that 2.4.0 is Ruby API version of Ruby 2.4.X.
|
||||||
|
You may need to close the console and reopen it to pick up the new $PATH.
|
||||||
|
|
||||||
4) Build Vim. Note that you need to adjust some variables (as one line):
|
4) Build Vim. Note that you need to adjust some variables (as one line):
|
||||||
|
|
||||||
nmake -f Make_mvc.mak
|
nmake -f Make_mvc.mak
|
||||||
RUBY=C:\Ruby22 DYNAMIC_RUBY=yes RUBY_VER=22 RUBY_API_VER_LONG=2.2.0
|
RUBY=C:\Ruby24 DYNAMIC_RUBY=yes RUBY_VER=24 RUBY_API_VER_LONG=2.4.0
|
||||||
RUBY_MSVCRT_NAME=msvcrt
|
RUBY_MSVCRT_NAME=msvcrt
|
||||||
WINVER=0x501
|
WINVER=0x501
|
||||||
|
|
||||||
@@ -672,7 +710,7 @@ Using MinGW is easier than using MSVC when linking with RubyInstaller.
|
|||||||
After you install RubyInstaller, just type this (as one line):
|
After you install RubyInstaller, just type this (as one line):
|
||||||
|
|
||||||
mingw32-make -f Make_ming.mak
|
mingw32-make -f Make_ming.mak
|
||||||
RUBY=C:/Ruby22 DYNAMIC_RUBY=yes RUBY_VER=22 RUBY_API_VER_LONG=2.2.0
|
RUBY=C:/Ruby24 DYNAMIC_RUBY=yes RUBY_VER=24 RUBY_API_VER_LONG=2.4.0
|
||||||
WINVER=0x501
|
WINVER=0x501
|
||||||
|
|
||||||
If you set WINVER explicitly, it must be set to >=0x500, when building with
|
If you set WINVER explicitly, it must be set to >=0x500, when building with
|
||||||
@@ -688,6 +726,7 @@ You can use binaries from ActiveState (ActiveTcl).
|
|||||||
|
|
||||||
http://www.activestate.com/activetcl
|
http://www.activestate.com/activetcl
|
||||||
|
|
||||||
|
For MSVC 2015 use version 8.6.6 or later.
|
||||||
When building, you need to set the following variables:
|
When building, you need to set the following variables:
|
||||||
|
|
||||||
TCL: Where tcl is installed. E.g. C:\Tcl86
|
TCL: Where tcl is installed. E.g. C:\Tcl86
|
||||||
@@ -695,6 +734,11 @@ When building, you need to set the following variables:
|
|||||||
TCL_VER: Tcl version in a short format. E.g. 86 for Tcl 8.6.X.
|
TCL_VER: Tcl version in a short format. E.g. 86 for Tcl 8.6.X.
|
||||||
TCL_VER_LONG: Tcl version in a long format. E.g. 8.6 for Tcl 8.6.X.
|
TCL_VER_LONG: Tcl version in a long format. E.g. 8.6 for Tcl 8.6.X.
|
||||||
|
|
||||||
|
Sometimes the Tcl dll name changes. E.g. ActiveTcl 8.6.4 comes with tcl86.dll,
|
||||||
|
but ActiveTcl 8.6.6 comes with tcl86t.dll. You can set the dll name by setting
|
||||||
|
the TCL_DLL variable:
|
||||||
|
TCL_DLL=tcl86t.dll
|
||||||
|
|
||||||
E.g. When using MSVC (as one line):
|
E.g. When using MSVC (as one line):
|
||||||
|
|
||||||
nmake -f Make_mvc.mak
|
nmake -f Make_mvc.mak
|
||||||
@@ -702,8 +746,8 @@ E.g. When using MSVC (as one line):
|
|||||||
|
|
||||||
Or when using MinGW (as one line):
|
Or when using MinGW (as one line):
|
||||||
|
|
||||||
mingw32-make -f Make_mingw.mak
|
mingw32-make -f Make_ming.mak
|
||||||
TCL=C:\Tcl86 DYNAMIC_TCL=yes TCL_VER=86 TCL_VER_LONG=8.6
|
TCL=C:/Tcl86 DYNAMIC_TCL=yes TCL_VER=86 TCL_VER_LONG=8.6
|
||||||
|
|
||||||
|
|
||||||
13. Building with Terminal support
|
13. Building with Terminal support
|
||||||
@@ -719,7 +763,7 @@ E.g. When using MSVC:
|
|||||||
|
|
||||||
Or when using MinGW (as one line):
|
Or when using MinGW (as one line):
|
||||||
|
|
||||||
mingw32-make -f Make_mingw.mak TERMINAL=yes
|
mingw32-make -f Make_ming.mak TERMINAL=yes
|
||||||
|
|
||||||
|
|
||||||
14. Windows 3.1x
|
14. Windows 3.1x
|
||||||
@@ -731,13 +775,14 @@ The Windows 3.1x support was removed in patch 7.4.1364.
|
|||||||
15. MS-DOS
|
15. MS-DOS
|
||||||
==========
|
==========
|
||||||
|
|
||||||
The MS-DOS support was removed in patch 7.4.1399.
|
The MS-DOS support was removed in patch 7.4.1399. Only very old Vim versions
|
||||||
|
work on MS-DOS because of the limited amount of memory available.
|
||||||
|
|
||||||
|
|
||||||
16. Installing after building from sources
|
16. Installing after building from sources
|
||||||
==========================================
|
==========================================
|
||||||
|
|
||||||
[provided by Michael Soyka]
|
[provided by Michael Soyka, updated by Ken Takata]
|
||||||
|
|
||||||
After you've built the Vim binaries as described above, you're ready to
|
After you've built the Vim binaries as described above, you're ready to
|
||||||
install Vim on your system. However, if you've obtained the Vim sources
|
install Vim on your system. However, if you've obtained the Vim sources
|
||||||
@@ -763,17 +808,54 @@ correct directory structure.
|
|||||||
new binaries you created above into "vim80":
|
new binaries you created above into "vim80":
|
||||||
|
|
||||||
copy src\*.exe vim80
|
copy src\*.exe vim80
|
||||||
copy src\GvimExt\gvimext.dll vim80
|
copy src\tee\tee.exe vim80
|
||||||
copy src\xxd\xxd.exe vim80
|
copy src\xxd\xxd.exe vim80
|
||||||
|
|
||||||
C. Move the "vim80" directory into the Vim installation subdirectory
|
To install the "Edit with Vim" popup menu, you need both 32-bit and 64-bit
|
||||||
|
versions of gvimext.dll. They should be copied to "vim80\GvimExt32" and
|
||||||
|
"vim80\GvimExt64" respectively.
|
||||||
|
First, build the 32-bit version, then:
|
||||||
|
|
||||||
|
mkdir vim80\GvimExt32
|
||||||
|
copy src\GvimExt\gvimext.dll vim80\GvimExt32
|
||||||
|
|
||||||
|
Next, clean the 32-bit version and build the 64-bit version, then:
|
||||||
|
|
||||||
|
mkdir vim80\GvimExt64
|
||||||
|
copy src\GvimExt\gvimext.dll vim80\GvimExt64
|
||||||
|
|
||||||
|
C. Copy gettext and iconv DLLs into the "vim80" directory
|
||||||
|
----------------------------------------------------------
|
||||||
|
Get gettext and iconv DLLs from the following site:
|
||||||
|
https://github.com/mlocati/gettext-iconv-windows/releases
|
||||||
|
Both 64- and 32-bit versions are needed.
|
||||||
|
Download the files gettextX.X.X.X-iconvX.XX-shared-{32,64}.zip, extract
|
||||||
|
DLLs and place them as follows:
|
||||||
|
|
||||||
|
vim80\
|
||||||
|
| libintl-8.dll
|
||||||
|
| libiconv-2.dll
|
||||||
|
| libgcc_s_sjlj-1.dll (only for 32-bit)
|
||||||
|
|
|
||||||
|
+ GvimExt32\
|
||||||
|
| libintl-8.dll
|
||||||
|
| libiconv-2.dll
|
||||||
|
| libgcc_s_sjlj-1.dll
|
||||||
|
|
|
||||||
|
` GvimExt64\
|
||||||
|
libintl-8.dll
|
||||||
|
libiconv-2.dll
|
||||||
|
|
||||||
|
The DLLs in the "vim80" should be the same bitness with the (g)vim.exe.
|
||||||
|
|
||||||
|
D. Move the "vim80" directory into the Vim installation subdirectory
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
Move the "vim80" subdirectory into the subdirectory where you want Vim
|
Move the "vim80" subdirectory into the subdirectory where you want Vim
|
||||||
to be installed. Typically, this subdirectory will be named "vim".
|
to be installed. Typically, this subdirectory will be named "vim".
|
||||||
If you already have a "vim80" subdirectory in "vim", delete it first
|
If you already have a "vim80" subdirectory in "vim", delete it first
|
||||||
by running its uninstal.exe program.
|
by running its uninstal.exe program.
|
||||||
|
|
||||||
D. Install Vim
|
E. Install Vim
|
||||||
---------------
|
---------------
|
||||||
"cd" to your Vim installation subdirectory "vim\vim80" and run the
|
"cd" to your Vim installation subdirectory "vim\vim80" and run the
|
||||||
"install.exe" program. It will ask you a number of questions about
|
"install.exe" program. It will ask you a number of questions about
|
||||||
|
|||||||
@@ -50,3 +50,5 @@ CROSS_COMPILE = i686-pc-mingw32-
|
|||||||
# Do not change this.
|
# Do not change this.
|
||||||
UNDER_CYGWIN = yes
|
UNDER_CYGWIN = yes
|
||||||
include Make_cyg_ming.mak
|
include Make_cyg_ming.mak
|
||||||
|
|
||||||
|
# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0:
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ FEATURES=HUGE
|
|||||||
# Set to yes to cross-compile from unix; no=native Windows (and Cygwin).
|
# Set to yes to cross-compile from unix; no=native Windows (and Cygwin).
|
||||||
CROSS=no
|
CROSS=no
|
||||||
# Set to path to iconv.h and libiconv.a to enable using 'iconv.dll'.
|
# Set to path to iconv.h and libiconv.a to enable using 'iconv.dll'.
|
||||||
|
# Use "yes" when the path does not need to be define.
|
||||||
#ICONV="."
|
#ICONV="."
|
||||||
ICONV=yes
|
ICONV=yes
|
||||||
GETTEXT=yes
|
GETTEXT=yes
|
||||||
@@ -74,7 +75,11 @@ else
|
|||||||
CHANNEL=$(GUI)
|
CHANNEL=$(GUI)
|
||||||
endif
|
endif
|
||||||
# Set to yes to enable terminal support.
|
# Set to yes to enable terminal support.
|
||||||
|
ifeq (HUGE, $(FEATURES))
|
||||||
|
TERMINAL=yes
|
||||||
|
else
|
||||||
TERMINAL=no
|
TERMINAL=no
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef CTAGS
|
ifndef CTAGS
|
||||||
# this assumes ctags is Exuberant ctags
|
# this assumes ctags is Exuberant ctags
|
||||||
@@ -637,6 +642,7 @@ GUIOBJ = $(OUTDIR)/gui.o $(OUTDIR)/gui_w32.o $(OUTDIR)/gui_beval.o $(OUTDIR)/os
|
|||||||
CUIOBJ = $(OUTDIR)/iscygpty.o
|
CUIOBJ = $(OUTDIR)/iscygpty.o
|
||||||
OBJ = \
|
OBJ = \
|
||||||
$(OUTDIR)/arabic.o \
|
$(OUTDIR)/arabic.o \
|
||||||
|
$(OUTDIR)/beval.o \
|
||||||
$(OUTDIR)/blowfish.o \
|
$(OUTDIR)/blowfish.o \
|
||||||
$(OUTDIR)/buffer.o \
|
$(OUTDIR)/buffer.o \
|
||||||
$(OUTDIR)/charset.o \
|
$(OUTDIR)/charset.o \
|
||||||
@@ -913,60 +919,61 @@ endif
|
|||||||
$(MAKE) -C xxd -f Make_ming.mak clean
|
$(MAKE) -C xxd -f Make_ming.mak clean
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
INCL = vim.h feature.h os_win32.h os_dos.h ascii.h keymap.h term.h macros.h \
|
INCL = vim.h alloc.h arabic.h ascii.h ex_cmds.h farsi.h feature.h globals.h \
|
||||||
structs.h regexp.h option.h ex_cmds.h proto.h globals.h farsi.h \
|
keymap.h macros.h option.h os_dos.h os_win32.h proto.h regexp.h \
|
||||||
gui.h
|
spell.h structs.h term.h beval.h $(NBDEBUG_INCL)
|
||||||
|
GUI_INCL = gui.h
|
||||||
CUI_INCL = iscygpty.h
|
CUI_INCL = iscygpty.h
|
||||||
|
|
||||||
$(OUTDIR)/if_python.o : if_python.c if_py_both.h $(INCL)
|
$(OUTDIR)/if_python.o: if_python.c if_py_both.h $(INCL)
|
||||||
$(CC) -c $(CFLAGS) $(PYTHONINC) $(PYTHON_HOME_DEF) $< -o $@
|
$(CC) -c $(CFLAGS) $(PYTHONINC) $(PYTHON_HOME_DEF) $< -o $@
|
||||||
|
|
||||||
$(OUTDIR)/if_python3.o : if_python3.c if_py_both.h $(INCL)
|
$(OUTDIR)/if_python3.o: if_python3.c if_py_both.h $(INCL)
|
||||||
$(CC) -c $(CFLAGS) $(PYTHON3INC) $(PYTHON3_HOME_DEF) $< -o $@
|
$(CC) -c $(CFLAGS) $(PYTHON3INC) $(PYTHON3_HOME_DEF) $< -o $@
|
||||||
|
|
||||||
$(OUTDIR)/%.o : %.c $(INCL)
|
$(OUTDIR)/%.o : %.c $(INCL)
|
||||||
$(CC) -c $(CFLAGS) $< -o $@
|
$(CC) -c $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
$(OUTDIR)/vimrc.o: vim.rc version.h gui_w32_rc.h
|
$(OUTDIR)/vimrc.o: vim.rc version.h gui_w32_rc.h
|
||||||
$(WINDRES) $(WINDRES_FLAGS) $(DEFINES) \
|
$(WINDRES) $(WINDRES_FLAGS) $(DEFINES) \
|
||||||
--input-format=rc --output-format=coff -i vim.rc -o $@
|
--input-format=rc --output-format=coff -i vim.rc -o $@
|
||||||
|
|
||||||
$(OUTDIR):
|
$(OUTDIR):
|
||||||
$(MKDIR) $(OUTDIR)
|
$(MKDIR) $(OUTDIR)
|
||||||
|
|
||||||
$(OUTDIR)/channel.o: channel.c $(INCL)
|
|
||||||
$(CC) -c $(CFLAGS) channel.c -o $(OUTDIR)/channel.o
|
|
||||||
|
|
||||||
$(OUTDIR)/ex_docmd.o: ex_docmd.c $(INCL) ex_cmds.h
|
|
||||||
$(CC) -c $(CFLAGS) ex_docmd.c -o $(OUTDIR)/ex_docmd.o
|
|
||||||
|
|
||||||
$(OUTDIR)/ex_eval.o: ex_eval.c $(INCL) ex_cmds.h
|
|
||||||
$(CC) -c $(CFLAGS) ex_eval.c -o $(OUTDIR)/ex_eval.o
|
|
||||||
|
|
||||||
$(OUTDIR)/gui_dwrite.o: gui_dwrite.cpp $(INCL) gui_dwrite.h
|
$(OUTDIR)/gui_dwrite.o: gui_dwrite.cpp $(INCL) gui_dwrite.h
|
||||||
$(CC) -c $(CFLAGS) $(CXXFLAGS) gui_dwrite.cpp -o $(OUTDIR)/gui_dwrite.o
|
$(CC) -c $(CFLAGS) $(CXXFLAGS) gui_dwrite.cpp -o $(OUTDIR)/gui_dwrite.o
|
||||||
|
|
||||||
$(OUTDIR)/gui_w32.o: gui_w32.c $(INCL)
|
$(OUTDIR)/gui.o: gui.c $(INCL) $(GUI_INCL)
|
||||||
|
$(CC) -c $(CFLAGS) gui.c -o $(OUTDIR)/gui.o
|
||||||
|
|
||||||
|
$(OUTDIR)/beval.o: beval.c $(INCL) $(GUI_INCL)
|
||||||
|
$(CC) -c $(CFLAGS) beval.c -o $(OUTDIR)/beval.o
|
||||||
|
|
||||||
|
$(OUTDIR)/gui_beval.o: gui_beval.c $(INCL) $(GUI_INCL)
|
||||||
|
$(CC) -c $(CFLAGS) gui_beval.c -o $(OUTDIR)/gui_beval.o
|
||||||
|
|
||||||
|
$(OUTDIR)/gui_w32.o: gui_w32.c $(INCL) $(GUI_INCL)
|
||||||
$(CC) -c $(CFLAGS) gui_w32.c -o $(OUTDIR)/gui_w32.o
|
$(CC) -c $(CFLAGS) gui_w32.c -o $(OUTDIR)/gui_w32.o
|
||||||
|
|
||||||
$(OUTDIR)/if_cscope.o: if_cscope.c $(INCL) if_cscope.h
|
$(OUTDIR)/if_cscope.o: if_cscope.c $(INCL) if_cscope.h
|
||||||
$(CC) -c $(CFLAGS) if_cscope.c -o $(OUTDIR)/if_cscope.o
|
$(CC) -c $(CFLAGS) if_cscope.c -o $(OUTDIR)/if_cscope.o
|
||||||
|
|
||||||
$(OUTDIR)/if_mzsch.o: if_mzsch.c $(INCL) if_mzsch.h $(MZ_EXTRA_DEP)
|
$(OUTDIR)/if_mzsch.o: if_mzsch.c $(INCL) $(MZSCHEME_INCL) $(MZ_EXTRA_DEP)
|
||||||
$(CC) -c $(CFLAGS) if_mzsch.c -o $(OUTDIR)/if_mzsch.o
|
$(CC) -c $(CFLAGS) if_mzsch.c -o $(OUTDIR)/if_mzsch.o
|
||||||
|
|
||||||
mzscheme_base.c:
|
mzscheme_base.c:
|
||||||
$(MZSCHEME)/mzc --c-mods mzscheme_base.c ++lib scheme/base
|
$(MZSCHEME)/mzc --c-mods mzscheme_base.c ++lib scheme/base
|
||||||
|
|
||||||
# Remove -D__IID_DEFINED__ for newer versions of the w32api
|
# Remove -D__IID_DEFINED__ for newer versions of the w32api
|
||||||
$(OUTDIR)/if_ole.o: if_ole.cpp $(INCL)
|
$(OUTDIR)/if_ole.o: if_ole.cpp $(INCL) if_ole.h
|
||||||
$(CC) $(CFLAGS) $(CXXFLAGS) -c -o $(OUTDIR)/if_ole.o if_ole.cpp
|
$(CC) $(CFLAGS) $(CXXFLAGS) -c -o $(OUTDIR)/if_ole.o if_ole.cpp
|
||||||
|
|
||||||
if_perl.c: if_perl.xs typemap
|
if_perl.c: if_perl.xs typemap
|
||||||
$(XSUBPP) -prototypes -typemap \
|
$(XSUBPP) -prototypes -typemap \
|
||||||
$(PERLTYPEMAP) if_perl.xs -output $@
|
$(PERLTYPEMAP) if_perl.xs -output $@
|
||||||
|
|
||||||
$(OUTDIR)/if_ruby.o: if_ruby.c $(INCL)
|
$(OUTDIR)/if_ruby.o: if_ruby.c $(INCL)
|
||||||
ifeq (16, $(RUBY))
|
ifeq (16, $(RUBY))
|
||||||
$(CC) $(CFLAGS) -U_WIN32 -c -o $(OUTDIR)/if_ruby.o if_ruby.c
|
$(CC) $(CFLAGS) -U_WIN32 -c -o $(OUTDIR)/if_ruby.o if_ruby.c
|
||||||
endif
|
endif
|
||||||
@@ -974,13 +981,16 @@ endif
|
|||||||
$(OUTDIR)/iscygpty.o: iscygpty.c $(CUI_INCL)
|
$(OUTDIR)/iscygpty.o: iscygpty.c $(CUI_INCL)
|
||||||
$(CC) -c $(CFLAGS) iscygpty.c -o $(OUTDIR)/iscygpty.o -U_WIN32_WINNT -D_WIN32_WINNT=0x0600 -DUSE_DYNFILEID -DENABLE_STUB_IMPL
|
$(CC) -c $(CFLAGS) iscygpty.c -o $(OUTDIR)/iscygpty.o -U_WIN32_WINNT -D_WIN32_WINNT=0x0600 -DUSE_DYNFILEID -DENABLE_STUB_IMPL
|
||||||
|
|
||||||
$(OUTDIR)/main.o: main.c $(INCL) $(CUI_INCL)
|
$(OUTDIR)/main.o: main.c $(INCL) $(CUI_INCL)
|
||||||
$(CC) -c $(CFLAGS) main.c -o $(OUTDIR)/main.o
|
$(CC) -c $(CFLAGS) main.c -o $(OUTDIR)/main.o
|
||||||
|
|
||||||
$(OUTDIR)/netbeans.o: netbeans.c $(INCL) $(NBDEBUG_INCL) $(NBDEBUG_SRC)
|
$(OUTDIR)/netbeans.o: netbeans.c $(INCL) $(NBDEBUG_INCL) $(NBDEBUG_SRC)
|
||||||
$(CC) -c $(CFLAGS) netbeans.c -o $(OUTDIR)/netbeans.o
|
$(CC) -c $(CFLAGS) netbeans.c -o $(OUTDIR)/netbeans.o
|
||||||
|
|
||||||
$(OUTDIR)/regexp.o: regexp.c regexp_nfa.c $(INCL)
|
$(OUTDIR)/os_win32.o: os_win32.c $(INCL) $(MZSCHEME_INCL)
|
||||||
|
$(CC) -c $(CFLAGS) os_win32.c -o $(OUTDIR)/os_win32.o
|
||||||
|
|
||||||
|
$(OUTDIR)/regexp.o: regexp.c regexp_nfa.c $(INCL)
|
||||||
$(CC) -c $(CFLAGS) regexp.c -o $(OUTDIR)/regexp.o
|
$(CC) -c $(CFLAGS) regexp.c -o $(OUTDIR)/regexp.o
|
||||||
|
|
||||||
$(OUTDIR)/terminal.o: terminal.c $(INCL) $(TERM_DEPS)
|
$(OUTDIR)/terminal.o: terminal.c $(INCL) $(TERM_DEPS)
|
||||||
@@ -1042,3 +1052,5 @@ else
|
|||||||
@echo char_u *compiled_user = (char_u *)"$(USERNAME)"; >> pathdef.c
|
@echo char_u *compiled_user = (char_u *)"$(USERNAME)"; >> pathdef.c
|
||||||
@echo char_u *compiled_sys = (char_u *)"$(USERDOMAIN)"; >> pathdef.c
|
@echo char_u *compiled_sys = (char_u *)"$(USERDOMAIN)"; >> pathdef.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0:
|
||||||
|
|||||||
@@ -47,3 +47,5 @@
|
|||||||
# Do not change this.
|
# Do not change this.
|
||||||
UNDER_CYGWIN = no
|
UNDER_CYGWIN = no
|
||||||
include Make_cyg_ming.mak
|
include Make_cyg_ming.mak
|
||||||
|
|
||||||
|
# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0:
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
# is yes)
|
# is yes)
|
||||||
# Global IME support: GIME=yes (requires GUI=yes)
|
# Global IME support: GIME=yes (requires GUI=yes)
|
||||||
#
|
#
|
||||||
# Terminal support: TERMINAL=yes (default is no)
|
# Terminal support: TERMINAL=yes (default is yes)
|
||||||
#
|
#
|
||||||
# Lua interface:
|
# Lua interface:
|
||||||
# LUA=[Path to Lua directory]
|
# LUA=[Path to Lua directory]
|
||||||
@@ -361,6 +361,14 @@ CSCOPE_OBJ = $(OBJDIR)/if_cscope.obj
|
|||||||
CSCOPE_DEFS = -DFEAT_CSCOPE
|
CSCOPE_DEFS = -DFEAT_CSCOPE
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
!ifndef TERMINAL
|
||||||
|
!if "$(FEATURES)"=="HUGE"
|
||||||
|
TERMINAL = yes
|
||||||
|
!else
|
||||||
|
TERMINAL = no
|
||||||
|
!endif
|
||||||
|
!endif
|
||||||
|
|
||||||
!if "$(TERMINAL)" == "yes"
|
!if "$(TERMINAL)" == "yes"
|
||||||
TERM_OBJ = \
|
TERM_OBJ = \
|
||||||
$(OBJDIR)/terminal.obj \
|
$(OBJDIR)/terminal.obj \
|
||||||
@@ -587,7 +595,7 @@ CPUARG = /arch:AVX2
|
|||||||
! endif
|
! endif
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# Pass CPUARG to GVimExt, to avoid using version-dependent defaults
|
# Pass CPUARG to GvimExt, to avoid using version-dependent defaults
|
||||||
MAKEFLAGS_GVIMEXT = $(MAKEFLAGS_GVIMEXT) CPUARG="$(CPUARG)"
|
MAKEFLAGS_GVIMEXT = $(MAKEFLAGS_GVIMEXT) CPUARG="$(CPUARG)"
|
||||||
|
|
||||||
|
|
||||||
@@ -673,12 +681,13 @@ CFLAGS = $(CFLAGS) /Zl /MTd
|
|||||||
! endif
|
! endif
|
||||||
!endif # DEBUG
|
!endif # DEBUG
|
||||||
|
|
||||||
INCL = vim.h os_win32.h ascii.h feature.h globals.h keymap.h macros.h \
|
INCL = vim.h alloc.h arabic.h ascii.h ex_cmds.h farsi.h feature.h globals.h \
|
||||||
proto.h option.h structs.h term.h $(CSCOPE_INCL) \
|
keymap.h macros.h option.h os_dos.h os_win32.h proto.h regexp.h \
|
||||||
$(NBDEBUG_INCL)
|
spell.h structs.h term.h beval.h $(NBDEBUG_INCL)
|
||||||
|
|
||||||
OBJ = \
|
OBJ = \
|
||||||
$(OUTDIR)\arabic.obj \
|
$(OUTDIR)\arabic.obj \
|
||||||
|
$(OUTDIR)\beval.obj \
|
||||||
$(OUTDIR)\blowfish.obj \
|
$(OUTDIR)\blowfish.obj \
|
||||||
$(OUTDIR)\buffer.obj \
|
$(OUTDIR)\buffer.obj \
|
||||||
$(OUTDIR)\charset.obj \
|
$(OUTDIR)\charset.obj \
|
||||||
@@ -773,19 +782,7 @@ CFLAGS = $(CFLAGS) -DFEAT_GUI_W32
|
|||||||
RCFLAGS = $(RCFLAGS) -DFEAT_GUI_W32
|
RCFLAGS = $(RCFLAGS) -DFEAT_GUI_W32
|
||||||
VIM = g$(VIM)
|
VIM = g$(VIM)
|
||||||
GUI_INCL = \
|
GUI_INCL = \
|
||||||
gui.h \
|
gui.h
|
||||||
regexp.h \
|
|
||||||
ascii.h \
|
|
||||||
ex_cmds.h \
|
|
||||||
farsi.h \
|
|
||||||
feature.h \
|
|
||||||
globals.h \
|
|
||||||
gui_beval.h \
|
|
||||||
keymap.h \
|
|
||||||
macros.h \
|
|
||||||
option.h \
|
|
||||||
os_dos.h \
|
|
||||||
os_win32.h
|
|
||||||
GUI_OBJ = \
|
GUI_OBJ = \
|
||||||
$(OUTDIR)\gui.obj \
|
$(OUTDIR)\gui.obj \
|
||||||
$(OUTDIR)\gui_beval.obj \
|
$(OUTDIR)\gui_beval.obj \
|
||||||
@@ -800,9 +797,14 @@ SUBSYSTEM = console
|
|||||||
CUI_INCL = iscygpty.h
|
CUI_INCL = iscygpty.h
|
||||||
CUI_OBJ = $(OUTDIR)\iscygpty.obj
|
CUI_OBJ = $(OUTDIR)\iscygpty.obj
|
||||||
!endif
|
!endif
|
||||||
|
SUBSYSTEM_TOOLS = console
|
||||||
|
|
||||||
!if "$(SUBSYSTEM_VER)" != ""
|
!if "$(SUBSYSTEM_VER)" != ""
|
||||||
SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER)
|
SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER)
|
||||||
|
SUBSYSTEM_TOOLS = $(SUBSYSTEM_TOOLS),$(SUBSYSTEM_VER)
|
||||||
|
# Pass SUBSYSTEM_VER to GvimExt and other tools
|
||||||
|
MAKEFLAGS_GVIMEXT = $(MAKEFLAGS_GVIMEXT) SUBSYSTEM_VER=$(SUBSYSTEM_VER)
|
||||||
|
MAKEFLAGS_TOOLS = $(MAKEFLAGS_TOOLS) SUBSYSTEM_VER=$(SUBSYSTEM_VER)
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!if "$(GUI)" == "yes" && "$(DIRECTX)" == "yes"
|
!if "$(GUI)" == "yes" && "$(DIRECTX)" == "yes"
|
||||||
@@ -979,6 +981,7 @@ MZSCHEME_LIB = "$(MZSCHEME)\lib\msvc\libmzgc$(MZSCHEME_VER).lib" \
|
|||||||
MZSCHEME_OBJ = $(OUTDIR)\if_mzsch.obj
|
MZSCHEME_OBJ = $(OUTDIR)\if_mzsch.obj
|
||||||
# increase stack size
|
# increase stack size
|
||||||
MZSCHEME_LIB = $(MZSCHEME_LIB) /STACK:8388608
|
MZSCHEME_LIB = $(MZSCHEME_LIB) /STACK:8388608
|
||||||
|
MZSCHEME_INCL = if_mzsch.h
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# Perl interface
|
# Perl interface
|
||||||
@@ -1196,24 +1199,26 @@ $(OUTDIR):
|
|||||||
|
|
||||||
install.exe: dosinst.c
|
install.exe: dosinst.c
|
||||||
$(CC) /nologo -DNDEBUG -DWIN32 dosinst.c kernel32.lib shell32.lib \
|
$(CC) /nologo -DNDEBUG -DWIN32 dosinst.c kernel32.lib shell32.lib \
|
||||||
user32.lib ole32.lib advapi32.lib uuid.lib
|
user32.lib ole32.lib advapi32.lib uuid.lib \
|
||||||
|
-link -subsystem:$(SUBSYSTEM_TOOLS)
|
||||||
- if exist install.exe del install.exe
|
- if exist install.exe del install.exe
|
||||||
ren dosinst.exe install.exe
|
ren dosinst.exe install.exe
|
||||||
|
|
||||||
uninstal.exe: uninstal.c
|
uninstal.exe: uninstal.c
|
||||||
$(CC) /nologo -DNDEBUG -DWIN32 uninstal.c shell32.lib advapi32.lib
|
$(CC) /nologo -DNDEBUG -DWIN32 uninstal.c shell32.lib advapi32.lib \
|
||||||
|
-link -subsystem:$(SUBSYSTEM_TOOLS)
|
||||||
|
|
||||||
vimrun.exe: vimrun.c
|
vimrun.exe: vimrun.c
|
||||||
$(CC) /nologo -DNDEBUG vimrun.c
|
$(CC) /nologo -DNDEBUG vimrun.c -link -subsystem:$(SUBSYSTEM_TOOLS)
|
||||||
|
|
||||||
xxd/xxd.exe: xxd/xxd.c
|
xxd/xxd.exe: xxd/xxd.c
|
||||||
cd xxd
|
cd xxd
|
||||||
$(MAKE) /NOLOGO -f Make_mvc.mak
|
$(MAKE) /NOLOGO -f Make_mvc.mak $(MAKEFLAGS_TOOLS)
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
tee/tee.exe: tee/tee.c
|
tee/tee.exe: tee/tee.c
|
||||||
cd tee
|
cd tee
|
||||||
$(MAKE) /NOLOGO -f Make_mvc.mak
|
$(MAKE) /NOLOGO -f Make_mvc.mak $(MAKEFLAGS_TOOLS)
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h
|
GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h
|
||||||
@@ -1292,6 +1297,8 @@ testclean:
|
|||||||
|
|
||||||
$(OUTDIR)/arabic.obj: $(OUTDIR) arabic.c $(INCL)
|
$(OUTDIR)/arabic.obj: $(OUTDIR) arabic.c $(INCL)
|
||||||
|
|
||||||
|
$(OUTDIR)/beval.obj: $(OUTDIR) beval.c $(INCL)
|
||||||
|
|
||||||
$(OUTDIR)/blowfish.obj: $(OUTDIR) blowfish.c $(INCL)
|
$(OUTDIR)/blowfish.obj: $(OUTDIR) blowfish.c $(INCL)
|
||||||
|
|
||||||
$(OUTDIR)/buffer.obj: $(OUTDIR) buffer.c $(INCL)
|
$(OUTDIR)/buffer.obj: $(OUTDIR) buffer.c $(INCL)
|
||||||
@@ -1318,9 +1325,9 @@ $(OUTDIR)/ex_cmds.obj: $(OUTDIR) ex_cmds.c $(INCL)
|
|||||||
|
|
||||||
$(OUTDIR)/ex_cmds2.obj: $(OUTDIR) ex_cmds2.c $(INCL)
|
$(OUTDIR)/ex_cmds2.obj: $(OUTDIR) ex_cmds2.c $(INCL)
|
||||||
|
|
||||||
$(OUTDIR)/ex_docmd.obj: $(OUTDIR) ex_docmd.c $(INCL) ex_cmds.h
|
$(OUTDIR)/ex_docmd.obj: $(OUTDIR) ex_docmd.c $(INCL)
|
||||||
|
|
||||||
$(OUTDIR)/ex_eval.obj: $(OUTDIR) ex_eval.c $(INCL) ex_cmds.h
|
$(OUTDIR)/ex_eval.obj: $(OUTDIR) ex_eval.c $(INCL)
|
||||||
|
|
||||||
$(OUTDIR)/ex_getln.obj: $(OUTDIR) ex_getln.c $(INCL)
|
$(OUTDIR)/ex_getln.obj: $(OUTDIR) ex_getln.c $(INCL)
|
||||||
|
|
||||||
@@ -1344,7 +1351,7 @@ $(OUTDIR)/gui_w32.obj: $(OUTDIR) gui_w32.c $(INCL) $(GUI_INCL)
|
|||||||
|
|
||||||
$(OUTDIR)/gui_dwrite.obj: $(OUTDIR) gui_dwrite.cpp $(INCL) $(GUI_INCL)
|
$(OUTDIR)/gui_dwrite.obj: $(OUTDIR) gui_dwrite.cpp $(INCL) $(GUI_INCL)
|
||||||
|
|
||||||
$(OUTDIR)/if_cscope.obj: $(OUTDIR) if_cscope.c $(INCL)
|
$(OUTDIR)/if_cscope.obj: $(OUTDIR) if_cscope.c $(INCL) if_cscope.h
|
||||||
|
|
||||||
$(OUTDIR)/if_lua.obj: $(OUTDIR) if_lua.c $(INCL)
|
$(OUTDIR)/if_lua.obj: $(OUTDIR) if_lua.c $(INCL)
|
||||||
$(CC) $(CFLAGS_OUTDIR) $(LUA_INC) if_lua.c
|
$(CC) $(CFLAGS_OUTDIR) $(LUA_INC) if_lua.c
|
||||||
@@ -1359,7 +1366,7 @@ $(OUTDIR)/if_perl.obj: $(OUTDIR) if_perl.c $(INCL)
|
|||||||
$(OUTDIR)/if_perlsfio.obj: $(OUTDIR) if_perlsfio.c $(INCL)
|
$(OUTDIR)/if_perlsfio.obj: $(OUTDIR) if_perlsfio.c $(INCL)
|
||||||
$(CC) $(CFLAGS_OUTDIR) $(PERL_INC) if_perlsfio.c
|
$(CC) $(CFLAGS_OUTDIR) $(PERL_INC) if_perlsfio.c
|
||||||
|
|
||||||
$(OUTDIR)/if_mzsch.obj: $(OUTDIR) if_mzsch.c if_mzsch.h $(INCL) $(MZSCHEME_EXTRA_DEP)
|
$(OUTDIR)/if_mzsch.obj: $(OUTDIR) if_mzsch.c $(MZSCHEME_INCL) $(INCL) $(MZSCHEME_EXTRA_DEP)
|
||||||
$(CC) $(CFLAGS_OUTDIR) if_mzsch.c \
|
$(CC) $(CFLAGS_OUTDIR) if_mzsch.c \
|
||||||
-DMZSCHEME_COLLECTS="\"$(MZSCHEME_COLLECTS:\=\\)\""
|
-DMZSCHEME_COLLECTS="\"$(MZSCHEME_COLLECTS:\=\\)\""
|
||||||
|
|
||||||
@@ -1423,7 +1430,7 @@ $(OUTDIR)/terminal.obj: $(OUTDIR) terminal.c $(INCL) $(TERM_DEPS)
|
|||||||
|
|
||||||
$(OUTDIR)/winclip.obj: $(OUTDIR) winclip.c $(INCL)
|
$(OUTDIR)/winclip.obj: $(OUTDIR) winclip.c $(INCL)
|
||||||
|
|
||||||
$(OUTDIR)/os_win32.obj: $(OUTDIR) os_win32.c $(INCL) os_win32.h
|
$(OUTDIR)/os_win32.obj: $(OUTDIR) os_win32.c $(INCL) $(MZSCHEME_INCL)
|
||||||
|
|
||||||
$(OUTDIR)/os_w32exe.obj: $(OUTDIR) os_w32exe.c $(INCL)
|
$(OUTDIR)/os_w32exe.obj: $(OUTDIR) os_w32exe.c $(INCL)
|
||||||
|
|
||||||
|
|||||||
166
src/Make_vms.mms
166
src/Make_vms.mms
@@ -2,7 +2,7 @@
|
|||||||
# Makefile for Vim on OpenVMS
|
# Makefile for Vim on OpenVMS
|
||||||
#
|
#
|
||||||
# Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
|
# Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
|
||||||
# Last change: 2016 Nov 04
|
# Last change: 2017 Nov 18
|
||||||
#
|
#
|
||||||
# This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
|
# This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
|
||||||
# with MMS and MMK
|
# with MMS and MMK
|
||||||
@@ -299,7 +299,7 @@ ALL_CFLAGS_VER = /def=($(MODEL_DEF)$(DEFS)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF) -
|
|||||||
ALL_LIBS = $(LIBS) $(GUI_LIB_DIR) $(GUI_LIB) \
|
ALL_LIBS = $(LIBS) $(GUI_LIB_DIR) $(GUI_LIB) \
|
||||||
$(PERL_LIB) $(PYTHON_LIB) $(TCL_LIB) $(RUBY_LIB)
|
$(PERL_LIB) $(PYTHON_LIB) $(TCL_LIB) $(RUBY_LIB)
|
||||||
|
|
||||||
SRC = arabic.c blowfish.c buffer.c charset.c crypt.c crypt_zip.c dict.c diff.c digraph.c edit.c eval.c evalfunc.c \
|
SRC = arabic.c beval.obj blowfish.c buffer.c charset.c crypt.c crypt_zip.c dict.c diff.c digraph.c edit.c eval.c evalfunc.c \
|
||||||
ex_cmds.c ex_cmds2.c ex_docmd.c ex_eval.c ex_getln.c if_cscope.c if_xcmdsrv.c farsi.c fileio.c fold.c getchar.c \
|
ex_cmds.c ex_cmds2.c ex_docmd.c ex_eval.c ex_getln.c if_cscope.c if_xcmdsrv.c farsi.c fileio.c fold.c getchar.c \
|
||||||
hardcopy.c hashtab.c json.c list.c main.c mark.c menu.c mbyte.c memfile.c memline.c message.c misc1.c \
|
hardcopy.c hashtab.c json.c list.c main.c mark.c menu.c mbyte.c memfile.c memline.c message.c misc1.c \
|
||||||
misc2.c move.c normal.c ops.c option.c popupmnu.c quickfix.c regexp.c search.c sha256.c\
|
misc2.c move.c normal.c ops.c option.c popupmnu.c quickfix.c regexp.c search.c sha256.c\
|
||||||
@@ -308,7 +308,7 @@ SRC = arabic.c blowfish.c buffer.c charset.c crypt.c crypt_zip.c dict.c diff.c d
|
|||||||
$(GUI_SRC) $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) \
|
$(GUI_SRC) $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) \
|
||||||
$(RUBY_SRC) $(HANGULIN_SRC) $(MZSCH_SRC)
|
$(RUBY_SRC) $(HANGULIN_SRC) $(MZSCH_SRC)
|
||||||
|
|
||||||
OBJ = arabic.obj blowfish.obj buffer.obj charset.obj crypt.obj crypt_zip.obj dict.obj diff.obj digraph.obj edit.obj eval.obj \
|
OBJ = arabic.obj beval.obj blowfish.obj buffer.obj charset.obj crypt.obj crypt_zip.obj dict.obj diff.obj digraph.obj edit.obj eval.obj \
|
||||||
evalfunc.obj ex_cmds.obj ex_cmds2.obj ex_docmd.obj ex_eval.obj ex_getln.obj if_cscope.obj \
|
evalfunc.obj ex_cmds.obj ex_cmds2.obj ex_docmd.obj ex_eval.obj ex_getln.obj if_cscope.obj \
|
||||||
if_xcmdsrv.obj farsi.obj fileio.obj fold.obj getchar.obj hardcopy.obj hashtab.obj json.obj list.obj main.obj mark.obj \
|
if_xcmdsrv.obj farsi.obj fileio.obj fold.obj getchar.obj hardcopy.obj hashtab.obj json.obj list.obj main.obj mark.obj \
|
||||||
menu.obj memfile.obj memline.obj message.obj misc1.obj misc2.obj \
|
menu.obj memfile.obj memline.obj message.obj misc1.obj misc2.obj \
|
||||||
@@ -490,266 +490,266 @@ arabic.obj : arabic.c vim.h
|
|||||||
blowfish.obj : blowfish.c vim.h
|
blowfish.obj : blowfish.c vim.h
|
||||||
buffer.obj : buffer.c vim.h [.auto]config.h feature.h os_unix.h \
|
buffer.obj : buffer.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h version.h
|
globals.h farsi.h arabic.h version.h
|
||||||
charset.obj : charset.c vim.h [.auto]config.h feature.h os_unix.h \
|
charset.obj : charset.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
crypt.obj : crypt.c vim.h [.auto]config.h feature.h os_unix.h \
|
crypt.obj : crypt.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
crypt_zip.obj : crypt_zip.c vim.h [.auto]config.h feature.h os_unix.h \
|
crypt_zip.obj : crypt_zip.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
dict.obj : dict.c vim.h [.auto]config.h feature.h os_unix.h \
|
dict.obj : dict.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
diff.obj : diff.c vim.h [.auto]config.h feature.h os_unix.h \
|
diff.obj : diff.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
digraph.obj : digraph.c vim.h [.auto]config.h feature.h os_unix.h \
|
digraph.obj : digraph.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
edit.obj : edit.c vim.h [.auto]config.h feature.h os_unix.h \
|
edit.obj : edit.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
eval.obj : eval.c vim.h [.auto]config.h feature.h os_unix.h \
|
eval.obj : eval.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h version.h
|
arabic.h version.h
|
||||||
evalfunc.obj : evalfunc.c vim.h [.auto]config.h feature.h os_unix.h \
|
evalfunc.obj : evalfunc.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
proto.h globals.h farsi.h arabic.h version.h
|
||||||
ex_cmds.obj : ex_cmds.c vim.h [.auto]config.h feature.h os_unix.h \
|
ex_cmds.obj : ex_cmds.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h version.h
|
globals.h farsi.h arabic.h version.h
|
||||||
ex_cmds2.obj : ex_cmds2.c vim.h [.auto]config.h feature.h os_unix.h \
|
ex_cmds2.obj : ex_cmds2.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h version.h
|
globals.h farsi.h arabic.h version.h
|
||||||
ex_docmd.obj : ex_docmd.c vim.h [.auto]config.h feature.h os_unix.h \
|
ex_docmd.obj : ex_docmd.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
ex_eval.obj : ex_eval.c vim.h [.auto]config.h feature.h os_unix.h \
|
ex_eval.obj : ex_eval.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
ex_getln.obj : ex_getln.c vim.h [.auto]config.h feature.h os_unix.h \
|
ex_getln.obj : ex_getln.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
farsi.obj : farsi.c vim.h
|
farsi.obj : farsi.c vim.h
|
||||||
fileio.obj : fileio.c vim.h [.auto]config.h feature.h os_unix.h \
|
fileio.obj : fileio.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
fold.obj : fold.c vim.h [.auto]config.h feature.h os_unix.h \
|
fold.obj : fold.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
getchar.obj : getchar.c vim.h [.auto]config.h feature.h os_unix.h \
|
getchar.obj : getchar.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
hardcopy.obj : hardcopy.c vim.h [.auto]config.h feature.h os_unix.h \
|
hardcopy.obj : hardcopy.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
hashtab.obj : hashtab.c vim.h [.auto]config.h feature.h os_unix.h \
|
hashtab.obj : hashtab.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
if_cscope.obj : if_cscope.c vim.h [.auto]config.h feature.h os_unix.h \
|
if_cscope.obj : if_cscope.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h if_cscope.h
|
globals.h farsi.h arabic.h if_cscope.h
|
||||||
if_xcmdsrv.obj : if_xcmdsrv.c vim.h [.auto]config.h feature.h os_unix.h \
|
if_xcmdsrv.obj : if_xcmdsrv.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h version.h
|
globals.h farsi.h arabic.h version.h
|
||||||
if_mzsch.obj : if_mzsch.c vim.h [.auto]config.h feature.h os_unix.h \
|
if_mzsch.obj : if_mzsch.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h [.proto]gui_beval.pro ex_cmds.h proto.h \
|
regexp.h gui.h beval.h [.proto]gui_beval.pro ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h if_mzsch.h
|
globals.h farsi.h arabic.h if_mzsch.h
|
||||||
json.obj : json.c vim.h [.auto]config.h feature.h os_unix.h \
|
json.obj : json.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h version.h
|
arabic.h version.h
|
||||||
list.obj : list.c vim.h [.auto]config.h feature.h os_unix.h \
|
list.obj : list.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
main.obj : main.c vim.h [.auto]config.h feature.h os_unix.h \
|
main.obj : main.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h farsi.c arabic.c
|
arabic.h farsi.c arabic.c
|
||||||
mark.obj : mark.c vim.h [.auto]config.h feature.h os_unix.h \
|
mark.obj : mark.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
memfile.obj : memfile.c vim.h [.auto]config.h feature.h os_unix.h \
|
memfile.obj : memfile.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
memline.obj : memline.c vim.h [.auto]config.h feature.h os_unix.h \
|
memline.obj : memline.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
menu.obj : menu.c vim.h [.auto]config.h feature.h os_unix.h \
|
menu.obj : menu.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
message.obj : message.c vim.h [.auto]config.h feature.h os_unix.h \
|
message.obj : message.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
misc1.obj : misc1.c vim.h [.auto]config.h feature.h os_unix.h \
|
misc1.obj : misc1.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h version.h
|
arabic.h version.h
|
||||||
misc2.obj : misc2.c vim.h [.auto]config.h feature.h os_unix.h \
|
misc2.obj : misc2.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
move.obj : move.c vim.h [.auto]config.h feature.h os_unix.h \
|
move.obj : move.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
mbyte.obj : mbyte.c vim.h [.auto]config.h feature.h os_unix.h \
|
mbyte.obj : mbyte.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
normal.obj : normal.c vim.h [.auto]config.h feature.h os_unix.h \
|
normal.obj : normal.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
ops.obj : ops.c vim.h [.auto]config.h feature.h os_unix.h \
|
ops.obj : ops.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
option.obj : option.c vim.h [.auto]config.h feature.h os_unix.h \
|
option.obj : option.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
os_unix.obj : os_unix.c vim.h [.auto]config.h feature.h os_unix.h \
|
os_unix.obj : os_unix.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h os_unixx.h
|
globals.h farsi.h arabic.h os_unixx.h
|
||||||
os_vms.obj : os_vms.c vim.h [.auto]config.h feature.h os_unix.h \
|
os_vms.obj : os_vms.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h os_unixx.h
|
globals.h farsi.h arabic.h os_unixx.h
|
||||||
pathdef.obj : pathdef.c vim.h [.auto]config.h feature.h os_unix.h \
|
pathdef.obj : pathdef.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
popupmnu.obj : popupmnu.c vim.h [.auto]config.h feature.h os_unix.h \
|
popupmnu.obj : popupmnu.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
quickfix.obj : quickfix.c vim.h [.auto]config.h feature.h os_unix.h \
|
quickfix.obj : quickfix.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
regexp.obj : regexp.c vim.h [.auto]config.h feature.h os_unix.h \
|
regexp.obj : regexp.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
screen.obj : screen.c vim.h [.auto]config.h feature.h os_unix.h \
|
screen.obj : screen.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
search.obj : search.c vim.h [.auto]config.h feature.h os_unix.h \
|
search.obj : search.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
sha256.obj : sha256.c vim.h [.auto]config.h feature.h os_unix.h \
|
sha256.obj : sha256.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
spell.obj : spell.c vim.h [.auto]config.h feature.h os_unix.h \
|
spell.obj : spell.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
spellfile.obj : spellfile.c vim.h [.auto]config.h feature.h os_unix.h \
|
spellfile.obj : spellfile.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
syntax.obj : syntax.c vim.h [.auto]config.h feature.h os_unix.h \
|
syntax.obj : syntax.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
tag.obj : tag.c vim.h [.auto]config.h feature.h os_unix.h \
|
tag.obj : tag.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
term.obj : term.c vim.h [.auto]config.h feature.h os_unix.h \
|
term.obj : term.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
termlib.obj : termlib.c vim.h [.auto]config.h feature.h os_unix.h \
|
termlib.obj : termlib.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
ui.obj : ui.c vim.h [.auto]config.h feature.h os_unix.h \
|
ui.obj : ui.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
undo.obj : undo.c vim.h [.auto]config.h feature.h os_unix.h \
|
undo.obj : undo.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
userfunc.obj : userfunc.c vim.h [.auto]config.h feature.h os_unix.h \
|
userfunc.obj : userfunc.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
version.obj : version.c vim.h [.auto]config.h feature.h os_unix.h \
|
version.obj : version.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h version.h
|
globals.h farsi.h arabic.h version.h
|
||||||
window.obj : window.c vim.h [.auto]config.h feature.h os_unix.h \
|
window.obj : window.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
gui.obj : gui.c vim.h [.auto]config.h feature.h os_unix.h \
|
gui.obj : gui.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
gui_gtk.obj : gui_gtk.c gui_gtk_f.h vim.h [.auto]config.h feature.h \
|
gui_gtk.obj : gui_gtk.c gui_gtk_f.h vim.h [.auto]config.h feature.h \
|
||||||
os_unix.h ascii.h keymap.h term.h macros.h structs.h \
|
os_unix.h ascii.h keymap.h term.h macros.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h \
|
regexp.h gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h \
|
||||||
proto.h globals.h farsi.h arabic.h [-.pixmaps]stock_icons.h
|
proto.h globals.h farsi.h arabic.h [-.pixmaps]stock_icons.h
|
||||||
gui_gtk_f.obj : gui_gtk_f.c vim.h [.auto]config.h feature.h os_unix.h \
|
gui_gtk_f.obj : gui_gtk_f.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h gui_gtk_f.h
|
globals.h farsi.h arabic.h gui_gtk_f.h
|
||||||
gui_motif.obj : gui_motif.c vim.h [.auto]config.h feature.h os_unix.h \
|
gui_motif.obj : gui_motif.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h [-.pixmaps]alert.xpm [-.pixmaps]error.xpm \
|
globals.h farsi.h arabic.h [-.pixmaps]alert.xpm [-.pixmaps]error.xpm \
|
||||||
[-.pixmaps]generic.xpm [-.pixmaps]info.xpm [-.pixmaps]quest.xpm
|
[-.pixmaps]generic.xpm [-.pixmaps]info.xpm [-.pixmaps]quest.xpm
|
||||||
gui_athena.obj : gui_athena.c vim.h [.auto]config.h feature.h os_unix.h \
|
gui_athena.obj : gui_athena.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h gui_at_sb.h
|
globals.h farsi.h arabic.h gui_at_sb.h
|
||||||
gui_gtk_x11.obj : gui_gtk_x11.c vim.h [.auto]config.h feature.h os_unix.h \
|
gui_gtk_x11.obj : gui_gtk_x11.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h gui_gtk_f.h [-.runtime]vim32x32.xpm \
|
globals.h farsi.h arabic.h gui_gtk_f.h [-.runtime]vim32x32.xpm \
|
||||||
[-.runtime]vim16x16.xpm [-.runtime]vim48x48.xpm
|
[-.runtime]vim16x16.xpm [-.runtime]vim48x48.xpm
|
||||||
gui_x11.obj : gui_x11.c vim.h [.auto]config.h feature.h os_unix.h \
|
gui_x11.obj : gui_x11.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h [-.runtime]vim32x32.xpm \
|
globals.h farsi.h arabic.h [-.runtime]vim32x32.xpm \
|
||||||
[-.runtime]vim16x16.xpm [-.runtime]vim48x48.xpm [-.pixmaps]tb_new.xpm \
|
[-.runtime]vim16x16.xpm [-.runtime]vim48x48.xpm [-.pixmaps]tb_new.xpm \
|
||||||
[-.pixmaps]tb_open.xpm [-.pixmaps]tb_close.xpm [-.pixmaps]tb_save.xpm \
|
[-.pixmaps]tb_open.xpm [-.pixmaps]tb_close.xpm [-.pixmaps]tb_save.xpm \
|
||||||
@@ -769,56 +769,60 @@ gui_x11.obj : gui_x11.c vim.h [.auto]config.h feature.h os_unix.h \
|
|||||||
[-.pixmaps]tb_minwidth.xpm
|
[-.pixmaps]tb_minwidth.xpm
|
||||||
gui_at_sb.obj : gui_at_sb.c vim.h [.auto]config.h feature.h os_unix.h \
|
gui_at_sb.obj : gui_at_sb.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h gui_at_sb.h
|
globals.h farsi.h arabic.h gui_at_sb.h
|
||||||
gui_at_fs.obj : gui_at_fs.c vim.h [.auto]config.h feature.h os_unix.h \
|
gui_at_fs.obj : gui_at_fs.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h gui_at_sb.h
|
globals.h farsi.h arabic.h gui_at_sb.h
|
||||||
pty.obj : pty.c vim.h [.auto]config.h feature.h os_unix.h \
|
pty.obj : pty.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
|
||||||
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
|
||||||
arabic.h
|
arabic.h
|
||||||
hangulin.obj : hangulin.c vim.h [.auto]config.h feature.h os_unix.h \
|
hangulin.obj : hangulin.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
if_perl.obj : [.auto]if_perl.c vim.h [.auto]config.h feature.h os_unix.h \
|
if_perl.obj : [.auto]if_perl.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
if_perlsfio.obj : if_perlsfio.c vim.h [.auto]config.h feature.h os_unix.h \
|
if_perlsfio.obj : if_perlsfio.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
if_python.obj : if_python.c vim.h [.auto]config.h feature.h os_unix.h \
|
if_python.obj : if_python.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
if_tcl.obj : if_tcl.c vim.h [.auto]config.h feature.h os_unix.h \
|
if_tcl.obj : if_tcl.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
if_ruby.obj : if_ruby.c vim.h [.auto]config.h feature.h os_unix.h \
|
if_ruby.obj : if_ruby.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h version.h
|
globals.h farsi.h arabic.h version.h
|
||||||
|
beval.obj : beval.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
|
gui.h beval.h option.h ex_cmds.h proto.h \
|
||||||
|
globals.h farsi.h arabic.h
|
||||||
gui_beval.obj : gui_beval.c vim.h [.auto]config.h feature.h os_unix.h \
|
gui_beval.obj : gui_beval.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.h farsi.h arabic.h
|
||||||
workshop.obj : workshop.c [.auto]config.h integration.h vim.h feature.h \
|
workshop.obj : workshop.c [.auto]config.h integration.h vim.h feature.h \
|
||||||
os_unix.h ascii.h keymap.h term.h macros.h structs.h \
|
os_unix.h ascii.h keymap.h term.h macros.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h \
|
regexp.h gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h \
|
||||||
proto.h globals.h farsi.h arabic.h version.h workshop.h
|
proto.h globals.h farsi.h arabic.h version.h workshop.h
|
||||||
wsdebug.obj : wsdebug.c
|
wsdebug.obj : wsdebug.c
|
||||||
integration.obj : integration.c vim.h [.auto]config.h feature.h os_unix.h \
|
integration.obj : integration.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h integration.h
|
globals.h farsi.h arabic.h integration.h
|
||||||
netbeans.obj : netbeans.c vim.h [.auto]config.h feature.h os_unix.h \
|
netbeans.obj : netbeans.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h version.h
|
globals.h farsi.h arabic.h version.h
|
||||||
gui_xmdlg.obj : gui_xmdlg.c
|
gui_xmdlg.obj : gui_xmdlg.c
|
||||||
gui_xmebw.obj : gui_xmebw.c
|
gui_xmebw.obj : gui_xmebw.c
|
||||||
|
|||||||
508
src/Makefile
508
src/Makefile
@@ -340,7 +340,7 @@ CClink = $(CC)
|
|||||||
# When both GTK+ 2 and GTK+ 3 are possible then GTK+ 2 will be selected.
|
# When both GTK+ 2 and GTK+ 3 are possible then GTK+ 2 will be selected.
|
||||||
# To use GTK+ 3 instead use --enable-gui=gtk3 (see below).
|
# To use GTK+ 3 instead use --enable-gui=gtk3 (see below).
|
||||||
#CONF_OPT_GUI = --disable-gtk2-check
|
#CONF_OPT_GUI = --disable-gtk2-check
|
||||||
#CONF_OPT_GUI = --enable-gnome2-check
|
#CONF_OPT_GUI = --enable-gnome-check
|
||||||
#CONF_OPT_GUI = --disable-gtk3-check
|
#CONF_OPT_GUI = --disable-gtk3-check
|
||||||
#CONF_OPT_GUI = --disable-motif-check
|
#CONF_OPT_GUI = --disable-motif-check
|
||||||
#CONF_OPT_GUI = --disable-athena-check
|
#CONF_OPT_GUI = --disable-athena-check
|
||||||
@@ -483,9 +483,12 @@ CClink = $(CC)
|
|||||||
#CONF_OPT_CHANNEL = --disable-channel
|
#CONF_OPT_CHANNEL = --disable-channel
|
||||||
|
|
||||||
# TERMINAL - Terminal emulator support, :terminal command. Requires the
|
# TERMINAL - Terminal emulator support, :terminal command. Requires the
|
||||||
# channel feature.
|
# channel feature. The default is enable for when using "huge" features.
|
||||||
# Uncomment this when you want terminal emulator support.
|
# Uncomment the first line when you want terminal emulator support for
|
||||||
|
# not-huge builds. Uncomment the second line when you don't want terminal
|
||||||
|
# emulator support in the huge build.
|
||||||
#CONF_OPT_TERMINAL = --enable-terminal
|
#CONF_OPT_TERMINAL = --enable-terminal
|
||||||
|
#CONF_OPT_TERMINAL = --disable-terminal
|
||||||
|
|
||||||
# MULTIBYTE - To edit multi-byte characters.
|
# MULTIBYTE - To edit multi-byte characters.
|
||||||
# Uncomment this when you want to edit a multibyte language.
|
# Uncomment this when you want to edit a multibyte language.
|
||||||
@@ -567,6 +570,9 @@ CClink = $(CC)
|
|||||||
# This disables the dialog that asks you if you want to save files or not.
|
# This disables the dialog that asks you if you want to save files or not.
|
||||||
#CONF_OPT_XSMP = --disable-xsmp-interact
|
#CONF_OPT_XSMP = --disable-xsmp-interact
|
||||||
|
|
||||||
|
# If you want to always automatically add a servername, also in the terminal.
|
||||||
|
#CONF_OPT_AUTOSERVE = --enable-autoservername
|
||||||
|
|
||||||
# COMPILER - Name of the compiler {{{1
|
# COMPILER - Name of the compiler {{{1
|
||||||
# The default from configure will mostly be fine, no need to change this, just
|
# The default from configure will mostly be fine, no need to change this, just
|
||||||
# an example. If a compiler is defined here, configure will use it rather than
|
# an example. If a compiler is defined here, configure will use it rather than
|
||||||
@@ -1523,6 +1529,7 @@ TAGS_INCL = *.h
|
|||||||
|
|
||||||
BASIC_SRC = \
|
BASIC_SRC = \
|
||||||
arabic.c \
|
arabic.c \
|
||||||
|
beval.c \
|
||||||
blowfish.c \
|
blowfish.c \
|
||||||
buffer.c \
|
buffer.c \
|
||||||
charset.c \
|
charset.c \
|
||||||
@@ -1635,6 +1642,7 @@ LINT_SRC = $(BASIC_SRC) $(GUI_SRC) $(HANGULIN_SRC) \
|
|||||||
|
|
||||||
OBJ_COMMON = \
|
OBJ_COMMON = \
|
||||||
objects/arabic.o \
|
objects/arabic.o \
|
||||||
|
objects/beval.o \
|
||||||
objects/buffer.o \
|
objects/buffer.o \
|
||||||
objects/blowfish.o \
|
objects/blowfish.o \
|
||||||
objects/crypt.o \
|
objects/crypt.o \
|
||||||
@@ -1823,6 +1831,7 @@ PRO_AUTO = \
|
|||||||
userfunc.pro \
|
userfunc.pro \
|
||||||
version.pro \
|
version.pro \
|
||||||
window.pro \
|
window.pro \
|
||||||
|
beval.pro \
|
||||||
gui_beval.pro \
|
gui_beval.pro \
|
||||||
workshop.pro \
|
workshop.pro \
|
||||||
netbeans.pro \
|
netbeans.pro \
|
||||||
@@ -1863,7 +1872,7 @@ config auto/config.mk: auto/configure config.mk.in config.h.in
|
|||||||
CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
|
CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
|
||||||
LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) srcdir="$(srcdir)" \
|
LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) srcdir="$(srcdir)" \
|
||||||
./configure $(CONF_OPT_GUI) $(CONF_OPT_X) $(CONF_OPT_XSMP) \
|
./configure $(CONF_OPT_GUI) $(CONF_OPT_X) $(CONF_OPT_XSMP) \
|
||||||
$(CONF_OPT_DARWIN) $(CONF_OPT_FAIL) \
|
$(CONF_OPT_AUTOSERVE) $(CONF_OPT_DARWIN) $(CONF_OPT_FAIL) \
|
||||||
$(CONF_OPT_PERL) $(CONF_OPT_PYTHON) $(CONF_OPT_PYTHON3) \
|
$(CONF_OPT_PERL) $(CONF_OPT_PYTHON) $(CONF_OPT_PYTHON3) \
|
||||||
$(CONF_OPT_TCL) $(CONF_OPT_RUBY) $(CONF_OPT_NLS) \
|
$(CONF_OPT_TCL) $(CONF_OPT_RUBY) $(CONF_OPT_NLS) \
|
||||||
$(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \
|
$(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \
|
||||||
@@ -2088,32 +2097,23 @@ run_memfile_test: $(MEMFILE_TEST_TARGET)
|
|||||||
run_message_test: $(MESSAGE_TEST_TARGET)
|
run_message_test: $(MESSAGE_TEST_TARGET)
|
||||||
$(VALGRIND) ./$(MESSAGE_TEST_TARGET) || exit 1; echo $* passed;
|
$(VALGRIND) ./$(MESSAGE_TEST_TARGET) || exit 1; echo $* passed;
|
||||||
|
|
||||||
# Run individual OLD style test, assuming that Vim was already compiled.
|
# Run individual OLD style test.
|
||||||
|
# These do not depend on the executable, compile it when needed.
|
||||||
test1 \
|
test1 \
|
||||||
test_autoformat_join \
|
|
||||||
test_changelist \
|
|
||||||
test_close_count \
|
|
||||||
test_erasebackword \
|
|
||||||
test_eval \
|
test_eval \
|
||||||
test_fixeol \
|
|
||||||
test_insertcount \
|
|
||||||
test_listchars \
|
|
||||||
test_search_mbyte \
|
|
||||||
test_wordcount \
|
test_wordcount \
|
||||||
test3 test4 test5 test7 test8 \
|
test3 test11 test14 test15 test17 \
|
||||||
test11 test12 test14 test15 test17 test19 \
|
test29 test30 test36 test37 test39 \
|
||||||
test20 test25 test28 test29 \
|
test42 test44 test48 test49 \
|
||||||
test30 test31 test32 test33 test34 test36 test37 test38 test39 \
|
test50 test52 test59 \
|
||||||
test40 test41 test42 test43 test44 test45 test48 test49 \
|
test64 test69 \
|
||||||
test50 test52 test53 test54 test55 test56 test57 test59 \
|
test70 test72 \
|
||||||
test60 test64 test66 test68 test69 \
|
test85 test86 test87 test88 \
|
||||||
test70 test72 test73 test77 test78 test79 \
|
test94 test95 test99 test108:
|
||||||
test83 test85 test86 test87 test88 \
|
|
||||||
test94 test95 test99 \
|
|
||||||
test108:
|
|
||||||
cd testdir; rm -f $@.out; $(MAKE) -f Makefile $@.out VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
|
cd testdir; rm -f $@.out; $(MAKE) -f Makefile $@.out VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
|
||||||
|
|
||||||
# Run individual NEW style test, assuming that Vim was already compiled.
|
# Run individual NEW style test.
|
||||||
|
# These do not depend on the executable, compile it when needed.
|
||||||
test_arglist \
|
test_arglist \
|
||||||
test_arabic \
|
test_arabic \
|
||||||
test_assert \
|
test_assert \
|
||||||
@@ -2132,6 +2132,7 @@ test_arglist \
|
|||||||
test_charsearch_utf8 \
|
test_charsearch_utf8 \
|
||||||
test_cindent \
|
test_cindent \
|
||||||
test_clientserver \
|
test_clientserver \
|
||||||
|
test_close_count \
|
||||||
test_cmdline \
|
test_cmdline \
|
||||||
test_command_count \
|
test_command_count \
|
||||||
test_comparators \
|
test_comparators \
|
||||||
@@ -2144,11 +2145,13 @@ test_arglist \
|
|||||||
test_digraph \
|
test_digraph \
|
||||||
test_display \
|
test_display \
|
||||||
test_edit \
|
test_edit \
|
||||||
|
test_erasebackword \
|
||||||
test_escaped_glob \
|
test_escaped_glob \
|
||||||
test_ex_undo \
|
test_ex_undo \
|
||||||
test_ex_z \
|
test_ex_z \
|
||||||
test_exec_while_if \
|
test_exec_while_if \
|
||||||
test_execute_func \
|
test_execute_func \
|
||||||
|
test_exists \
|
||||||
test_exists_autocmd \
|
test_exists_autocmd \
|
||||||
test_expand \
|
test_expand \
|
||||||
test_expand_dllpath \
|
test_expand_dllpath \
|
||||||
@@ -2162,7 +2165,9 @@ test_arglist \
|
|||||||
test_filetype \
|
test_filetype \
|
||||||
test_filter_cmd \
|
test_filter_cmd \
|
||||||
test_filter_map \
|
test_filter_map \
|
||||||
|
test_find_complete \
|
||||||
test_findfile \
|
test_findfile \
|
||||||
|
test_fixeol \
|
||||||
test_float_func \
|
test_float_func \
|
||||||
test_fnameescape \
|
test_fnameescape \
|
||||||
test_fnamemodify \
|
test_fnamemodify \
|
||||||
@@ -2185,8 +2190,10 @@ test_arglist \
|
|||||||
test_highlight \
|
test_highlight \
|
||||||
test_history \
|
test_history \
|
||||||
test_hlsearch \
|
test_hlsearch \
|
||||||
|
test_iminsert \
|
||||||
test_increment \
|
test_increment \
|
||||||
test_increment_dbcs \
|
test_increment_dbcs \
|
||||||
|
test_ins_complete \
|
||||||
test_job_fails \
|
test_job_fails \
|
||||||
test_join \
|
test_join \
|
||||||
test_json \
|
test_json \
|
||||||
@@ -2197,6 +2204,8 @@ test_arglist \
|
|||||||
test_let \
|
test_let \
|
||||||
test_lineending \
|
test_lineending \
|
||||||
test_lispwords \
|
test_lispwords \
|
||||||
|
test_listchars \
|
||||||
|
test_listdict \
|
||||||
test_listlbr \
|
test_listlbr \
|
||||||
test_listlbr_utf8 \
|
test_listlbr_utf8 \
|
||||||
test_lua \
|
test_lua \
|
||||||
@@ -2240,6 +2249,7 @@ test_arglist \
|
|||||||
test_reltime \
|
test_reltime \
|
||||||
test_retab \
|
test_retab \
|
||||||
test_ruby \
|
test_ruby \
|
||||||
|
test_scroll_opt \
|
||||||
test_scrollbind \
|
test_scrollbind \
|
||||||
test_search \
|
test_search \
|
||||||
test_searchpos \
|
test_searchpos \
|
||||||
@@ -2255,6 +2265,7 @@ test_arglist \
|
|||||||
test_stat \
|
test_stat \
|
||||||
test_statusline \
|
test_statusline \
|
||||||
test_substitute \
|
test_substitute \
|
||||||
|
test_swap \
|
||||||
test_syn_attr \
|
test_syn_attr \
|
||||||
test_syntax \
|
test_syntax \
|
||||||
test_system \
|
test_system \
|
||||||
@@ -2266,6 +2277,7 @@ test_arglist \
|
|||||||
test_tcl \
|
test_tcl \
|
||||||
test_terminal \
|
test_terminal \
|
||||||
test_terminal_fail \
|
test_terminal_fail \
|
||||||
|
test_textformat \
|
||||||
test_textobjects \
|
test_textobjects \
|
||||||
test_timers \
|
test_timers \
|
||||||
test_true_false \
|
test_true_false \
|
||||||
@@ -2279,6 +2291,7 @@ test_arglist \
|
|||||||
test_virtualedit \
|
test_virtualedit \
|
||||||
test_visual \
|
test_visual \
|
||||||
test_winbar \
|
test_winbar \
|
||||||
|
test_winbuf_close \
|
||||||
test_window_cmd \
|
test_window_cmd \
|
||||||
test_window_id \
|
test_window_id \
|
||||||
test_windows_home \
|
test_windows_home \
|
||||||
@@ -2377,8 +2390,8 @@ installruntime: installrtbase installmacros installpack installtutor installspel
|
|||||||
# install the help files; first adjust the contents for the final location
|
# install the help files; first adjust the contents for the final location
|
||||||
installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
|
installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
|
||||||
$(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) \
|
$(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) \
|
||||||
$(DEST_FTP) $(DEST_AUTO) $(DEST_AUTO)/xml $(DEST_PLUG) \
|
$(DEST_FTP) $(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \
|
||||||
$(DEST_TUTOR) $(DEST_SPELL) $(DEST_COMP)
|
$(DEST_PLUG) $(DEST_TUTOR) $(DEST_SPELL) $(DEST_COMP)
|
||||||
-$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
|
-$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
|
||||||
# Generate the help tags with ":helptags" to handle all languages.
|
# Generate the help tags with ":helptags" to handle all languages.
|
||||||
# Move the distributed tags file aside and restore it, to avoid it being
|
# Move the distributed tags file aside and restore it, to avoid it being
|
||||||
@@ -2454,6 +2467,8 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
|
|||||||
# install the standard autoload files
|
# install the standard autoload files
|
||||||
cd $(AUTOSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_AUTO)
|
cd $(AUTOSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_AUTO)
|
||||||
cd $(DEST_AUTO); chmod $(HELPMOD) *.vim README.txt
|
cd $(DEST_AUTO); chmod $(HELPMOD) *.vim README.txt
|
||||||
|
cd $(AUTOSOURCE)/dist; $(INSTALL_DATA) *.vim $(DEST_AUTO)/dist
|
||||||
|
cd $(DEST_AUTO)/dist; chmod $(HELPMOD) *.vim
|
||||||
cd $(AUTOSOURCE)/xml; $(INSTALL_DATA) *.vim $(DEST_AUTO)/xml
|
cd $(AUTOSOURCE)/xml; $(INSTALL_DATA) *.vim $(DEST_AUTO)/xml
|
||||||
cd $(DEST_AUTO)/xml; chmod $(HELPMOD) *.vim
|
cd $(DEST_AUTO)/xml; chmod $(HELPMOD) *.vim
|
||||||
# install the standard plugin files
|
# install the standard plugin files
|
||||||
@@ -2649,7 +2664,7 @@ $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
|
|||||||
$(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) $(DEST_FTP) \
|
$(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) $(DEST_FTP) \
|
||||||
$(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) $(DEST_MACRO) \
|
$(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) $(DEST_MACRO) \
|
||||||
$(DEST_PACK) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_SPELL) \
|
$(DEST_PACK) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_SPELL) \
|
||||||
$(DEST_AUTO) $(DEST_AUTO)/xml $(DEST_PLUG):
|
$(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml $(DEST_PLUG):
|
||||||
$(MKDIR_P) $@
|
$(MKDIR_P) $@
|
||||||
-chmod $(DIRMOD) $@
|
-chmod $(DIRMOD) $@
|
||||||
|
|
||||||
@@ -2804,9 +2819,11 @@ uninstall_runtime:
|
|||||||
-rm -f $(DEST_PRINT)/*.ps
|
-rm -f $(DEST_PRINT)/*.ps
|
||||||
-rmdir $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND)
|
-rmdir $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND)
|
||||||
-rm -rf $(DEST_FTP)/*.vim $(DEST_FTP)/README.txt $(DEST_FTP)/logtalk.dict
|
-rm -rf $(DEST_FTP)/*.vim $(DEST_FTP)/README.txt $(DEST_FTP)/logtalk.dict
|
||||||
-rm -f $(DEST_AUTO)/*.vim $(DEST_AUTO)/README.txt $(DEST_AUTO)/xml/*.vim
|
-rm -f $(DEST_AUTO)/*.vim $(DEST_AUTO)/README.txt
|
||||||
|
-rm -f $(DEST_AUTO)/dist/*.vim $(DEST_AUTO)/xml/*.vim
|
||||||
-rm -f $(DEST_PLUG)/*.vim $(DEST_PLUG)/README.txt
|
-rm -f $(DEST_PLUG)/*.vim $(DEST_PLUG)/README.txt
|
||||||
-rmdir $(DEST_FTP) $(DEST_AUTO)/xml $(DEST_AUTO) $(DEST_PLUG) $(DEST_RT)
|
-rmdir $(DEST_FTP) $(DEST_AUTO)/dist $(DEST_AUTO)/xml $(DEST_AUTO)
|
||||||
|
-rmdir $(DEST_PLUG) $(DEST_RT)
|
||||||
# This will fail when other Vim versions are installed, no worries.
|
# This will fail when other Vim versions are installed, no worries.
|
||||||
-rmdir $(DEST_VIM)
|
-rmdir $(DEST_VIM)
|
||||||
|
|
||||||
@@ -3075,6 +3092,9 @@ objects/gui_at_sb.o: gui_at_sb.c
|
|||||||
objects/gui_athena.o: gui_athena.c
|
objects/gui_athena.o: gui_athena.c
|
||||||
$(CCC) -o $@ gui_athena.c
|
$(CCC) -o $@ gui_athena.c
|
||||||
|
|
||||||
|
objects/beval.o: beval.c
|
||||||
|
$(CCC) -o $@ beval.c
|
||||||
|
|
||||||
objects/gui_beval.o: gui_beval.c
|
objects/gui_beval.o: gui_beval.c
|
||||||
$(CCC) -o $@ gui_beval.c
|
$(CCC) -o $@ gui_beval.c
|
||||||
|
|
||||||
@@ -3419,285 +3439,267 @@ $(APPDIR)/Contents:
|
|||||||
### Dependencies:
|
### Dependencies:
|
||||||
objects/arabic.o: arabic.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/arabic.o: arabic.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
|
objects/beval.o: beval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/blowfish.o: blowfish.c vim.h auto/config.h feature.h os_unix.h \
|
objects/blowfish.o: blowfish.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h
|
||||||
objects/buffer.o: buffer.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/buffer.o: buffer.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h version.h
|
proto.h globals.h farsi.h arabic.h version.h
|
||||||
objects/charset.o: charset.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/charset.o: charset.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/crypt.o: crypt.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/crypt.o: crypt.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/crypt_zip.o: crypt_zip.c vim.h auto/config.h feature.h os_unix.h \
|
objects/crypt_zip.o: crypt_zip.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h
|
||||||
objects/dict.o: dict.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/dict.o: dict.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/diff.o: diff.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/diff.o: diff.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/digraph.o: digraph.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/digraph.o: digraph.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/edit.o: edit.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/edit.o: edit.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/eval.o: eval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/eval.o: eval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h version.h
|
proto.h globals.h farsi.h arabic.h version.h
|
||||||
objects/evalfunc.o: evalfunc.c vim.h auto/config.h feature.h os_unix.h \
|
objects/evalfunc.o: evalfunc.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h version.h
|
||||||
objects/ex_cmds.o: ex_cmds.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/ex_cmds.o: ex_cmds.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h version.h
|
proto.h globals.h farsi.h arabic.h version.h
|
||||||
objects/ex_cmds2.o: ex_cmds2.c vim.h auto/config.h feature.h os_unix.h \
|
objects/ex_cmds2.o: ex_cmds2.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h version.h
|
||||||
objects/ex_docmd.o: ex_docmd.c vim.h auto/config.h feature.h os_unix.h \
|
objects/ex_docmd.o: ex_docmd.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h ex_cmdidxs.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h ex_cmdidxs.h
|
||||||
objects/ex_eval.o: ex_eval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/ex_eval.o: ex_eval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/ex_getln.o: ex_getln.c vim.h auto/config.h feature.h os_unix.h \
|
objects/ex_getln.o: ex_getln.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h
|
||||||
objects/farsi.o: farsi.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/farsi.o: farsi.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/fileio.o: fileio.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/fileio.o: fileio.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/fold.o: fold.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/fold.o: fold.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/getchar.o: getchar.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/getchar.o: getchar.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/hardcopy.o: hardcopy.c vim.h auto/config.h feature.h os_unix.h \
|
objects/hardcopy.o: hardcopy.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h version.h
|
||||||
objects/hashtab.o: hashtab.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/hashtab.o: hashtab.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/if_cscope.o: if_cscope.c vim.h auto/config.h feature.h os_unix.h \
|
objects/if_cscope.o: if_cscope.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h if_cscope.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h if_cscope.h
|
||||||
objects/if_xcmdsrv.o: if_xcmdsrv.c vim.h auto/config.h feature.h os_unix.h \
|
objects/if_xcmdsrv.o: if_xcmdsrv.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h version.h
|
||||||
objects/json.o: json.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/json.o: json.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/list.o: list.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/list.o: list.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/main.o: main.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/main.o: main.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/mark.o: mark.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/mark.o: mark.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/memfile.o: memfile.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/memfile.o: memfile.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/memline.o: memline.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/memline.o: memline.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/menu.o: menu.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/menu.o: menu.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/message.o: message.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/message.o: message.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/misc1.o: misc1.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/misc1.o: misc1.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h version.h
|
proto.h globals.h farsi.h arabic.h version.h
|
||||||
objects/misc2.o: misc2.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/misc2.o: misc2.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/move.o: move.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/move.o: move.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/mbyte.o: mbyte.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/mbyte.o: mbyte.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/normal.o: normal.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/normal.o: normal.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/ops.o: ops.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
|
objects/ops.o: ops.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
|
||||||
keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
|
keymap.h term.h macros.h option.h structs.h regexp.h gui.h alloc.h \
|
||||||
proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h globals.h farsi.h \
|
beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h proto.h \
|
||||||
arabic.h
|
globals.h farsi.h arabic.h
|
||||||
objects/option.o: option.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/option.o: option.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/os_unix.o: os_unix.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/os_unix.o: os_unix.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h os_unixx.h
|
proto.h globals.h farsi.h arabic.h if_mzsch.h os_unixx.h
|
||||||
objects/pathdef.o: auto/pathdef.c vim.h auto/config.h feature.h os_unix.h \
|
objects/pathdef.o: auto/pathdef.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h
|
||||||
objects/popupmnu.o: popupmnu.c vim.h auto/config.h feature.h os_unix.h \
|
objects/popupmnu.o: popupmnu.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h
|
||||||
|
objects/pty.o: pty.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
|
||||||
|
keymap.h term.h macros.h option.h structs.h regexp.h gui.h alloc.h \
|
||||||
|
beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h proto.h \
|
||||||
|
globals.h farsi.h arabic.h
|
||||||
objects/quickfix.o: quickfix.c vim.h auto/config.h feature.h os_unix.h \
|
objects/quickfix.o: quickfix.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h
|
||||||
objects/regexp.o: regexp.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/regexp.o: regexp.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h regexp_nfa.c
|
proto.h globals.h farsi.h arabic.h regexp_nfa.c
|
||||||
objects/screen.o: screen.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/screen.o: screen.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/search.o: search.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/search.o: search.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/sha256.o: sha256.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/sha256.o: sha256.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/spell.o: spell.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/spell.o: spell.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/spellfile.o: spellfile.c vim.h auto/config.h feature.h os_unix.h \
|
objects/spellfile.o: spellfile.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h
|
||||||
objects/syntax.o: syntax.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/syntax.o: syntax.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/tag.o: tag.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
|
objects/tag.o: tag.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
|
||||||
keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
|
keymap.h term.h macros.h option.h structs.h regexp.h gui.h alloc.h \
|
||||||
proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h globals.h farsi.h \
|
beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h proto.h \
|
||||||
arabic.h
|
globals.h farsi.h arabic.h
|
||||||
objects/term.o: term.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/term.o: term.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/terminal.o: terminal.c vim.h auto/config.h feature.h os_unix.h \
|
objects/terminal.o: terminal.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h \
|
||||||
|
libvterm/include/vterm.h libvterm/include/vterm_keycodes.h
|
||||||
objects/ui.o: ui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
|
objects/ui.o: ui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
|
||||||
keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
|
keymap.h term.h macros.h option.h structs.h regexp.h gui.h alloc.h \
|
||||||
proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h globals.h farsi.h \
|
beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h proto.h \
|
||||||
arabic.h
|
globals.h farsi.h arabic.h
|
||||||
objects/undo.o: undo.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/undo.o: undo.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/userfunc.o: userfunc.c vim.h auto/config.h feature.h os_unix.h \
|
objects/userfunc.o: userfunc.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h
|
||||||
objects/version.o: version.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/version.o: version.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h version.h
|
proto.h globals.h farsi.h arabic.h version.h
|
||||||
objects/window.o: window.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/window.o: window.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/gui.o: gui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
|
objects/gui.o: gui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
|
||||||
keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
|
keymap.h term.h macros.h option.h structs.h regexp.h gui.h alloc.h \
|
||||||
proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h globals.h farsi.h \
|
beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h proto.h \
|
||||||
arabic.h
|
globals.h farsi.h arabic.h
|
||||||
objects/gui_gtk.o: gui_gtk.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/gui_gtk.o: gui_gtk.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h gui_gtk_f.h
|
proto.h globals.h farsi.h arabic.h gui_gtk_f.h
|
||||||
objects/gui_gtk_f.o: gui_gtk_f.c vim.h auto/config.h feature.h os_unix.h \
|
objects/gui_gtk_f.o: gui_gtk_f.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h gui_gtk_f.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h gui_gtk_f.h
|
||||||
objects/gui_motif.o: gui_motif.c vim.h auto/config.h feature.h os_unix.h \
|
objects/gui_motif.o: gui_motif.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h gui_xmebw.h ../pixmaps/alert.xpm \
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h gui_xmebw.h \
|
||||||
../pixmaps/error.xpm ../pixmaps/generic.xpm ../pixmaps/info.xpm \
|
../pixmaps/alert.xpm ../pixmaps/error.xpm ../pixmaps/generic.xpm \
|
||||||
../pixmaps/quest.xpm gui_x11_pm.h ../pixmaps/tb_new.xpm \
|
../pixmaps/info.xpm ../pixmaps/quest.xpm gui_x11_pm.h \
|
||||||
../pixmaps/tb_open.xpm ../pixmaps/tb_close.xpm ../pixmaps/tb_save.xpm \
|
|
||||||
../pixmaps/tb_print.xpm ../pixmaps/tb_cut.xpm ../pixmaps/tb_copy.xpm \
|
|
||||||
../pixmaps/tb_paste.xpm ../pixmaps/tb_find.xpm \
|
|
||||||
../pixmaps/tb_find_next.xpm ../pixmaps/tb_find_prev.xpm \
|
|
||||||
../pixmaps/tb_find_help.xpm ../pixmaps/tb_exit.xpm \
|
|
||||||
../pixmaps/tb_undo.xpm ../pixmaps/tb_redo.xpm ../pixmaps/tb_help.xpm \
|
|
||||||
../pixmaps/tb_macro.xpm ../pixmaps/tb_make.xpm \
|
|
||||||
../pixmaps/tb_save_all.xpm ../pixmaps/tb_jump.xpm \
|
|
||||||
../pixmaps/tb_ctags.xpm ../pixmaps/tb_load_session.xpm \
|
|
||||||
../pixmaps/tb_save_session.xpm ../pixmaps/tb_new_session.xpm \
|
|
||||||
../pixmaps/tb_blank.xpm ../pixmaps/tb_maximize.xpm \
|
|
||||||
../pixmaps/tb_split.xpm ../pixmaps/tb_minimize.xpm \
|
|
||||||
../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
|
|
||||||
../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
|
|
||||||
../pixmaps/tb_minwidth.xpm
|
|
||||||
objects/gui_xmdlg.o: gui_xmdlg.c vim.h auto/config.h feature.h os_unix.h \
|
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
|
||||||
proto.h globals.h farsi.h arabic.h
|
|
||||||
objects/gui_xmebw.o: gui_xmebw.c vim.h auto/config.h feature.h os_unix.h \
|
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
|
||||||
proto.h globals.h farsi.h arabic.h gui_xmebwp.h gui_xmebw.h
|
|
||||||
objects/gui_athena.o: gui_athena.c vim.h auto/config.h feature.h os_unix.h \
|
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
|
||||||
proto.h globals.h farsi.h arabic.h gui_at_sb.h gui_x11_pm.h \
|
|
||||||
../pixmaps/tb_new.xpm ../pixmaps/tb_open.xpm ../pixmaps/tb_close.xpm \
|
../pixmaps/tb_new.xpm ../pixmaps/tb_open.xpm ../pixmaps/tb_close.xpm \
|
||||||
../pixmaps/tb_save.xpm ../pixmaps/tb_print.xpm ../pixmaps/tb_cut.xpm \
|
../pixmaps/tb_save.xpm ../pixmaps/tb_print.xpm ../pixmaps/tb_cut.xpm \
|
||||||
../pixmaps/tb_copy.xpm ../pixmaps/tb_paste.xpm ../pixmaps/tb_find.xpm \
|
../pixmaps/tb_copy.xpm ../pixmaps/tb_paste.xpm ../pixmaps/tb_find.xpm \
|
||||||
@@ -3713,100 +3715,128 @@ objects/gui_athena.o: gui_athena.c vim.h auto/config.h feature.h os_unix.h \
|
|||||||
../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
|
../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
|
||||||
../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
|
../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
|
||||||
../pixmaps/tb_minwidth.xpm
|
../pixmaps/tb_minwidth.xpm
|
||||||
|
objects/gui_xmdlg.o: gui_xmdlg.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h
|
||||||
|
objects/gui_xmebw.o: gui_xmebw.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h gui_xmebwp.h \
|
||||||
|
gui_xmebw.h
|
||||||
|
objects/gui_athena.o: gui_athena.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h gui_at_sb.h \
|
||||||
|
gui_x11_pm.h ../pixmaps/tb_new.xpm ../pixmaps/tb_open.xpm \
|
||||||
|
../pixmaps/tb_close.xpm ../pixmaps/tb_save.xpm ../pixmaps/tb_print.xpm \
|
||||||
|
../pixmaps/tb_cut.xpm ../pixmaps/tb_copy.xpm ../pixmaps/tb_paste.xpm \
|
||||||
|
../pixmaps/tb_find.xpm ../pixmaps/tb_find_next.xpm \
|
||||||
|
../pixmaps/tb_find_prev.xpm ../pixmaps/tb_find_help.xpm \
|
||||||
|
../pixmaps/tb_exit.xpm ../pixmaps/tb_undo.xpm ../pixmaps/tb_redo.xpm \
|
||||||
|
../pixmaps/tb_help.xpm ../pixmaps/tb_macro.xpm ../pixmaps/tb_make.xpm \
|
||||||
|
../pixmaps/tb_save_all.xpm ../pixmaps/tb_jump.xpm \
|
||||||
|
../pixmaps/tb_ctags.xpm ../pixmaps/tb_load_session.xpm \
|
||||||
|
../pixmaps/tb_save_session.xpm ../pixmaps/tb_new_session.xpm \
|
||||||
|
../pixmaps/tb_blank.xpm ../pixmaps/tb_maximize.xpm \
|
||||||
|
../pixmaps/tb_split.xpm ../pixmaps/tb_minimize.xpm \
|
||||||
|
../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
|
||||||
|
../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
|
||||||
|
../pixmaps/tb_minwidth.xpm
|
||||||
objects/gui_gtk_x11.o: gui_gtk_x11.c vim.h auto/config.h feature.h os_unix.h \
|
objects/gui_gtk_x11.o: gui_gtk_x11.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h auto/gui_gtk_gresources.h gui_gtk_f.h \
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h \
|
||||||
../runtime/vim32x32.xpm ../runtime/vim16x16.xpm ../runtime/vim48x48.xpm
|
auto/gui_gtk_gresources.h gui_gtk_f.h ../runtime/vim32x32.xpm \
|
||||||
|
../runtime/vim16x16.xpm ../runtime/vim48x48.xpm
|
||||||
objects/gui_x11.o: gui_x11.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/gui_x11.o: gui_x11.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h ../runtime/vim32x32.xpm \
|
proto.h globals.h farsi.h arabic.h ../runtime/vim32x32.xpm \
|
||||||
../runtime/vim16x16.xpm ../runtime/vim48x48.xpm
|
../runtime/vim16x16.xpm ../runtime/vim48x48.xpm
|
||||||
objects/gui_at_sb.o: gui_at_sb.c vim.h auto/config.h feature.h os_unix.h \
|
objects/gui_at_sb.o: gui_at_sb.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h gui_at_sb.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h gui_at_sb.h
|
||||||
objects/gui_at_fs.o: gui_at_fs.c vim.h auto/config.h feature.h os_unix.h \
|
objects/gui_at_fs.o: gui_at_fs.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h gui_at_sb.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h gui_at_sb.h
|
||||||
objects/pty.o: pty.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
|
|
||||||
keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
|
|
||||||
proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h globals.h farsi.h \
|
|
||||||
arabic.h
|
|
||||||
objects/json_test.o: json_test.c main.c vim.h auto/config.h feature.h os_unix.h \
|
objects/json_test.o: json_test.c main.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h json.c
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h json.c
|
||||||
objects/kword_test.o: kword_test.c main.c vim.h auto/config.h feature.h os_unix.h \
|
objects/kword_test.o: kword_test.c main.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h charset.c
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h charset.c
|
||||||
objects/memfile_test.o: memfile_test.c main.c vim.h auto/config.h feature.h \
|
objects/memfile_test.o: memfile_test.c main.c vim.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h \
|
||||||
structs.h regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h \
|
structs.h regexp.h gui.h alloc.h beval.h proto/beval.pro \
|
||||||
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h memfile.c
|
proto/gui_beval.pro ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h \
|
||||||
|
memfile.c
|
||||||
objects/message_test.o: message_test.c main.c vim.h auto/config.h feature.h \
|
objects/message_test.o: message_test.c main.c vim.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h \
|
||||||
structs.h regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h \
|
structs.h regexp.h gui.h alloc.h beval.h proto/beval.pro \
|
||||||
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h message.c
|
proto/gui_beval.pro ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h \
|
||||||
|
message.c
|
||||||
objects/hangulin.o: hangulin.c vim.h auto/config.h feature.h os_unix.h \
|
objects/hangulin.o: hangulin.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h
|
||||||
objects/if_lua.o: if_lua.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/if_lua.o: if_lua.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/if_mzsch.o: if_mzsch.c vim.h auto/config.h feature.h os_unix.h \
|
objects/if_mzsch.o: if_mzsch.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h if_mzsch.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h if_mzsch.h \
|
||||||
|
mzscheme_base.c
|
||||||
objects/if_perl.o: auto/if_perl.c vim.h auto/config.h feature.h os_unix.h \
|
objects/if_perl.o: auto/if_perl.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h
|
||||||
objects/if_perlsfio.o: if_perlsfio.c vim.h auto/config.h feature.h os_unix.h \
|
objects/if_perlsfio.o: if_perlsfio.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h
|
||||||
objects/if_python.o: if_python.c vim.h auto/config.h feature.h os_unix.h \
|
objects/if_python.o: if_python.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h if_py_both.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h if_py_both.h
|
||||||
objects/if_python3.o: if_python3.c vim.h auto/config.h feature.h os_unix.h \
|
objects/if_python3.o: if_python3.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h if_py_both.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h if_py_both.h
|
||||||
objects/if_tcl.o: if_tcl.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/if_tcl.o: if_tcl.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/if_ruby.o: if_ruby.c auto/config.h vim.h feature.h os_unix.h auto/osdef.h \
|
objects/if_ruby.o: if_ruby.c auto/config.h vim.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h version.h
|
proto.h globals.h farsi.h arabic.h version.h
|
||||||
objects/gui_beval.o: gui_beval.c vim.h auto/config.h feature.h os_unix.h \
|
objects/gui_beval.o: gui_beval.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h
|
||||||
objects/workshop.o: workshop.c auto/config.h integration.h vim.h feature.h \
|
objects/workshop.o: workshop.c auto/config.h integration.h vim.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h \
|
||||||
structs.h regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h \
|
structs.h regexp.h gui.h alloc.h beval.h proto/beval.pro \
|
||||||
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h version.h \
|
proto/gui_beval.pro ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h \
|
||||||
workshop.h
|
version.h workshop.h
|
||||||
objects/wsdebug.o: wsdebug.c
|
objects/wsdebug.o: wsdebug.c
|
||||||
objects/integration.o: integration.c vim.h auto/config.h feature.h os_unix.h \
|
objects/integration.o: integration.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h integration.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h integration.h
|
||||||
objects/netbeans.o: netbeans.c vim.h auto/config.h feature.h os_unix.h \
|
objects/netbeans.o: netbeans.c vim.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
|
||||||
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h \
|
regexp.h gui.h alloc.h beval.h proto/beval.pro proto/gui_beval.pro \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h version.h
|
||||||
objects/channel.o: channel.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
objects/channel.o: channel.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
|
||||||
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
alloc.h beval.h proto/beval.pro proto/gui_beval.pro ex_cmds.h spell.h \
|
||||||
globals.h farsi.h arabic.h
|
proto.h globals.h farsi.h arabic.h
|
||||||
objects/gui_gtk_gresources.o: auto/gui_gtk_gresources.c
|
objects/gui_gtk_gresources.o: auto/gui_gtk_gresources.c
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user