mirror of
https://github.com/zoriya/vim.git
synced 2025-12-16 12:15:18 +00:00
Compare commits
208 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9afe5e9cc0 | ||
|
|
0a2f578e22 | ||
|
|
2ace1bd652 | ||
|
|
ba64ba0935 | ||
|
|
2c519cf3bf | ||
|
|
f7e47af776 | ||
|
|
0398e00a1b | ||
|
|
60ebd524cf | ||
|
|
9029b918f9 | ||
|
|
08cda65ddf | ||
|
|
d00e024d9f | ||
|
|
64c8ed366d | ||
|
|
697005f2cf | ||
|
|
61be376337 | ||
|
|
e142a9467a | ||
|
|
8e9a24a127 | ||
|
|
828bff1f9b | ||
|
|
4eefe47ea4 | ||
|
|
8376c3d321 | ||
|
|
493fbe4abe | ||
|
|
26967617a3 | ||
|
|
049ca59236 | ||
|
|
647e24ba3d | ||
|
|
38db5276cd | ||
|
|
3b5fef6a99 | ||
|
|
ab89d7ab89 | ||
|
|
2ba4238818 | ||
|
|
713bf9e996 | ||
|
|
1f271efbbb | ||
|
|
0251d2d811 | ||
|
|
209b8e3e3b | ||
|
|
4aa47b28f4 | ||
|
|
55d81cd2a1 | ||
|
|
e165f63598 | ||
|
|
6edbbd8114 | ||
|
|
cbef8e1aa1 | ||
|
|
8156ed3755 | ||
|
|
fd731b0e31 | ||
|
|
9d7fdd403a | ||
|
|
19a66858a5 | ||
|
|
d5a5886ce9 | ||
|
|
6bb8c66c8b | ||
|
|
f0fab3046c | ||
|
|
8fcb60f961 | ||
|
|
772153f8d8 | ||
|
|
cce713ddcc | ||
|
|
975880b6e6 | ||
|
|
e21c1580b7 | ||
|
|
bdace838c6 | ||
|
|
d82a81cad9 | ||
|
|
6ef8f9eacd | ||
|
|
ef8c956172 | ||
|
|
ab350f89f9 | ||
|
|
c69efcb42f | ||
|
|
1eed532999 | ||
|
|
32033d2397 | ||
|
|
5b868a82ed | ||
|
|
58d63a0a23 | ||
|
|
1fa8fdd611 | ||
|
|
2472ae81df | ||
|
|
0d13cce345 | ||
|
|
e4963c543d | ||
|
|
c666388367 | ||
|
|
882d02eeb5 | ||
|
|
cd62512c55 | ||
|
|
72e83c1ae5 | ||
|
|
f6b401090e | ||
|
|
55d3bdbbe2 | ||
|
|
ed79d1e348 | ||
|
|
97c2c05ead | ||
|
|
527a2d86fb | ||
|
|
1417031cfd | ||
|
|
3876789b23 | ||
|
|
e86ecbd922 | ||
|
|
353aca1215 | ||
|
|
4a7d2d3b40 | ||
|
|
d91e5dafd5 | ||
|
|
9166838420 | ||
|
|
8caa43d815 | ||
|
|
a25e3d0695 | ||
|
|
38f08e76ac | ||
|
|
3585671888 | ||
|
|
b9ddda6c2d | ||
|
|
66ae3d199f | ||
|
|
0d8562a999 | ||
|
|
c9629251a6 | ||
|
|
bbd854dc57 | ||
|
|
44b443c5db | ||
|
|
14816ad6e5 | ||
|
|
0472b6d149 | ||
|
|
d53931ae73 | ||
|
|
7dca2ebbcf | ||
|
|
c854898881 | ||
|
|
b0e2da2b23 | ||
|
|
4c92e75dd4 | ||
|
|
a5483448cb | ||
|
|
c85c8fcb9f | ||
|
|
749f07c0db | ||
|
|
76cbe811da | ||
|
|
4f97475d32 | ||
|
|
78d21dae9c | ||
|
|
3678f65d43 | ||
|
|
21edde8742 | ||
|
|
f1b57ab2ab | ||
|
|
55c77cf2ea | ||
|
|
8bfd9469ce | ||
|
|
985079c514 | ||
|
|
6982f42f33 | ||
|
|
14184a3133 | ||
|
|
6902c0eb27 | ||
|
|
0a1b17bbec | ||
|
|
5acd987258 | ||
|
|
d634024b90 | ||
|
|
0059074008 | ||
|
|
e93e5a504f | ||
|
|
5ff7df509a | ||
|
|
7e841e3ce5 | ||
|
|
c3ef896608 | ||
|
|
96baf02aa8 | ||
|
|
81aa0f56f8 | ||
|
|
29ae223ddc | ||
|
|
0f77d6afd5 | ||
|
|
9b5c1fcdea | ||
|
|
445e71c5ee | ||
|
|
b999ba2778 | ||
|
|
a787019518 | ||
|
|
5fd0f5052f | ||
|
|
688b3983d8 | ||
|
|
18442cbcc0 | ||
|
|
943e9639a9 | ||
|
|
15bbd6ec87 | ||
|
|
d9ef1b8d77 | ||
|
|
9403a2168d | ||
|
|
5382f12c91 | ||
|
|
e1ed53f3f9 | ||
|
|
5567ad48b6 | ||
|
|
00f148d2f2 | ||
|
|
beb7574d6b | ||
|
|
ff697e6cef | ||
|
|
57ee2b6e0b | ||
|
|
48773f1f83 | ||
|
|
e0fb7d1e38 | ||
|
|
0ea21e41c6 | ||
|
|
05c00c038b | ||
|
|
5a6698169d | ||
|
|
ec0f50a35e | ||
|
|
dce1e89be4 | ||
|
|
3615abb693 | ||
|
|
eeb1b9c7ed | ||
|
|
d77aa4d22e | ||
|
|
593864817a | ||
|
|
6524068ff3 | ||
|
|
31b816042f | ||
|
|
9474716d39 | ||
|
|
b763361161 | ||
|
|
18c5632cab | ||
|
|
af630d4f7f | ||
|
|
54d6fe5e60 | ||
|
|
1aa43755e2 | ||
|
|
8c62a08faf | ||
|
|
c6ddce3f2c | ||
|
|
0036201a1a | ||
|
|
a02e3f65c5 | ||
|
|
ee8188fc74 | ||
|
|
2a78b7c704 | ||
|
|
71b13e92ae | ||
|
|
94688b8a2a | ||
|
|
9c46efd7dc | ||
|
|
970076468e | ||
|
|
34a587457f | ||
|
|
314dd79cac | ||
|
|
63d1fea814 | ||
|
|
aa5df7e312 | ||
|
|
01a6c21691 | ||
|
|
889da2f243 | ||
|
|
65951258d6 | ||
|
|
1c321dcee9 | ||
|
|
895d966e34 | ||
|
|
375e339007 | ||
|
|
b3051ce82f | ||
|
|
221cd9f4dd | ||
|
|
60f807b3f7 | ||
|
|
77255cab74 | ||
|
|
c45eb770a5 | ||
|
|
ce655743ba | ||
|
|
4b47162cce | ||
|
|
bbb5f8d4c2 | ||
|
|
af703585a3 | ||
|
|
d8c56a0d29 | ||
|
|
cbbd0f6578 | ||
|
|
ed71ed37bc | ||
|
|
8d4ce56a19 | ||
|
|
98ad1e17c3 | ||
|
|
c07ff5c60a | ||
|
|
b191be2f00 | ||
|
|
9172d23d05 | ||
|
|
39536dd557 | ||
|
|
2a4857a1fc | ||
|
|
50948e4ac2 | ||
|
|
e0de2164f6 | ||
|
|
cb908a813c | ||
|
|
2339fa335f | ||
|
|
12dfc9eef1 | ||
|
|
f58d81a187 | ||
|
|
dec01206b2 | ||
|
|
26d982185e | ||
|
|
346d2a359a | ||
|
|
3e9d4d85c4 |
138
.travis.yml
138
.travis.yml
@@ -10,58 +10,58 @@ compiler:
|
|||||||
- gcc
|
- gcc
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=tiny "CONFOPT='--disable-gui'" SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
- &tiny-nogui
|
||||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
BUILD=yes TEST=test COVERAGE=no FEATURES=tiny "CONFOPT='--disable-gui'" SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||||
# ASAN build
|
- &tiny
|
||||||
- BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
BUILD=yes TEST=test COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||||
|
- &asan # ASAN build
|
||||||
|
BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
||||||
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
|
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
||||||
- BUILD=yes TEST="scripttests test_libvterm" COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
- &linux-huge
|
||||||
|
BUILD=yes TEST="scripttests test_libvterm" COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
||||||
- BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
- &unittests
|
||||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no
|
BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
||||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
- &normal
|
||||||
# Mac OSX build
|
BUILD=yes TEST=test COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no
|
||||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
- &small
|
||||||
|
BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||||
|
- &osx-huge # Mac OSX build
|
||||||
|
BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
# instead of a 2*2*7 matrix (2*os + 2*compiler + 7*env),
|
# instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env),
|
||||||
# exclude some builds on mac os x and linux
|
# exclude some builds on mac os x and linux
|
||||||
# on mac os x "tiny" is always without GUI
|
# on mac os x "tiny" is always without GUI
|
||||||
# linux: 2*compiler + 5*env + mac: 2*compiler + 2*env
|
# linux: 2*compiler + 5*env + mac: 2*compiler + 2*env
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
exclude:
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: *tiny
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no
|
env: *normal
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
env: *unittests
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: *small
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST="scripttests test_libvterm" COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: *linux-huge
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
env: *asan
|
||||||
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
|
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
env: *asan
|
||||||
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
|
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
env: *unittests
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: *small
|
||||||
- os: linux
|
- os: linux
|
||||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: *osx-huge
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
@@ -82,38 +82,90 @@ addons:
|
|||||||
- tcl-dev
|
- tcl-dev
|
||||||
- cscope
|
- cscope
|
||||||
- libgtk2.0-dev
|
- libgtk2.0-dev
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- lua
|
||||||
|
update: true
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- rvm reset
|
- rvm reset
|
||||||
# Remove /opt/python/3.x.x/bin from $PATH for using system python3.
|
# Remove /opt/python/3.x.x/bin from $PATH for using system python3.
|
||||||
# ("pyenv global system" doesn't seem to work.)
|
# ("pyenv global system" doesn't seem to work.)
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ] && which python3 | grep '/opt/python/' > /dev/null; then export PATH=$(echo $PATH | sed -e "s#$(echo $(which python3) | sed -e 's#/python3$##'):##"); fi
|
- |
|
||||||
- if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls; fi
|
if [[ "${TRAVIS_OS_NAME}" = "linux" ]] && [[ "$(which python3)" =~ ^/opt/python/ ]]; then
|
||||||
|
export PATH=$(py3=$(which python3); echo ${PATH//${py3%/python3}:/})
|
||||||
|
fi
|
||||||
|
- |
|
||||||
|
if [[ "${COVERAGE}" = "yes" ]]; then
|
||||||
|
pip install --user cpp-coveralls
|
||||||
|
fi
|
||||||
# needed for https support for coveralls
|
# needed for https support for coveralls
|
||||||
# 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 export HOMEBREW_NO_AUTO_UPDATE=1; brew update; brew install lua; export LUA_PREFIX=/usr/local; fi
|
- |
|
||||||
|
if [[ "${TRAVIS_OS_NAME}" = "osx" ]]; then
|
||||||
|
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
|
||||||
|
|
||||||
# Start virtual framebuffer to be able to test the GUI. Does not work on OS X.
|
|
||||||
before_script:
|
before_script:
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start && sleep 3; fi
|
# Start virtual framebuffer to be able to test the GUI. Does not work on OS X.
|
||||||
|
- |
|
||||||
|
if [[ "${TRAVIS_OS_NAME}" = "linux" ]]; then
|
||||||
|
export DISPLAY=:99.0
|
||||||
|
sh -e /etc/init.d/xvfb start && sleep 3
|
||||||
|
fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- NPROC=$(getconf _NPROCESSORS_ONLN)
|
- NPROC=$(getconf _NPROCESSORS_ONLN)
|
||||||
- if [ "$CHECK_AUTOCONF" = "yes" -a "$CC" = "gcc" ]; then make -C src autoconf; fi
|
- |
|
||||||
- if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi
|
if [[ "${CHECK_AUTOCONF}" = "yes" ]] && [[ "${CC}" = "gcc" ]]; then
|
||||||
- (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi)
|
make -C src autoconf
|
||||||
|
fi
|
||||||
|
- |
|
||||||
|
if [[ -n "${SHADOWOPT}" ]]; then
|
||||||
|
make -C src shadow
|
||||||
|
fi
|
||||||
|
- |
|
||||||
|
(
|
||||||
|
cd "${SRCDIR}" \
|
||||||
|
&& ./configure --with-features=${FEATURES} ${CONFOPT} --enable-fail-if-missing
|
||||||
|
) && if [[ "${BUILD}" = "yes" ]]; then
|
||||||
|
make ${SHADOWOPT} -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
|
- |
|
||||||
- make $SHADOWOPT $TEST
|
if [[ "${BUILD}" = "yes" ]]; then
|
||||||
- if [ -n "$ASAN_OPTIONS" ]; then for log in $(find -type f -name 'asan.*' -size +0); do asan_symbolize < "$log"; err=1; done; fi
|
"${SRCDIR}"/vim --version
|
||||||
- if [ -n "$err" ]; then exit 1; fi
|
"${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
|
||||||
|
- make ${SHADOWOPT} ${TEST}
|
||||||
|
- |
|
||||||
|
if [[ -n "${ASAN_OPTIONS}" ]]; then
|
||||||
|
while read log; do
|
||||||
|
asan_symbolize < "${log}"
|
||||||
|
done < <(find . -type f -name 'asan.*' -size +0)
|
||||||
|
[[ -z "${log}" ]] # exit 1 if there are ASAN logs
|
||||||
|
fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- if [ "$COVERAGE" = "yes" ]; then ~/.local/bin/coveralls -b ${SRCDIR} -x .xs -e ${SRCDIR}/if_perl.c -e ${SRCDIR}/xxd -e ${SRCDIR}/libvterm --encodings utf-8 latin-1 EUC-KR; fi
|
- |
|
||||||
- if [ "$COVERAGE" = "yes" ]; then cd ${SRCDIR} && bash <(curl -s https://codecov.io/bash) ; fi
|
if [[ "${COVERAGE}" = "yes" ]]; then
|
||||||
|
~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8 latin-1 EUC-KR
|
||||||
|
fi
|
||||||
|
- |
|
||||||
|
if [[ "${COVERAGE}" = "yes" ]]; then
|
||||||
|
(cd "${SRCDIR}" && bash <(curl -s https://codecov.io/bash))
|
||||||
|
fi
|
||||||
|
|
||||||
# vim:set sts=2 sw=2 tw=0 et:
|
# vim:set sts=2 sw=2 tw=0 et:
|
||||||
|
|||||||
12
Filelist
12
Filelist
@@ -7,8 +7,8 @@ SRC_ALL = \
|
|||||||
.lgtm.yml \
|
.lgtm.yml \
|
||||||
.travis.yml \
|
.travis.yml \
|
||||||
appveyor.yml \
|
appveyor.yml \
|
||||||
|
ci/appveyor.bat \
|
||||||
src/Make_all.mak \
|
src/Make_all.mak \
|
||||||
src/appveyor.bat \
|
|
||||||
src/README.txt \
|
src/README.txt \
|
||||||
src/alloc.h \
|
src/alloc.h \
|
||||||
src/arabic.c \
|
src/arabic.c \
|
||||||
@@ -37,10 +37,9 @@ SRC_ALL = \
|
|||||||
src/ex_docmd.c \
|
src/ex_docmd.c \
|
||||||
src/ex_eval.c \
|
src/ex_eval.c \
|
||||||
src/ex_getln.c \
|
src/ex_getln.c \
|
||||||
src/farsi.c \
|
|
||||||
src/farsi.h \
|
|
||||||
src/feature.h \
|
src/feature.h \
|
||||||
src/fileio.c \
|
src/fileio.c \
|
||||||
|
src/findfile.c \
|
||||||
src/fold.c \
|
src/fold.c \
|
||||||
src/getchar.c \
|
src/getchar.c \
|
||||||
src/globals.h \
|
src/globals.h \
|
||||||
@@ -49,6 +48,7 @@ SRC_ALL = \
|
|||||||
src/gui_beval.c \
|
src/gui_beval.c \
|
||||||
src/hardcopy.c \
|
src/hardcopy.c \
|
||||||
src/hashtab.c \
|
src/hashtab.c \
|
||||||
|
src/indent.c \
|
||||||
src/json.c \
|
src/json.c \
|
||||||
src/json_test.c \
|
src/json_test.c \
|
||||||
src/kword_test.c \
|
src/kword_test.c \
|
||||||
@@ -167,14 +167,15 @@ SRC_ALL = \
|
|||||||
src/proto/ex_docmd.pro \
|
src/proto/ex_docmd.pro \
|
||||||
src/proto/ex_eval.pro \
|
src/proto/ex_eval.pro \
|
||||||
src/proto/ex_getln.pro \
|
src/proto/ex_getln.pro \
|
||||||
src/proto/farsi.pro \
|
|
||||||
src/proto/fileio.pro \
|
src/proto/fileio.pro \
|
||||||
|
src/proto/findfile.pro \
|
||||||
src/proto/fold.pro \
|
src/proto/fold.pro \
|
||||||
src/proto/getchar.pro \
|
src/proto/getchar.pro \
|
||||||
src/proto/gui.pro \
|
src/proto/gui.pro \
|
||||||
src/proto/gui_beval.pro \
|
src/proto/gui_beval.pro \
|
||||||
src/proto/hardcopy.pro \
|
src/proto/hardcopy.pro \
|
||||||
src/proto/hashtab.pro \
|
src/proto/hashtab.pro \
|
||||||
|
src/proto/indent.pro \
|
||||||
src/proto/json.pro \
|
src/proto/json.pro \
|
||||||
src/proto/list.pro \
|
src/proto/list.pro \
|
||||||
src/proto/main.pro \
|
src/proto/main.pro \
|
||||||
@@ -662,6 +663,7 @@ RT_ALL = \
|
|||||||
runtime/pack/dist/opt/matchit/plugin/matchit.vim \
|
runtime/pack/dist/opt/matchit/plugin/matchit.vim \
|
||||||
runtime/pack/dist/opt/matchit/doc/matchit.txt \
|
runtime/pack/dist/opt/matchit/doc/matchit.txt \
|
||||||
runtime/pack/dist/opt/matchit/doc/tags \
|
runtime/pack/dist/opt/matchit/doc/tags \
|
||||||
|
runtime/pack/dist/opt/matchit/autoload/*.vim \
|
||||||
runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim \
|
runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim \
|
||||||
runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim \
|
runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim \
|
||||||
runtime/pack/dist/opt/termdebug/plugin/termdebug.vim \
|
runtime/pack/dist/opt/termdebug/plugin/termdebug.vim \
|
||||||
@@ -832,8 +834,6 @@ EXTRA = \
|
|||||||
$(SRC_EXTRA) \
|
$(SRC_EXTRA) \
|
||||||
README_extra.txt \
|
README_extra.txt \
|
||||||
src/VisVim/VisVim.dll \
|
src/VisVim/VisVim.dll \
|
||||||
farsi/README.txt \
|
|
||||||
farsi/fonts/*/far-* \
|
|
||||||
runtime/vimlogo.xpm \
|
runtime/vimlogo.xpm \
|
||||||
src/tee/Makefile \
|
src/tee/Makefile \
|
||||||
src/tee/Make_mvc.mak \
|
src/tee/Make_mvc.mak \
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||

|

|
||||||
|
|
||||||
[](https://travis-ci.org/vim/vim)
|
[](https://travis-ci.org/vim/vim)
|
||||||
[](https://codecov.io/gh/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://codecov.io/gh/vim/vim?branch=master)
|
||||||
[](https://scan.coverity.com/projects/vim)
|
[](https://scan.coverity.com/projects/vim)
|
||||||
[](https://lgtm.com/projects/g/vim/vim/context:cpp)
|
[](https://lgtm.com/projects/g/vim/vim/context:cpp)
|
||||||
[](https://buildd.debian.org/vim)
|
[](https://buildd.debian.org/vim)
|
||||||
|
[](https://repology.org/metapackage/vim)
|
||||||
|
|
||||||
|
|
||||||
## What is Vim? ##
|
## What is Vim? ##
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ before_build:
|
|||||||
- 'set INCLUDE=%INCLUDE%C:\Program Files (x86)\Windows Kits\8.1\Include\um'
|
- 'set INCLUDE=%INCLUDE%C:\Program Files (x86)\Windows Kits\8.1\Include\um'
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- src/appveyor.bat
|
- ci/appveyor.bat
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- cd src/testdir
|
- cd src/testdir
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
For information about installation of Farsi fonts and Vim usage in Farsi mode,
|
|
||||||
refer to the Farsi help file by typing ":help farsi" in Vim.
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -379,6 +379,8 @@ Section "$(str_section_exe)" id_section_exe
|
|||||||
File ${VIMRT}\pack\dist\opt\matchit\doc\*.*
|
File ${VIMRT}\pack\dist\opt\matchit\doc\*.*
|
||||||
SetOutPath $0\pack\dist\opt\matchit\plugin
|
SetOutPath $0\pack\dist\opt\matchit\plugin
|
||||||
File ${VIMRT}\pack\dist\opt\matchit\plugin\*.*
|
File ${VIMRT}\pack\dist\opt\matchit\plugin\*.*
|
||||||
|
SetOutPath $0\pack\dist\opt\matchit\autoload
|
||||||
|
File ${VIMRT}\pack\dist\opt\matchit\autoload\*.*
|
||||||
|
|
||||||
SetOutPath $0\pack\dist\opt\shellmenu\plugin
|
SetOutPath $0\pack\dist\opt\shellmenu\plugin
|
||||||
File ${VIMRT}\pack\dist\opt\shellmenu\plugin\*.*
|
File ${VIMRT}\pack\dist\opt\shellmenu\plugin\*.*
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ LangString str_group_plugin ${LANG_DANISH} "Opret plugin-mapper"
|
|||||||
LangString str_desc_plugin ${LANG_DANISH} "Opret plugin-mapper. Plugin-mapper giver mulighed for at udvide Vim ved at slippe en fil i en mappen."
|
LangString str_desc_plugin ${LANG_DANISH} "Opret plugin-mapper. Plugin-mapper giver mulighed for at udvide Vim ved at slippe en fil i en mappen."
|
||||||
|
|
||||||
LangString str_section_plugin_home ${LANG_DANISH} "Private"
|
LangString str_section_plugin_home ${LANG_DANISH} "Private"
|
||||||
LangString str_desc_plugin_home ${LANG_DANISH} "Opret plugin-mapper i HOME-mappen."
|
LangString str_desc_plugin_home ${LANG_DANISH} "Opret plugin-mapper i HOME (hvis du har defineret et) eller Vim-installationsmappe."
|
||||||
|
|
||||||
LangString str_section_plugin_vim ${LANG_DANISH} "Delte"
|
LangString str_section_plugin_vim ${LANG_DANISH} "Delte"
|
||||||
LangString str_desc_plugin_vim ${LANG_DANISH} "Opret plugin-mapper i Vim-installationsmappe, det bruges af alle på systemet."
|
LangString str_desc_plugin_vim ${LANG_DANISH} "Opret plugin-mapper i Vim-installationsmappe, det bruges af alle på systemet."
|
||||||
@@ -92,9 +92,9 @@ LangString str_unsection_exe ${LANG_DANISH} "Fjern Vim-eksekverbare-/
|
|||||||
LangString str_desc_rm_exe ${LANG_DANISH} "Fjern alle Vim-eksekverbare- og afviklingsfiler."
|
LangString str_desc_rm_exe ${LANG_DANISH} "Fjern alle Vim-eksekverbare- og afviklingsfiler."
|
||||||
|
|
||||||
LangString str_ungroup_plugin ${LANG_DANISH} "Fjern plugin-mapper"
|
LangString str_ungroup_plugin ${LANG_DANISH} "Fjern plugin-mapper"
|
||||||
LangString str_desc_rm_plugin ${LANG_DANISH} "Fjern plugin-mapperne hvis de er tomme."
|
LangString str_desc_rm_plugin ${LANG_DANISH} "Fjern plugin-mapperne, hvis de er tomme."
|
||||||
|
|
||||||
LangString str_unsection_plugin_home ${LANG_DANISH} "Privat"
|
LangString str_unsection_plugin_home ${LANG_DANISH} "Private"
|
||||||
LangString str_desc_rm_plugin_home ${LANG_DANISH} "Fjern plugin-mapperne fra HOME-mappen."
|
LangString str_desc_rm_plugin_home ${LANG_DANISH} "Fjern plugin-mapperne fra HOME-mappen."
|
||||||
|
|
||||||
LangString str_unsection_plugin_vim ${LANG_DANISH} "Delte"
|
LangString str_unsection_plugin_vim ${LANG_DANISH} "Delte"
|
||||||
@@ -164,9 +164,9 @@ LangString str_msg_compat_defaults ${LANG_DANISH} "Vim med nogle forbedringe
|
|||||||
LangString str_msg_compat_all ${LANG_DANISH} "Vim med alle forbedringer (indlæs vimrc_example.vim) (standard)"
|
LangString str_msg_compat_all ${LANG_DANISH} "Vim med alle forbedringer (indlæs vimrc_example.vim) (standard)"
|
||||||
|
|
||||||
LangString str_msg_keymap_title ${LANG_DANISH} " Tilknytninger "
|
LangString str_msg_keymap_title ${LANG_DANISH} " Tilknytninger "
|
||||||
LangString str_msg_keymap_desc ${LANG_DANISH} "&Gentilknyt nogle få taster (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F osv.)"
|
LangString str_msg_keymap_desc ${LANG_DANISH} "&Gentilknyt nogle få taster for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F osv.)"
|
||||||
LangString str_msg_keymap_default ${LANG_DANISH} "Gentilknyt ikke taster (standard)"
|
LangString str_msg_keymap_default ${LANG_DANISH} "Gentilknyt ikke taster (standard)"
|
||||||
LangString str_msg_keymap_windows ${LANG_DANISH} "Gentilknyt nogle få taster til Windows"
|
LangString str_msg_keymap_windows ${LANG_DANISH} "Gentilknyt nogle få taster"
|
||||||
|
|
||||||
LangString str_msg_mouse_title ${LANG_DANISH} " Mus "
|
LangString str_msg_mouse_title ${LANG_DANISH} " Mus "
|
||||||
LangString str_msg_mouse_desc ${LANG_DANISH} "&Opførsel af højre og venstre knapper"
|
LangString str_msg_mouse_desc ${LANG_DANISH} "&Opførsel af højre og venstre knapper"
|
||||||
|
|||||||
12
runtime/autoload/dist/ft.vim
vendored
12
runtime/autoload/dist/ft.vim
vendored
@@ -197,7 +197,7 @@ func dist#ft#FTe()
|
|||||||
exe 'setf ' . g:filetype_euphoria
|
exe 'setf ' . g:filetype_euphoria
|
||||||
else
|
else
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 100 && n < line("$")
|
while n < 100 && n <= line("$")
|
||||||
if getline(n) =~ "^\\s*\\(<'\\|'>\\)\\s*$"
|
if getline(n) =~ "^\\s*\\(<'\\|'>\\)\\s*$"
|
||||||
setf specman
|
setf specman
|
||||||
return
|
return
|
||||||
@@ -211,7 +211,7 @@ endfunc
|
|||||||
" Distinguish between HTML, XHTML and Django
|
" Distinguish between HTML, XHTML and Django
|
||||||
func dist#ft#FThtml()
|
func dist#ft#FThtml()
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 10 && n < line("$")
|
while n < 10 && n <= line("$")
|
||||||
if getline(n) =~ '\<DTD\s\+XHTML\s'
|
if getline(n) =~ '\<DTD\s\+XHTML\s'
|
||||||
setf xhtml
|
setf xhtml
|
||||||
return
|
return
|
||||||
@@ -222,13 +222,13 @@ func dist#ft#FThtml()
|
|||||||
endif
|
endif
|
||||||
let n = n + 1
|
let n = n + 1
|
||||||
endwhile
|
endwhile
|
||||||
setf html
|
setf FALLBACK html
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Distinguish between standard IDL and MS-IDL
|
" Distinguish between standard IDL and MS-IDL
|
||||||
func dist#ft#FTidl()
|
func dist#ft#FTidl()
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 50 && n < line("$")
|
while n < 50 && n <= line("$")
|
||||||
if getline(n) =~ '^\s*import\s\+"\(unknwn\|objidl\)\.idl"'
|
if getline(n) =~ '^\s*import\s\+"\(unknwn\|objidl\)\.idl"'
|
||||||
setf msidl
|
setf msidl
|
||||||
return
|
return
|
||||||
@@ -699,7 +699,7 @@ endfunc
|
|||||||
|
|
||||||
func dist#ft#FTxml()
|
func dist#ft#FTxml()
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 100 && n < line("$")
|
while n < 100 && n <= line("$")
|
||||||
let line = getline(n)
|
let line = getline(n)
|
||||||
" DocBook 4 or DocBook 5.
|
" DocBook 4 or DocBook 5.
|
||||||
let is_docbook4 = line =~ '<!DOCTYPE.*DocBook'
|
let is_docbook4 = line =~ '<!DOCTYPE.*DocBook'
|
||||||
@@ -725,7 +725,7 @@ endfunc
|
|||||||
|
|
||||||
func dist#ft#FTy()
|
func dist#ft#FTy()
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 100 && n < line("$")
|
while n < 100 && n <= line("$")
|
||||||
let line = getline(n)
|
let line = getline(n)
|
||||||
if line =~ '^\s*%'
|
if line =~ '^\s*%'
|
||||||
setf yacc
|
setf yacc
|
||||||
|
|||||||
@@ -1,20 +1,15 @@
|
|||||||
" Vim support file to help with paste mappings and menus
|
" Vim support file to help with paste mappings and menus
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2017 Aug 30
|
" Last Change: 2019 Jan 27
|
||||||
|
|
||||||
" Define the string to use for items that are present both in Edit, Popup and
|
" Define the string to use for items that are present both in Edit, Popup and
|
||||||
" Toolbar menu. Also used in mswin.vim and macmap.vim.
|
" Toolbar menu. Also used in mswin.vim and macmap.vim.
|
||||||
|
|
||||||
" Pasting blockwise and linewise selections is not possible in Insert and
|
let paste#paste_cmd = {'n': ":call paste#Paste()<CR>"}
|
||||||
" Visual mode without the +virtualedit feature. They are pasted as if they
|
let paste#paste_cmd['v'] = '"-c<Esc>' . paste#paste_cmd['n']
|
||||||
" were characterwise instead. Add to that some tricks to leave the cursor in
|
let paste#paste_cmd['i'] = "\<c-\>\<c-o>\"+gP"
|
||||||
" the right position, also for "gi".
|
|
||||||
if has("virtualedit")
|
|
||||||
let paste#paste_cmd = {'n': ":call paste#Paste()<CR>"}
|
|
||||||
let paste#paste_cmd['v'] = '"-c<Esc>' . paste#paste_cmd['n']
|
|
||||||
let paste#paste_cmd['i'] = "\<c-\>\<c-o>\"+gP"
|
|
||||||
|
|
||||||
func! paste#Paste()
|
func! paste#Paste()
|
||||||
let ove = &ve
|
let ove = &ve
|
||||||
set ve=all
|
set ve=all
|
||||||
normal! `^
|
normal! `^
|
||||||
@@ -27,9 +22,4 @@ if has("virtualedit")
|
|||||||
normal! l
|
normal! l
|
||||||
endif
|
endif
|
||||||
let &ve = ove
|
let &ve = ove
|
||||||
endfunc
|
endfunc
|
||||||
else
|
|
||||||
let paste#paste_cmd = {'n': "\"=@+.'xy'<CR>gPFx\"_2x"}
|
|
||||||
let paste#paste_cmd['v'] = '"-c<Esc>gix<Esc>' . paste#paste_cmd['n'] . '"_x'
|
|
||||||
let paste#paste_cmd['i'] = 'x<Esc>' . paste#paste_cmd['n'] . '"_s'
|
|
||||||
endif
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
:" information about the environment of a possible bug in Vim.
|
:" information about the environment of a possible bug in Vim.
|
||||||
:"
|
:"
|
||||||
:" Maintainer: Bram Moolenaar <Bram@vim.org>
|
:" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
:" Last change: 2005 Jun 12
|
:" Last change: 2019 Jan 27
|
||||||
:"
|
:"
|
||||||
:" To use inside Vim:
|
:" To use inside Vim:
|
||||||
:" :so $VIMRUNTIME/bugreport.vim
|
:" :so $VIMRUNTIME/bugreport.vim
|
||||||
@@ -54,9 +54,7 @@
|
|||||||
:endif
|
:endif
|
||||||
:set all
|
:set all
|
||||||
:set termcap
|
:set termcap
|
||||||
:if has("autocmd")
|
:au
|
||||||
: au
|
|
||||||
:endif
|
|
||||||
:if 1
|
:if 1
|
||||||
: echo "--- Normal/Visual mode mappings ---"
|
: echo "--- Normal/Visual mode mappings ---"
|
||||||
:endif
|
:endif
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" The default vimrc file.
|
" The default vimrc file.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last change: 2017 Jun 13
|
" Last change: 2019 Feb 18
|
||||||
"
|
"
|
||||||
" This is loaded if no vimrc file was found.
|
" This is loaded if no vimrc file was found.
|
||||||
" Except when Vim is run with "-u NONE" or "-C".
|
" Except when Vim is run with "-u NONE" or "-C".
|
||||||
@@ -90,8 +90,8 @@ if &t_Co > 2 || has("gui_running")
|
|||||||
let c_comment_strings=1
|
let c_comment_strings=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Only do this part when compiled with support for autocommands.
|
" Only do this part when Vim was compiled with the +eval feature.
|
||||||
if has("autocmd")
|
if 1
|
||||||
|
|
||||||
" Enable file type detection.
|
" Enable file type detection.
|
||||||
" Use the default filetype settings, so that mail gets 'tw' set to 72,
|
" Use the default filetype settings, so that mail gets 'tw' set to 72,
|
||||||
@@ -116,7 +116,7 @@ if has("autocmd")
|
|||||||
|
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
endif " has("autocmd")
|
endif
|
||||||
|
|
||||||
" Convenient command to see the difference between the current buffer and the
|
" Convenient command to see the difference between the current buffer and the
|
||||||
" file it was loaded from, thus the changes you made.
|
" file it was loaded from, thus the changes you made.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*autocmd.txt* For Vim version 8.1. Last change: 2019 Jan 19
|
*autocmd.txt* For Vim version 8.1. Last change: 2019 Mar 13
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -621,6 +621,8 @@ CursorMoved After the cursor was moved in Normal or Visual
|
|||||||
Not triggered when there is typeahead or when
|
Not triggered when there is typeahead or when
|
||||||
an operator is pending.
|
an operator is pending.
|
||||||
For an example see |match-parens|.
|
For an example see |match-parens|.
|
||||||
|
Note: This can not be skipped with
|
||||||
|
`:noautocmd`.
|
||||||
Careful: This is triggered very often, don't
|
Careful: This is triggered very often, don't
|
||||||
do anything that the user does not expect or
|
do anything that the user does not expect or
|
||||||
that is slow.
|
that is slow.
|
||||||
@@ -1024,6 +1026,8 @@ TextChanged After a change was made to the text in the
|
|||||||
was defined).
|
was defined).
|
||||||
Not triggered when there is typeahead or when
|
Not triggered when there is typeahead or when
|
||||||
an operator is pending.
|
an operator is pending.
|
||||||
|
Note: This can not be skipped with
|
||||||
|
`:noautocmd`.
|
||||||
Careful: This is triggered very often, don't
|
Careful: This is triggered very often, don't
|
||||||
do anything that the user does not expect or
|
do anything that the user does not expect or
|
||||||
that is slow.
|
that is slow.
|
||||||
@@ -1465,8 +1469,8 @@ If you want the buffer to be unmodified after changing it, reset the
|
|||||||
instead of ":q!".
|
instead of ":q!".
|
||||||
|
|
||||||
*autocmd-nested* *E218*
|
*autocmd-nested* *E218*
|
||||||
By default, autocommands do not nest. If you use ":e" or ":w" in an
|
By default, autocommands do not nest. For example, if you use ":e" or ":w" in
|
||||||
autocommand, Vim does not execute the BufRead and BufWrite autocommands for
|
an autocommand, Vim does not execute the BufRead and BufWrite autocommands for
|
||||||
those commands. If you do want this, use the "nested" flag for those commands
|
those commands. If you do want this, use the "nested" flag for those commands
|
||||||
in which you want nesting. For example: >
|
in which you want nesting. For example: >
|
||||||
:autocmd FileChangedShell *.c nested e!
|
:autocmd FileChangedShell *.c nested e!
|
||||||
@@ -1612,5 +1616,8 @@ following command. Example: >
|
|||||||
This will write the file without triggering the autocommands defined by the
|
This will write the file without triggering the autocommands defined by the
|
||||||
gzip plugin.
|
gzip plugin.
|
||||||
|
|
||||||
|
Note that some autocommands are not triggered right away, but only later.
|
||||||
|
This specifically applies to |CursorMoved| and |TextChanged|.
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*change.txt* For Vim version 8.1. Last change: 2018 Dec 14
|
*change.txt* For Vim version 8.1. Last change: 2019 Feb 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -640,11 +640,11 @@ For other systems the tmpnam() library function is used.
|
|||||||
For the {pattern} see |pattern|.
|
For the {pattern} see |pattern|.
|
||||||
{string} can be a literal string, or something
|
{string} can be a literal string, or something
|
||||||
special; see |sub-replace-special|.
|
special; see |sub-replace-special|.
|
||||||
*E939*
|
|
||||||
When [range] and [count] are omitted, replace in the
|
When [range] and [count] are omitted, replace in the
|
||||||
current line only. When [count] is given, replace in
|
current line only. When [count] is given, replace in
|
||||||
[count] lines, starting with the last line in [range].
|
[count] lines, starting with the last line in [range].
|
||||||
When [range] is omitted start in the current line.
|
When [range] is omitted start in the current line.
|
||||||
|
*E939*
|
||||||
[count] must be a positive number. Also see
|
[count] must be a positive number. Also see
|
||||||
|cmdline-ranges|.
|
|cmdline-ranges|.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*develop.txt* For Vim version 8.1. Last change: 2018 May 02
|
*develop.txt* For Vim version 8.1. Last change: 2019 Feb 17
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -355,6 +355,24 @@ OK: if (cond)
|
|||||||
cmd;
|
cmd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
When a block has one line the braces can be left out. When an if/else has
|
||||||
|
braces on one block, it usually looks better when the other block also has
|
||||||
|
braces:
|
||||||
|
OK: if (cond)
|
||||||
|
cmd;
|
||||||
|
else
|
||||||
|
cmd;
|
||||||
|
|
||||||
|
OK: if (cond)
|
||||||
|
{
|
||||||
|
cmd;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
cmd;
|
||||||
|
cmd;
|
||||||
|
}
|
||||||
|
|
||||||
Use ANSI (new style) function declarations with the return type on a separate
|
Use ANSI (new style) function declarations with the return type on a separate
|
||||||
indented line.
|
indented line.
|
||||||
|
|
||||||
@@ -367,10 +385,10 @@ OK: /*
|
|||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
function_name(
|
function_name(
|
||||||
int arg1, /* short comment about arg1 */
|
int arg1, // short comment about arg1
|
||||||
int arg2) /* short comment about arg2 */
|
int arg2) // short comment about arg2
|
||||||
{
|
{
|
||||||
int local; /* comment about local */
|
int local; // comment about local
|
||||||
|
|
||||||
local = arg1 * arg2;
|
local = arg1 * arg2;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*diff.txt* For Vim version 8.1. Last change: 2017 Oct 03
|
*diff.txt* For Vim version 8.1. Last change: 2019 Feb 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -179,8 +179,8 @@ loaded. Since Vim doesn't allow having two buffers for the same file, you
|
|||||||
need another buffer. This command is useful: >
|
need another buffer. This command is useful: >
|
||||||
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_
|
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_
|
||||||
\ | diffthis | wincmd p | diffthis
|
\ | diffthis | wincmd p | diffthis
|
||||||
(this is in |vimrc_example.vim|). Use ":DiffOrig" to see the differences
|
(this is in |defaults.vim|). Use ":DiffOrig" to see the differences between
|
||||||
between the current buffer and the file it was loaded from.
|
the current buffer and the file it was loaded from.
|
||||||
|
|
||||||
A buffer that is unloaded cannot be used for the diff. But it does work for
|
A buffer that is unloaded cannot be used for the diff. But it does work for
|
||||||
hidden buffers. You can use ":hide" to close a window without unloading the
|
hidden buffers. You can use ":hide" to close a window without unloading the
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*digraph.txt* For Vim version 8.1. Last change: 2018 Dec 14
|
*digraph.txt* For Vim version 8.1. Last change: 2019 Feb 17
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -59,18 +59,9 @@ conversion to be available, it might fail. For the NUL character you will see
|
|||||||
"10". That's because NUL characters are internally represented with a NL
|
"10". That's because NUL characters are internally represented with a NL
|
||||||
character. When you write the file it will become a NUL character.
|
character. When you write the file it will become a NUL character.
|
||||||
|
|
||||||
When Vim was compiled without the |+multi_byte| feature, you need to specify
|
Example: >
|
||||||
the character in the encoding given with 'encoding'. You might want to use
|
|
||||||
something like this: >
|
|
||||||
|
|
||||||
if has("multi_byte")
|
|
||||||
digraph oe 339
|
digraph oe 339
|
||||||
elseif &encoding == "iso-8859-15"
|
This defines the "oe" digraph for a character that is number 339 in Unicode.
|
||||||
digraph oe 189
|
|
||||||
endif
|
|
||||||
|
|
||||||
This defines the "oe" digraph for a character that is number 339 in Unicode
|
|
||||||
and 189 in latin9 (iso-8859-15).
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
2. Using digraphs *digraphs-use*
|
2. Using digraphs *digraphs-use*
|
||||||
@@ -164,8 +155,7 @@ a standard meaning:
|
|||||||
Example: a: is ä and o: is ö
|
Example: a: is ä and o: is ö
|
||||||
|
|
||||||
These are the RFC1345 digraphs for the one-byte characters. See the output of
|
These are the RFC1345 digraphs for the one-byte characters. See the output of
|
||||||
":digraphs" for the others. The characters above 255 are only available when
|
":digraphs" for the others.
|
||||||
Vim was compiled with the |+multi_byte| feature.
|
|
||||||
|
|
||||||
EURO
|
EURO
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*eval.txt* For Vim version 8.1. Last change: 2019 Jan 24
|
*eval.txt* For Vim version 8.1. Last change: 2019 Mar 02
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -696,7 +696,7 @@ similar to -1. >
|
|||||||
:let otherblob = myblob[:] " make a copy of the Blob
|
:let otherblob = myblob[:] " make a copy of the Blob
|
||||||
|
|
||||||
If the first index is beyond the last byte of the Blob or the second index is
|
If the first index is beyond the last byte of the Blob or the second index is
|
||||||
before the first byte, the result is an empty list. There is no error
|
before the first index, the result is an empty Blob. There is no error
|
||||||
message.
|
message.
|
||||||
|
|
||||||
If the second index is equal to or greater than the length of the list the
|
If the second index is equal to or greater than the length of the list the
|
||||||
@@ -2511,7 +2511,10 @@ remote_read({serverid} [, {timeout}])
|
|||||||
remote_send({server}, {string} [, {idvar}])
|
remote_send({server}, {string} [, {idvar}])
|
||||||
String send key sequence
|
String send key sequence
|
||||||
remote_startserver({name}) none become server {name}
|
remote_startserver({name}) none become server {name}
|
||||||
remove({list}, {idx} [, {end}]) any remove items {idx}-{end} from {list}
|
remove({list}, {idx} [, {end}]) any/List
|
||||||
|
remove items {idx}-{end} from {list}
|
||||||
|
remove({blob}, {idx} [, {end}]) Number/Blob
|
||||||
|
remove bytes {idx}-{end} from {blob}
|
||||||
remove({dict}, {key}) any remove entry {key} from {dict}
|
remove({dict}, {key}) any remove entry {key} from {dict}
|
||||||
rename({from}, {to}) Number rename (move) file from {from} to {to}
|
rename({from}, {to}) Number rename (move) file from {from} to {to}
|
||||||
repeat({expr}, {count}) String repeat {expr} {count} times
|
repeat({expr}, {count}) String repeat {expr} {count} times
|
||||||
@@ -2890,9 +2893,9 @@ assert_false({actual} [, {msg}]) *assert_false()*
|
|||||||
"Expected False but got {actual}" is produced.
|
"Expected False but got {actual}" is produced.
|
||||||
|
|
||||||
assert_inrange({lower}, {upper}, {actual} [, {msg}]) *assert_inrange()*
|
assert_inrange({lower}, {upper}, {actual} [, {msg}]) *assert_inrange()*
|
||||||
This asserts number values. When {actual} is lower than
|
This asserts number and |Float| values. When {actual} is lower
|
||||||
{lower} or higher than {upper} an error message is added to
|
than {lower} or higher than {upper} an error message is added
|
||||||
|v:errors|. Also see |assert-return|.
|
to |v:errors|. Also see |assert-return|.
|
||||||
When {msg} is omitted an error in the form
|
When {msg} is omitted an error in the form
|
||||||
"Expected range {lower} - {upper}, but got {actual}" is
|
"Expected range {lower} - {upper}, but got {actual}" is
|
||||||
produced.
|
produced.
|
||||||
@@ -3535,7 +3538,7 @@ complete_check() *complete_check()*
|
|||||||
|
|
||||||
*confirm()*
|
*confirm()*
|
||||||
confirm({msg} [, {choices} [, {default} [, {type}]]])
|
confirm({msg} [, {choices} [, {default} [, {type}]]])
|
||||||
Confirm() offers the user a dialog, from which a choice can be
|
confirm() offers the user a dialog, from which a choice can be
|
||||||
made. It returns the number of the choice. For the first
|
made. It returns the number of the choice. For the first
|
||||||
choice this is 1.
|
choice this is 1.
|
||||||
Note: confirm() is only supported when compiled with dialog
|
Note: confirm() is only supported when compiled with dialog
|
||||||
@@ -4058,7 +4061,7 @@ expand({expr} [, {nosuf} [, {list}]]) *expand()*
|
|||||||
all "README" files in the current directory and below: >
|
all "README" files in the current directory and below: >
|
||||||
:echo expand("**/README")
|
:echo expand("**/README")
|
||||||
<
|
<
|
||||||
Expand() can also be used to expand variables and environment
|
expand() can also be used to expand variables and environment
|
||||||
variables that are only known in a shell. But this can be
|
variables that are only known in a shell. But this can be
|
||||||
slow, because a shell may be used to do the expansion. See
|
slow, because a shell may be used to do the expansion. See
|
||||||
|expr-env-expand|.
|
|expr-env-expand|.
|
||||||
@@ -4961,10 +4964,16 @@ getloclist({nr} [, {what}]) *getloclist()*
|
|||||||
If the optional {what} dictionary argument is supplied, then
|
If the optional {what} dictionary argument is supplied, then
|
||||||
returns the items listed in {what} as a dictionary. Refer to
|
returns the items listed in {what} as a dictionary. Refer to
|
||||||
|getqflist()| for the supported items in {what}.
|
|getqflist()| for the supported items in {what}.
|
||||||
If {what} contains 'filewinid', then returns the id of the
|
|
||||||
window used to display files from the location list. This
|
In addition to the items supported by |getqflist()| in {what},
|
||||||
field is applicable only when called from a location list
|
the following item is supported by |getloclist()|:
|
||||||
window. See |location-list-file-window| for more details.
|
|
||||||
|
filewinid id of the window used to display files
|
||||||
|
from the location list. This field is
|
||||||
|
applicable only when called from a
|
||||||
|
location list window. See
|
||||||
|
|location-list-file-window| for more
|
||||||
|
details.
|
||||||
|
|
||||||
getmatches() *getmatches()*
|
getmatches() *getmatches()*
|
||||||
Returns a |List| with all matches previously defined by
|
Returns a |List| with all matches previously defined by
|
||||||
@@ -5066,6 +5075,9 @@ getqflist([{what}]) *getqflist()*
|
|||||||
nr get information for this quickfix list; zero
|
nr get information for this quickfix list; zero
|
||||||
means the current quickfix list and "$" means
|
means the current quickfix list and "$" means
|
||||||
the last quickfix list
|
the last quickfix list
|
||||||
|
qfbufnr number of the buffer displayed in the quickfix
|
||||||
|
window. Returns 0 if the quickfix buffer is
|
||||||
|
not present. See |quickfix-buffer|.
|
||||||
size number of entries in the quickfix list
|
size number of entries in the quickfix list
|
||||||
title get the list title |quickfix-title|
|
title get the list title |quickfix-title|
|
||||||
winid get the quickfix |window-ID|
|
winid get the quickfix |window-ID|
|
||||||
@@ -5094,6 +5106,8 @@ getqflist([{what}]) *getqflist()*
|
|||||||
items quickfix list entries. If not present, set to
|
items quickfix list entries. If not present, set to
|
||||||
an empty list.
|
an empty list.
|
||||||
nr quickfix list number. If not present, set to 0
|
nr quickfix list number. If not present, set to 0
|
||||||
|
qfbufnr number of the buffer displayed in the quickfix
|
||||||
|
window. If not present, set to 0.
|
||||||
size number of entries in the quickfix list. If not
|
size number of entries in the quickfix list. If not
|
||||||
present, set to 0.
|
present, set to 0.
|
||||||
title quickfix list title text. If not present, set
|
title quickfix list title text. If not present, set
|
||||||
@@ -5148,7 +5162,7 @@ gettabinfo([{arg}]) *gettabinfo()*
|
|||||||
tabnr tab page number.
|
tabnr tab page number.
|
||||||
variables a reference to the dictionary with
|
variables a reference to the dictionary with
|
||||||
tabpage-local variables
|
tabpage-local variables
|
||||||
windows List of |window-ID|s in the tag page.
|
windows List of |window-ID|s in the tab page.
|
||||||
|
|
||||||
gettabvar({tabnr}, {varname} [, {def}]) *gettabvar()*
|
gettabvar({tabnr}, {varname} [, {def}]) *gettabvar()*
|
||||||
Get the value of a tab-local variable {varname} in tab page
|
Get the value of a tab-local variable {varname} in tab page
|
||||||
@@ -5225,6 +5239,7 @@ getwininfo([{winid}]) *getwininfo()*
|
|||||||
tab pages is returned.
|
tab pages is returned.
|
||||||
|
|
||||||
Each List item is a Dictionary with the following entries:
|
Each List item is a Dictionary with the following entries:
|
||||||
|
botline last displayed buffer line
|
||||||
bufnr number of buffer in the window
|
bufnr number of buffer in the window
|
||||||
height window height (excluding winbar)
|
height window height (excluding winbar)
|
||||||
loclist 1 if showing a location list
|
loclist 1 if showing a location list
|
||||||
@@ -5234,6 +5249,7 @@ getwininfo([{winid}]) *getwininfo()*
|
|||||||
terminal 1 if a terminal window
|
terminal 1 if a terminal window
|
||||||
{only with the +terminal feature}
|
{only with the +terminal feature}
|
||||||
tabnr tab page number
|
tabnr tab page number
|
||||||
|
topline first displayed buffer line
|
||||||
variables a reference to the dictionary with
|
variables a reference to the dictionary with
|
||||||
window-local variables
|
window-local variables
|
||||||
width window width
|
width window width
|
||||||
@@ -5535,7 +5551,6 @@ iconv({expr}, {from}, {to}) *iconv()*
|
|||||||
< Note that Vim uses UTF-8 for all Unicode encodings, conversion
|
< Note that Vim uses UTF-8 for all Unicode encodings, conversion
|
||||||
from/to UCS-2 is automatically changed to use UTF-8. You
|
from/to UCS-2 is automatically changed to use UTF-8. You
|
||||||
cannot use UCS-2 in a string anyway, because of the NUL bytes.
|
cannot use UCS-2 in a string anyway, because of the NUL bytes.
|
||||||
{only available when compiled with the |+multi_byte| feature}
|
|
||||||
|
|
||||||
*indent()*
|
*indent()*
|
||||||
indent({lnum}) The result is a Number, which is indent of line {lnum} in the
|
indent({lnum}) The result is a Number, which is indent of line {lnum} in the
|
||||||
@@ -5742,6 +5757,16 @@ job_info([{job}]) *job_info()*
|
|||||||
"exit_cb" function to be called on exit
|
"exit_cb" function to be called on exit
|
||||||
"stoponexit" |job-stoponexit|
|
"stoponexit" |job-stoponexit|
|
||||||
|
|
||||||
|
Only in Unix:
|
||||||
|
"termsig" the signal which terminated the process
|
||||||
|
(See |job_stop()| for the values)
|
||||||
|
only valid when "status" is "dead"
|
||||||
|
|
||||||
|
Only in MS-Windows:
|
||||||
|
"tty_type" Type of virtual console in use.
|
||||||
|
Values are "winpty" or "conpty".
|
||||||
|
See 'termwintype'.
|
||||||
|
|
||||||
Without any arguments, returns a List with all Job objects.
|
Without any arguments, returns a List with all Job objects.
|
||||||
|
|
||||||
job_setoptions({job}, {options}) *job_setoptions()*
|
job_setoptions({job}, {options}) *job_setoptions()*
|
||||||
@@ -6056,13 +6081,9 @@ line({expr}) The result is a Number, which is the line number of the file
|
|||||||
line(".") line number of the cursor
|
line(".") line number of the cursor
|
||||||
line("'t") line number of mark t
|
line("'t") line number of mark t
|
||||||
line("'" . marker) line number of mark marker
|
line("'" . marker) line number of mark marker
|
||||||
< *last-position-jump*
|
<
|
||||||
This autocommand jumps to the last known position in a file
|
To jump to the last known position when opening a file see
|
||||||
just after opening it, if the '" mark is set: >
|
|last-position-jump|.
|
||||||
:au BufReadPost *
|
|
||||||
\ if line("'\"") > 1 && line("'\"") <= line("$") && &ft !~# 'commit'
|
|
||||||
\ | exe "normal! g`\""
|
|
||||||
\ | endif
|
|
||||||
|
|
||||||
line2byte({lnum}) *line2byte()*
|
line2byte({lnum}) *line2byte()*
|
||||||
Return the byte count from the start of the buffer for line
|
Return the byte count from the start of the buffer for line
|
||||||
@@ -6504,8 +6525,10 @@ min({expr}) Return the minimum value of all items in {expr}.
|
|||||||
*mkdir()* *E739*
|
*mkdir()* *E739*
|
||||||
mkdir({name} [, {path} [, {prot}]])
|
mkdir({name} [, {path} [, {prot}]])
|
||||||
Create directory {name}.
|
Create directory {name}.
|
||||||
|
|
||||||
If {path} is "p" then intermediate directories are created as
|
If {path} is "p" then intermediate directories are created as
|
||||||
necessary. Otherwise it must be "".
|
necessary. Otherwise it must be "".
|
||||||
|
|
||||||
If {prot} is given it is used to set the protection bits of
|
If {prot} is given it is used to set the protection bits of
|
||||||
the new directory. The default is 0755 (rwxr-xr-x: r/w for
|
the new directory. The default is 0755 (rwxr-xr-x: r/w for
|
||||||
the user readable for others). Use 0700 to make it unreadable
|
the user readable for others). Use 0700 to make it unreadable
|
||||||
@@ -6514,9 +6537,17 @@ mkdir({name} [, {path} [, {prot}]])
|
|||||||
with 0755.
|
with 0755.
|
||||||
Example: >
|
Example: >
|
||||||
:call mkdir($HOME . "/tmp/foo/bar", "p", 0700)
|
:call mkdir($HOME . "/tmp/foo/bar", "p", 0700)
|
||||||
|
|
||||||
< This function is not available in the |sandbox|.
|
< This function is not available in the |sandbox|.
|
||||||
|
|
||||||
There is no error if the directory already exists and the "p"
|
There is no error if the directory already exists and the "p"
|
||||||
flag is passed (since patch 8.0.1708).
|
flag is passed (since patch 8.0.1708). However, without the
|
||||||
|
"p" option the call will fail.
|
||||||
|
|
||||||
|
The function result is a Number, which is 1 if the call was
|
||||||
|
successful or 0 if the directory creation failed or partly
|
||||||
|
failed.
|
||||||
|
|
||||||
Not available on all systems. To check use: >
|
Not available on all systems. To check use: >
|
||||||
:if exists("*mkdir")
|
:if exists("*mkdir")
|
||||||
<
|
<
|
||||||
@@ -6797,8 +6828,7 @@ printf({fmt}, {expr1} ...) *printf()*
|
|||||||
*printf-S*
|
*printf-S*
|
||||||
S The text of the String argument is used. If a
|
S The text of the String argument is used. If a
|
||||||
precision is specified, no more display cells than the
|
precision is specified, no more display cells than the
|
||||||
number specified are used. Without the |+multi_byte|
|
number specified are used.
|
||||||
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
|
||||||
@@ -7325,6 +7355,9 @@ remove({list}, {idx} [, {end}]) *remove()*
|
|||||||
Example: >
|
Example: >
|
||||||
:echo "last item: " . remove(mylist, -1)
|
:echo "last item: " . remove(mylist, -1)
|
||||||
:call remove(mylist, 0, 9)
|
:call remove(mylist, 0, 9)
|
||||||
|
<
|
||||||
|
Use |delete()| to remove a file.
|
||||||
|
|
||||||
remove({blob}, {idx} [, {end}])
|
remove({blob}, {idx} [, {end}])
|
||||||
Without {end}: Remove the byte at {idx} from |Blob| {blob} and
|
Without {end}: Remove the byte at {idx} from |Blob| {blob} and
|
||||||
return the byte.
|
return the byte.
|
||||||
@@ -7335,13 +7368,12 @@ remove({blob}, {idx} [, {end}])
|
|||||||
Example: >
|
Example: >
|
||||||
:echo "last byte: " . remove(myblob, -1)
|
:echo "last byte: " . remove(myblob, -1)
|
||||||
:call remove(mylist, 0, 9)
|
:call remove(mylist, 0, 9)
|
||||||
|
|
||||||
remove({dict}, {key})
|
remove({dict}, {key})
|
||||||
Remove the entry from {dict} with key {key}. Example: >
|
Remove the entry from {dict} with key {key}. Example: >
|
||||||
:echo "removed " . remove(dict, "one")
|
:echo "removed " . remove(dict, "one")
|
||||||
< If there is no {key} in {dict} this is an error.
|
< If there is no {key} in {dict} this is an error.
|
||||||
|
|
||||||
Use |delete()| to remove a file.
|
|
||||||
|
|
||||||
rename({from}, {to}) *rename()*
|
rename({from}, {to}) *rename()*
|
||||||
Rename the file by the name {from} to the name {to}. This
|
Rename the file by the name {from} to the name {to}. This
|
||||||
should also work to move files across file systems. The
|
should also work to move files across file systems. The
|
||||||
@@ -7364,6 +7396,9 @@ repeat({expr}, {count}) *repeat()*
|
|||||||
resolve({filename}) *resolve()* *E655*
|
resolve({filename}) *resolve()* *E655*
|
||||||
On MS-Windows, when {filename} is a shortcut (a .lnk file),
|
On MS-Windows, when {filename} is a shortcut (a .lnk file),
|
||||||
returns the path the shortcut points to in a simplified form.
|
returns the path the shortcut points to in a simplified form.
|
||||||
|
When {filename} is a symbolic link or junction point, return
|
||||||
|
the full path to the target. If the target of junction is
|
||||||
|
removed, return {filename}.
|
||||||
On Unix, repeat resolving symbolic links in all path
|
On Unix, repeat resolving symbolic links in all path
|
||||||
components of {filename} and return the simplified result.
|
components of {filename} and return the simplified result.
|
||||||
To cope with link cycles, resolving of symbolic links is
|
To cope with link cycles, resolving of symbolic links is
|
||||||
@@ -8587,10 +8622,10 @@ strcharpart({src}, {start} [, {len}]) *strcharpart()*
|
|||||||
|
|
||||||
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
|
(first column is zero). When {col} is omitted zero is used.
|
||||||
screen column where to start. This matters for Tab
|
Otherwise it is the screen column where to start. This
|
||||||
characters.
|
matters for Tab characters.
|
||||||
The option settings of the current window are used. This
|
The option settings of the current window are used. This
|
||||||
matters for anything that's displayed differently, such as
|
matters for anything that's displayed differently, such as
|
||||||
'tabstop' and 'display'.
|
'tabstop' and 'display'.
|
||||||
@@ -9453,6 +9488,8 @@ term_start({cmd}, {options}) *term_start()*
|
|||||||
"ansi_colors" A list of 16 color names or hex codes
|
"ansi_colors" A list of 16 color names or hex codes
|
||||||
defining the ANSI palette used in GUI
|
defining the ANSI palette used in GUI
|
||||||
color modes. See |g:terminal_ansi_colors|.
|
color modes. See |g:terminal_ansi_colors|.
|
||||||
|
"tty_type" (MS-Windows only): Specify which pty to
|
||||||
|
use. See 'termwintype' for the values.
|
||||||
|
|
||||||
{only available when compiled with the |+terminal| feature}
|
{only available when compiled with the |+terminal| feature}
|
||||||
|
|
||||||
@@ -9724,10 +9761,10 @@ type({expr}) The result is a Number representing the type of {expr}.
|
|||||||
Dictionary: 4 |v:t_dict|
|
Dictionary: 4 |v:t_dict|
|
||||||
Float: 5 |v:t_float|
|
Float: 5 |v:t_float|
|
||||||
Boolean: 6 |v:t_bool| (v:false and v:true)
|
Boolean: 6 |v:t_bool| (v:false and v:true)
|
||||||
None 7 |v:t_none| (v:null and v:none)
|
None: 7 |v:t_none| (v:null and v:none)
|
||||||
Job 8 |v:t_job|
|
Job: 8 |v:t_job|
|
||||||
Channel 9 |v:t_channel|
|
Channel: 9 |v:t_channel|
|
||||||
Blob 10 |v:t_blob|
|
Blob: 10 |v:t_blob|
|
||||||
For backward compatibility, this method can be used: >
|
For backward compatibility, this method can be used: >
|
||||||
:if type(myvar) == type(0)
|
:if type(myvar) == type(0)
|
||||||
:if type(myvar) == type("")
|
:if type(myvar) == type("")
|
||||||
@@ -10150,7 +10187,7 @@ all_builtin_terms Compiled with all builtin terminals enabled.
|
|||||||
amiga Amiga version of Vim.
|
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. (always true)
|
||||||
autochdir Compiled with support for 'autochdir'
|
autochdir Compiled with support for 'autochdir'
|
||||||
autoservername Automatically enable |clientserver|
|
autoservername Automatically enable |clientserver|
|
||||||
balloon_eval Compiled with |balloon-eval| support.
|
balloon_eval Compiled with |balloon-eval| support.
|
||||||
@@ -10159,6 +10196,7 @@ beos BeOS version of Vim.
|
|||||||
browse Compiled with |:browse| support, and browse() will
|
browse Compiled with |:browse| support, and browse() will
|
||||||
work.
|
work.
|
||||||
browsefilter Compiled with support for |browsefilter|.
|
browsefilter Compiled with support for |browsefilter|.
|
||||||
|
bsd Compiled on an OS in the BSD family (excluding macOS).
|
||||||
builtin_terms Compiled with some builtin terminals.
|
builtin_terms Compiled with some builtin terminals.
|
||||||
byte_offset Compiled with support for 'o' in 'statusline'
|
byte_offset Compiled with support for 'o' in 'statusline'
|
||||||
cindent Compiled with 'cindent' support.
|
cindent Compiled with 'cindent' support.
|
||||||
@@ -10169,8 +10207,10 @@ cmdline_hist Compiled with |cmdline-history| support.
|
|||||||
cmdline_info Compiled with 'showcmd' and 'ruler' support.
|
cmdline_info Compiled with 'showcmd' and 'ruler' support.
|
||||||
comments Compiled with |'comments'| support.
|
comments Compiled with |'comments'| support.
|
||||||
compatible Compiled to be very Vi compatible.
|
compatible Compiled to be very Vi compatible.
|
||||||
|
conpty Platform where |ConPTY| can be used.
|
||||||
cryptv Compiled with encryption support |encryption|.
|
cryptv Compiled with encryption support |encryption|.
|
||||||
cscope Compiled with |cscope| support.
|
cscope Compiled with |cscope| support.
|
||||||
|
cursorbind Compiled with |'cursorbind'| (always true)
|
||||||
debug Compiled with "DEBUG" defined.
|
debug Compiled with "DEBUG" defined.
|
||||||
dialog_con Compiled with console dialog support.
|
dialog_con Compiled with console dialog support.
|
||||||
dialog_gui Compiled with GUI dialog support.
|
dialog_gui Compiled with GUI dialog support.
|
||||||
@@ -10182,7 +10222,7 @@ ebcdic Compiled on a machine with ebcdic character set.
|
|||||||
emacs_tags Compiled with support for Emacs tags.
|
emacs_tags Compiled with support for Emacs tags.
|
||||||
eval Compiled with expression evaluation support. Always
|
eval Compiled with expression evaluation support. Always
|
||||||
true, of course!
|
true, of course!
|
||||||
ex_extra |+ex_extra|, always true now
|
ex_extra |+ex_extra| (always true)
|
||||||
extra_search Compiled with support for |'incsearch'| and
|
extra_search Compiled with support for |'incsearch'| and
|
||||||
|'hlsearch'|
|
|'hlsearch'|
|
||||||
farsi Compiled with Farsi support |farsi|.
|
farsi Compiled with Farsi support |farsi|.
|
||||||
@@ -10211,6 +10251,7 @@ gui_running Vim is running in the GUI, or it will start soon.
|
|||||||
gui_win32 Compiled with MS Windows Win32 GUI.
|
gui_win32 Compiled with MS Windows Win32 GUI.
|
||||||
gui_win32s idem, and Win32s system being used (Windows 3.1)
|
gui_win32s idem, and Win32s system being used (Windows 3.1)
|
||||||
hangul_input Compiled with Hangul input support. |hangul|
|
hangul_input Compiled with Hangul input support. |hangul|
|
||||||
|
hpux HP-UX version of Vim.
|
||||||
iconv Can use iconv() for conversion.
|
iconv Can use iconv() for conversion.
|
||||||
insert_expand Compiled with support for CTRL-X expansion commands in
|
insert_expand Compiled with support for CTRL-X expansion commands in
|
||||||
Insert mode.
|
Insert mode.
|
||||||
@@ -10221,6 +10262,7 @@ langmap Compiled with 'langmap' support.
|
|||||||
libcall Compiled with |libcall()| support.
|
libcall Compiled with |libcall()| support.
|
||||||
linebreak Compiled with 'linebreak', 'breakat', 'showbreak' and
|
linebreak Compiled with 'linebreak', 'breakat', 'showbreak' and
|
||||||
'breakindent' support.
|
'breakindent' support.
|
||||||
|
linux Linux version of Vim.
|
||||||
lispindent Compiled with support for lisp indenting.
|
lispindent Compiled with support for lisp indenting.
|
||||||
listcmds Compiled with commands for the buffer list |:files|
|
listcmds Compiled with commands for the buffer list |:files|
|
||||||
and the argument list |arglist|.
|
and the argument list |arglist|.
|
||||||
@@ -10241,7 +10283,7 @@ mouse_sgr Compiled with support for sgr mouse.
|
|||||||
mouse_urxvt Compiled with support for urxvt mouse.
|
mouse_urxvt Compiled with support for urxvt mouse.
|
||||||
mouse_xterm Compiled with support for xterm mouse.
|
mouse_xterm Compiled with support for xterm mouse.
|
||||||
mouseshape Compiled with support for 'mouseshape'.
|
mouseshape Compiled with support for 'mouseshape'.
|
||||||
multi_byte Compiled with support for 'encoding'
|
multi_byte Compiled with support for 'encoding' (always true)
|
||||||
multi_byte_encoding 'encoding' is set to a multi-byte encoding.
|
multi_byte_encoding 'encoding' is set to a multi-byte encoding.
|
||||||
multi_byte_ime Compiled with support for IME input method.
|
multi_byte_ime Compiled with support for IME input method.
|
||||||
multi_lang Compiled with support for multiple languages.
|
multi_lang Compiled with support for multiple languages.
|
||||||
@@ -10271,7 +10313,7 @@ quickfix Compiled with |quickfix| support.
|
|||||||
reltime Compiled with |reltime()| support.
|
reltime Compiled with |reltime()| support.
|
||||||
rightleft Compiled with 'rightleft' support.
|
rightleft Compiled with 'rightleft' support.
|
||||||
ruby Compiled with Ruby interface |ruby|.
|
ruby Compiled with Ruby interface |ruby|.
|
||||||
scrollbind Compiled with 'scrollbind' support.
|
scrollbind Compiled with 'scrollbind' support. (always true)
|
||||||
showcmd Compiled with 'showcmd' support.
|
showcmd Compiled with 'showcmd' support.
|
||||||
signs Compiled with |:sign| support.
|
signs Compiled with |:sign| support.
|
||||||
smartindent Compiled with 'smartindent' support.
|
smartindent Compiled with 'smartindent' support.
|
||||||
@@ -10279,6 +10321,7 @@ spell Compiled with spell checking support |spell|.
|
|||||||
startuptime Compiled with |--startuptime| support.
|
startuptime Compiled with |--startuptime| support.
|
||||||
statusline Compiled with support for 'statusline', 'rulerformat'
|
statusline Compiled with support for 'statusline', 'rulerformat'
|
||||||
and special formats of 'titlestring' and 'iconstring'.
|
and special formats of 'titlestring' and 'iconstring'.
|
||||||
|
sun SunOS version of Vim.
|
||||||
sun_workshop Support for Sun |workshop| has been removed.
|
sun_workshop Support for Sun |workshop| has been removed.
|
||||||
syntax Compiled with syntax highlighting support |syntax|.
|
syntax Compiled with syntax highlighting support |syntax|.
|
||||||
syntax_items There are active syntax highlighting items for the
|
syntax_items There are active syntax highlighting items for the
|
||||||
@@ -10310,27 +10353,29 @@ user_commands User-defined commands.
|
|||||||
vcon Win32: Virtual console support is working, can use
|
vcon Win32: Virtual console support is working, can use
|
||||||
'termguicolors'. Also see |+vtp|.
|
'termguicolors'. Also see |+vtp|.
|
||||||
vertsplit Compiled with vertically split windows |:vsplit|.
|
vertsplit Compiled with vertically split windows |:vsplit|.
|
||||||
|
(always true)
|
||||||
vim_starting True while initial source'ing takes place. |startup|
|
vim_starting True while initial source'ing takes place. |startup|
|
||||||
*vim_starting*
|
*vim_starting*
|
||||||
viminfo Compiled with viminfo support.
|
viminfo Compiled with viminfo support.
|
||||||
virtualedit Compiled with 'virtualedit' option.
|
virtualedit Compiled with 'virtualedit' option. (always true)
|
||||||
visual Compiled with Visual mode. (always true)
|
visual Compiled with Visual mode. (always true)
|
||||||
visualextra Compiled with extra Visual mode commands. (always
|
visualextra Compiled with extra Visual mode commands. (always
|
||||||
true) |blockwise-operators|.
|
true) |blockwise-operators|.
|
||||||
vms VMS version of Vim.
|
vms VMS version of Vim.
|
||||||
vreplace Compiled with |gR| and |gr| commands.
|
vreplace Compiled with |gR| and |gr| commands. (always true)
|
||||||
vtp Compiled for vcon support |+vtp| (check vcon to find
|
vtp Compiled for vcon support |+vtp| (check vcon to find
|
||||||
out if it works in the current console).
|
out if it works in the current console).
|
||||||
wildignore Compiled with 'wildignore' option.
|
wildignore Compiled with 'wildignore' option.
|
||||||
wildmenu Compiled with 'wildmenu' option.
|
wildmenu Compiled with 'wildmenu' option.
|
||||||
win16 old version for MS-Windows 3.1 (always False)
|
win16 old version for MS-Windows 3.1 (always false)
|
||||||
win32 Win32 version of Vim (MS-Windows 95 and later, 32 or
|
win32 Win32 version of Vim (MS-Windows 95 and later, 32 or
|
||||||
64 bits)
|
64 bits)
|
||||||
win32unix Win32 version of Vim, using Unix files (Cygwin)
|
win32unix Win32 version of Vim, using Unix files (Cygwin)
|
||||||
win64 Win64 version of Vim (MS-Windows 64 bit).
|
win64 Win64 version of Vim (MS-Windows 64 bit).
|
||||||
win95 Win32 version for MS-Windows 95/98/ME (always False)
|
win95 Win32 version for MS-Windows 95/98/ME (always false)
|
||||||
winaltkeys Compiled with 'winaltkeys' option.
|
winaltkeys Compiled with 'winaltkeys' option.
|
||||||
windows Compiled with support for more than one window.
|
windows Compiled with support for more than one window.
|
||||||
|
(always true)
|
||||||
writebackup Compiled with 'writebackup' default on.
|
writebackup Compiled with 'writebackup' default on.
|
||||||
xfontset Compiled with X fontset support |xfontset|.
|
xfontset Compiled with X fontset support |xfontset|.
|
||||||
xim Compiled with X input method support |xim|.
|
xim Compiled with X input method support |xim|.
|
||||||
@@ -10802,9 +10847,13 @@ This does NOT work: >
|
|||||||
When the selected range of items is partly past the
|
When the selected range of items is partly past the
|
||||||
end of the list, items will be added.
|
end of the list, items will be added.
|
||||||
|
|
||||||
*:let+=* *:let-=* *:let.=* *E734*
|
*:let+=* *:let-=* *:letstar=*
|
||||||
|
*:let/=* *:let%=* *:let.=* *E734*
|
||||||
:let {var} += {expr1} Like ":let {var} = {var} + {expr1}".
|
:let {var} += {expr1} Like ":let {var} = {var} + {expr1}".
|
||||||
:let {var} -= {expr1} Like ":let {var} = {var} - {expr1}".
|
:let {var} -= {expr1} Like ":let {var} = {var} - {expr1}".
|
||||||
|
:let {var} *= {expr1} Like ":let {var} = {var} * {expr1}".
|
||||||
|
:let {var} /= {expr1} Like ":let {var} = {var} / {expr1}".
|
||||||
|
:let {var} %= {expr1} Like ":let {var} = {var} % {expr1}".
|
||||||
:let {var} .= {expr1} Like ":let {var} = {var} . {expr1}".
|
:let {var} .= {expr1} Like ":let {var} = {var} . {expr1}".
|
||||||
These fail if {var} was not set yet and when the type
|
These fail if {var} was not set yet and when the type
|
||||||
of {var} and {expr1} don't fit the operator.
|
of {var} and {expr1} don't fit the operator.
|
||||||
@@ -11169,7 +11218,7 @@ This does NOT work: >
|
|||||||
:catch /^Vim\%((\a\+)\)\=:E/ " catch all Vim errors
|
:catch /^Vim\%((\a\+)\)\=:E/ " catch all Vim errors
|
||||||
:catch /^Vim\%((\a\+)\)\=:/ " catch errors and interrupts
|
:catch /^Vim\%((\a\+)\)\=:/ " catch errors and interrupts
|
||||||
:catch /^Vim(write):/ " catch all errors in :write
|
:catch /^Vim(write):/ " catch all errors in :write
|
||||||
:catch /^Vim\%((\a\+)\)\=:E123/ " catch error E123
|
:catch /^Vim\%((\a\+)\)\=:E123:/ " catch error E123
|
||||||
:catch /my-exception/ " catch user exception
|
:catch /my-exception/ " catch user exception
|
||||||
:catch /.*/ " catch everything
|
:catch /.*/ " catch everything
|
||||||
:catch " same as /.*/
|
:catch " same as /.*/
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*farsi.txt* For Vim version 8.1. Last change: 2015 Aug 29
|
*farsi.txt* For Vim version 8.1. Last change: 2019 Feb 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
|
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
|
||||||
@@ -9,261 +9,12 @@ Right to Left and Farsi Mapping for Vim *farsi* *Farsi*
|
|||||||
{Vi does not have any of these commands}
|
{Vi does not have any of these commands}
|
||||||
|
|
||||||
*E27*
|
*E27*
|
||||||
In order to use right-to-left and Farsi mapping support, it is necessary to
|
Farsi support has been removed in patch 8.1.0932. At that time it was
|
||||||
compile Vim with the |+farsi| feature.
|
outdated and unused.
|
||||||
|
|
||||||
These functions have been made by Mortaza G. Shiran <shiran@jps.net>
|
If you would like to bring Farsi support back, please have a look at the old
|
||||||
|
Farsi code, as it was present at the 8.1 release. It should be merged with
|
||||||
|
Arabic support using the Unicode character set.
|
||||||
|
|
||||||
|
|
||||||
Introduction
|
|
||||||
------------
|
|
||||||
In right-to-left oriented files the characters appear on the screen from right
|
|
||||||
to left. This kind of file is most useful when writing Farsi documents,
|
|
||||||
composing faxes or writing Farsi memos.
|
|
||||||
|
|
||||||
The commands, prompts and help files are not in Farsi, therefore the user
|
|
||||||
interface remains the standard Vi interface.
|
|
||||||
|
|
||||||
|
|
||||||
Highlights
|
|
||||||
----------
|
|
||||||
o Editing left-to-right files as in the original Vim, no change.
|
|
||||||
|
|
||||||
o Viewing and editing files in right-to-left windows. File orientation is
|
|
||||||
per window, so it is possible to view the same file in right-to-left and
|
|
||||||
left-to-right modes, simultaneously.
|
|
||||||
|
|
||||||
o Compatibility to the original Vim. Almost all features work in
|
|
||||||
right-to-left mode (see bugs below).
|
|
||||||
|
|
||||||
o Changing keyboard mapping and reverse insert modes using a single
|
|
||||||
command.
|
|
||||||
|
|
||||||
o Backing from reverse insert mode to the correct place in the file
|
|
||||||
(if possible).
|
|
||||||
|
|
||||||
o While in Farsi mode, numbers are entered from left to right. Upon entering
|
|
||||||
a none number character, that character will be inserted just into the
|
|
||||||
left of the last number.
|
|
||||||
|
|
||||||
o No special terminal with right-to-left capabilities is required. The
|
|
||||||
right-to-left changes are completely hardware independent. Only
|
|
||||||
Farsi font is necessary.
|
|
||||||
|
|
||||||
o Farsi keymapping on the command line in reverse insert mode.
|
|
||||||
|
|
||||||
o Toggling between left-to-right and right-to-left via F8 function key.
|
|
||||||
|
|
||||||
o Toggling between Farsi ISIR-3342 standard encoding and Vim Farsi via F9
|
|
||||||
function key. Since this makes sense only for the text written in
|
|
||||||
right-to-left mode, this function is also supported only in right-to-left
|
|
||||||
mode.
|
|
||||||
|
|
||||||
Farsi Fonts *farsi-fonts*
|
|
||||||
-----------
|
|
||||||
|
|
||||||
The following files are found in the subdirectories of the '$VIM/farsi/fonts'
|
|
||||||
directory:
|
|
||||||
|
|
||||||
+ far-a01.pcf X Windows fonts for Unix including Linux systems
|
|
||||||
+ far-a01.bf X Windows fonts for SunOS
|
|
||||||
+ far-a01.f16 a screen fonts for Unix including Linux systems
|
|
||||||
+ far-a01.fon a monospaced fonts for Windows NT/95/98
|
|
||||||
+ far-a01.com a screen fonts for DOS
|
|
||||||
|
|
||||||
|
|
||||||
Font Installation
|
|
||||||
-----------------
|
|
||||||
|
|
||||||
o Installation of fonts for MS Window systems (NT/95/98)
|
|
||||||
|
|
||||||
From 'Control Panel' folder, start the 'Fonts' program. Then from 'file'
|
|
||||||
menu item select 'Install New Fonts ...'. Browse and select the
|
|
||||||
'far-a01.fon', then follow the installation guide.
|
|
||||||
NOTE: several people have reported that this does not work. The solution
|
|
||||||
is unknown.
|
|
||||||
|
|
||||||
o Installation of fonts for X Window systems (Unix/Linux)
|
|
||||||
|
|
||||||
Depending on your system, copy far-a01.pcf.Z or far-a01.pcf.gz into a
|
|
||||||
directory of your choice. Change to the directory containing the Farsi
|
|
||||||
fonts and execute the following commands:
|
|
||||||
|
|
||||||
> mkfontdir
|
|
||||||
> xset +fp path_name_of_farsi_fonts_directory
|
|
||||||
|
|
||||||
o Installation of fonts for X Window systems (SunOS)
|
|
||||||
|
|
||||||
Copy far-a01.bf font into a directory of your choice.
|
|
||||||
Change to the directory containing the far-a01.fb fonts and
|
|
||||||
execute the following commands:
|
|
||||||
|
|
||||||
> fldfamily
|
|
||||||
> xset +fp path_name_of_fonts_directory
|
|
||||||
|
|
||||||
o Installation of ASCII screen fonts (Unix/Linux)
|
|
||||||
|
|
||||||
For Linux system, copy the far-a01.f16 fonts into /usr/lib/kbd/consolefonts
|
|
||||||
directory and execute the setfont program as "setfont far-a01.f16". For
|
|
||||||
other systems (e.g. SCO Unix), please refer to the fonts installation
|
|
||||||
section of your system administration manuals.
|
|
||||||
|
|
||||||
o Installation of ASCII screen fonts (DOS)
|
|
||||||
|
|
||||||
After system power on, prior to the first use of Vim, upload the Farsi
|
|
||||||
fonts by executing the far-a01.com font uploading program.
|
|
||||||
|
|
||||||
|
|
||||||
Usage
|
|
||||||
-----
|
|
||||||
Prior to starting Vim, the environment in which Vim can run in Farsi mode,
|
|
||||||
must be set. In addition to installation of Farsi fonts, following points
|
|
||||||
refer to some of the system environments, which you may need to set:
|
|
||||||
Key code mapping, loading graphic card in ASCII screen mode, setting the IO
|
|
||||||
driver in 8 bit clean mode ... .
|
|
||||||
|
|
||||||
o Setting the Farsi fonts
|
|
||||||
|
|
||||||
+ For Vim GUI set the 'guifont' to far-a01. This is done by entering
|
|
||||||
':set guifont=far-a01' in the Vim window.
|
|
||||||
|
|
||||||
You can have 'guifont' set to far-a01 by Vim during the Vim startup
|
|
||||||
by appending the ':set guifont=far-a01' into your .vimrc file
|
|
||||||
(in case of NT/95/98 platforms _vimrc).
|
|
||||||
|
|
||||||
Under the X Window environment, you can also start Vim with the
|
|
||||||
'-fn far-a01' option.
|
|
||||||
|
|
||||||
+ For Vim within a xterm, start a xterm with the Farsi fonts (e.g.
|
|
||||||
kterm -fn far-a01). Then start Vim inside the kterm.
|
|
||||||
|
|
||||||
+ For Vim under DOS, prior to the first usage of Vim, upload the Farsi
|
|
||||||
fonts by executing the far-a01.com fonts uploading program.
|
|
||||||
|
|
||||||
o Farsi Keymapping Activation
|
|
||||||
|
|
||||||
To activate the Farsi keymapping, set either 'altkeymap' or 'fkmap'.
|
|
||||||
This is done by entering ':set akm' or ':set fk' in the Vim window.
|
|
||||||
You can have 'altkeymap' or 'fkmap' set as default by appending ':set akm'
|
|
||||||
or ':set fk' in your .vimrc file or _vimrc in case of NT/95/98 platforms.
|
|
||||||
|
|
||||||
To turn off the Farsi keymapping as a default second language keymapping,
|
|
||||||
reset the 'altkeymap' by entering ':set noakm'.
|
|
||||||
|
|
||||||
o right-to-left Farsi Mode
|
|
||||||
|
|
||||||
By default Vim starts in Left-to-right mode. Following are ways to change
|
|
||||||
the window orientation:
|
|
||||||
|
|
||||||
+ Start Vim with the -F option (e.g. vim -F ...).
|
|
||||||
|
|
||||||
+ Use the F8 function key to toggle between left-to-right and right-to-left.
|
|
||||||
|
|
||||||
+ While in Left-to-right mode, enter 'set rl' in the command line ('rl' is
|
|
||||||
the abbreviation for rightleft).
|
|
||||||
|
|
||||||
+ Put the 'set rl' line in your '.vimrc' file to start Vim in
|
|
||||||
right-to-left mode permanently.
|
|
||||||
|
|
||||||
Encoding
|
|
||||||
--------
|
|
||||||
|
|
||||||
The letter encoding used is the Vim extended ISIR-3342 standard with a built
|
|
||||||
in function to convert between Vim extended ISIR-3342 and ISIR-3342 standard.
|
|
||||||
|
|
||||||
For document portability reasons, the letter encoding is kept the same across
|
|
||||||
different platforms (i.e. UNIX's, NT/95/98, MS DOS, ...).
|
|
||||||
|
|
||||||
|
|
||||||
o Keyboard
|
|
||||||
|
|
||||||
+ CTRL-_ in insert/replace modes toggles between Farsi(akm)/Latin
|
|
||||||
mode as follows:
|
|
||||||
|
|
||||||
+ CTRL-_ moves the cursor to the end of the typed text in edit mode.
|
|
||||||
|
|
||||||
+ CTRL-_ in command mode only toggles keyboard mapping between Farsi(akm)/
|
|
||||||
Latin. The Farsi text is then entered in reverse insert mode.
|
|
||||||
|
|
||||||
+ F8 - Toggles between left-to-right and right-to-left.
|
|
||||||
|
|
||||||
+ F9 - Toggles the encoding between ISIR-3342 standard and Vim extended
|
|
||||||
ISIR-3342 (supported only in right-to-left mode).
|
|
||||||
|
|
||||||
+ Keyboard mapping is based on the Iranian ISIRI-2901 standard.
|
|
||||||
Following table shows the keyboard mapping while Farsi(akm) mode set:
|
|
||||||
|
|
||||||
-------------------------------------
|
|
||||||
` 1 2 3 4 5 6 7 8 9 0 - =
|
|
||||||
<09> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
~ ! @ # $ % ^ & * ( ) _ +
|
|
||||||
~ <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
q w e r t z u i o p [ ]
|
|
||||||
<09> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
Q W E R T Z U I O P { }
|
|
||||||
<09> <20> <20> <20> <20> <20> <20> <20> [ ] { }
|
|
||||||
-------------------------------------
|
|
||||||
a s d f g h j k l ; ' \
|
|
||||||
<09> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
A S D F G H J K L : " |
|
|
||||||
<09> <20><> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
< y x c v b n m , . /
|
|
||||||
<09> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
> Y X C V B N M < > ?
|
|
||||||
<09> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
|
|
||||||
Note:
|
|
||||||
<09> stands for Farsi PSP (break without space)
|
|
||||||
|
|
||||||
<09> stands for Farsi PCN (for HAMZE attribute)
|
|
||||||
|
|
||||||
Restrictions
|
|
||||||
------------
|
|
||||||
|
|
||||||
o In insert/replace mode and fkmap (Farsi mode) set, CTRL-B is not
|
|
||||||
supported.
|
|
||||||
|
|
||||||
o If you change the character mapping between Latin/Farsi, the redo buffer
|
|
||||||
will be reset (emptied). That is, redo is valid and will function (using
|
|
||||||
'.') only within the mode you are in.
|
|
||||||
|
|
||||||
o While numbers are entered in Farsi mode, the redo buffer will be reset
|
|
||||||
(emptied). That is, you cannot redo the last changes (using '.') after
|
|
||||||
entering numbers.
|
|
||||||
|
|
||||||
o While in left-to-right mode and Farsi mode set, CTRL-R is not supported.
|
|
||||||
|
|
||||||
o While in right-to-left mode, the search on 'Latin' pattern does not work,
|
|
||||||
except if you enter the Latin search pattern in reverse.
|
|
||||||
|
|
||||||
o In command mode there is no support for entering numbers from left
|
|
||||||
to right and also for the sake of flexibility the keymapping logic is
|
|
||||||
restricted.
|
|
||||||
|
|
||||||
o Under the X Window environment, if you want to run Vim within a xterm
|
|
||||||
terminal emulator and Farsi mode set, you need to have an ANSI compatible
|
|
||||||
xterm terminal emulator. This is because the letter codes above 128 decimal
|
|
||||||
have certain meanings in the standard xterm terminal emulator.
|
|
||||||
|
|
||||||
Note: Under X Window environment, Vim GUI works fine in Farsi mode.
|
|
||||||
This eliminates the need of any xterm terminal emulator.
|
|
||||||
|
|
||||||
|
|
||||||
Bugs
|
|
||||||
----
|
|
||||||
While in insert/replace and Farsi mode set, if you repeatedly change the
|
|
||||||
cursor position (via cursor movement) and enter new text and then try to undo
|
|
||||||
the last change, the undo will lag one change behind. But as you continue to
|
|
||||||
undo, you will reach the original line of text. You can also use U to undo all
|
|
||||||
changes made in the current line.
|
|
||||||
|
|
||||||
For more information about the bugs refer to rileft.txt.
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -663,6 +663,15 @@ your |vimrc|: >
|
|||||||
let rrst_dynamic_comments = 0
|
let rrst_dynamic_comments = 0
|
||||||
|
|
||||||
|
|
||||||
|
RESTRUCTUREDTEXT *ft-rst-plugin*
|
||||||
|
|
||||||
|
The following formatting setting are optionally available: >
|
||||||
|
setlocal expandtab shiftwidth=3 softtabstop=3 tabstop=8
|
||||||
|
|
||||||
|
To enable this behavior, set the following variable in your vimrc: >
|
||||||
|
let g:rst_style = 1
|
||||||
|
|
||||||
|
|
||||||
RPM SPEC *ft-spec-plugin*
|
RPM SPEC *ft-spec-plugin*
|
||||||
|
|
||||||
Since the text for this plugin is rather long it has been put in a separate
|
Since the text for this plugin is rather long it has been put in a separate
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*if_perl.txt* For Vim version 8.1. Last change: 2017 Nov 24
|
*if_perl.txt* For Vim version 8.1. Last change: 2019 Jan 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Sven Verdoolaege
|
VIM REFERENCE MANUAL by Sven Verdoolaege
|
||||||
@@ -192,7 +192,7 @@ VIM::Eval({expr}) Evaluates {expr} and returns (success, value) in list
|
|||||||
and inserting line breaks.
|
and inserting line breaks.
|
||||||
|
|
||||||
*perl-Blob*
|
*perl-Blob*
|
||||||
VIM::Blob({expr}) Return Blob literal string 0zXXXX from scalar value.
|
VIM::Blob({expr}) Return |Blob| literal string 0zXXXX from scalar value.
|
||||||
|
|
||||||
*perl-SetHeight*
|
*perl-SetHeight*
|
||||||
Window->SetHeight({height})
|
Window->SetHeight({height})
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*if_ruby.txt* For Vim version 8.1. Last change: 2018 Mar 15
|
*if_ruby.txt* For Vim version 8.1. Last change: 2019 Jan 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Shugo Maeda
|
VIM REFERENCE MANUAL by Shugo Maeda
|
||||||
@@ -112,7 +112,7 @@ Vim::message({msg})
|
|||||||
|
|
||||||
*ruby-blob*
|
*ruby-blob*
|
||||||
Vim::blob({arg})
|
Vim::blob({arg})
|
||||||
Return Blob literal string from {arg}.
|
Return |Blob| literal string from {arg}.
|
||||||
|
|
||||||
*ruby-set_option*
|
*ruby-set_option*
|
||||||
Vim::set_option({arg})
|
Vim::set_option({arg})
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*indent.txt* For Vim version 8.1. Last change: 2018 Apr 04
|
*indent.txt* For Vim version 8.1. Last change: 2019 Feb 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -60,12 +60,13 @@ typing certain characters or commands in certain contexts. Note that this not
|
|||||||
only triggers C-indenting. When 'indentexpr' is not empty 'indentkeys' is
|
only triggers C-indenting. When 'indentexpr' is not empty 'indentkeys' is
|
||||||
used instead. The format of 'cinkeys' and 'indentkeys' is equal.
|
used instead. The format of 'cinkeys' and 'indentkeys' is equal.
|
||||||
|
|
||||||
The default is "0{,0},0),:,0#,!^F,o,O,e" which specifies that indenting occurs
|
The default is "0{,0},0),0],:,0#,!^F,o,O,e" which specifies that indenting
|
||||||
as follows:
|
occurs as follows:
|
||||||
|
|
||||||
"0{" if you type '{' as the first character in a line
|
"0{" if you type '{' as the first character in a line
|
||||||
"0}" if you type '}' as the first character in a line
|
"0}" if you type '}' as the first character in a line
|
||||||
"0)" if you type ')' as the first character in a line
|
"0)" if you type ')' as the first character in a line
|
||||||
|
"0]" if you type ']' as the first character in a line
|
||||||
":" if you type ':' after a label or case statement
|
":" if you type ':' after a label or case statement
|
||||||
"0#" if you type '#' as the first character in a line
|
"0#" if you type '#' as the first character in a line
|
||||||
"!^F" if you type CTRL-F (which is not inserted)
|
"!^F" if you type CTRL-F (which is not inserted)
|
||||||
@@ -947,6 +948,11 @@ can sometimes be slow, thus it timeouts after 150 msec. If you notice the
|
|||||||
indenting isn't correct, you can set a larger timeout in msec: >
|
indenting isn't correct, you can set a larger timeout in msec: >
|
||||||
let g:pyindent_searchpair_timeout = 500
|
let g:pyindent_searchpair_timeout = 500
|
||||||
|
|
||||||
|
If looking back for unclosed parenthesis is still too slow, especially during
|
||||||
|
a copy-paste operation, or if you don't need indenting inside multi-line
|
||||||
|
parentheses, you can completely disable this feature: >
|
||||||
|
let g:pyindent_disable_parentheses_indenting = 1
|
||||||
|
|
||||||
|
|
||||||
R *ft-r-indent*
|
R *ft-r-indent*
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*index.txt* For Vim version 8.1. Last change: 2019 Jan 17
|
*index.txt* For Vim version 8.1. Last change: 2019 Mar 17
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -17,9 +17,11 @@ to look for deleting something, use: "/delete".
|
|||||||
2.3. Square bracket commands |[|
|
2.3. Square bracket commands |[|
|
||||||
2.4. Commands starting with 'g' |g|
|
2.4. Commands starting with 'g' |g|
|
||||||
2.5. Commands starting with 'z' |z|
|
2.5. Commands starting with 'z' |z|
|
||||||
|
2.6. Operator-pending mode |operator-pending-index|
|
||||||
3. Visual mode |visual-index|
|
3. Visual mode |visual-index|
|
||||||
4. Command-line editing |ex-edit-index|
|
4. Command-line editing |ex-edit-index|
|
||||||
5. EX commands |ex-cmd-index|
|
5. Terminal-Job mode |terminal-job-index|
|
||||||
|
6. EX commands |ex-cmd-index|
|
||||||
|
|
||||||
For an overview of options see help.txt |option-list|.
|
For an overview of options see help.txt |option-list|.
|
||||||
For an overview of built-in functions see |functions|.
|
For an overview of built-in functions see |functions|.
|
||||||
@@ -166,6 +168,20 @@ commands in CTRL-X submode *i_CTRL-X_index*
|
|||||||
|i_CTRL-X_s| CTRL-X s spelling suggestions
|
|i_CTRL-X_s| CTRL-X s spelling suggestions
|
||||||
{not available when compiled without the |+insert_expand| feature}
|
{not available when compiled without the |+insert_expand| feature}
|
||||||
|
|
||||||
|
commands in completion mode (see |popupmenu-keys|)
|
||||||
|
|
||||||
|
|complete_CTRL-E| CTRL-E stop completion and go back to original text
|
||||||
|
|complete_CTRL-Y| CTRL-Y accept selected match and stop completion
|
||||||
|
CTRL-L insert one character from the current match
|
||||||
|
<CR> insert currently selected match
|
||||||
|
<BS> delete one character and redo search
|
||||||
|
CTRL-H same as <BS>
|
||||||
|
<Up> select the previous match
|
||||||
|
<Down> select the next match
|
||||||
|
<PageUp> select a match several entries back
|
||||||
|
<PageDown> select a match several entries forward
|
||||||
|
other stop completion and insert the typed character
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
2. Normal mode *normal-index*
|
2. Normal mode *normal-index*
|
||||||
|
|
||||||
@@ -528,10 +544,8 @@ tag command action in Normal mode ~
|
|||||||
|CTRL-W_CTRL-]| CTRL-W CTRL-] same as "CTRL-W ]"
|
|CTRL-W_CTRL-]| CTRL-W CTRL-] same as "CTRL-W ]"
|
||||||
|CTRL-W_CTRL-^| CTRL-W CTRL-^ same as "CTRL-W ^"
|
|CTRL-W_CTRL-^| CTRL-W CTRL-^ same as "CTRL-W ^"
|
||||||
|CTRL-W_CTRL-_| CTRL-W CTRL-_ same as "CTRL-W _"
|
|CTRL-W_CTRL-_| CTRL-W CTRL-_ same as "CTRL-W _"
|
||||||
|CTRL-W_quote| CTRL-W " terminal window: paste register
|
|
||||||
|CTRL-W_+| CTRL-W + increase current window height N lines
|
|CTRL-W_+| CTRL-W + increase current window height N lines
|
||||||
|CTRL-W_-| CTRL-W - decrease current window height N lines
|
|CTRL-W_-| CTRL-W - decrease current window height N lines
|
||||||
|CTRL-W_.| CTRL-W . terminal window: type CTRL-W
|
|
||||||
|CTRL-W_:| CTRL-W : same as |:|, edit a command line
|
|CTRL-W_:| CTRL-W : same as |:|, edit a command line
|
||||||
|CTRL-W_<| CTRL-W < decrease current window width N columns
|
|CTRL-W_<| CTRL-W < decrease current window width N columns
|
||||||
|CTRL-W_=| CTRL-W = make all windows the same height & width
|
|CTRL-W_=| CTRL-W = make all windows the same height & width
|
||||||
@@ -540,7 +554,6 @@ tag command action in Normal mode ~
|
|||||||
|CTRL-W_J| CTRL-W J move current window to the very bottom
|
|CTRL-W_J| CTRL-W J move current window to the very bottom
|
||||||
|CTRL-W_K| CTRL-W K move current window to the very top
|
|CTRL-W_K| CTRL-W K move current window to the very top
|
||||||
|CTRL-W_L| CTRL-W L move current window to the far right
|
|CTRL-W_L| CTRL-W L move current window to the far right
|
||||||
|CTRL-W_N| CTRL-W N terminal window: go to Terminal Normal mode
|
|
||||||
|CTRL-W_P| CTRL-W P go to preview window
|
|CTRL-W_P| CTRL-W P go to preview window
|
||||||
|CTRL-W_R| CTRL-W R rotate windows upwards N times
|
|CTRL-W_R| CTRL-W R rotate windows upwards N times
|
||||||
|CTRL-W_S| CTRL-W S same as "CTRL-W s"
|
|CTRL-W_S| CTRL-W S same as "CTRL-W s"
|
||||||
@@ -570,6 +583,8 @@ tag command action in Normal mode ~
|
|||||||
|CTRL-W_gF| CTRL-W g F edit file name under the cursor in a new
|
|CTRL-W_gF| CTRL-W g F edit file name under the cursor in a new
|
||||||
tab page and jump to the line number
|
tab page and jump to the line number
|
||||||
following the file name.
|
following the file name.
|
||||||
|
|CTRL-W_gt| CTRL-W g t same as `gt`: go to next tab page
|
||||||
|
|CTRL-W_gT| CTRL-W g T same as `gT`: go to previous tab page
|
||||||
|CTRL-W_h| CTRL-W h go to Nth left window (stop at first window)
|
|CTRL-W_h| CTRL-W h go to Nth left window (stop at first window)
|
||||||
|CTRL-W_i| CTRL-W i split window and jump to declaration of
|
|CTRL-W_i| CTRL-W i split window and jump to declaration of
|
||||||
identifier under the cursor
|
identifier under the cursor
|
||||||
@@ -854,6 +869,17 @@ tag char note action in Normal mode ~
|
|||||||
|z<Left>| z<Left> same as "zh"
|
|z<Left>| z<Left> same as "zh"
|
||||||
|z<Right>| z<Right> same as "zl"
|
|z<Right>| z<Right> same as "zl"
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
2.6 Operator-pending mode *operator-pending-index*
|
||||||
|
|
||||||
|
These can be used after an operator, but before a {motion} has been entered.
|
||||||
|
|
||||||
|
tag char action in Operator-pending mode ~
|
||||||
|
-----------------------------------------------------------------------
|
||||||
|
|o_v| v force operator to work characterwise
|
||||||
|
|o_V| V force operator to work linewise
|
||||||
|
|o_CTRL-V| CTRL-V force operator to work blockwise
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
3. Visual mode *visual-index*
|
3. Visual mode *visual-index*
|
||||||
|
|
||||||
@@ -1066,10 +1092,31 @@ tag command action in Command-line editing mode ~
|
|||||||
|c_<Insert>| <Insert> toggle insert/overstrike mode
|
|c_<Insert>| <Insert> toggle insert/overstrike mode
|
||||||
|c_<LeftMouse>| <LeftMouse> cursor at mouse click
|
|c_<LeftMouse>| <LeftMouse> cursor at mouse click
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
5. Terminal-Job mode *terminal-job-index*
|
||||||
|
|
||||||
|
Most Normal mode commands except for window commands (|CTRL-W|) do not work in
|
||||||
|
a terminal window. Switch to Terminal-Normal mode to use them.
|
||||||
|
This assumes 'termwinkey' is not set.
|
||||||
|
|
||||||
|
tag char action in Terminal-Job mode ~
|
||||||
|
-----------------------------------------------------------------------
|
||||||
|
|t_CTRL-\_CTRL-N| CTRL-\ CTRL-N switch to Terminal-Normal mode
|
||||||
|
|t_CTRL-W_N| CTRL-W N switch to Terminal-Normal mode
|
||||||
|
|t_CTRL-W_:| CTRL-W : enter an Ex command
|
||||||
|
|t_CTRL-W_.| CTRL-W . type CTRL-W in the terminal
|
||||||
|
CTRL-W CTRL-\ send a CTRL-\ to the job in the terminal
|
||||||
|
|t_CTRL-W_quote| CTRL-W " {0-9a-z"%#*:=}
|
||||||
|
paste register in the terminal
|
||||||
|
|t_CTRL-W_CTRL-C| CTRL-W CTRL-C forcefully ends the job
|
||||||
|
|t_CTRL-W_CTRL-W| CTRL-W CTRL-W move focus to the next window
|
||||||
|
|t_CTRL-W_gt| CTRL-W gt go to next tabpage, same as `gt`
|
||||||
|
|t_CTRL-W_gT| CTRL-W gT go to previous tabpage, same as `gT`
|
||||||
|
|
||||||
You found it, Arthur! *holy-grail* *:smile*
|
You found it, Arthur! *holy-grail* *:smile*
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
5. EX commands *ex-cmd-index* *:index*
|
6. EX commands *ex-cmd-index* *:index*
|
||||||
|
|
||||||
This is a brief but complete listing of all the ":" commands, without
|
This is a brief but complete listing of all the ":" commands, without
|
||||||
mentioning any arguments. The optional part of the command name is inside [].
|
mentioning any arguments. The optional part of the command name is inside [].
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*insert.txt* For Vim version 8.1. Last change: 2019 Jan 11
|
*insert.txt* For Vim version 8.1. Last change: 2019 Jan 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1078,7 +1078,8 @@ that contains the List. The Dict can have these items:
|
|||||||
leading text is changed.
|
leading text is changed.
|
||||||
|
|
||||||
If you want to suppress the warning message for an empty result, return
|
If you want to suppress the warning message for an empty result, return
|
||||||
v:none. This is useful to implement asynchronous completion with complete().
|
|v:none|. This is useful to implement asynchronous completion with
|
||||||
|
|complete()|.
|
||||||
|
|
||||||
Other items are ignored.
|
Other items are ignored.
|
||||||
|
|
||||||
|
|||||||
@@ -14,9 +14,6 @@ For an introduction to the most common features, see |usr_45.txt| in the user
|
|||||||
manual.
|
manual.
|
||||||
For changing the language of messages and menus see |mlang.txt|.
|
For changing the language of messages and menus see |mlang.txt|.
|
||||||
|
|
||||||
{not available when compiled without the |+multi_byte| feature}
|
|
||||||
|
|
||||||
|
|
||||||
1. Getting started |mbyte-first|
|
1. Getting started |mbyte-first|
|
||||||
2. Locale |mbyte-locale|
|
2. Locale |mbyte-locale|
|
||||||
3. Encoding |mbyte-encoding|
|
3. Encoding |mbyte-encoding|
|
||||||
@@ -44,16 +41,6 @@ features. Unfortunately, every system has its own way to deal with multibyte
|
|||||||
languages and it is quite complicated.
|
languages and it is quite complicated.
|
||||||
|
|
||||||
|
|
||||||
COMPILING
|
|
||||||
|
|
||||||
If you already have a compiled Vim program, check if the |+multi_byte| feature
|
|
||||||
is included. The |:version| command can be used for this.
|
|
||||||
|
|
||||||
If +multi_byte is not included, you should compile Vim with "normal", "big" or
|
|
||||||
"huge" features. You can further tune what features are included. See the
|
|
||||||
INSTALL files in the source directory.
|
|
||||||
|
|
||||||
|
|
||||||
LOCALE
|
LOCALE
|
||||||
|
|
||||||
First of all, you must make sure your current locale is set correctly. If
|
First of all, you must make sure your current locale is set correctly. If
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*motion.txt* For Vim version 8.1. Last change: 2018 Dec 27
|
*motion.txt* For Vim version 8.1. Last change: 2019 Mar 02
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -320,7 +320,7 @@ _ <underscore> [count] - 1 lines downward, on the first non-blank
|
|||||||
G Goto line [count], default last line, on the first
|
G Goto line [count], default last line, on the first
|
||||||
non-blank character |linewise|. If 'startofline' not
|
non-blank character |linewise|. If 'startofline' not
|
||||||
set, keep the same column.
|
set, keep the same column.
|
||||||
G is a one of |jump-motions|.
|
G is one of the |jump-motions|.
|
||||||
|
|
||||||
*<C-End>*
|
*<C-End>*
|
||||||
<C-End> Goto line [count], default last line, on the last
|
<C-End> Goto line [count], default last line, on the last
|
||||||
@@ -1021,7 +1021,7 @@ These commands are not marks themselves, but jump to a mark:
|
|||||||
|
|
||||||
A "jump" is a command that normally moves the cursor several lines away. If
|
A "jump" is a command that normally moves the cursor several lines away. If
|
||||||
you make the cursor "jump" the position of the cursor before the jump is
|
you make the cursor "jump" the position of the cursor before the jump is
|
||||||
remembered. You can return to that position with the "''" and "``" command,
|
remembered. You can return to that position with the "''" and "``" commands,
|
||||||
unless the line containing that position was changed or deleted. The
|
unless the line containing that position was changed or deleted. The
|
||||||
following commands are "jump" commands: "'", "`", "G", "/", "?", "n", "N",
|
following commands are "jump" commands: "'", "`", "G", "/", "?", "n", "N",
|
||||||
"%", "(", ")", "[[", "]]", "{", "}", ":s", ":tag", "L", "M", "H" and the
|
"%", "(", ")", "[[", "]]", "{", "}", ":s", ":tag", "L", "M", "H" and the
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 8.1. Last change: 2019 Jan 16
|
*options.txt* For Vim version 8.1. Last change: 2019 Mar 08
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -354,12 +354,12 @@ files. You use this command: >
|
|||||||
:setlocal makeprg=perlmake
|
:setlocal makeprg=perlmake
|
||||||
You can switch back to using the global value by making the local value empty: >
|
You can switch back to using the global value by making the local value empty: >
|
||||||
:setlocal makeprg=
|
:setlocal makeprg=
|
||||||
This only works for a string option. For a boolean option you need to use the
|
This only works for a string option. For a number or boolean option you need
|
||||||
"<" flag, like this: >
|
to use the "<" flag, like this: >
|
||||||
:setlocal autoread<
|
:setlocal autoread<
|
||||||
Note that for non-boolean options using "<" copies the global value to the
|
Note that for non-boolean and non-number options using "<" copies the global
|
||||||
local value, it doesn't switch back to using the global value (that matters
|
value to the local value, it doesn't switch back to using the global value
|
||||||
when the global value changes later). You can also use: >
|
(that matters when the global value changes later). You can also use: >
|
||||||
:set path<
|
:set path<
|
||||||
This will make the local value of 'path' empty, so that the global value is
|
This will make the local value of 'path' empty, so that the global value is
|
||||||
used. Thus it does the same as: >
|
used. Thus it does the same as: >
|
||||||
@@ -383,9 +383,9 @@ Setting the filetype
|
|||||||
|
|
||||||
When the optional FALLBACK argument is present, a
|
When the optional FALLBACK argument is present, a
|
||||||
later :setfiletype command will override the
|
later :setfiletype command will override the
|
||||||
'filetype'. This is to used for filetype detections
|
'filetype'. This is to be used for filetype
|
||||||
that are just a guess. |did_filetype()| will return
|
detections that are just a guess. |did_filetype()|
|
||||||
false after this command.
|
will return false after this command.
|
||||||
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
|
|
||||||
@@ -688,20 +688,13 @@ 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 |+farsi|
|
{only available when compiled with the |+farsi|
|
||||||
feature}
|
feature}
|
||||||
When on, the second language is Farsi. In editing mode CTRL-_ toggles
|
This option was for using Farsi, which has been removed. See
|
||||||
the keyboard map between Farsi and English, when 'allowrevins' set.
|
|farsi.txt|.
|
||||||
|
|
||||||
When off, the keyboard map toggles between Hebrew and English. This
|
|
||||||
is useful to start the Vim in native mode i.e. English (left-to-right
|
|
||||||
mode) and have default second language Farsi or Hebrew (right-to-left
|
|
||||||
mode). See |farsi.txt|.
|
|
||||||
|
|
||||||
*'ambiwidth'* *'ambw'*
|
*'ambiwidth'* *'ambw'*
|
||||||
'ambiwidth' 'ambw' string (default: "single")
|
'ambiwidth' 'ambw' string (default: "single")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
Only effective when 'encoding' is "utf-8" or another Unicode encoding.
|
Only effective when 'encoding' is "utf-8" or another Unicode encoding.
|
||||||
Tells Vim what to do with characters with East Asian Width Class
|
Tells Vim what to do with characters with East Asian Width Class
|
||||||
Ambiguous (such as Euro, Registered Sign, Copyright Sign, Greek
|
Ambiguous (such as Euro, Registered Sign, Copyright Sign, Greek
|
||||||
@@ -1282,8 +1275,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'bomb' boolean (default off)
|
'bomb' boolean (default off)
|
||||||
local to buffer
|
local to buffer
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
When writing a file and the following conditions are met, a BOM (Byte
|
When writing a file and the following conditions are met, a BOM (Byte
|
||||||
Order Mark) is prepended to the file:
|
Order Mark) is prepended to the file:
|
||||||
- this option is on
|
- this option is on
|
||||||
@@ -1445,8 +1436,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'casemap' 'cmp' string (default: "internal,keepascii")
|
'casemap' 'cmp' string (default: "internal,keepascii")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
Specifies details about changing the case of letters. It may contain
|
Specifies details about changing the case of letters. It may contain
|
||||||
these words, separated by a comma:
|
these words, separated by a comma:
|
||||||
internal Use internal case mapping functions, the current
|
internal Use internal case mapping functions, the current
|
||||||
@@ -1502,8 +1491,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'charconvert'* *'ccv'* *E202* *E214* *E513*
|
*'charconvert'* *'ccv'* *E202* *E214* *E513*
|
||||||
'charconvert' 'ccv' string (default "")
|
'charconvert' 'ccv' string (default "")
|
||||||
global
|
global
|
||||||
{only available when compiled with the |+multi_byte|
|
{only available when compiled with the |+eval| feature}
|
||||||
and |+eval| features}
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
An expression that is used for character encoding conversion. It is
|
An expression that is used for character encoding conversion. It is
|
||||||
evaluated when a file that is to be read or has been written has a
|
evaluated when a file that is to be read or has been written has a
|
||||||
@@ -1564,7 +1552,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
NOTE: This option is reset when 'compatible' is set.
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
|
|
||||||
*'cinkeys'* *'cink'*
|
*'cinkeys'* *'cink'*
|
||||||
'cinkeys' 'cink' string (default "0{,0},0),:,0#,!^F,o,O,e")
|
'cinkeys' 'cink' string (default "0{,0},0),0],:,0#,!^F,o,O,e")
|
||||||
local to buffer
|
local to buffer
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{not available when compiled without the |+cindent|
|
{not available when compiled without the |+cindent|
|
||||||
@@ -1662,7 +1650,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
You probably want to add this only temporarily,
|
You probably want to add this only temporarily,
|
||||||
possibly use BufEnter autocommands.
|
possibly use BufEnter autocommands.
|
||||||
Only supported for GTK version 2 and later.
|
Only supported for GTK version 2 and later.
|
||||||
Only available with the |+multi_byte| feature.
|
|
||||||
|
|
||||||
*clipboard-exclude*
|
*clipboard-exclude*
|
||||||
exclude:{pattern}
|
exclude:{pattern}
|
||||||
@@ -2557,8 +2544,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'delcombine' 'deco' boolean (default off)
|
'delcombine' 'deco' boolean (default off)
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
If editing Unicode and this option is set, backspace and Normal mode
|
If editing Unicode and this option is set, backspace and Normal mode
|
||||||
"x" delete each combining character on its own. When it is off (the
|
"x" delete each combining character on its own. When it is off (the
|
||||||
default) the character along with its combining characters are
|
default) the character along with its combining characters are
|
||||||
@@ -2635,6 +2620,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
context:{n} Use a context of {n} lines between a change
|
context:{n} Use a context of {n} lines between a change
|
||||||
and a fold that contains unchanged lines.
|
and a fold that contains unchanged lines.
|
||||||
When omitted a context of six lines is used.
|
When omitted a context of six lines is used.
|
||||||
|
When using zero the context is actually one,
|
||||||
|
since folds require a line in between, also
|
||||||
|
for a deleted line.
|
||||||
See |fold-diff|.
|
See |fold-diff|.
|
||||||
|
|
||||||
iblank Ignore changes where lines are all blank. Adds
|
iblank Ignore changes where lines are all blank. Adds
|
||||||
@@ -2809,16 +2797,12 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'emoji' 'emo' boolean (default: on)
|
'emoji' 'emo' boolean (default: on)
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
When on all Unicode emoji characters are considered to be full width.
|
When on all Unicode emoji characters are considered to be full width.
|
||||||
|
|
||||||
|
|
||||||
*'encoding'* *'enc'* *E543*
|
*'encoding'* *'enc'* *E543*
|
||||||
'encoding' 'enc' string (default: "latin1" or value from $LANG)
|
'encoding' 'enc' string (default: "latin1" or value from $LANG)
|
||||||
global
|
global
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Sets the character encoding used inside Vim. It applies to text in
|
Sets the character encoding used inside Vim. It applies to text in
|
||||||
the buffers, registers, Strings in expressions, text stored in the
|
the buffers, registers, Strings in expressions, text stored in the
|
||||||
@@ -3021,8 +3005,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'fileencoding'* *'fenc'* *E213*
|
*'fileencoding'* *'fenc'* *E213*
|
||||||
'fileencoding' 'fenc' string (default: "")
|
'fileencoding' 'fenc' string (default: "")
|
||||||
local to buffer
|
local to buffer
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Sets the character encoding for the file of this buffer.
|
Sets the character encoding for the file of this buffer.
|
||||||
|
|
||||||
@@ -3078,8 +3060,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
"ucs-bom,utf-8,default,latin1" when
|
"ucs-bom,utf-8,default,latin1" when
|
||||||
'encoding' is set to a Unicode value)
|
'encoding' is set to a Unicode value)
|
||||||
global
|
global
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
This is a list of character encodings considered when starting to edit
|
This is a list of character encodings considered when starting to edit
|
||||||
an existing file. When a file is read, Vim tries to use the first
|
an existing file. When a file is read, Vim tries to use the first
|
||||||
@@ -3134,9 +3114,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
is read.
|
is read.
|
||||||
|
|
||||||
*'fileformat'* *'ff'*
|
*'fileformat'* *'ff'*
|
||||||
'fileformat' 'ff' string (MS-DOS, MS-Windows, OS/2 default: "dos",
|
'fileformat' 'ff' string (MS-Windows default: "dos",
|
||||||
Unix default: "unix",
|
Unix, macOS default: "unix")
|
||||||
Macintosh default: "mac")
|
|
||||||
local to buffer
|
local to buffer
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
This gives the <EOL> of the current buffer, which is used for
|
This gives the <EOL> of the current buffer, which is used for
|
||||||
@@ -3159,9 +3138,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
*'fileformats'* *'ffs'*
|
*'fileformats'* *'ffs'*
|
||||||
'fileformats' 'ffs' string (default:
|
'fileformats' 'ffs' string (default:
|
||||||
Vim+Vi MS-DOS, MS-Windows OS/2: "dos,unix",
|
Vim+Vi MS-Windows: "dos,unix",
|
||||||
Vim Unix: "unix,dos",
|
Vim Unix, macOS: "unix,dos",
|
||||||
Vim Mac: "mac,unix,dos",
|
|
||||||
Vi Cygwin: "unix,dos",
|
Vi Cygwin: "unix,dos",
|
||||||
Vi others: "")
|
Vi others: "")
|
||||||
global
|
global
|
||||||
@@ -3303,9 +3281,8 @@ 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 |+rightleft|
|
{only available when compiled with the |+rightleft|
|
||||||
feature}
|
feature}
|
||||||
When on, the keyboard is mapped for the Farsi character set.
|
This option was for using Farsi, which has been removed. See
|
||||||
Normally you would set 'allowrevins' and use CTRL-_ in insert mode to
|
|farsi.txt|.
|
||||||
toggle this option |i_CTRL-_|. See |farsi.txt|.
|
|
||||||
|
|
||||||
*'foldclose'* *'fcl'*
|
*'foldclose'* *'fcl'*
|
||||||
'foldclose' 'fcl' string (default "")
|
'foldclose' 'fcl' string (default "")
|
||||||
@@ -4326,8 +4303,6 @@ 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 the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
This option specifies a function that will be called to
|
This option specifies a function that will be called to
|
||||||
activate or deactivate the Input Method.
|
activate or deactivate the Input Method.
|
||||||
It is not used in the GUI.
|
It is not used in the GUI.
|
||||||
@@ -4379,8 +4354,6 @@ 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 |+multi_byte|
|
|
||||||
feature}
|
|
||||||
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
|
||||||
@@ -4391,8 +4364,6 @@ 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 |+multi_byte|
|
|
||||||
feature}
|
|
||||||
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
|
||||||
@@ -4445,8 +4416,6 @@ 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 the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
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.
|
It is not used in the GUI.
|
||||||
@@ -4607,7 +4576,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
|
|
||||||
*'indentkeys'* *'indk'*
|
*'indentkeys'* *'indk'*
|
||||||
'indentkeys' 'indk' string (default "0{,0},:,0#,!^F,o,O,e")
|
'indentkeys' 'indk' string (default "0{,0},0),0],:,0#,!^F,o,O,e")
|
||||||
local to buffer
|
local to buffer
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{not available when compiled without the |+cindent|
|
{not available when compiled without the |+cindent|
|
||||||
@@ -5191,8 +5160,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'makeencoding'* *'menc'*
|
*'makeencoding'* *'menc'*
|
||||||
'makeencoding' 'menc' string (default "")
|
'makeencoding' 'menc' string (default "")
|
||||||
global or local to buffer |global-local|
|
global or local to buffer |global-local|
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Encoding used for reading the output of external commands. When empty,
|
Encoding used for reading the output of external commands. When empty,
|
||||||
encoding is not converted.
|
encoding is not converted.
|
||||||
@@ -5259,8 +5226,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'maxcombine' 'mco' number (default 2)
|
'maxcombine' 'mco' number (default 2)
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
The maximum number of combining characters supported for displaying.
|
The maximum number of combining characters supported for displaying.
|
||||||
Only used when 'encoding' is "utf-8".
|
Only used when 'encoding' is "utf-8".
|
||||||
The default is OK for most languages. Hebrew may require 4.
|
The default is OK for most languages. Hebrew may require 4.
|
||||||
@@ -5535,8 +5500,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
The 'mousemodel' option is set by the |:behave| command.
|
The 'mousemodel' option is set by the |:behave| command.
|
||||||
|
|
||||||
*'mouseshape'* *'mouses'* *E547*
|
*'mouseshape'* *'mouses'* *E547*
|
||||||
'mouseshape' 'mouses' string (default "i:beam,r:beam,s:updown,sd:cross,
|
'mouseshape' 'mouses' string (default "i-r:beam,s:updown,sd:udsizing,
|
||||||
m:no,ml:up-arrow,v:rightup-arrow")
|
vs:leftright,vd:lrsizing,m:no,
|
||||||
|
ml:up-arrow,v:rightup-arrow")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+mouseshape|
|
{only available when compiled with the |+mouseshape|
|
||||||
@@ -6028,8 +5994,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'printmbcharset' 'pmbcs' string (default "")
|
'printmbcharset' 'pmbcs' string (default "")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+printer|,
|
{only available when compiled with the |+printer|
|
||||||
|+postscript| and |+multi_byte| features}
|
and |+postscript| features}
|
||||||
The CJK character set to be used for CJK output from |:hardcopy|.
|
The CJK character set to be used for CJK output from |:hardcopy|.
|
||||||
See |pmbcs-option|.
|
See |pmbcs-option|.
|
||||||
|
|
||||||
@@ -6037,8 +6003,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'printmbfont' 'pmbfn' string (default "")
|
'printmbfont' 'pmbfn' string (default "")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+printer|,
|
{only available when compiled with the |+printer|
|
||||||
|+postscript| and |+multi_byte| features}
|
and |+postscript| features}
|
||||||
List of font names to be used for CJK output from |:hardcopy|.
|
List of font names to be used for CJK output from |:hardcopy|.
|
||||||
See |pmbfn-option|.
|
See |pmbfn-option|.
|
||||||
|
|
||||||
@@ -6590,14 +6556,18 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
*'scrolloff'* *'so'*
|
*'scrolloff'* *'so'*
|
||||||
'scrolloff' 'so' number (default 0, set to 5 in |defaults.vim|)
|
'scrolloff' 'so' number (default 0, set to 5 in |defaults.vim|)
|
||||||
global
|
global or local to window |global-local|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Minimal number of screen lines to keep above and below the cursor.
|
Minimal number of screen lines to keep above and below the cursor.
|
||||||
This will make some context visible around where you are working. If
|
This will make some context visible around where you are working. If
|
||||||
you set it to a very large value (999) the cursor line will always be
|
you set it to a very large value (999) the cursor line will always be
|
||||||
in the middle of the window (except at the start or end of the file or
|
in the middle of the window (except at the start or end of the file or
|
||||||
when long lines wrap).
|
when long lines wrap).
|
||||||
For scrolling horizontally see 'sidescrolloff'.
|
After using the local value, go back the global value with one of
|
||||||
|
these two: >
|
||||||
|
setlocal scrolloff<
|
||||||
|
setlocal scrolloff=-1
|
||||||
|
< For scrolling horizontally see 'sidescrolloff'.
|
||||||
NOTE: This option is set to 0 when 'compatible' is set.
|
NOTE: This option is set to 0 when 'compatible' is set.
|
||||||
|
|
||||||
*'scrollopt'* *'sbo'*
|
*'scrollopt'* *'sbo'*
|
||||||
@@ -7152,7 +7122,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
*'sidescrolloff'* *'siso'*
|
*'sidescrolloff'* *'siso'*
|
||||||
'sidescrolloff' 'siso' number (default 0)
|
'sidescrolloff' 'siso' number (default 0)
|
||||||
global
|
global or local to window |global-local|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
The minimal number of screen columns to keep to the left and to the
|
The minimal number of screen columns to keep to the left and to the
|
||||||
right of the cursor if 'nowrap' is set. Setting this option to a
|
right of the cursor if 'nowrap' is set. Setting this option to a
|
||||||
@@ -7162,7 +7132,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
to a large value (like 999) has the effect of keeping the cursor
|
to a large value (like 999) has the effect of keeping the cursor
|
||||||
horizontally centered in the window, as long as one does not come too
|
horizontally centered in the window, as long as one does not come too
|
||||||
close to the beginning of the line.
|
close to the beginning of the line.
|
||||||
NOTE: This option is set to 0 when 'compatible' is set.
|
After using the local value, go back the global value with one of
|
||||||
|
these two: >
|
||||||
|
setlocal sidescrolloff<
|
||||||
|
setlocal sidescrolloff=-1
|
||||||
|
< NOTE: This option is set to 0 when 'compatible' is set.
|
||||||
|
|
||||||
Example: Try this together with 'sidescroll' and 'listchars' as
|
Example: Try this together with 'sidescroll' and 'listchars' as
|
||||||
in the following example to never allow the cursor to move
|
in the following example to never allow the cursor to move
|
||||||
@@ -7997,8 +7971,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'termencoding' 'tenc' string (default ""; with GTK+ GUI: "utf-8"; with
|
'termencoding' 'tenc' string (default ""; with GTK+ GUI: "utf-8"; with
|
||||||
Macintosh GUI: "macroman")
|
Macintosh GUI: "macroman")
|
||||||
global
|
global
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Encoding used for the terminal. This specifies what character
|
Encoding used for the terminal. This specifies what character
|
||||||
encoding the keyboard produces and the display will understand. For
|
encoding the keyboard produces and the display will understand. For
|
||||||
@@ -8094,6 +8066,26 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
the size of the terminal. In that case the Vim window will be
|
the size of the terminal. In that case the Vim window will be
|
||||||
adjusted to that size, if possible.
|
adjusted to that size, if possible.
|
||||||
|
|
||||||
|
*'termwintype'* *'twt'*
|
||||||
|
'termwintype' 'twt' string (default "")
|
||||||
|
global
|
||||||
|
{not in Vi}
|
||||||
|
{only available when compiled with the |terminal|
|
||||||
|
feature on MS-Windows}
|
||||||
|
Specify the virtual console (pty) used when opening the terminal
|
||||||
|
window.
|
||||||
|
|
||||||
|
Possible values are:
|
||||||
|
"" use ConPTY if it is stable, winpty otherwise
|
||||||
|
"winpty" use winpty, fail if not supported
|
||||||
|
"conpty" use |ConPTY|, fail if not supported
|
||||||
|
|
||||||
|
|ConPTY| support depends on the platform. Windows 10 October 2018
|
||||||
|
Update is the first version that supports ConPTY, however it is still
|
||||||
|
considered unstable. ConPTY might become stable in the next release
|
||||||
|
of Windows 10. winpty support needs to be installed. If neither is
|
||||||
|
supported then you cannot open a terminal window.
|
||||||
|
|
||||||
*'terse'* *'noterse'*
|
*'terse'* *'noterse'*
|
||||||
'terse' boolean (default off)
|
'terse' boolean (default off)
|
||||||
global
|
global
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*os_vms.txt* For Vim version 8.1. Last change: 2019 Jan 19
|
*os_vms.txt* For Vim version 8.1. Last change: 2019 Jan 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL
|
VIM REFERENCE MANUAL
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*pattern.txt* For Vim version 8.1. Last change: 2018 Dec 26
|
*pattern.txt* For Vim version 8.1. Last change: 2019 Feb 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1118,6 +1118,9 @@ x A single character, with no special meaning, matches itself
|
|||||||
*[:tab:]* [:tab:] the <Tab> character
|
*[:tab:]* [:tab:] the <Tab> character
|
||||||
*[:escape:]* [:escape:] the <Esc> character
|
*[:escape:]* [:escape:] the <Esc> character
|
||||||
*[:backspace:]* [:backspace:] the <BS> character
|
*[:backspace:]* [:backspace:] the <BS> character
|
||||||
|
*[:ident:]* [:ident:] identifier character (same as "\i")
|
||||||
|
*[:keyword:]* [:keyword:] keyword character (same as "\k")
|
||||||
|
*[:fname:]* [:fname:] file name character (same as "\f")
|
||||||
The brackets in character class expressions are additional to the
|
The brackets in character class expressions are additional to the
|
||||||
brackets delimiting a collection. For example, the following is a
|
brackets delimiting a collection. For example, the following is a
|
||||||
plausible pattern for a UNIX filename: "[-./[:alnum:]_~]\+" That is,
|
plausible pattern for a UNIX filename: "[-./[:alnum:]_~]\+" That is,
|
||||||
@@ -1132,7 +1135,7 @@ x A single character, with no special meaning, matches itself
|
|||||||
The "Func" column shows what library function is used. The
|
The "Func" column shows what library function is used. The
|
||||||
implementation depends on the system. Otherwise:
|
implementation depends on the system. Otherwise:
|
||||||
(1) Uses islower() for ASCII and Vim builtin rules for other
|
(1) Uses islower() for ASCII and Vim builtin rules for other
|
||||||
characters when built with the |+multi_byte| feature.
|
characters.
|
||||||
(2) Uses Vim builtin rules
|
(2) Uses Vim builtin rules
|
||||||
(3) As with (1) but using isupper()
|
(3) As with (1) but using isupper()
|
||||||
*/[[=* *[==]*
|
*/[[=* *[==]*
|
||||||
@@ -1208,7 +1211,7 @@ x A single character, with no special meaning, matches itself
|
|||||||
\%u20AC Matches the character specified with up to four hexadecimal
|
\%u20AC Matches the character specified with up to four hexadecimal
|
||||||
characters.
|
characters.
|
||||||
\%U1234abcd Matches the character specified with up to eight hexadecimal
|
\%U1234abcd Matches the character specified with up to eight hexadecimal
|
||||||
characters.
|
characters, up to 0x7fffffff
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
7. Ignoring case in a pattern */ignorecase*
|
7. Ignoring case in a pattern */ignorecase*
|
||||||
|
|||||||
@@ -3504,7 +3504,7 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
|||||||
- Click "Add..."
|
- Click "Add..."
|
||||||
- Set External Editor (adjust path as needed, include
|
- Set External Editor (adjust path as needed, include
|
||||||
the quotes and !.! at the end):
|
the quotes and !.! at the end):
|
||||||
"c:\Program Files\Vim\vim70\gvim.exe" !.!
|
"c:\Program Files\Vim\vim81\gvim.exe" !.!
|
||||||
- Check that the filetype in the box below is
|
- Check that the filetype in the box below is
|
||||||
{asterisk}.{asterisk} (all files), or whatever types
|
{asterisk}.{asterisk} (all files), or whatever types
|
||||||
you want (cec: change {asterisk} to * ; I had to
|
you want (cec: change {asterisk} to * ; I had to
|
||||||
@@ -3754,8 +3754,8 @@ by obtaining a copy of the latest (often developmental) netrw at:
|
|||||||
|
|
||||||
The <netrw.vim> script is typically installed on systems as something like:
|
The <netrw.vim> script is typically installed on systems as something like:
|
||||||
>
|
>
|
||||||
/usr/local/share/vim/vim7x/plugin/netrwPlugin.vim
|
/usr/local/share/vim/vim8x/plugin/netrwPlugin.vim
|
||||||
/usr/local/share/vim/vim7x/autoload/netrw.vim
|
/usr/local/share/vim/vim8x/autoload/netrw.vim
|
||||||
(see output of :echo &rtp)
|
(see output of :echo &rtp)
|
||||||
<
|
<
|
||||||
which is loaded automatically at startup (assuming :set nocp). If you
|
which is loaded automatically at startup (assuming :set nocp). If you
|
||||||
|
|||||||
@@ -111,10 +111,9 @@ not recognized by Vim will just be converted to lower case and underscores
|
|||||||
replaced with '-' signs.
|
replaced with '-' signs.
|
||||||
|
|
||||||
If 'printencoding' is empty or Vim cannot find the file then it will use
|
If 'printencoding' is empty or Vim cannot find the file then it will use
|
||||||
'encoding' (if Vim is compiled with |+multi_byte| and it is set an 8-bit
|
'encoding' (if it is set an 8-bit encoding) to find the print character
|
||||||
encoding) to find the print character encoding file. If Vim is unable to find
|
encoding file. If Vim is unable to find a character encoding file then it
|
||||||
a character encoding file then it will use the "latin1" print character
|
will use the "latin1" print character encoding file.
|
||||||
encoding file.
|
|
||||||
|
|
||||||
When 'encoding' is set to a multi-byte encoding, Vim will try to convert
|
When 'encoding' is set to a multi-byte encoding, Vim will try to convert
|
||||||
characters to the printing encoding for printing (if 'printencoding' is empty
|
characters to the printing encoding for printing (if 'printencoding' is empty
|
||||||
|
|||||||
@@ -496,6 +496,7 @@ EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST:
|
|||||||
second quickfix window. If [height] is given the
|
second quickfix window. If [height] is given the
|
||||||
existing window will be resized to it.
|
existing window will be resized to it.
|
||||||
|
|
||||||
|
*quickfix-buffer*
|
||||||
The window will contain a special buffer, with
|
The window will contain a special buffer, with
|
||||||
'buftype' equal to "quickfix". Don't change this!
|
'buftype' equal to "quickfix". Don't change this!
|
||||||
The window will have the w:quickfix_title variable set
|
The window will have the w:quickfix_title variable set
|
||||||
@@ -504,7 +505,11 @@ EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST:
|
|||||||
status line if the value of 'statusline' is adjusted
|
status line if the value of 'statusline' is adjusted
|
||||||
properly. Whenever this buffer is modified by a
|
properly. Whenever this buffer is modified by a
|
||||||
quickfix command or function, the |b:changedtick|
|
quickfix command or function, the |b:changedtick|
|
||||||
variable is incremented.
|
variable is incremented. You can get the number of
|
||||||
|
this buffer using the getqflist() and getloclist()
|
||||||
|
functions by passing the 'qfbufnr' item. For a
|
||||||
|
location list, this buffer is wiped out when the
|
||||||
|
location list is removed.
|
||||||
|
|
||||||
*:lop* *:lopen*
|
*:lop* *:lopen*
|
||||||
:lop[en] [height] Open a window to show the location list for the
|
:lop[en] [height] Open a window to show the location list for the
|
||||||
@@ -670,12 +675,18 @@ using these functions are below:
|
|||||||
" get the quickfix list window id
|
" get the quickfix list window id
|
||||||
:echo getqflist({'winid' : 0}).winid
|
:echo getqflist({'winid' : 0}).winid
|
||||||
|
|
||||||
|
" get the quickfix list window buffer number
|
||||||
|
:echo getqflist({'qfbufnr' : 0}).qfbufnr
|
||||||
|
|
||||||
" get the context of the current location list
|
" get the context of the current location list
|
||||||
:echo getloclist(0, {'context' : 0}).context
|
:echo getloclist(0, {'context' : 0}).context
|
||||||
|
|
||||||
" get the location list window id of the third window
|
" get the location list window id of the third window
|
||||||
:echo getloclist(3, {'winid' : 0}).winid
|
:echo getloclist(3, {'winid' : 0}).winid
|
||||||
|
|
||||||
|
" get the location list window buffer number of the third window
|
||||||
|
:echo getloclist(3, {'qfbufnr' : 0}).qfbufnr
|
||||||
|
|
||||||
" get the file window id of a location list window (winnr: 4)
|
" get the file window id of a location list window (winnr: 4)
|
||||||
:echo getloclist(4, {'filewinid' : 0}).filewinid
|
:echo getloclist(4, {'filewinid' : 0}).filewinid
|
||||||
<
|
<
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*quickref.txt* For Vim version 8.1. Last change: 2018 Apr 18
|
*quickref.txt* For Vim version 8.1. Last change: 2019 Feb 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -600,7 +600,6 @@ In Insert or Command-line mode:
|
|||||||
Short explanation of each option: *option-list*
|
Short explanation of each option: *option-list*
|
||||||
'aleph' 'al' ASCII code of the letter Aleph (Hebrew)
|
'aleph' 'al' ASCII code of the letter Aleph (Hebrew)
|
||||||
'allowrevins' 'ari' allow CTRL-_ in Insert and Command-line mode
|
'allowrevins' 'ari' allow CTRL-_ in Insert and Command-line mode
|
||||||
'altkeymap' 'akm' for default second language (Farsi/Hebrew)
|
|
||||||
'ambiwidth' 'ambw' what to do with Unicode chars of ambiguous width
|
'ambiwidth' 'ambw' what to do with Unicode chars of ambiguous width
|
||||||
'antialias' 'anti' Mac OS X: use smooth, antialiased fonts
|
'antialias' 'anti' Mac OS X: use smooth, antialiased fonts
|
||||||
'autochdir' 'acd' change directory to the file in the current window
|
'autochdir' 'acd' change directory to the file in the current window
|
||||||
@@ -700,7 +699,6 @@ Short explanation of each option: *option-list*
|
|||||||
'filetype' 'ft' type of file, used for autocommands
|
'filetype' 'ft' type of file, used for autocommands
|
||||||
'fillchars' 'fcs' characters to use for displaying special items
|
'fillchars' 'fcs' characters to use for displaying special items
|
||||||
'fixendofline' 'fixeol' make sure last line in file has <EOL>
|
'fixendofline' 'fixeol' make sure last line in file has <EOL>
|
||||||
'fkmap' 'fk' Farsi keyboard mapping
|
|
||||||
'foldclose' 'fcl' close a fold when the cursor leaves it
|
'foldclose' 'fcl' close a fold when the cursor leaves it
|
||||||
'foldcolumn' 'fdc' width of the column used to indicate folds
|
'foldcolumn' 'fdc' width of the column used to indicate folds
|
||||||
'foldenable' 'fen' set to display all folds open
|
'foldenable' 'fen' set to display all folds open
|
||||||
@@ -930,6 +928,7 @@ Short explanation of each option: *option-list*
|
|||||||
'termwinkey' 'twk' key that precedes a Vim command in a terminal
|
'termwinkey' 'twk' key that precedes a Vim command in a terminal
|
||||||
'termwinscroll' 'twsl' max number of scrollback lines in a terminal window
|
'termwinscroll' 'twsl' max number of scrollback lines in a terminal window
|
||||||
'termwinsize' 'tws' size of a terminal window
|
'termwinsize' 'tws' size of a terminal window
|
||||||
|
'termwintype' 'twt' MS-Windows: type of pty to use for terminal window
|
||||||
'terse' shorten some messages
|
'terse' shorten some messages
|
||||||
'textauto' 'ta' obsolete, use 'fileformats'
|
'textauto' 'ta' obsolete, use 'fileformats'
|
||||||
'textmode' 'tx' obsolete, use 'fileformat'
|
'textmode' 'tx' obsolete, use 'fileformat'
|
||||||
|
|||||||
@@ -323,8 +323,6 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
|
|||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
scriptencoding utf-8
|
scriptencoding utf-8
|
||||||
<
|
<
|
||||||
When compiled without the |+multi_byte| feature this
|
|
||||||
command is ignored.
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
|
|
||||||
*:scr* *:scriptnames*
|
*:scr* *:scriptnames*
|
||||||
|
|||||||
@@ -55,8 +55,7 @@ automatic installs. Vim also needs to be compiled with |+gettext| feature for
|
|||||||
user interface items translations to work.
|
user interface items translations to work.
|
||||||
|
|
||||||
After downloading an archive from RuVim project, unpack it into your
|
After downloading an archive from RuVim project, unpack it into your
|
||||||
$VIMRUNTIME directory. We recommend using UTF-8 archive, if your version of
|
$VIMRUNTIME directory. We recommend using UTF-8 archive.
|
||||||
Vim is compiled with |+multi_byte| feature enabled.
|
|
||||||
|
|
||||||
In order to use the Russian documentation, make sure you have set the
|
In order to use the Russian documentation, make sure you have set the
|
||||||
'helplang' option to "ru".
|
'helplang' option to "ru".
|
||||||
|
|||||||
@@ -312,25 +312,25 @@ Exceptions:
|
|||||||
spell file is used.
|
spell file is used.
|
||||||
|
|
||||||
For example, with these values:
|
For example, with these values:
|
||||||
'runtimepath' is "~/.vim,/usr/share/vim70,~/.vim/after"
|
'runtimepath' is "~/.vim,/usr/share/vim81,~/.vim/after"
|
||||||
'encoding' is "iso-8859-2"
|
'encoding' is "iso-8859-2"
|
||||||
'spelllang' is "pl"
|
'spelllang' is "pl"
|
||||||
|
|
||||||
Vim will look for:
|
Vim will look for:
|
||||||
1. ~/.vim/spell/pl.iso-8859-2.spl
|
1. ~/.vim/spell/pl.iso-8859-2.spl
|
||||||
2. /usr/share/vim70/spell/pl.iso-8859-2.spl
|
2. /usr/share/vim81/spell/pl.iso-8859-2.spl
|
||||||
3. ~/.vim/spell/pl.iso-8859-2.add.spl
|
3. ~/.vim/spell/pl.iso-8859-2.add.spl
|
||||||
4. /usr/share/vim70/spell/pl.iso-8859-2.add.spl
|
4. /usr/share/vim81/spell/pl.iso-8859-2.add.spl
|
||||||
5. ~/.vim/after/spell/pl.iso-8859-2.add.spl
|
5. ~/.vim/after/spell/pl.iso-8859-2.add.spl
|
||||||
|
|
||||||
This assumes 1. is not found and 2. is found.
|
This assumes 1. is not found and 2. is found.
|
||||||
|
|
||||||
If 'encoding' is "latin1" Vim will look for:
|
If 'encoding' is "latin1" Vim will look for:
|
||||||
1. ~/.vim/spell/pl.latin1.spl
|
1. ~/.vim/spell/pl.latin1.spl
|
||||||
2. /usr/share/vim70/spell/pl.latin1.spl
|
2. /usr/share/vim81/spell/pl.latin1.spl
|
||||||
3. ~/.vim/after/spell/pl.latin1.spl
|
3. ~/.vim/after/spell/pl.latin1.spl
|
||||||
4. ~/.vim/spell/pl.ascii.spl
|
4. ~/.vim/spell/pl.ascii.spl
|
||||||
5. /usr/share/vim70/spell/pl.ascii.spl
|
5. /usr/share/vim81/spell/pl.ascii.spl
|
||||||
6. ~/.vim/after/spell/pl.ascii.spl
|
6. ~/.vim/after/spell/pl.ascii.spl
|
||||||
|
|
||||||
This assumes none of them are found (Polish doesn't make sense when leaving
|
This assumes none of them are found (Polish doesn't make sense when leaving
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*starting.txt* For Vim version 8.1. Last change: 2018 May 05
|
*starting.txt* For Vim version 8.1. Last change: 2019 Feb 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -248,12 +248,18 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
|
|||||||
changes and writing.
|
changes and writing.
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
|
|
||||||
*-Z* *restricted-mode* *E145*
|
*-Z* *restricted-mode* *E145* *E981*
|
||||||
-Z Restricted mode. All commands that make use of an external
|
-Z Restricted mode. All commands that make use of an external
|
||||||
shell are disabled. This includes suspending with CTRL-Z,
|
shell are disabled. This includes suspending with CTRL-Z,
|
||||||
":sh", filtering, the system() function, backtick expansion,
|
":sh", filtering, the system() function, backtick expansion
|
||||||
delete(), rename(), mkdir(), writefile(), libcall(),
|
and libcall().
|
||||||
job_start(), etc.
|
Also disallowed are delete(), rename(), mkdir(), job_start(),
|
||||||
|
etc.
|
||||||
|
Interfaces, such as Python, Ruby and Lua, are also disabled,
|
||||||
|
since they could be used to execute shell commands. Perl uses
|
||||||
|
the Safe module.
|
||||||
|
Note that the user may still find a loophole to execute a
|
||||||
|
shell command, it has only been made difficult.
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
|
|
||||||
*-g*
|
*-g*
|
||||||
@@ -315,9 +321,8 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
|
|||||||
and exits.) {not in Vi}
|
and exits.) {not in Vi}
|
||||||
|
|
||||||
*-F*
|
*-F*
|
||||||
-F Farsi mode. Sets the 'fkmap' and 'rightleft' options on.
|
-F This was used for Farsi mode, which has been removed.
|
||||||
(Only when compiled with |+rightleft| and |+farsi| features,
|
See |farsi.txt|.
|
||||||
otherwise Vim gives an error message and exits.) {not in Vi}
|
|
||||||
|
|
||||||
*-H*
|
*-H*
|
||||||
-H Hebrew mode. Sets the 'hkmap' and 'rightleft' options on.
|
-H Hebrew mode. Sets the 'hkmap' and 'rightleft' options on.
|
||||||
|
|||||||
@@ -1095,6 +1095,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
'termwinkey' options.txt /*'termwinkey'*
|
'termwinkey' options.txt /*'termwinkey'*
|
||||||
'termwinscroll' options.txt /*'termwinscroll'*
|
'termwinscroll' options.txt /*'termwinscroll'*
|
||||||
'termwinsize' options.txt /*'termwinsize'*
|
'termwinsize' options.txt /*'termwinsize'*
|
||||||
|
'termwintype' options.txt /*'termwintype'*
|
||||||
'terse' options.txt /*'terse'*
|
'terse' options.txt /*'terse'*
|
||||||
'textauto' options.txt /*'textauto'*
|
'textauto' options.txt /*'textauto'*
|
||||||
'textmode' options.txt /*'textmode'*
|
'textmode' options.txt /*'textmode'*
|
||||||
@@ -1135,6 +1136,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
'twk' options.txt /*'twk'*
|
'twk' options.txt /*'twk'*
|
||||||
'tws' options.txt /*'tws'*
|
'tws' options.txt /*'tws'*
|
||||||
'twsl' options.txt /*'twsl'*
|
'twsl' options.txt /*'twsl'*
|
||||||
|
'twt' options.txt /*'twt'*
|
||||||
'tx' options.txt /*'tx'*
|
'tx' options.txt /*'tx'*
|
||||||
'uc' options.txt /*'uc'*
|
'uc' options.txt /*'uc'*
|
||||||
'udf' options.txt /*'udf'*
|
'udf' options.txt /*'udf'*
|
||||||
@@ -1717,6 +1719,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
05.6 usr_05.txt /*05.6*
|
05.6 usr_05.txt /*05.6*
|
||||||
05.7 usr_05.txt /*05.7*
|
05.7 usr_05.txt /*05.7*
|
||||||
05.8 usr_05.txt /*05.8*
|
05.8 usr_05.txt /*05.8*
|
||||||
|
05.9 usr_05.txt /*05.9*
|
||||||
06.1 usr_06.txt /*06.1*
|
06.1 usr_06.txt /*06.1*
|
||||||
06.2 usr_06.txt /*06.2*
|
06.2 usr_06.txt /*06.2*
|
||||||
06.3 usr_06.txt /*06.3*
|
06.3 usr_06.txt /*06.3*
|
||||||
@@ -2518,6 +2521,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:lefta windows.txt /*:lefta*
|
:lefta windows.txt /*:lefta*
|
||||||
:leftabove windows.txt /*:leftabove*
|
:leftabove windows.txt /*:leftabove*
|
||||||
:let eval.txt /*:let*
|
:let eval.txt /*:let*
|
||||||
|
:let%= eval.txt /*:let%=*
|
||||||
:let+= eval.txt /*:let+=*
|
:let+= eval.txt /*:let+=*
|
||||||
:let-$ eval.txt /*:let-$*
|
:let-$ eval.txt /*:let-$*
|
||||||
:let-& eval.txt /*:let-&*
|
:let-& eval.txt /*:let-&*
|
||||||
@@ -2528,6 +2532,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:let-register eval.txt /*:let-register*
|
:let-register eval.txt /*:let-register*
|
||||||
:let-unpack eval.txt /*:let-unpack*
|
:let-unpack eval.txt /*:let-unpack*
|
||||||
:let.= eval.txt /*:let.=*
|
:let.= eval.txt /*:let.=*
|
||||||
|
:let/= eval.txt /*:let\/=*
|
||||||
|
:letstar= eval.txt /*:letstar=*
|
||||||
:lex quickfix.txt /*:lex*
|
:lex quickfix.txt /*:lex*
|
||||||
:lexpr quickfix.txt /*:lexpr*
|
:lexpr quickfix.txt /*:lexpr*
|
||||||
:lf quickfix.txt /*:lf*
|
:lf quickfix.txt /*:lf*
|
||||||
@@ -3639,7 +3645,6 @@ CTRL-V-alternative gui_w32.txt /*CTRL-V-alternative*
|
|||||||
CTRL-W index.txt /*CTRL-W*
|
CTRL-W index.txt /*CTRL-W*
|
||||||
CTRL-W_+ windows.txt /*CTRL-W_+*
|
CTRL-W_+ windows.txt /*CTRL-W_+*
|
||||||
CTRL-W_- windows.txt /*CTRL-W_-*
|
CTRL-W_- windows.txt /*CTRL-W_-*
|
||||||
CTRL-W_. terminal.txt /*CTRL-W_.*
|
|
||||||
CTRL-W_: windows.txt /*CTRL-W_:*
|
CTRL-W_: windows.txt /*CTRL-W_:*
|
||||||
CTRL-W_< windows.txt /*CTRL-W_<*
|
CTRL-W_< windows.txt /*CTRL-W_<*
|
||||||
CTRL-W_<BS> windows.txt /*CTRL-W_<BS>*
|
CTRL-W_<BS> windows.txt /*CTRL-W_<BS>*
|
||||||
@@ -3679,7 +3684,6 @@ CTRL-W_H windows.txt /*CTRL-W_H*
|
|||||||
CTRL-W_J windows.txt /*CTRL-W_J*
|
CTRL-W_J windows.txt /*CTRL-W_J*
|
||||||
CTRL-W_K windows.txt /*CTRL-W_K*
|
CTRL-W_K windows.txt /*CTRL-W_K*
|
||||||
CTRL-W_L windows.txt /*CTRL-W_L*
|
CTRL-W_L windows.txt /*CTRL-W_L*
|
||||||
CTRL-W_N terminal.txt /*CTRL-W_N*
|
|
||||||
CTRL-W_P windows.txt /*CTRL-W_P*
|
CTRL-W_P windows.txt /*CTRL-W_P*
|
||||||
CTRL-W_R windows.txt /*CTRL-W_R*
|
CTRL-W_R windows.txt /*CTRL-W_R*
|
||||||
CTRL-W_S windows.txt /*CTRL-W_S*
|
CTRL-W_S windows.txt /*CTRL-W_S*
|
||||||
@@ -3694,9 +3698,11 @@ CTRL-W_c windows.txt /*CTRL-W_c*
|
|||||||
CTRL-W_d tagsrch.txt /*CTRL-W_d*
|
CTRL-W_d tagsrch.txt /*CTRL-W_d*
|
||||||
CTRL-W_f windows.txt /*CTRL-W_f*
|
CTRL-W_f windows.txt /*CTRL-W_f*
|
||||||
CTRL-W_gF windows.txt /*CTRL-W_gF*
|
CTRL-W_gF windows.txt /*CTRL-W_gF*
|
||||||
|
CTRL-W_gT windows.txt /*CTRL-W_gT*
|
||||||
CTRL-W_g] windows.txt /*CTRL-W_g]*
|
CTRL-W_g] windows.txt /*CTRL-W_g]*
|
||||||
CTRL-W_g_CTRL-] windows.txt /*CTRL-W_g_CTRL-]*
|
CTRL-W_g_CTRL-] windows.txt /*CTRL-W_g_CTRL-]*
|
||||||
CTRL-W_gf windows.txt /*CTRL-W_gf*
|
CTRL-W_gf windows.txt /*CTRL-W_gf*
|
||||||
|
CTRL-W_gt windows.txt /*CTRL-W_gt*
|
||||||
CTRL-W_g} windows.txt /*CTRL-W_g}*
|
CTRL-W_g} windows.txt /*CTRL-W_g}*
|
||||||
CTRL-W_h windows.txt /*CTRL-W_h*
|
CTRL-W_h windows.txt /*CTRL-W_h*
|
||||||
CTRL-W_i tagsrch.txt /*CTRL-W_i*
|
CTRL-W_i tagsrch.txt /*CTRL-W_i*
|
||||||
@@ -3707,7 +3713,6 @@ CTRL-W_n windows.txt /*CTRL-W_n*
|
|||||||
CTRL-W_o windows.txt /*CTRL-W_o*
|
CTRL-W_o windows.txt /*CTRL-W_o*
|
||||||
CTRL-W_p windows.txt /*CTRL-W_p*
|
CTRL-W_p windows.txt /*CTRL-W_p*
|
||||||
CTRL-W_q windows.txt /*CTRL-W_q*
|
CTRL-W_q windows.txt /*CTRL-W_q*
|
||||||
CTRL-W_quote terminal.txt /*CTRL-W_quote*
|
|
||||||
CTRL-W_r windows.txt /*CTRL-W_r*
|
CTRL-W_r windows.txt /*CTRL-W_r*
|
||||||
CTRL-W_s windows.txt /*CTRL-W_s*
|
CTRL-W_s windows.txt /*CTRL-W_s*
|
||||||
CTRL-W_t windows.txt /*CTRL-W_t*
|
CTRL-W_t windows.txt /*CTRL-W_t*
|
||||||
@@ -3741,6 +3746,7 @@ ColorSchemePre autocmd.txt /*ColorSchemePre*
|
|||||||
Command-line cmdline.txt /*Command-line*
|
Command-line cmdline.txt /*Command-line*
|
||||||
Command-line-mode cmdline.txt /*Command-line-mode*
|
Command-line-mode cmdline.txt /*Command-line-mode*
|
||||||
CompleteDone autocmd.txt /*CompleteDone*
|
CompleteDone autocmd.txt /*CompleteDone*
|
||||||
|
ConPTY terminal.txt /*ConPTY*
|
||||||
Contents quickref.txt /*Contents*
|
Contents quickref.txt /*Contents*
|
||||||
Cscope if_cscop.txt /*Cscope*
|
Cscope if_cscop.txt /*Cscope*
|
||||||
CursorHold autocmd.txt /*CursorHold*
|
CursorHold autocmd.txt /*CursorHold*
|
||||||
@@ -4684,6 +4690,8 @@ E978 eval.txt /*E978*
|
|||||||
E979 eval.txt /*E979*
|
E979 eval.txt /*E979*
|
||||||
E98 diff.txt /*E98*
|
E98 diff.txt /*E98*
|
||||||
E980 eval.txt /*E980*
|
E980 eval.txt /*E980*
|
||||||
|
E981 starting.txt /*E981*
|
||||||
|
E982 terminal.txt /*E982*
|
||||||
E99 diff.txt /*E99*
|
E99 diff.txt /*E99*
|
||||||
EX intro.txt /*EX*
|
EX intro.txt /*EX*
|
||||||
EXINIT starting.txt /*EXINIT*
|
EXINIT starting.txt /*EXINIT*
|
||||||
@@ -5012,7 +5020,10 @@ ZZ editing.txt /*ZZ*
|
|||||||
[:cntrl:] pattern.txt /*[:cntrl:]*
|
[:cntrl:] pattern.txt /*[:cntrl:]*
|
||||||
[:digit:] pattern.txt /*[:digit:]*
|
[:digit:] pattern.txt /*[:digit:]*
|
||||||
[:escape:] pattern.txt /*[:escape:]*
|
[:escape:] pattern.txt /*[:escape:]*
|
||||||
|
[:fname:] pattern.txt /*[:fname:]*
|
||||||
[:graph:] pattern.txt /*[:graph:]*
|
[:graph:] pattern.txt /*[:graph:]*
|
||||||
|
[:ident:] pattern.txt /*[:ident:]*
|
||||||
|
[:keyword:] pattern.txt /*[:keyword:]*
|
||||||
[:lower:] pattern.txt /*[:lower:]*
|
[:lower:] pattern.txt /*[:lower:]*
|
||||||
[:print:] pattern.txt /*[:print:]*
|
[:print:] pattern.txt /*[:print:]*
|
||||||
[:punct:] pattern.txt /*[:punct:]*
|
[:punct:] pattern.txt /*[:punct:]*
|
||||||
@@ -5847,6 +5858,7 @@ dec-mouse options.txt /*dec-mouse*
|
|||||||
decada_members ft_ada.txt /*decada_members*
|
decada_members ft_ada.txt /*decada_members*
|
||||||
deepcopy() eval.txt /*deepcopy()*
|
deepcopy() eval.txt /*deepcopy()*
|
||||||
defaults.vim starting.txt /*defaults.vim*
|
defaults.vim starting.txt /*defaults.vim*
|
||||||
|
defaults.vim-explained usr_05.txt /*defaults.vim-explained*
|
||||||
definition-search tagsrch.txt /*definition-search*
|
definition-search tagsrch.txt /*definition-search*
|
||||||
definitions intro.txt /*definitions*
|
definitions intro.txt /*definitions*
|
||||||
delete() eval.txt /*delete()*
|
delete() eval.txt /*delete()*
|
||||||
@@ -6120,7 +6132,6 @@ f motion.txt /*f*
|
|||||||
false-variable eval.txt /*false-variable*
|
false-variable eval.txt /*false-variable*
|
||||||
faq intro.txt /*faq*
|
faq intro.txt /*faq*
|
||||||
farsi farsi.txt /*farsi*
|
farsi farsi.txt /*farsi*
|
||||||
farsi-fonts farsi.txt /*farsi-fonts*
|
|
||||||
farsi.txt farsi.txt /*farsi.txt*
|
farsi.txt farsi.txt /*farsi.txt*
|
||||||
fasm.vim syntax.txt /*fasm.vim*
|
fasm.vim syntax.txt /*fasm.vim*
|
||||||
fcs_choice-variable eval.txt /*fcs_choice-variable*
|
fcs_choice-variable eval.txt /*fcs_choice-variable*
|
||||||
@@ -6346,6 +6357,7 @@ ft-rmd-plugin filetype.txt /*ft-rmd-plugin*
|
|||||||
ft-rmd-syntax syntax.txt /*ft-rmd-syntax*
|
ft-rmd-syntax syntax.txt /*ft-rmd-syntax*
|
||||||
ft-rrst-plugin filetype.txt /*ft-rrst-plugin*
|
ft-rrst-plugin filetype.txt /*ft-rrst-plugin*
|
||||||
ft-rrst-syntax syntax.txt /*ft-rrst-syntax*
|
ft-rrst-syntax syntax.txt /*ft-rrst-syntax*
|
||||||
|
ft-rst-plugin filetype.txt /*ft-rst-plugin*
|
||||||
ft-rst-syntax syntax.txt /*ft-rst-syntax*
|
ft-rst-syntax syntax.txt /*ft-rst-syntax*
|
||||||
ft-ruby-omni insert.txt /*ft-ruby-omni*
|
ft-ruby-omni insert.txt /*ft-ruby-omni*
|
||||||
ft-ruby-syntax syntax.txt /*ft-ruby-syntax*
|
ft-ruby-syntax syntax.txt /*ft-ruby-syntax*
|
||||||
@@ -7313,7 +7325,7 @@ lambda eval.txt /*lambda*
|
|||||||
lang-variable eval.txt /*lang-variable*
|
lang-variable eval.txt /*lang-variable*
|
||||||
language-mapping map.txt /*language-mapping*
|
language-mapping map.txt /*language-mapping*
|
||||||
last-pattern pattern.txt /*last-pattern*
|
last-pattern pattern.txt /*last-pattern*
|
||||||
last-position-jump eval.txt /*last-position-jump*
|
last-position-jump usr_05.txt /*last-position-jump*
|
||||||
last_buffer_nr() eval.txt /*last_buffer_nr()*
|
last_buffer_nr() eval.txt /*last_buffer_nr()*
|
||||||
latex-syntax syntax.txt /*latex-syntax*
|
latex-syntax syntax.txt /*latex-syntax*
|
||||||
lc_time-variable eval.txt /*lc_time-variable*
|
lc_time-variable eval.txt /*lc_time-variable*
|
||||||
@@ -7981,6 +7993,7 @@ omni-sql-completion ft_sql.txt /*omni-sql-completion*
|
|||||||
online-help helphelp.txt /*online-help*
|
online-help helphelp.txt /*online-help*
|
||||||
opening-window windows.txt /*opening-window*
|
opening-window windows.txt /*opening-window*
|
||||||
operator motion.txt /*operator*
|
operator motion.txt /*operator*
|
||||||
|
operator-pending-index index.txt /*operator-pending-index*
|
||||||
operator-variable eval.txt /*operator-variable*
|
operator-variable eval.txt /*operator-variable*
|
||||||
option-backslash options.txt /*option-backslash*
|
option-backslash options.txt /*option-backslash*
|
||||||
option-list quickref.txt /*option-list*
|
option-list quickref.txt /*option-list*
|
||||||
@@ -8237,6 +8250,7 @@ quake.vim syntax.txt /*quake.vim*
|
|||||||
quickfix quickfix.txt /*quickfix*
|
quickfix quickfix.txt /*quickfix*
|
||||||
quickfix-6 version6.txt /*quickfix-6*
|
quickfix-6 version6.txt /*quickfix-6*
|
||||||
quickfix-ID quickfix.txt /*quickfix-ID*
|
quickfix-ID quickfix.txt /*quickfix-ID*
|
||||||
|
quickfix-buffer quickfix.txt /*quickfix-buffer*
|
||||||
quickfix-changedtick quickfix.txt /*quickfix-changedtick*
|
quickfix-changedtick quickfix.txt /*quickfix-changedtick*
|
||||||
quickfix-context quickfix.txt /*quickfix-context*
|
quickfix-context quickfix.txt /*quickfix-context*
|
||||||
quickfix-directory-stack quickfix.txt /*quickfix-directory-stack*
|
quickfix-directory-stack quickfix.txt /*quickfix-directory-stack*
|
||||||
@@ -8812,7 +8826,14 @@ t_AL term.txt /*t_AL*
|
|||||||
t_BD term.txt /*t_BD*
|
t_BD term.txt /*t_BD*
|
||||||
t_BE term.txt /*t_BE*
|
t_BE term.txt /*t_BE*
|
||||||
t_CS term.txt /*t_CS*
|
t_CS term.txt /*t_CS*
|
||||||
|
t_CTRL-W_. terminal.txt /*t_CTRL-W_.*
|
||||||
|
t_CTRL-W_: terminal.txt /*t_CTRL-W_:*
|
||||||
t_CTRL-W_CTRL-C terminal.txt /*t_CTRL-W_CTRL-C*
|
t_CTRL-W_CTRL-C terminal.txt /*t_CTRL-W_CTRL-C*
|
||||||
|
t_CTRL-W_CTRL-W terminal.txt /*t_CTRL-W_CTRL-W*
|
||||||
|
t_CTRL-W_N terminal.txt /*t_CTRL-W_N*
|
||||||
|
t_CTRL-W_gT terminal.txt /*t_CTRL-W_gT*
|
||||||
|
t_CTRL-W_gt terminal.txt /*t_CTRL-W_gt*
|
||||||
|
t_CTRL-W_quote terminal.txt /*t_CTRL-W_quote*
|
||||||
t_CTRL-\_CTRL-N terminal.txt /*t_CTRL-\\_CTRL-N*
|
t_CTRL-\_CTRL-N terminal.txt /*t_CTRL-\\_CTRL-N*
|
||||||
t_CV term.txt /*t_CV*
|
t_CV term.txt /*t_CV*
|
||||||
t_Ce term.txt /*t_Ce*
|
t_Ce term.txt /*t_Ce*
|
||||||
@@ -9148,6 +9169,7 @@ terminal-diffscreendump terminal.txt /*terminal-diffscreendump*
|
|||||||
terminal-dumptest terminal.txt /*terminal-dumptest*
|
terminal-dumptest terminal.txt /*terminal-dumptest*
|
||||||
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-job-index index.txt /*terminal-job-index*
|
||||||
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-ms-windows terminal.txt /*terminal-ms-windows*
|
||||||
terminal-options term.txt /*terminal-options*
|
terminal-options term.txt /*terminal-options*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*tagsrch.txt* For Vim version 8.1. Last change: 2018 May 04
|
*tagsrch.txt* For Vim version 8.1. Last change: 2019 Feb 25
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -571,7 +571,14 @@ only supported by new versions of ctags (such as Exuberant ctags).
|
|||||||
{term} ;" The two characters semicolon and double quote. This is
|
{term} ;" The two characters semicolon and double quote. This is
|
||||||
interpreted by Vi as the start of a comment, which makes the
|
interpreted by Vi as the start of a comment, which makes the
|
||||||
following be ignored. This is for backwards compatibility
|
following be ignored. This is for backwards compatibility
|
||||||
with Vi, it ignores the following fields.
|
with Vi, it ignores the following fields. Example:
|
||||||
|
APP file /^static int APP;$/;" v
|
||||||
|
When {tagaddress} is not a line number or search pattern, then
|
||||||
|
{term} must be |;". Here the bar ends the command (excluding
|
||||||
|
the bar) and ;" is used to have Vi ignore the rest of the
|
||||||
|
line. Example:
|
||||||
|
APP file.c call cursor(3, 4)|;" v
|
||||||
|
|
||||||
{field} .. A list of optional fields. Each field has the form:
|
{field} .. A list of optional fields. Each field has the form:
|
||||||
|
|
||||||
<Tab>{fieldname}:{value}
|
<Tab>{fieldname}:{value}
|
||||||
@@ -606,8 +613,7 @@ ignored. (Case is ignored when 'ignorecase' is set and 'tagcase' is
|
|||||||
The value '2' should be used then:
|
The value '2' should be used then:
|
||||||
!_TAG_FILE_SORTED<Tab>2<Tab>{anything} ~
|
!_TAG_FILE_SORTED<Tab>2<Tab>{anything} ~
|
||||||
|
|
||||||
The other tag that Vim recognizes, but only when compiled with the
|
The other tag that Vim recognizes is the encoding of the tags file:
|
||||||
|+multi_byte| feature, is the encoding of the tags file:
|
|
||||||
!_TAG_FILE_ENCODING<Tab>utf-8<Tab>{anything} ~
|
!_TAG_FILE_ENCODING<Tab>utf-8<Tab>{anything} ~
|
||||||
Here "utf-8" is the encoding used for the tags. Vim will then convert the tag
|
Here "utf-8" is the encoding used for the tags. Vim will then convert the tag
|
||||||
being searched for from 'encoding' to the encoding of the tags file. And when
|
being searched for from 'encoding' to the encoding of the tags file. And when
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*terminal.txt* For Vim version 8.1. Last change: 2018 May 17
|
*terminal.txt* For Vim version 8.1. Last change: 2019 Feb 25
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -44,7 +44,7 @@ If the result is "1" you have it.
|
|||||||
|
|
||||||
{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}
|
||||||
The terminal feature requires the |+multi_byte|, |+job| and |+channel| features.
|
The terminal feature requires the |+job| and |+channel| features.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Basic use *terminal-use*
|
1. Basic use *terminal-use*
|
||||||
@@ -66,20 +66,23 @@ When the keyboard focus is in the terminal window, typed keys will be sent to
|
|||||||
the job. This uses a pty when possible. You can click outside of the
|
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.
|
||||||
|
|
||||||
|
*t_CTRL-W_CTRL-W* *t_CTRL-W_:*
|
||||||
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.
|
||||||
|
|
||||||
Special in the terminal window: *CTRL-W_.* *CTRL-W_N*
|
Special in the terminal window: *t_CTRL-W_.* *t_CTRL-W_N*
|
||||||
CTRL-W . send a CTRL-W to the job in the terminal
|
CTRL-W . send a CTRL-W to the job in the terminal
|
||||||
CTRL-W CTRL-\ send a CTRL-\ to the job in the terminal
|
CTRL-W CTRL-\ send a CTRL-\ to the job in the terminal
|
||||||
CTRL-W N go to Terminal-Normal mode, see |Terminal-mode|
|
CTRL-W N go to Terminal-Normal mode, see |Terminal-mode|
|
||||||
CTRL-\ CTRL-N go to Terminal-Normal mode, see |Terminal-mode|
|
CTRL-\ CTRL-N go to Terminal-Normal mode, see |Terminal-mode|
|
||||||
CTRL-W " {reg} paste register {reg} *CTRL-W_quote*
|
CTRL-W " {reg} paste register {reg} *t_CTRL-W_quote*
|
||||||
Also works with the = register to insert the result of
|
Also works with the = register to insert the result of
|
||||||
evaluating an expression.
|
evaluating an expression.
|
||||||
CTRL-W CTRL-C ends the job, see below |t_CTRL-W_CTRL-C|
|
CTRL-W CTRL-C ends the job, see below |t_CTRL-W_CTRL-C|
|
||||||
|
CTRL-W gt go to next tabpage, same as `gt` *t_CTRL-W_gt*
|
||||||
|
CTRL-W gT go to previous tabpage, same as `gT` *t_CTRL-W_gT*
|
||||||
|
|
||||||
See option 'termwinkey' for specifying another key instead of CTRL-W that
|
See option 'termwinkey' for specifying another key instead of CTRL-W that
|
||||||
will work like CTRL-W. However, typing 'termwinkey' twice sends 'termwinkey'
|
will work like CTRL-W. However, typing 'termwinkey' twice sends 'termwinkey'
|
||||||
@@ -90,8 +93,8 @@ to the job. For example:
|
|||||||
'termwinkey' . send 'termwinkey' to the job in the terminal
|
'termwinkey' . send 'termwinkey' to the job in the terminal
|
||||||
'termwinkey' CTRL-\ send a CTRL-\ to the job in the terminal
|
'termwinkey' CTRL-\ send a CTRL-\ to the job in the terminal
|
||||||
'termwinkey' N go to terminal Normal mode, see below
|
'termwinkey' N go to terminal Normal mode, see below
|
||||||
'termwinkey' CTRL-N same as CTRL-W N
|
'termwinkey' CTRL-N same as CTRL-W N |t_CTRL-W_N|
|
||||||
'termwinkey' CTRL-C same as |t_CTRL-W_CTRL-C|
|
'termwinkey' CTRL-C same as CTRL-W CTRL-C |t_CTRL-W_CTRL-C|
|
||||||
*t_CTRL-\_CTRL-N*
|
*t_CTRL-\_CTRL-N*
|
||||||
The special key combination CTRL-\ CTRL-N can be used to switch to Normal
|
The special key combination CTRL-\ CTRL-N can be used to switch to Normal
|
||||||
mode, just like this works in any other mode.
|
mode, just like this works in any other mode.
|
||||||
@@ -228,6 +231,9 @@ Syntax ~
|
|||||||
for Python "++eof=exit()". Special
|
for Python "++eof=exit()". Special
|
||||||
codes can be used like with `:map`,
|
codes can be used like with `:map`,
|
||||||
e.g. "<C-Z>" for CTRL-Z.
|
e.g. "<C-Z>" for CTRL-Z.
|
||||||
|
++type={pty} (MS-Windows only): Use {pty} as the
|
||||||
|
virtual console. See 'termwintype'
|
||||||
|
for the values.
|
||||||
|
|
||||||
If you want to use more options use the |term_start()|
|
If you want to use more options use the |term_start()|
|
||||||
function.
|
function.
|
||||||
@@ -410,6 +416,13 @@ Just put the files somewhere in your PATH. You can set the 'winptydll' option
|
|||||||
to point to the right file, if needed. If you have both the 32-bit and 64-bit
|
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.
|
||||||
|
*ConPTY* *E982*
|
||||||
|
On more recent versions of MS-Windows 10 (beginning with the "October 2018
|
||||||
|
Update"), winpty is no longer required. On those versions, |:terminal| will use
|
||||||
|
Windows' built-in support for hosting terminal applications, "ConPTY". When
|
||||||
|
ConPTY is in use, there may be rendering artifacts regarding ambiguous-width
|
||||||
|
characters. If you encounter any such issues, install "winpty". Until the
|
||||||
|
ConPTY problems have been fixed "winpty" will be preferred.
|
||||||
|
|
||||||
Environment variables are used to pass information to the running job:
|
Environment variables are used to pass information to the running job:
|
||||||
VIM_SERVERNAME v:servername
|
VIM_SERVERNAME v:servername
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 8.1. Last change: 2019 Jan 26
|
*todo.txt* For Vim version 8.1. Last change: 2019 Mar 14
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -38,6 +38,16 @@ browser use: https://github.com/vim/vim/issues/1234
|
|||||||
*known-bugs*
|
*known-bugs*
|
||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
|
Patch to add Farsi handling to arabic.c (Ali Gholami Rudi, 2009 May 2)
|
||||||
|
Added test, updates, June 23.
|
||||||
|
Updated for 7.4: http://litcave.rudi.ir/farsi_vim.diff
|
||||||
|
Remark from Ameretat Reith (2014 Oct 13) with patch on top.
|
||||||
|
Updated patch from Ameretat Reith, 2019 Mar 1.
|
||||||
|
|
||||||
|
Timer test doesn't work on MS-Windows console, any way to make it work?
|
||||||
|
|
||||||
|
Drop FEAT_TAG_ANYWHITE ? It should not be a compile time option.
|
||||||
|
|
||||||
'incsearch' with :s: (#3321)
|
'incsearch' with :s: (#3321)
|
||||||
- Get E20 when using command history to get "'<,'>s/a/b" and no Visual area
|
- Get E20 when using command history to get "'<,'>s/a/b" and no Visual area
|
||||||
was set. (#3837)
|
was set. (#3837)
|
||||||
@@ -61,6 +71,7 @@ Terminal debugger:
|
|||||||
- Add option to not open the program window. It's not used when attaching to
|
- Add option to not open the program window. It's not used when attaching to
|
||||||
an already running program. (M. Kelly)
|
an already running program. (M. Kelly)
|
||||||
- When only gdb window exists, on "quit" edit another buffer.
|
- When only gdb window exists, on "quit" edit another buffer.
|
||||||
|
- Use a sign group
|
||||||
- Termdebug does not work when Vim was build with mzscheme: gdb hangs just
|
- Termdebug does not work when Vim was build with mzscheme: gdb hangs just
|
||||||
after "run". Everything else works, including communication channel. Not
|
after "run". Everything else works, including communication channel. Not
|
||||||
initializing mzscheme avoid the problem, thus it's not some #ifdef.
|
initializing mzscheme avoid the problem, thus it's not some #ifdef.
|
||||||
@@ -71,15 +82,15 @@ Terminal debugger:
|
|||||||
with another Vim instance.
|
with another Vim instance.
|
||||||
|
|
||||||
Terminal emulator window:
|
Terminal emulator window:
|
||||||
|
- When the job in the terminal doesn't use mouse events, let the scroll wheel
|
||||||
|
scroll the scrollback, like a terminal does at the shell prompt. #2490
|
||||||
|
And use modeless selection. #2962
|
||||||
- When Vim runs in the terminal and changes the title, the statusline needs to
|
- When Vim runs in the terminal and changes the title, the statusline needs to
|
||||||
be redrawn.
|
be redrawn.
|
||||||
- GUI: When using ":set go+=!" a system() call causes the hit-enter prompt.
|
- GUI: When using ":set go+=!" a system() call causes the hit-enter prompt.
|
||||||
(#3327)
|
(#3327)
|
||||||
- Terminal API: Add more functionality? (Ozaki Kiichi 2018 May 13, #2907)
|
- Terminal API: Add more functionality? (Ozaki Kiichi 2018 May 13, #2907)
|
||||||
- GUI: hang until key typed. (#3530)
|
- GUI: hang until key typed. (#3530)
|
||||||
- When the job in the terminal doesn't use mouse events, let the scroll wheel
|
|
||||||
scroll the scrollback, like a terminal does at the shell prompt. #2490
|
|
||||||
And use modeless selection. #2962
|
|
||||||
- Allow for specifying the directory, with ++cwd={dir}.
|
- Allow for specifying the directory, with ++cwd={dir}.
|
||||||
- With a vertical split only one window is updated. (Linwei, 2018 Jun 2,
|
- With a vertical split only one window is updated. (Linwei, 2018 Jun 2,
|
||||||
#2977)
|
#2977)
|
||||||
@@ -103,55 +114,35 @@ Terminal emulator window:
|
|||||||
- When 'encoding' is not utf-8, or the job is using another encoding, setup
|
- When 'encoding' is not utf-8, or the job is using another encoding, setup
|
||||||
conversions.
|
conversions.
|
||||||
|
|
||||||
|
Support for popup widows:
|
||||||
|
- Use text properties to define highlighting.
|
||||||
|
- Proposal on issue #4063
|
||||||
|
|
||||||
|
Adding "10" to 'spellsuggest' causes spell suggestions to become very slow.
|
||||||
|
(#4087)
|
||||||
|
|
||||||
Problem with Visual yank when 'linebreak' and 'showbreak' are set.
|
Problem with Visual yank when 'linebreak' and 'showbreak' are set.
|
||||||
Patch with tests, but it's not clear how it is supposed to work. (tommm, 2018
|
Patch with tests, but it's not clear how it is supposed to work. (tommm, 2018
|
||||||
Nov 17) Asked about this, Dec 22. Christian will have a look.
|
Nov 17) Asked about this, Dec 22. Christian will have a look.
|
||||||
|
|
||||||
Key mapping times out when using a timer in Gvim. (Michael Henry, 2018 Sep 9,
|
|
||||||
#3417)
|
|
||||||
Another report, with reproduction steps. (#3799)
|
|
||||||
Is this fixed by 8.1.0761?
|
|
||||||
|
|
||||||
Does not build with MinGW out of the box:
|
Does not build with MinGW out of the box:
|
||||||
- _stat64 is not defined, need to use "struct stat" in vim.h
|
- _stat64 is not defined, need to use "struct stat" in vim.h
|
||||||
- WINVER conflict, should use 0x0600 by default?
|
- WINVER conflict, should use 0x0600 by default?
|
||||||
|
|
||||||
js_decode() does not handle infinity properly. (Dominique Pelle, 2019 Jan 10,
|
Patch for 'listchars' when there is a composing character on a space.
|
||||||
#3788)
|
How about when there is a double-width composing character on a space?
|
||||||
|
(Yasuhiro Matsumoto, #4046)
|
||||||
|
Test doesn't fail without patch?
|
||||||
|
|
||||||
Patch to avoid skipping buffers when loading a session. (Jason Franklin, 2019
|
Patch to add ruby cflags. (#4050, fixes #1081)
|
||||||
Jan 20)
|
Needs modification.
|
||||||
|
|
||||||
Patch to update example of how to restore the cursor. (Ken Takata, 2019 Jan
|
|
||||||
21)
|
|
||||||
|
|
||||||
Patch to fix problems with timer in GUI. (Ozaki Kiichi, #3817)
|
|
||||||
Should also fix #3824.
|
|
||||||
Change the order in which GUI handles events? Make it work like os_unix.c,
|
|
||||||
check timer on lower level, check for pending messages higher up.
|
|
||||||
|
|
||||||
Signs:
|
|
||||||
- screen not redrawn correctly. (Dominique Pelle, 2019 Jan 14, #3803)
|
|
||||||
- Use a sign group in the Termdebug plugin.
|
|
||||||
- Avoid that "sign unplace id" does a redraw right away, esp. when there is
|
|
||||||
a sequence of these commands. (Andy Stewart, 2018 Mar 16)
|
|
||||||
|
|
||||||
Crash when mixing matchadd and substitute()? (Max Christian Pohle, 2018 May
|
Crash when mixing matchadd and substitute()? (Max Christian Pohle, 2018 May
|
||||||
13, #2910) Can't reproduce?
|
13, #2910) Can't reproduce?
|
||||||
|
|
||||||
Patch to recognize more systems with has(). (Ozaki Kiichi, #3855)
|
|
||||||
|
|
||||||
Merge checking for 'cursorline' and 'concealcursor', see neovim #9492.
|
|
||||||
|
|
||||||
Errors found with random data:
|
Errors found with random data:
|
||||||
heap-buffer-overflow in alist_add (#2472)
|
heap-buffer-overflow in alist_add (#2472)
|
||||||
|
|
||||||
Patch for xxd to make it work with 64 bit numbers. (Christer Jense, 2019 Jan
|
|
||||||
11, #3791)
|
|
||||||
|
|
||||||
Win32 key codes are messy. Mike Williams tried to fix that, but now old
|
|
||||||
mappings no longer work. Create a new terminal for the better solution?
|
|
||||||
|
|
||||||
Improve fallback for menu translations, to avoid having to create lots of
|
Improve fallback for menu translations, to avoid having to create lots of
|
||||||
files that source the actual file. E.g. menu_da_de -> menu_da
|
files that source the actual file. E.g. menu_da_de -> menu_da
|
||||||
Include part of #3242?
|
Include part of #3242?
|
||||||
@@ -170,22 +161,49 @@ Williams, 2018 Oct 30)
|
|||||||
|
|
||||||
Problem with :tlmenu: Detach item added with all modes? Issue #3563.
|
Problem with :tlmenu: Detach item added with all modes? Issue #3563.
|
||||||
|
|
||||||
|
Bug: script written with "-W scriptout" contains Key codes, while the script
|
||||||
|
read with "-s scriptin" expects escape codes. Probably "scriptout" needs to
|
||||||
|
be adjusted. (Daniel Steinberg, 2019 Feb 24, #4041)
|
||||||
|
|
||||||
|
Patch to move insert-expand code to insexpand.c. (Yegappan Lakshmanan, #4044)
|
||||||
|
|
||||||
|
Patch for larger icons in installer. (#978) Still not good.
|
||||||
|
|
||||||
|
Patch on issue #3964 to let sign column stop at the last buffer line.
|
||||||
|
(Christian Brabandt, 2019 Feb 24)
|
||||||
|
|
||||||
|
Patch to use wide font functions. (Ken Takata, 2019 Feb 18, #4000)
|
||||||
|
|
||||||
|
Patch on #4073, Andy Massimino. Is this a real problem?
|
||||||
|
|
||||||
|
Bug: "vipgw" does not put cursor back where it belongs. (Jason Franklin, 2019
|
||||||
|
Mar 5)
|
||||||
|
|
||||||
|
Patch to add blob2str() and str2blob(). (Yasuhiro Matsumoto, #4049)
|
||||||
|
Make docs clearer. Is it symmetric?
|
||||||
|
|
||||||
When using a timer callback vgetc_busy is reset, allowing for using input().
|
When using a timer callback vgetc_busy is reset, allowing for using input().
|
||||||
But in a channel callback this does not happen. We need to do something
|
But in a channel callback this does not happen. We need to do something
|
||||||
similar to check_due_timer(). Also see #3809.
|
similar to check_due_timer(). Also see #3809.
|
||||||
|
|
||||||
|
Using "5gj" starting inside a closed fold does not work on screen lines but on
|
||||||
|
text lines. (Julius Hulsmann, #4095)
|
||||||
|
|
||||||
|
Add "-once" to ":autocmd". Also add "-nested" as an alias for "nested".
|
||||||
|
(Justin M. Keyes, #4100) Syntax of -once may be strange. ++once and ++nested
|
||||||
|
is better?
|
||||||
|
|
||||||
C syntax: {} inside () causes following {} to be highlighted as error.
|
C syntax: {} inside () causes following {} to be highlighted as error.
|
||||||
(Michalis Giannakidis, 2006 Jun 1)
|
(Michalis Giannakidis, 2006 Jun 1)
|
||||||
|
|
||||||
Patch on #3690 to fix that "wincmd p" does not always behave properly.
|
|
||||||
(Christian Brabandt, 2018 Dec 17)
|
|
||||||
|
|
||||||
Patch: When using %v in 'errorformat', assume the number is the screen column
|
|
||||||
not bytes, also handle multi-byte charactes. (Yegappan Lakshmanan, #3700)
|
|
||||||
|
|
||||||
Support setting the character displayed below the last line? Neovim uses
|
Support setting the character displayed below the last line? Neovim uses
|
||||||
"eob:X" in 'fillchars'.
|
"eob:X" in 'fillchars'.
|
||||||
|
|
||||||
|
Check: __attribute__((format(printf, on semsg() and siemsg(). Where was this
|
||||||
|
added?
|
||||||
|
|
||||||
|
Patch to remove some unneeded {}. (Hirohito Higashi, #3982)
|
||||||
|
|
||||||
Make balloon_show() work outside of 'balloonexpr'? Users expect it to work:
|
Make balloon_show() work outside of 'balloonexpr'? Users expect it to work:
|
||||||
#2948. (related to #1512?)
|
#2948. (related to #1512?)
|
||||||
On Win32 it stops showing, because showState is already ShS_SHOWING.
|
On Win32 it stops showing, because showState is already ShS_SHOWING.
|
||||||
@@ -197,52 +215,95 @@ balloonexpr() on MS-Windows GUI doesn't handle accented chars? (nivaemail,
|
|||||||
2018 Sep 14)
|
2018 Sep 14)
|
||||||
Another request: #3811.
|
Another request: #3811.
|
||||||
|
|
||||||
Patch for MinGW build with static libraries. (Ken Takata, 2018 Dec 16)
|
Patch for autoconf to add -fPIC for Fedora. (#4047)
|
||||||
|
|
||||||
Patch to add new regexp classes :ident:, :keyword:, :fname:.
|
Height of quickfix window is not retained with vertical splits. (Lifepillar,
|
||||||
(ichizok, 2016 Jan 12, #1373)
|
2018 Aug 24, #2998)
|
||||||
|
Patch on the issue by Hongbo Liu, 2019 Feb 19 #4013
|
||||||
Patch to add "termsig" - signal that caused job to end. (Ozaki Kiichi, 2019
|
|
||||||
Jan 10, #3786)
|
|
||||||
|
|
||||||
More warnings from static analysis:
|
More warnings from static analysis:
|
||||||
https://lgtm.com/projects/g/vim/vim/alerts/?mode=list
|
https://lgtm.com/projects/g/vim/vim/alerts/?mode=list
|
||||||
|
|
||||||
Patch for this: (Aron Widforss, 2018 Oct 13, #3539)
|
Still a E315 error when using terminal. (Masato Nishihata, #3959)
|
||||||
missing a test.
|
|
||||||
7 Make 'scrolloff' a global-local option, so that it can be different in the
|
|
||||||
quickfix window, for example. (Gary Holloway)
|
|
||||||
Also do 'sidescrolloff'.
|
|
||||||
|
|
||||||
Patch for ConPTY support, new one: #3794 Does this work now?
|
When using 'k' in 'guioptions' gvim may open with a tiny window. (#3808)
|
||||||
(Nobuhiro Takasaki)
|
Suggested patch on the issue.
|
||||||
|
|
||||||
Issue #3649: Retrying the X server connection once may be insufficient.
|
|
||||||
Since patch 8.1.0615 we try reconnecting five times. Does it work?
|
|
||||||
|
|
||||||
nvo-mode mapping works on Windows, not on Linux. (#3678)
|
nvo-mode mapping works on Windows, not on Linux. (#3678)
|
||||||
|
|
||||||
|
Patch to fix modify_fname() does not work well with some 'encoding's.
|
||||||
|
(Ken Takata, #4007)
|
||||||
|
|
||||||
|
Patch to make vim_getenv() work with wide API. (Ken Takata, #4008)
|
||||||
|
|
||||||
|
How to make (async) complete function depending on completion type?
|
||||||
|
Patch on #4083 to do this with an autocommand. Probably want something else,
|
||||||
|
like 'ominfunc'.
|
||||||
|
|
||||||
|
Patch to add equal field to complete items. (#3887)
|
||||||
|
|
||||||
|
When using exclusive selection and vi" that fails, cursor moves to the left.
|
||||||
|
Cursor should not move. (#4024)
|
||||||
|
|
||||||
|
Patch to fix handling long line in tags file. #4051, #4084 (Andy Massimino)
|
||||||
|
|
||||||
|
Patch to fix that executable() may fail on very long filename in MS-Windows.
|
||||||
|
(Ken Takata, 2016 Feb 1, update 2018 Oct 7, update 2019 Feb 19)
|
||||||
|
Now in pull request #4015.
|
||||||
|
|
||||||
Patch to be able to separately map CTRL-H and BS on Windows.
|
Patch to be able to separately map CTRL-H and BS on Windows.
|
||||||
(Linwei, 2017 Jul 11, #1833)
|
(Linwei, 2017 Jul 11, #1833)
|
||||||
|
|
||||||
|
Patch to fix encoding of messages on MS-Windows. (Yasuhiro Matsumoto, 2019 Feb
|
||||||
|
13, #3914)
|
||||||
|
|
||||||
|
Patch to fix encoding conversion in messages. (#3969)
|
||||||
|
Check that this is fixed: (ichizok)
|
||||||
|
vim --clean -X -V1 -es -c 'echo "hello"' -c quit
|
||||||
|
|
||||||
|
Incsearch test fails when locale is "C". (Dominique Pelle, #3986)
|
||||||
|
Also run all tests with C locale?
|
||||||
|
|
||||||
|
Patch to improve readability of complicated if(). (ichizok, 2019 Jan 29,
|
||||||
|
#3879)
|
||||||
|
|
||||||
|
"vat" doesn't work well on XML when the closing > is on another line.
|
||||||
|
#3927
|
||||||
|
|
||||||
|
Patch to include ARM64 support. (Leendert van Doorn, 2019 Feb 9)
|
||||||
|
|
||||||
|
Patch to fix hang when opening file where an intermediate directory is not
|
||||||
|
readable on MS-Windows. (link on #3923)
|
||||||
|
|
||||||
Pasting foo} causes Vim to behave weird. (John Little, 2018 Jun 17)
|
Pasting foo} causes Vim to behave weird. (John Little, 2018 Jun 17)
|
||||||
Related to bracketed paste. I cannot reproduce it.
|
Related to bracketed paste. I cannot reproduce it.
|
||||||
|
|
||||||
|
Patch to add tagfunc(). Cleaned up by Christian Brabandt, 2013 Jun 22.
|
||||||
|
New update 2017 Apr 10, #1628
|
||||||
|
https://github.com/chrisbra/vim-mq-patches/blob/master/tagfunc
|
||||||
|
Updated by Andy Massimino, 2018 Feb 7:
|
||||||
|
https://github.com/andymass/vim/commit/4e3aa0a5dab96d2799567622f3f537e357aa479e
|
||||||
|
Or should we make it asynchronous?
|
||||||
|
Patch by Andy Massimino: #4010 - needs a bit more work
|
||||||
|
|
||||||
|
When 'confirm' is set a "silent q" doesn't show the prompt. It should in this
|
||||||
|
case. (Nate Peterson, 2019 Jan 31, #3892)
|
||||||
|
For "silent! q" it should not prompt and just fail.
|
||||||
|
|
||||||
|
Patch to add readdir(). (Yasuhiro Matsumoto, #2439)
|
||||||
|
|
||||||
Using CTRL-L to add a character to the search string doesn't work for the last
|
Using CTRL-L to add a character to the search string doesn't work for the last
|
||||||
character in the file. (Smylers, 2018 Nov 17, #3620)
|
character in the file. (Smylers, 2018 Nov 17, #3620)
|
||||||
Suggested patch by Hirohito Higashi, 2018 Nov 18.
|
Suggested patch by Hirohito Higashi, 2018 Nov 18.
|
||||||
|
|
||||||
Using CTRL-L to add a character to the search string that contains \v,
|
Using CTRL-L to add a character to the search string that contains \v,
|
||||||
punctiuation is repeated. (Smylers, 2018 Nov 17, #3621)
|
punctuation is repeated. (Smylers, 2018 Nov 17, #3621)
|
||||||
|
|
||||||
Using CTRL-L during search only picks up the base character, not a combining
|
Using CTRL-L during search only picks up the base character, not a combining
|
||||||
character. (Rick, 2018 Dec 11, #3682)
|
character. (Rick, 2018 Dec 11, #3682)
|
||||||
|
|
||||||
ml_get error: (Israel Chauca Fuentes, 2018 Oct 17, #3550).
|
ml_get error: (Israel Chauca Fuentes, 2018 Oct 17, #3550).
|
||||||
|
|
||||||
Patch to convert temp file name. (Yasuhiro Matsumoto, #3520)
|
|
||||||
Not ready to include yet.
|
|
||||||
|
|
||||||
Problem with two buffers with the same name a/b, if it didn't exist before and
|
Problem with two buffers with the same name a/b, if it didn't exist before and
|
||||||
is created outside of Vim. (dskloetg, 2018 Jul 16, #3219)
|
is created outside of Vim. (dskloetg, 2018 Jul 16, #3219)
|
||||||
|
|
||||||
@@ -250,16 +311,28 @@ When 'sidescrolloff' is set, using "zl" to go to the end of the line, suddenly
|
|||||||
scrolls back. Should allow for this scrolling, like 'scrolloff' does when
|
scrolls back. Should allow for this scrolling, like 'scrolloff' does when
|
||||||
using CTRL-E. (Yee Cheng Chin, #3721)
|
using CTRL-E. (Yee Cheng Chin, #3721)
|
||||||
|
|
||||||
Patch to add ":vsbuffer" - vertical split + :sbuffer. (Rob Pilling, 2019 Jan
|
|
||||||
17, #3816) Do we really need this?
|
|
||||||
|
|
||||||
Invalid memory access with old regexp engine. (Dominique Pelle, 2018 Sep 3,
|
Invalid memory access with old regexp engine. (Dominique Pelle, 2018 Sep 3,
|
||||||
#3405) Introduced by 8.0.1517, which was fixing another memory access error.
|
#3405) Introduced by 8.0.1517, which was fixing another memory access error.
|
||||||
(Sep 8)
|
(Sep 8)
|
||||||
|
|
||||||
|
Patch to add complete_info Shougo - #3866. Ready to include.
|
||||||
|
|
||||||
|
Patch to make winnr() return the window above/below/beside a window.
|
||||||
|
(Yegappan Lakshmanan, #3993)
|
||||||
|
|
||||||
|
Patch for ConPTY support, new one: #3794 Does this work now? It should.
|
||||||
|
(Nobuhiro Takasaki)
|
||||||
|
|
||||||
Add function to make use of internal diff, working on two lists and returning
|
Add function to make use of internal diff, working on two lists and returning
|
||||||
unified diff (list of lines).
|
unified diff (list of lines).
|
||||||
|
|
||||||
|
When splitting a window with few text lines, the relative cursor position is
|
||||||
|
kept, which means part of the text isn't displayed. Better show all the text
|
||||||
|
when possible. (Dylan Lloyd, #3973)
|
||||||
|
|
||||||
|
Tag stack is incorrect after CTRL-T and then :tag. (Andy Massimino, 2019 Feb
|
||||||
|
12, #3944) With Patch for a solution (Feb 23). Needs a test.
|
||||||
|
|
||||||
Patch to implement 'diffref' option. (#3535)
|
Patch to implement 'diffref' option. (#3535)
|
||||||
Easier to use a 'diffmaster' option, is the extra complexity needed?
|
Easier to use a 'diffmaster' option, is the extra complexity needed?
|
||||||
|
|
||||||
@@ -272,6 +345,19 @@ cursorline highlighting not removed after yanking in Visual mode.
|
|||||||
(Matéo Zanibelli, 2018 Oct 30, #3578)
|
(Matéo Zanibelli, 2018 Oct 30, #3578)
|
||||||
Patch by Christian, Oct 30.
|
Patch by Christian, Oct 30.
|
||||||
|
|
||||||
|
Patch to clean up CI configs. (Ozaki Kiichi, 2019 Feb 1, #3890)
|
||||||
|
|
||||||
|
Patch to filter marks. (Marcin Szamotulski, 2019 Feb 7, #3895)
|
||||||
|
|
||||||
|
Patch to add environ(), gets a dict with all environment vars, and getenv(),
|
||||||
|
useful for environment vars that are not made of keyword chars.
|
||||||
|
(Yasuhiro Matsumoto, #2875)
|
||||||
|
|
||||||
|
Add buffer argument to undotree(). (#4001)
|
||||||
|
|
||||||
|
Patch to add optional arguments with default values.
|
||||||
|
(Andy Massimino, #3952) under development
|
||||||
|
|
||||||
Memory leaks in test_channel? (or is it because of fork())
|
Memory leaks in test_channel? (or is it because of fork())
|
||||||
Using uninitialized value in test_crypt.
|
Using uninitialized value in test_crypt.
|
||||||
Memory leak in test_terminal:
|
Memory leak in test_terminal:
|
||||||
@@ -284,6 +370,7 @@ Memory leak in test_terminal:
|
|||||||
==23530== by 0x35C923: term_start (terminal.c:421)
|
==23530== by 0x35C923: term_start (terminal.c:421)
|
||||||
==23530== by 0x2AFF30: mch_call_shell_terminal (os_unix.c:4377)
|
==23530== by 0x2AFF30: mch_call_shell_terminal (os_unix.c:4377)
|
||||||
==23530== by 0x2B16BE: mch_call_shell (os_unix.c:5383)
|
==23530== by 0x2B16BE: mch_call_shell (os_unix.c:5383)
|
||||||
|
Memory leak in test_alot with pyeval() (allocating partial)
|
||||||
|
|
||||||
gethostbyname() is old, use getaddrinfo() if available. (#3227)
|
gethostbyname() is old, use getaddrinfo() if available. (#3227)
|
||||||
|
|
||||||
@@ -293,6 +380,17 @@ Patch to add match count and current index "3/44" when using "n" command.
|
|||||||
matchaddpos() gets slow with many matches. Proposal by Rick Howe, 2018 Jul
|
matchaddpos() gets slow with many matches. Proposal by Rick Howe, 2018 Jul
|
||||||
19.
|
19.
|
||||||
|
|
||||||
|
Patch to specify color for cterm=underline and cterm=undercurl, like "guisp".
|
||||||
|
Does #2405 do this?
|
||||||
|
|
||||||
|
Patch to add an interrupt() function: sets got_int. Useful in an autocommand
|
||||||
|
such as BufWritePre that checks the file name or contents.
|
||||||
|
|
||||||
|
Should make 'listchars' global-local. Local to window or to buffer?
|
||||||
|
Probably window.
|
||||||
|
Add something like 'fillchars' local to window, but allow for specifying a
|
||||||
|
highlight name. Esp. for the statusline.
|
||||||
|
|
||||||
Sourceforge Vim pages still have content, redirect from empty page.
|
Sourceforge Vim pages still have content, redirect from empty page.
|
||||||
Check for PHP errors. (Wayne Davison, 2018 Oct 26)
|
Check for PHP errors. (Wayne Davison, 2018 Oct 26)
|
||||||
|
|
||||||
@@ -335,6 +433,9 @@ Further xdiff changes:
|
|||||||
|
|
||||||
Difference between two regexp engines: #3373
|
Difference between two regexp engines: #3373
|
||||||
|
|
||||||
|
Patch to properly break CJK lines: #3875
|
||||||
|
Requires more tests. dbcs_ functions are not implemented.
|
||||||
|
|
||||||
Patch to add ch_listen() (Yasuhiro Matsumoto, 2018 Nov 26, #3639)
|
Patch to add ch_listen() (Yasuhiro Matsumoto, 2018 Nov 26, #3639)
|
||||||
What is the practical use for this?
|
What is the practical use for this?
|
||||||
|
|
||||||
@@ -351,6 +452,11 @@ Better name?
|
|||||||
MS-Windows: .lnk file not resolved properly when 'encoding' is set.
|
MS-Windows: .lnk file not resolved properly when 'encoding' is set.
|
||||||
(lkintact, 2018 Sep 22, #3473)
|
(lkintact, 2018 Sep 22, #3473)
|
||||||
|
|
||||||
|
Merge checking for 'cursorline' and 'concealcursor', see neovim #9492.
|
||||||
|
|
||||||
|
Win32 key codes are messy. Mike Williams tried to fix that, but now old
|
||||||
|
mappings no longer work. Create a new terminal for the better solution?
|
||||||
|
|
||||||
Script generated by :mksession does not work well if there are windows with
|
Script generated by :mksession does not work well if there are windows with
|
||||||
modified buffers
|
modified buffers
|
||||||
change "silent only" into "silent only!"
|
change "silent only" into "silent only!"
|
||||||
@@ -377,24 +483,13 @@ Lemonboy can reproduce (2017 Jun 5)
|
|||||||
Also reproduced by Benjamin Doherty, 2018 Oct 4.
|
Also reproduced by Benjamin Doherty, 2018 Oct 4.
|
||||||
Simpler way: Ken Takata, Oct 6.
|
Simpler way: Ken Takata, Oct 6.
|
||||||
|
|
||||||
Height of quickfix window is not retained with vertical splits. (Lifepillar,
|
Add more testing of the GTK GUI.
|
||||||
2018 Aug 24, #2998)
|
- gtk_test_widget_click() can be used to simulate a click in a widget.
|
||||||
|
|
||||||
Window size is wrong when using quickfix window. (Lifepillar, 2018 Aug 24,
|
|
||||||
#2999)
|
|
||||||
|
|
||||||
Tests failing for "make testgui" with GTK:
|
Tests failing for "make testgui" with GTK:
|
||||||
- Test_setbufvar_options()
|
- Test_setbufvar_options()
|
||||||
- Test_exit_callback_interval()
|
- Test_exit_callback_interval()
|
||||||
|
|
||||||
When using CTRL-W CR in the quickfix window, the jumplist in the opened window
|
|
||||||
is cleared, to avoid going back to the list of errors buffer (would have two
|
|
||||||
windows with it). Can we just remove the jump list entries for the quickfix
|
|
||||||
buffer?
|
|
||||||
|
|
||||||
Patch to fix that executable() may fail on very long filename in MS-Windows.
|
|
||||||
(Ken Takata, 2016 Feb 1, update 2018 Oct 7)
|
|
||||||
|
|
||||||
Patch to be able to use hex numbers with :digraph. (Lcd, 2015 Sep 6)
|
Patch to be able to use hex numbers with :digraph. (Lcd, 2015 Sep 6)
|
||||||
Update Sep 7. Update by Christian Brabandt, 2015 Sep 8, 2016 Feb 1.
|
Update Sep 7. Update by Christian Brabandt, 2015 Sep 8, 2016 Feb 1.
|
||||||
Patch to be able to disable default digraphs (incomplete) (Eric Pruitt, 2018
|
Patch to be able to disable default digraphs (incomplete) (Eric Pruitt, 2018
|
||||||
@@ -424,8 +519,6 @@ behave strangely, as if there is a gap and a vertical window separator.
|
|||||||
Make {skip} argument of searchpair() consistent with other places where we
|
Make {skip} argument of searchpair() consistent with other places where we
|
||||||
pass an expression to evaluate. Allow passing zero for "never skip".
|
pass an expression to evaluate. Allow passing zero for "never skip".
|
||||||
|
|
||||||
The 'scrolloff' option is global, make it global-local. #3195
|
|
||||||
|
|
||||||
Add an option similar to 'lazyredraw' to skip redrawing while executing a
|
Add an option similar to 'lazyredraw' to skip redrawing while executing a
|
||||||
script or function.
|
script or function.
|
||||||
|
|
||||||
@@ -452,9 +545,6 @@ missing: --nofork, -A , -b, -h, etc.
|
|||||||
":au * * command" should not be allowed, only use * for event when listing or
|
":au * * command" should not be allowed, only use * for event when listing or
|
||||||
deleting autocmds, not when adding them.
|
deleting autocmds, not when adding them.
|
||||||
|
|
||||||
Quickfix window height is not kept with a vertical split. (Lifepillar, 2018
|
|
||||||
Jun 10, #2998)
|
|
||||||
|
|
||||||
Alternative manpager.vim. (Enno, 2018 Jan 5, #2529)
|
Alternative manpager.vim. (Enno, 2018 Jan 5, #2529)
|
||||||
|
|
||||||
Delete all the specific stuff for the Borland compiler? (#3374)
|
Delete all the specific stuff for the Borland compiler? (#3374)
|
||||||
@@ -806,9 +896,6 @@ When session file has name in argument list but the buffer was deleted, the
|
|||||||
buffer is not deleted when using the session file. (#1393)
|
buffer is not deleted when using the session file. (#1393)
|
||||||
Should add the buffer in hidden state.
|
Should add the buffer in hidden state.
|
||||||
|
|
||||||
When an item in the quickfix list has a file name that does not exist, behave
|
|
||||||
like the item was not a match for :cnext.
|
|
||||||
|
|
||||||
Wrong diff highlighting with three files. (2016 Oct 20, #1186)
|
Wrong diff highlighting with three files. (2016 Oct 20, #1186)
|
||||||
Also get E749 on exit.
|
Also get E749 on exit.
|
||||||
Another example in #1309
|
Another example in #1309
|
||||||
@@ -857,10 +944,6 @@ Implement optional arguments for functions.
|
|||||||
call Foo(12, all = 0)
|
call Foo(12, all = 0)
|
||||||
call Foo(12, 15, 0)
|
call Foo(12, 15, 0)
|
||||||
|
|
||||||
Change the Farsi code to work with UTF-8. Possibly combined with the Arabic
|
|
||||||
support, or similar.
|
|
||||||
Invalid read error in Farsi mode. (Dominique Pelle, 2009 Aug 2)
|
|
||||||
|
|
||||||
Add a command to take a range of lines, filter them and put the output
|
Add a command to take a range of lines, filter them and put the output
|
||||||
somewhere else. :{range}copy {dest} !cmd
|
somewhere else. :{range}copy {dest} !cmd
|
||||||
|
|
||||||
@@ -918,10 +1001,6 @@ Apr 23, #1653)
|
|||||||
Window resizing with 'winfixheight': With a vertical split the height changes
|
Window resizing with 'winfixheight': With a vertical split the height changes
|
||||||
anyway. (Tommy allen, 2017 Feb 21, #1502)
|
anyway. (Tommy allen, 2017 Feb 21, #1502)
|
||||||
|
|
||||||
When adding an item to a new quickfix list make ":cnext" jump to that item.
|
|
||||||
Make a difference being at the first item and not having used :cnext at all.
|
|
||||||
(Afanasiy Fet, 2017 Jan 3)
|
|
||||||
|
|
||||||
Invalid behavior with NULL list. (Nikolai Pavlov, #768)
|
Invalid behavior with NULL list. (Nikolai Pavlov, #768)
|
||||||
E.g. deepcopy(test_null_list())
|
E.g. deepcopy(test_null_list())
|
||||||
|
|
||||||
@@ -979,6 +1058,10 @@ sort() is not stable when using numeric/float sort (Nikolay Pavlov, 2016 Sep
|
|||||||
Although user could use "xterm -e 'cmd arg'".
|
Although user could use "xterm -e 'cmd arg'".
|
||||||
|
|
||||||
Regexp problems:
|
Regexp problems:
|
||||||
|
- NFA engine can be slow for some patterns. Dominique found out that most
|
||||||
|
time is spent in addstate_here() copying the threads. Instead of copying,
|
||||||
|
let each thread point to the next one (by offset, the list is reallocated).
|
||||||
|
(Dominique Pelle, 2019 Feb 18)
|
||||||
- When search pattern has the base character both with and without combining
|
- When search pattern has the base character both with and without combining
|
||||||
character, search fails. E.g. "รรีบ" in "การรีบรักใคร". (agguser, #2312)
|
character, search fails. E.g. "รรีบ" in "การรีบรักใคร". (agguser, #2312)
|
||||||
- [:space:] only matches ASCII spaces. Add [:white:] for all space-like
|
- [:space:] only matches ASCII spaces. Add [:white:] for all space-like
|
||||||
@@ -1040,9 +1123,6 @@ Add an argument to choose binary or non-binary (like readfile()), when omitted
|
|||||||
use the current behavior.
|
use the current behavior.
|
||||||
Include the test.
|
Include the test.
|
||||||
|
|
||||||
Patch to add tagfunc(). Cleaned up by Christian Brabandt, 2013 Jun 22.
|
|
||||||
New update 2017 Apr 10, #1628
|
|
||||||
|
|
||||||
When 'keywordprg' starts with ":" the argument is still escaped as a shell
|
When 'keywordprg' starts with ":" the argument is still escaped as a shell
|
||||||
command argument. (Romain Lafourcade, 2016 Oct 16, #1175)
|
command argument. (Romain Lafourcade, 2016 Oct 16, #1175)
|
||||||
|
|
||||||
@@ -1111,9 +1191,6 @@ Have a way to get the call stack, in a function and from an exception.
|
|||||||
Second problem in #966: ins_compl_add_tv() uses get_dict_string() multiple
|
Second problem in #966: ins_compl_add_tv() uses get_dict_string() multiple
|
||||||
times, overwrites the one buffer. (Nikolay Pavlov, 2016 Aug 5)
|
times, overwrites the one buffer. (Nikolay Pavlov, 2016 Aug 5)
|
||||||
|
|
||||||
This does not work: :set cscopequickfix=a-
|
|
||||||
(Linewi, 2015 Jul 12, #914)
|
|
||||||
|
|
||||||
Possibly wrong value for seq_cur. (Florent Fayolle, 2016 May 15, #806)
|
Possibly wrong value for seq_cur. (Florent Fayolle, 2016 May 15, #806)
|
||||||
|
|
||||||
Filetype plugin for awk. (Doug Kearns, 2016 Sep 5)
|
Filetype plugin for awk. (Doug Kearns, 2016 Sep 5)
|
||||||
@@ -2114,12 +2191,6 @@ to avoid changing 'eventignore'?
|
|||||||
Patch for displaying 0x200c and 0x200d. (Ali Gholami Rudi, 2009 May 6)
|
Patch for displaying 0x200c and 0x200d. (Ali Gholami Rudi, 2009 May 6)
|
||||||
Probably needs a bit of work.
|
Probably needs a bit of work.
|
||||||
|
|
||||||
Patch to add farsi handling to arabic.c (Ali Gholami Rudi, 2009 May 2)
|
|
||||||
Added test, updates, June 23.
|
|
||||||
Updated for 7.4: http://litcave.rudi.ir/farsi_vim.diff
|
|
||||||
With modification for Tatweel character: https://dpaste.de/VmFw
|
|
||||||
Remark from Ameretat Reith (2014 Oct 13)
|
|
||||||
|
|
||||||
List of encoding aliases. (Takao Fujiwara, 2009 Jul 18)
|
List of encoding aliases. (Takao Fujiwara, 2009 Jul 18)
|
||||||
Are they all OK? Update Jul 22.
|
Are they all OK? Update Jul 22.
|
||||||
|
|
||||||
@@ -2520,8 +2591,6 @@ Autoconf problem: when checking for iconv library we may add -L/usr/local/lib,
|
|||||||
but when compiling further tests -liconv is added without the -L argument,
|
but when compiling further tests -liconv is added without the -L argument,
|
||||||
that may fail (e.g., sizeof(int)). (Blaine, 2007 Aug 21)
|
that may fail (e.g., sizeof(int)). (Blaine, 2007 Aug 21)
|
||||||
|
|
||||||
When opening quickfix window, disable spell checking?
|
|
||||||
|
|
||||||
Problem with ".add" files when using two languages and restarting Vim. (Raul
|
Problem with ".add" files when using two languages and restarting Vim. (Raul
|
||||||
Coronado, 2008 Oct 30)
|
Coronado, 2008 Oct 30)
|
||||||
|
|
||||||
@@ -2584,7 +2653,7 @@ Windows installer: licence text should not use indent, causes bad word wrap.
|
|||||||
Dos uninstal may delete vim.bat from the wrong directory (e.g., when someone
|
Dos uninstal may delete vim.bat from the wrong directory (e.g., when someone
|
||||||
makes his own wrapper). Add a magic string with the version number to the
|
makes his own wrapper). Add a magic string with the version number to the
|
||||||
.bat file and check for it in the uninstaller. E.g.
|
.bat file and check for it in the uninstaller. E.g.
|
||||||
# uninstall key: vim7.3*
|
# uninstall key: vim8.1*
|
||||||
|
|
||||||
Changes for Win32 makefile. (Mike Williams, 2007 Jan 22, Alexei Alexandrov,
|
Changes for Win32 makefile. (Mike Williams, 2007 Jan 22, Alexei Alexandrov,
|
||||||
2007 Feb 8)
|
2007 Feb 8)
|
||||||
@@ -2865,9 +2934,6 @@ Small problem displaying diff filler line when opening windows with a script.
|
|||||||
Is it allowed that 'backupext' is empty? Problems when backup is in same dir
|
Is it allowed that 'backupext' is empty? Problems when backup is in same dir
|
||||||
as original file? If it's OK don't compare with 'patchmode'. (Thierry Closen)
|
as original file? If it's OK don't compare with 'patchmode'. (Thierry Closen)
|
||||||
|
|
||||||
Patch for supporting count before CR in quickfix window. (AOYAMA Shotaro, 2007
|
|
||||||
Jan 1)
|
|
||||||
|
|
||||||
Patch for adding ":lscscope". (Navdeep Parhar, 2007 Apr 26; update 2008 Apr
|
Patch for adding ":lscscope". (Navdeep Parhar, 2007 Apr 26; update 2008 Apr
|
||||||
23)
|
23)
|
||||||
|
|
||||||
@@ -3020,8 +3086,6 @@ Awaiting updated patches:
|
|||||||
+ 1", but that's ugly.
|
+ 1", but that's ugly.
|
||||||
7 Add patch from Benoit Cerrina to integrate Vim and Perl functions
|
7 Add patch from Benoit Cerrina to integrate Vim and Perl functions
|
||||||
better. Now also works for Ruby (2001 Nov 10)
|
better. Now also works for Ruby (2001 Nov 10)
|
||||||
- Patch from Herculano de Lima Einloft Neto for better formatting of the
|
|
||||||
quickfix window (2004 dec 2)
|
|
||||||
7 When 'rightleft' is set, the search pattern should be displayed right
|
7 When 'rightleft' is set, the search pattern should be displayed right
|
||||||
to left as well? See patch of Dec 26. (Nadim Shaikli)
|
to left as well? See patch of Dec 26. (Nadim Shaikli)
|
||||||
8 Option to lock all used memory so that it doesn't get swapped to disk
|
8 Option to lock all used memory so that it doesn't get swapped to disk
|
||||||
@@ -3039,6 +3103,35 @@ Awaiting updated patches:
|
|||||||
and GTK by degreneir (nov 10 and nov 18).
|
and GTK by degreneir (nov 10 and nov 18).
|
||||||
- Patch for "paranoid mode" by Kevin Collins, March 7. Needs much more work.
|
- Patch for "paranoid mode" by Kevin Collins, March 7. Needs much more work.
|
||||||
|
|
||||||
|
Quickfix/Location List:
|
||||||
|
- Window size is wrong when using quickfix window. (Lifepillar, 2018 Aug 24,
|
||||||
|
#2999)
|
||||||
|
- When using CTRL-W CR in the quickfix window, the jumplist in the opened
|
||||||
|
window is cleared, to avoid going back to the list of errors buffer (would
|
||||||
|
have two windows with it). Can we just remove the jump list entries for
|
||||||
|
the quickfix buffer?
|
||||||
|
- Quickfix window height is not kept with a vertical split. (Lifepillar,
|
||||||
|
2018 Jun 10, #2998)
|
||||||
|
- When an item in the quickfix list has a file name that does not exist,
|
||||||
|
behave like the item was not a match for :cnext.
|
||||||
|
- When adding an item to a new quickfix list make ":cnext" jump to that
|
||||||
|
item. Make a difference being at the first item and not having used
|
||||||
|
:cnext at all. (Afanasiy Fet, 2017 Jan 3)
|
||||||
|
- This does not work: :set cscopequickfix=a-
|
||||||
|
(Linewi, 2015 Jul 12, #914)
|
||||||
|
- When opening quickfix window, disable spell checking?
|
||||||
|
- Patch for supporting count before CR in quickfix window. (AOYAMA Shotaro,
|
||||||
|
2007 Jan 1)
|
||||||
|
- Patch from Herculano de Lima Einloft Neto for better formatting of the
|
||||||
|
quickfix window (2004 dec 2)
|
||||||
|
- Amiga: When using quickfix with the Manx compiler we only get the first 25
|
||||||
|
errors. How do we get the rest?
|
||||||
|
8 The quickfix file is read without conversion, thus in 'encoding'. Add an
|
||||||
|
option to specify the encoding of the errorfile and convert it. Also for
|
||||||
|
":grep" and ":helpgrep".
|
||||||
|
More generic solution: support a filter (e.g., by calling a function).
|
||||||
|
7 Add a command that goes back to the position from before jumping to the
|
||||||
|
first quickfix location. ":cbefore"?
|
||||||
|
|
||||||
Vi incompatibility:
|
Vi incompatibility:
|
||||||
- Try new POSIX tests, made after my comments. (Geoff Clare, 2005 April 7)
|
- Try new POSIX tests, made after my comments. (Geoff Clare, 2005 April 7)
|
||||||
@@ -3126,8 +3219,6 @@ Win32 GUI known bugs:
|
|||||||
8 The -P argument doesn't work very well with many MDI applications.
|
8 The -P argument doesn't work very well with many MDI applications.
|
||||||
The last argument of CreateWindowEx() should be used, see MSDN docs.
|
The last argument of CreateWindowEx() should be used, see MSDN docs.
|
||||||
Tutorial: http://win32assembly.online.fr/tut32.html
|
Tutorial: http://win32assembly.online.fr/tut32.html
|
||||||
8 In eval.c, io.h is included when MSWIN32 is defined. Shouldn't this be
|
|
||||||
WIN32? Or can including io.h be moved to vim.h? (Dan Sharp)
|
|
||||||
6 Win32 GUI: With "-u NONE -U NONE" and doing "CTRL-W v" "CTRL-W o", the ":"
|
6 Win32 GUI: With "-u NONE -U NONE" and doing "CTRL-W v" "CTRL-W o", the ":"
|
||||||
of ":only" is highlighted like the cursor. (Lipelis)
|
of ":only" is highlighted like the cursor. (Lipelis)
|
||||||
8 When 'encoding' is "utf-8", should use 'guifont' for both normal and wide
|
8 When 'encoding' is "utf-8", should use 'guifont' for both normal and wide
|
||||||
@@ -3683,8 +3774,6 @@ Problems that will (probably) not be solved:
|
|||||||
- In zsh, "gvim&" changes the terminal settings. This is a zsh problem.
|
- In zsh, "gvim&" changes the terminal settings. This is a zsh problem.
|
||||||
(Jennings)
|
(Jennings)
|
||||||
- Problem with HPterm under X: old contents of window is lost (Cosentino).
|
- Problem with HPterm under X: old contents of window is lost (Cosentino).
|
||||||
- Amiga: When using quickfix with the Manx compiler we only get the first 25
|
|
||||||
errors. How do we get the rest?
|
|
||||||
- Amiga: The ":cq" command does not always abort the Manx compiler. Why?
|
- Amiga: The ":cq" command does not always abort the Manx compiler. Why?
|
||||||
- Linux: A file with protection r--rw-rw- is seen readonly for others. The
|
- Linux: A file with protection r--rw-rw- is seen readonly for others. The
|
||||||
access() function in GNU libc is probably wrong.
|
access() function in GNU libc is probably wrong.
|
||||||
@@ -4017,10 +4106,6 @@ Multi-byte characters:
|
|||||||
8 Add an item in 'fileencodings' to check the first line of an XML file for
|
8 Add an item in 'fileencodings' to check the first line of an XML file for
|
||||||
the encoding. <?xml version="1.0" encoding="UTF-8"?> Or "charset=UTF-8"?
|
the encoding. <?xml version="1.0" encoding="UTF-8"?> Or "charset=UTF-8"?
|
||||||
For HTML look for "charset=utf-8".
|
For HTML look for "charset=utf-8".
|
||||||
8 The quickfix file is read without conversion, thus in 'encoding'. Add an
|
|
||||||
option to specify the encoding of the errorfile and convert it. Also for
|
|
||||||
":grep" and ":helpgrep".
|
|
||||||
More generic solution: support a filter (e.g., by calling a function).
|
|
||||||
8 When a file was converted from 'fileencoding' to 'encoding', a tag search
|
8 When a file was converted from 'fileencoding' to 'encoding', a tag search
|
||||||
should also do this on the search pattern. (Andrzej M. Ostruszka)
|
should also do this on the search pattern. (Andrzej M. Ostruszka)
|
||||||
8 When filtering changes the encoding 'fileencoding' may not work. E.g.,
|
8 When filtering changes the encoding 'fileencoding' may not work. E.g.,
|
||||||
@@ -5828,8 +5913,6 @@ Various improvements:
|
|||||||
from the 'makeprg'?
|
from the 'makeprg'?
|
||||||
- Add %b to 'errorformat': buffer number. (Yegappan Lakshmanan / Suresh
|
- Add %b to 'errorformat': buffer number. (Yegappan Lakshmanan / Suresh
|
||||||
Govindachar)
|
Govindachar)
|
||||||
7 Add a command that goes back to the position from before jumping to the
|
|
||||||
first quickfix location. ":cbefore"?
|
|
||||||
7 Allow a window not to have a statusline. Makes it possible to use a
|
7 Allow a window not to have a statusline. Makes it possible to use a
|
||||||
window as a buffer-tab selection.
|
window as a buffer-tab selection.
|
||||||
8 Allow non-active windows to have a different statusline. (Yakov Lerner)
|
8 Allow non-active windows to have a different statusline. (Yakov Lerner)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*usr_05.txt* For Vim version 8.1. Last change: 2018 Feb 20
|
*usr_05.txt* For Vim version 8.1. Last change: 2019 Feb 27
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -11,12 +11,13 @@ Vim's capabilities. Or define your own macros.
|
|||||||
|
|
||||||
|05.1| The vimrc file
|
|05.1| The vimrc file
|
||||||
|05.2| The example vimrc file explained
|
|05.2| The example vimrc file explained
|
||||||
|05.3| Simple mappings
|
|05.3| The defaults.vim file explained
|
||||||
|05.4| Adding a package
|
|05.4| Simple mappings
|
||||||
|05.5| Adding a plugin
|
|05.5| Adding a package
|
||||||
|05.6| Adding a help file
|
|05.6| Adding a plugin
|
||||||
|05.7| The option window
|
|05.7| Adding a help file
|
||||||
|05.8| Often used options
|
|05.8| The option window
|
||||||
|
|05.9| Often used options
|
||||||
|
|
||||||
Next chapter: |usr_06.txt| Using syntax highlighting
|
Next chapter: |usr_06.txt| Using syntax highlighting
|
||||||
Previous chapter: |usr_04.txt| Making small changes
|
Previous chapter: |usr_04.txt| Making small changes
|
||||||
@@ -81,6 +82,95 @@ In this section we will explain the various commands used in this file. This
|
|||||||
will give you hints about how to set up your own preferences. Not everything
|
will give you hints about how to set up your own preferences. Not everything
|
||||||
will be explained though. Use the ":help" command to find out more.
|
will be explained though. Use the ":help" command to find out more.
|
||||||
|
|
||||||
|
>
|
||||||
|
" Get the defaults that most users want.
|
||||||
|
source $VIMRUNTIME/defaults.vim
|
||||||
|
|
||||||
|
This loads the "defaults.vim" file in the $VIMRUNTIME directory. This sets up
|
||||||
|
Vim for how most users like it. If you are one of the few that don't, then
|
||||||
|
comment out this line. The commands are explained below:
|
||||||
|
|defaults.vim-explained|
|
||||||
|
|
||||||
|
>
|
||||||
|
if has("vms")
|
||||||
|
set nobackup
|
||||||
|
else
|
||||||
|
set backup
|
||||||
|
if has('persistent_undo')
|
||||||
|
set undofile
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
This tells Vim to keep a backup copy of a file when overwriting it. But not
|
||||||
|
on the VMS system, since it keeps old versions of files already. The backup
|
||||||
|
file will have the same name as the original file with "~" added. See |07.4|
|
||||||
|
|
||||||
|
This also sets the 'undofile' option, if available. This will store the
|
||||||
|
multi-level undo information in a file. The result is that when you change a
|
||||||
|
file, exit Vim, and then edit the file again, you can undo the changes made
|
||||||
|
previously. It's a very powerful and useful feature, at the cost of storing a
|
||||||
|
file. For more information see |undo-persistence|.
|
||||||
|
|
||||||
|
The "if" command is very useful to set options
|
||||||
|
only when some condition is met. More about that in |usr_41.txt|.
|
||||||
|
|
||||||
|
>
|
||||||
|
if &t_Co > 2 || has("gui_running")
|
||||||
|
set hlsearch
|
||||||
|
endif
|
||||||
|
|
||||||
|
This switches on the 'hlsearch' option, telling Vim to highlight matches with
|
||||||
|
the last used search pattern.
|
||||||
|
|
||||||
|
>
|
||||||
|
augroup vimrcEx
|
||||||
|
au!
|
||||||
|
autocmd FileType text setlocal textwidth=78
|
||||||
|
augroup END
|
||||||
|
|
||||||
|
This makes Vim break text to avoid lines getting longer than 78 characters.
|
||||||
|
But only for files that have been detected to be plain text. There are
|
||||||
|
actually two parts here. "autocmd FileType text" is an autocommand. This
|
||||||
|
defines that when the file type is set to "text" the following command is
|
||||||
|
automatically executed. "setlocal textwidth=78" sets the 'textwidth' option
|
||||||
|
to 78, but only locally in one file.
|
||||||
|
|
||||||
|
The wrapper with "augroup vimrcEx" and "augroup END" makes it possible to
|
||||||
|
delete the autocommand with the "au!" command. See |:augroup|.
|
||||||
|
|
||||||
|
>
|
||||||
|
if has('syntax') && has('eval')
|
||||||
|
packadd! matchit
|
||||||
|
endif
|
||||||
|
|
||||||
|
This loads the "matchit" plugin if the required features are available.
|
||||||
|
It makes the |%| command more powerful. This is explained at
|
||||||
|
|matchit-install|.
|
||||||
|
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
*05.3* The defaults.vim file explained *defaults.vim-explained*
|
||||||
|
|
||||||
|
The |defaults.vim| file is loaded when the user has no vimrc file. When you
|
||||||
|
create a new vimrc file, add this line near the top to keep using it: >
|
||||||
|
|
||||||
|
source $VIMRUNTIME/defaults.vim
|
||||||
|
|
||||||
|
Or use the vimrc_example.vim file, as explained above.
|
||||||
|
|
||||||
|
The following explains what defaults.vim is doing.
|
||||||
|
|
||||||
|
>
|
||||||
|
if exists('skip_defaults_vim')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
Loading defaults.vim can be disabled with this command: >
|
||||||
|
let skip_defaults_vim = 1
|
||||||
|
This has to be done in the system vimrc file. See |system-vimrc|. If you
|
||||||
|
have a user vimrc this is not needed, since defaults.vim will not be loaded
|
||||||
|
automatically.
|
||||||
|
|
||||||
>
|
>
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
|
||||||
@@ -94,38 +184,19 @@ option off, thus 'nocompatible' takes care of this.
|
|||||||
This specifies where in Insert mode the <BS> is allowed to delete the
|
This specifies where in Insert mode the <BS> is allowed to delete the
|
||||||
character in front of the cursor. The three items, separated by commas, tell
|
character in front of the cursor. The three items, separated by commas, tell
|
||||||
Vim to delete the white space at the start of the line, a line break and the
|
Vim to delete the white space at the start of the line, a line break and the
|
||||||
character before where Insert mode started.
|
character before where Insert mode started. See 'backspace'.
|
||||||
|
|
||||||
>
|
>
|
||||||
|
set history=200
|
||||||
|
|
||||||
set autoindent
|
Keep 200 commands and 200 search patterns in the history. Use another number
|
||||||
|
if you want to remember fewer or more lines. See 'history'.
|
||||||
|
|
||||||
This makes Vim use the indent of the previous line for a newly created line.
|
|
||||||
Thus there is the same amount of white space before the new line. For example
|
|
||||||
when pressing <Enter> in Insert mode, and when using the "o" command to open a
|
|
||||||
new line.
|
|
||||||
>
|
>
|
||||||
|
|
||||||
if has("vms")
|
|
||||||
set nobackup
|
|
||||||
else
|
|
||||||
set backup
|
|
||||||
endif
|
|
||||||
|
|
||||||
This tells Vim to keep a backup copy of a file when overwriting it. But not
|
|
||||||
on the VMS system, since it keeps old versions of files already. The backup
|
|
||||||
file will have the same name as the original file with "~" added. See |07.4|
|
|
||||||
>
|
|
||||||
|
|
||||||
set history=50
|
|
||||||
|
|
||||||
Keep 50 commands and 50 search patterns in the history. Use another number if
|
|
||||||
you want to remember fewer or more lines.
|
|
||||||
>
|
|
||||||
|
|
||||||
set ruler
|
set ruler
|
||||||
|
|
||||||
Always display the current cursor position in the lower right corner of the
|
Always display the current cursor position in the lower right corner of the
|
||||||
Vim window.
|
Vim window. See 'ruler'.
|
||||||
|
|
||||||
>
|
>
|
||||||
set showcmd
|
set showcmd
|
||||||
@@ -144,10 +215,37 @@ the "2fw" command is executed and the displayed "2f" is removed.
|
|||||||
^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^
|
^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^
|
||||||
'showmode' 'showcmd' 'ruler'
|
'showmode' 'showcmd' 'ruler'
|
||||||
|
|
||||||
|
|
||||||
|
>
|
||||||
|
set wildmenu
|
||||||
|
|
||||||
|
Display completion matches in a status line. That is when you type <Tab> and
|
||||||
|
there is more than one match. See 'wildmenu'.
|
||||||
|
|
||||||
|
>
|
||||||
|
set ttimeout
|
||||||
|
set ttimeoutlen=100
|
||||||
|
|
||||||
|
This makes typing Esc take effect more quickly. Normally Vim waits a second
|
||||||
|
to see if the Esc is the start of an escape sequence. If you have a very slow
|
||||||
|
remote connection, increase the number. See 'ttimeout'.
|
||||||
|
|
||||||
|
>
|
||||||
|
set display=truncate
|
||||||
|
|
||||||
|
Show @@@ in the last line if it is truncated, instead of hiding the whole
|
||||||
|
like. See 'display'.
|
||||||
|
|
||||||
>
|
>
|
||||||
set incsearch
|
set incsearch
|
||||||
|
|
||||||
Display the match for a search pattern when halfway typing it.
|
Display the match for a search pattern when halfway typing it. See
|
||||||
|
'incsearch'.
|
||||||
|
|
||||||
|
>
|
||||||
|
set nrformats-=octal
|
||||||
|
|
||||||
|
Do not recognize numbers starting with a zero as octal. See 'nrformats'.
|
||||||
|
|
||||||
>
|
>
|
||||||
map Q gq
|
map Q gq
|
||||||
@@ -157,24 +255,31 @@ defines the "Q" command to do formatting with the "gq" operator. This is how
|
|||||||
it worked before Vim 5.0. Otherwise the "Q" command starts Ex mode, but you
|
it worked before Vim 5.0. Otherwise the "Q" command starts Ex mode, but you
|
||||||
will not need it.
|
will not need it.
|
||||||
|
|
||||||
|
>
|
||||||
|
inoremap <C-U> <C-G>u<C-U>
|
||||||
|
|
||||||
|
CTRL-U in insert mode deletes all entered text in the current line. Use
|
||||||
|
CTRL-G u to first break undo, so that you can undo CTRL-U after inserting a
|
||||||
|
line break. Revert with ":iunmap <C-U>".
|
||||||
|
|
||||||
|
>
|
||||||
|
if has('mouse')
|
||||||
|
set mouse=a
|
||||||
|
endif
|
||||||
|
|
||||||
|
Enable using the mouse if available. See 'mouse'.
|
||||||
|
|
||||||
>
|
>
|
||||||
vnoremap _g y:exe "grep /" . escape(@", '\\/') . "/ *.c *.h"<CR>
|
vnoremap _g y:exe "grep /" . escape(@", '\\/') . "/ *.c *.h"<CR>
|
||||||
|
|
||||||
This mapping yanks the visually selected text and searches for it in C files.
|
This mapping yanks the visually selected text and searches for it in C files.
|
||||||
This is a complicated mapping. You can see that mappings can be used to do
|
You can see that a mapping can be used to do quite complicated things. Still,
|
||||||
quite complicated things. Still, it is just a sequence of commands that are
|
it is just a sequence of commands that are executed like you typed them.
|
||||||
executed like you typed them.
|
|
||||||
|
|
||||||
>
|
>
|
||||||
if &t_Co > 2 || has("gui_running")
|
|
||||||
syntax on
|
syntax on
|
||||||
set hlsearch
|
|
||||||
endif
|
|
||||||
|
|
||||||
This switches on syntax highlighting, but only if colors are available. And
|
Enable highlighting files in color. See |syntax|.
|
||||||
the 'hlsearch' option tells Vim to highlight matches with the last used search
|
|
||||||
pattern. The "if" command is very useful to set options only when some
|
|
||||||
condition is met. More about that in |usr_41.txt|.
|
|
||||||
|
|
||||||
*vimrc-filetype* >
|
*vimrc-filetype* >
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
@@ -201,21 +306,12 @@ This switches on three very clever mechanisms:
|
|||||||
automatically. Vim comes with these indent rules for a number of
|
automatically. Vim comes with these indent rules for a number of
|
||||||
filetypes. See |:filetype-indent-on| and 'indentexpr'.
|
filetypes. See |:filetype-indent-on| and 'indentexpr'.
|
||||||
|
|
||||||
>
|
|
||||||
autocmd FileType text setlocal textwidth=78
|
|
||||||
|
|
||||||
This makes Vim break text to avoid lines getting longer than 78 characters.
|
*restore-cursor* *last-position-jump* >
|
||||||
But only for files that have been detected to be plain text. There are
|
|
||||||
actually two parts here. "autocmd FileType text" is an autocommand. This
|
|
||||||
defines that when the file type is set to "text" the following command is
|
|
||||||
automatically executed. "setlocal textwidth=78" sets the 'textwidth' option
|
|
||||||
to 78, but only locally in one file.
|
|
||||||
|
|
||||||
*restore-cursor* >
|
|
||||||
autocmd BufReadPost *
|
autocmd BufReadPost *
|
||||||
\ if line("'\"") > 1 && line("'\"") <= line("$") |
|
\ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit'
|
||||||
\ exe "normal! g`\"" |
|
\ | exe "normal! g`\""
|
||||||
\ endif
|
\ | endif
|
||||||
|
|
||||||
Another autocommand. This time it is used after reading any file. The
|
Another autocommand. This time it is used after reading any file. The
|
||||||
complicated stuff after it checks if the '" mark is defined, and jumps to it
|
complicated stuff after it checks if the '" mark is defined, and jumps to it
|
||||||
@@ -224,8 +320,22 @@ from the previous line. That avoids a line getting very long.
|
|||||||
See |line-continuation|. This only works in a Vim script file, not when
|
See |line-continuation|. This only works in a Vim script file, not when
|
||||||
typing commands at the command-line.
|
typing commands at the command-line.
|
||||||
|
|
||||||
|
>
|
||||||
|
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
|
||||||
|
\ | wincmd p | diffthis
|
||||||
|
|
||||||
|
This adds the ":DiffOrig" command. Use this in a modified buffer to see the
|
||||||
|
differences with the file it was loaded from. See |diff| and |:DiffOrig|.
|
||||||
|
|
||||||
|
>
|
||||||
|
set nolangremap
|
||||||
|
|
||||||
|
Prevent that the langmap option applies to characters that result from a
|
||||||
|
mapping. If set (default), this may break plugins (but it's backward
|
||||||
|
compatible). See 'langremap'.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
*05.3* Simple mappings
|
*05.4* Simple mappings
|
||||||
|
|
||||||
A mapping enables you to bind a set of Vim commands to a single key. Suppose,
|
A mapping enables you to bind a set of Vim commands to a single key. Suppose,
|
||||||
for example, that you need to surround certain words with curly braces. In
|
for example, that you need to surround certain words with curly braces. In
|
||||||
@@ -272,7 +382,7 @@ The ":map" command (with no arguments) lists your current mappings. At
|
|||||||
least the ones for Normal mode. More about mappings in section |40.1|.
|
least the ones for Normal mode. More about mappings in section |40.1|.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
*05.4* Adding a package *add-package* *matchit-install*
|
*05.5* Adding a package *add-package* *matchit-install*
|
||||||
|
|
||||||
A package is a set of files that you can add to Vim. There are two kinds of
|
A package is a set of files that you can add to Vim. There are two kinds of
|
||||||
packages: optional and automatically loaded on startup.
|
packages: optional and automatically loaded on startup.
|
||||||
@@ -310,7 +420,7 @@ an archive or as a repository. For an archive you can follow these steps:
|
|||||||
More information about packages can be found here: |packages|.
|
More information about packages can be found here: |packages|.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
*05.5* Adding a plugin *add-plugin* *plugin*
|
*05.6* Adding a plugin *add-plugin* *plugin*
|
||||||
|
|
||||||
Vim's functionality can be extended by adding plugins. A plugin is nothing
|
Vim's functionality can be extended by adding plugins. A plugin is nothing
|
||||||
more than a Vim script file that is loaded automatically when Vim starts. You
|
more than a Vim script file that is loaded automatically when Vim starts. You
|
||||||
@@ -462,7 +572,7 @@ Further reading:
|
|||||||
|new-filetype| How to detect a new file type.
|
|new-filetype| How to detect a new file type.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
*05.6* Adding a help file *add-local-help*
|
*05.7* Adding a help file *add-local-help*
|
||||||
|
|
||||||
If you are lucky, the plugin you installed also comes with a help file. We
|
If you are lucky, the plugin you installed also comes with a help file. We
|
||||||
will explain how to install the help file, so that you can easily find help
|
will explain how to install the help file, so that you can easily find help
|
||||||
@@ -507,7 +617,7 @@ them through the tag.
|
|||||||
For writing a local help file, see |write-local-help|.
|
For writing a local help file, see |write-local-help|.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
*05.7* The option window
|
*05.8* The option window
|
||||||
|
|
||||||
If you are looking for an option that does what you want, you can search in
|
If you are looking for an option that does what you want, you can search in
|
||||||
the help files here: |options|. Another way is by using this command: >
|
the help files here: |options|. Another way is by using this command: >
|
||||||
@@ -546,7 +656,7 @@ border. This is what the 'scrolloff' option does, it specifies an offset
|
|||||||
from the window border where scrolling starts.
|
from the window border where scrolling starts.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
*05.8* Often used options
|
*05.9* Often used options
|
||||||
|
|
||||||
There are an awful lot of options. Most of them you will hardly ever use.
|
There are an awful lot of options. Most of them you will hardly ever use.
|
||||||
Some of the more useful ones will be mentioned here. Don't forget you can
|
Some of the more useful ones will be mentioned here. Don't forget you can
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*usr_11.txt* For Vim version 8.1. Last change: 2018 Apr 13
|
*usr_11.txt* For Vim version 8.1. Last change: 2019 Feb 04
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -120,7 +120,7 @@ the resulting files if they are what you expected.
|
|||||||
USING A SPECIFIC SWAP FILE
|
USING A SPECIFIC SWAP FILE
|
||||||
|
|
||||||
If you know which swap file needs to be used, you can recover by giving the
|
If you know which swap file needs to be used, you can recover by giving the
|
||||||
swap file name. Vim will then finds out the name of the original file from
|
swap file name. Vim will then find out the name of the original file from
|
||||||
the swap file.
|
the swap file.
|
||||||
|
|
||||||
Example: >
|
Example: >
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*usr_41.txt* For Vim version 8.1. Last change: 2019 Jan 12
|
*usr_41.txt* For Vim version 8.1. Last change: 2019 Jan 29
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -771,7 +771,7 @@ System functions and manipulation of files:
|
|||||||
systemlist() get the result of a shell command as a list
|
systemlist() get the result of a shell command as a list
|
||||||
hostname() name of the system
|
hostname() name of the system
|
||||||
readfile() read a file into a List of lines
|
readfile() read a file into a List of lines
|
||||||
writefile() write a List of lines into a file
|
writefile() write a List of lines or Blob into a file
|
||||||
|
|
||||||
Date and Time: *date-functions* *time-functions*
|
Date and Time: *date-functions* *time-functions*
|
||||||
getftime() get last modification time of a file
|
getftime() get last modification time of a file
|
||||||
@@ -941,6 +941,7 @@ Testing: *test-functions*
|
|||||||
test_override() test with Vim internal overrides
|
test_override() test with Vim internal overrides
|
||||||
test_garbagecollect_now() free memory right now
|
test_garbagecollect_now() free memory right now
|
||||||
test_ignore_error() ignore a specific error message
|
test_ignore_error() ignore a specific error message
|
||||||
|
test_null_blob() return a null Blob
|
||||||
test_null_channel() return a null Channel
|
test_null_channel() return a null Channel
|
||||||
test_null_dict() return a null Dict
|
test_null_dict() return a null Dict
|
||||||
test_null_job() return a null Job
|
test_null_job() return a null Job
|
||||||
|
|||||||
@@ -153,12 +153,6 @@ language than the text.
|
|||||||
language, the default should work fine and you don't need to do anything. The
|
language, the default should work fine and you don't need to do anything. The
|
||||||
following is only relevant when you want to edit different languages.
|
following is only relevant when you want to edit different languages.
|
||||||
|
|
||||||
Note:
|
|
||||||
Using different encodings only works when Vim was compiled to handle
|
|
||||||
it. To find out if it works, use the ":version" command and check the
|
|
||||||
output for "+multi_byte". If it's there, you are OK. If you see
|
|
||||||
"-multi_byte" you will have to find another Vim.
|
|
||||||
|
|
||||||
|
|
||||||
USING UNICODE IN THE GUI
|
USING UNICODE IN THE GUI
|
||||||
|
|
||||||
|
|||||||
@@ -82,8 +82,7 @@ g8 Print the hex values of the bytes used in the
|
|||||||
value of 'maxcombine' doesn't matter.
|
value of 'maxcombine' doesn't matter.
|
||||||
Example of a character with two composing characters:
|
Example of a character with two composing characters:
|
||||||
e0 b8 81 + e0 b8 b9 + e0 b9 89 ~
|
e0 b8 81 + e0 b8 b9 + e0 b9 89 ~
|
||||||
{not in Vi} {only when compiled with the |+multi_byte|
|
{not in Vi}
|
||||||
feature}
|
|
||||||
|
|
||||||
*8g8*
|
*8g8*
|
||||||
8g8 Find an illegal UTF-8 byte sequence at or after the
|
8g8 Find an illegal UTF-8 byte sequence at or after the
|
||||||
@@ -98,8 +97,7 @@ g8 Print the hex values of the bytes used in the
|
|||||||
Note that when the cursor is on an illegal byte or the
|
Note that when the cursor is on an illegal byte or the
|
||||||
cursor is halfway a multi-byte character the command
|
cursor is halfway a multi-byte character the command
|
||||||
won't move the cursor.
|
won't move the cursor.
|
||||||
{not in Vi} {only when compiled with the |+multi_byte|
|
{not in Vi}
|
||||||
feature}
|
|
||||||
|
|
||||||
*:p* *:pr* *:print* *E749*
|
*:p* *:pr* *:print* *E749*
|
||||||
:[range]p[rint] [flags]
|
:[range]p[rint] [flags]
|
||||||
|
|||||||
@@ -2378,7 +2378,7 @@ Solution: Use the msgfmt command found by configure. (Danek Duvall)
|
|||||||
Files: src/config.mk.in, src/po/Makefile
|
Files: src/config.mk.in, src/po/Makefile
|
||||||
|
|
||||||
Patch 7.4.323
|
Patch 7.4.323
|
||||||
Problem: Substitute() with zero width pattern breaks multi-byte character.
|
Problem: substitute() with zero width pattern breaks multi-byte character.
|
||||||
Solution: Take multi-byte character size into account. (Yukihiro Nakadaira)
|
Solution: Take multi-byte character size into account. (Yukihiro Nakadaira)
|
||||||
Files: src/eval.c src/testdir/test69.in, src/testdir/test69.ok
|
Files: src/eval.c src/testdir/test69.in, src/testdir/test69.ok
|
||||||
|
|
||||||
@@ -20311,7 +20311,7 @@ Solution: Use R for a running job and F for a finished job.
|
|||||||
Files: src/buffer.c
|
Files: src/buffer.c
|
||||||
|
|
||||||
Patch 8.0.0936
|
Patch 8.0.0936
|
||||||
Problem: Mode() returns wrong value for a terminal window.
|
Problem: mode() returns wrong value for a terminal window.
|
||||||
Solution: Return 't' when typed keys go to a job.
|
Solution: Return 't' when typed keys go to a job.
|
||||||
Files: src/evalfunc.c, src/testdir/test_terminal.vim
|
Files: src/evalfunc.c, src/testdir/test_terminal.vim
|
||||||
|
|
||||||
@@ -20697,7 +20697,7 @@ Solution: Add type cast. (Mike Williams)
|
|||||||
Files: src/channel.c
|
Files: src/channel.c
|
||||||
|
|
||||||
Patch 8.0.1004
|
Patch 8.0.1004
|
||||||
Problem: Matchstrpos() without a match returns too many items.
|
Problem: matchstrpos() without a match returns too many items.
|
||||||
Solution: Also remove the second item when the position is beyond the end of
|
Solution: Also remove the second item when the position is beyond the end of
|
||||||
the string. (Hirohito Higashi) Use an enum for the type.
|
the string. (Hirohito Higashi) Use an enum for the type.
|
||||||
Files: src/evalfunc.c, src/testdir/test_match.vim
|
Files: src/evalfunc.c, src/testdir/test_match.vim
|
||||||
@@ -22544,7 +22544,7 @@ Files: src/ex_getln.c, src/proto/search.pro, src/search.c,
|
|||||||
src/testdir/test_search.vim
|
src/testdir/test_search.vim
|
||||||
|
|
||||||
Patch 8.0.1305
|
Patch 8.0.1305
|
||||||
Problem: Writefile() never calls fsync().
|
Problem: writefile() never calls fsync().
|
||||||
Solution: Follow the 'fsync' option with override to enable or disable.
|
Solution: Follow the 'fsync' option with override to enable or disable.
|
||||||
Files: src/fileio.c, src/evalfunc.c, runtime/doc/eval.txt, src/globals.h,
|
Files: src/fileio.c, src/evalfunc.c, runtime/doc/eval.txt, src/globals.h,
|
||||||
src/testdir/test_writefile.vim
|
src/testdir/test_writefile.vim
|
||||||
@@ -22732,7 +22732,7 @@ Solution: Take the winbar into account when computing the new window
|
|||||||
Files: src/vim.h, src/window.c
|
Files: src/vim.h, src/window.c
|
||||||
|
|
||||||
Patch 8.0.1335
|
Patch 8.0.1335
|
||||||
Problem: Writefile() using fsync() may give an error for a device.
|
Problem: writefile() using fsync() may give an error for a device.
|
||||||
(Yasuhiro Matsumoto)
|
(Yasuhiro Matsumoto)
|
||||||
Solution: Ignore fsync() failing. (closes #2373)
|
Solution: Ignore fsync() failing. (closes #2373)
|
||||||
Files: src/evalfunc.c
|
Files: src/evalfunc.c
|
||||||
@@ -23618,7 +23618,7 @@ Files: src/edit.c, src/testdir/test_ins_complete.vim,
|
|||||||
src/testdir/test_popup.vim, src/testdir/test_edit.vim
|
src/testdir/test_popup.vim, src/testdir/test_edit.vim
|
||||||
|
|
||||||
Patch 8.0.1483
|
Patch 8.0.1483
|
||||||
Problem: Searchpair() might return an invalid value on timeout.
|
Problem: searchpair() might return an invalid value on timeout.
|
||||||
Solution: When the second search times out, do not accept a match from the
|
Solution: When the second search times out, do not accept a match from the
|
||||||
first search. (Daniel Hahler, closes #2552)
|
first search. (Daniel Hahler, closes #2552)
|
||||||
Files: src/search.c
|
Files: src/search.c
|
||||||
@@ -23722,7 +23722,7 @@ Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/Makefile,
|
|||||||
src/testdir/Make_all.mak, src/testdir/test_jumplist.vim
|
src/testdir/Make_all.mak, src/testdir/test_jumplist.vim
|
||||||
|
|
||||||
Patch 8.0.1498 (after 8.0.1497)
|
Patch 8.0.1498 (after 8.0.1497)
|
||||||
Problem: Getjumplist() returns duplicate entries. (lacygoill)
|
Problem: getjumplist() returns duplicate entries. (lacygoill)
|
||||||
Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan)
|
Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan)
|
||||||
Files: src/evalfunc.c, src/mark.c, src/proto/mark.pro,
|
Files: src/evalfunc.c, src/mark.c, src/proto/mark.pro,
|
||||||
src/testdir/test_jumplist.vim
|
src/testdir/test_jumplist.vim
|
||||||
@@ -23842,7 +23842,7 @@ Solution: Restore emsg_silent before executing :try. (closes #2531)
|
|||||||
Files: src/ex_docmd.c, src/testdir/test_eval_stuff.vim
|
Files: src/ex_docmd.c, src/testdir/test_eval_stuff.vim
|
||||||
|
|
||||||
Patch 8.0.1519
|
Patch 8.0.1519
|
||||||
Problem: Getchangelist() does not use argument as bufname().
|
Problem: getchangelist() does not use argument as bufname().
|
||||||
Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes #2641)
|
Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes #2641)
|
||||||
Files: src/evalfunc.c, src/testdir/test_changelist.vim
|
Files: src/evalfunc.c, src/testdir/test_changelist.vim
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*visual.txt* For Vim version 8.1. Last change: 2019 Jan 11
|
*visual.txt* For Vim version 8.1. Last change: 2019 Feb 25
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -118,6 +118,8 @@ gn Search forward for the last used search pattern, like
|
|||||||
E.g., "dgn" deletes the text of the next match.
|
E.g., "dgn" deletes the text of the next match.
|
||||||
If Visual mode is active, extends the selection
|
If Visual mode is active, extends the selection
|
||||||
until the end of the next match.
|
until the end of the next match.
|
||||||
|
Note: Unlike `n` the search direction does not depend
|
||||||
|
on the previous search command.
|
||||||
|
|
||||||
*gN* *v_gN*
|
*gN* *v_gN*
|
||||||
gN Like |gn| but searches backward, like with `N`.
|
gN Like |gn| but searches backward, like with `N`.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*windows.txt* For Vim version 8.1. Last change: 2018 Apr 24
|
*windows.txt* For Vim version 8.1. Last change: 2019 Mar 17
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -842,6 +842,12 @@ CTRL-W gF *CTRL-W_gF*
|
|||||||
{not available when the |+file_in_path| feature was disabled
|
{not available when the |+file_in_path| feature was disabled
|
||||||
at compile time}
|
at compile time}
|
||||||
|
|
||||||
|
CTRL-W gt *CTRL-W_gt*
|
||||||
|
Go to next tab page, same as `gt`.
|
||||||
|
|
||||||
|
CTRL-W gT *CTRL-W_gT*
|
||||||
|
Go to previous tab page, same as `gT`.
|
||||||
|
|
||||||
Also see |CTRL-W_CTRL-I|: open window for an included file that includes
|
Also see |CTRL-W_CTRL-I|: open window for an included file that includes
|
||||||
the keyword under the cursor.
|
the keyword under the cursor.
|
||||||
|
|
||||||
|
|||||||
@@ -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: 2017 Sep 20
|
" Last Change: 2019 Jan 27
|
||||||
|
|
||||||
" Don't use Vi-compatible mode.
|
" Don't use Vi-compatible mode.
|
||||||
set nocompatible
|
set nocompatible
|
||||||
@@ -49,19 +49,14 @@ if &t_Co > 2 || has("gui_running")
|
|||||||
nohlsearch
|
nohlsearch
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Only do this part when compiled with support for autocommands.
|
" Enable file type detection.
|
||||||
if has("autocmd")
|
" Use the default filetype settings, so that mail gets 'tw' set to 72,
|
||||||
|
" 'cindent' is on in C files, etc.
|
||||||
|
" Also load indent files, to automatically do language-dependent indenting.
|
||||||
|
filetype plugin indent on
|
||||||
|
|
||||||
" Enable file type detection.
|
" For all text files set 'textwidth' to 78 characters.
|
||||||
" Use the default filetype settings, so that mail gets 'tw' set to 72,
|
au FileType text setlocal tw=78
|
||||||
" 'cindent' is on in C files, etc.
|
|
||||||
" Also load indent files, to automatically do language-dependent indenting.
|
|
||||||
filetype plugin indent on
|
|
||||||
|
|
||||||
" For all text files set 'textwidth' to 78 characters.
|
|
||||||
au FileType text setlocal tw=78
|
|
||||||
|
|
||||||
endif " has("autocmd")
|
|
||||||
|
|
||||||
" Add optional packages.
|
" Add optional packages.
|
||||||
"
|
"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim support file to detect file types
|
" Vim support file to detect file types
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2019 Jan 18
|
" Last Change: 2019 Feb 07
|
||||||
|
|
||||||
" Listen very carefully, I will say this only once
|
" Listen very carefully, I will say this only once
|
||||||
if exists("did_load_filetypes")
|
if exists("did_load_filetypes")
|
||||||
@@ -54,6 +54,9 @@ au BufNewFile,BufRead $VIMRUNTIME/doc/*.txt setf help
|
|||||||
" Abaqus or Trasys
|
" Abaqus or Trasys
|
||||||
au BufNewFile,BufRead *.inp call dist#ft#Check_inp()
|
au BufNewFile,BufRead *.inp call dist#ft#Check_inp()
|
||||||
|
|
||||||
|
" 8th (Firth-derivative)
|
||||||
|
au BufNewFile,BufRead *.8th setf 8th
|
||||||
|
|
||||||
" A-A-P recipe
|
" A-A-P recipe
|
||||||
au BufNewFile,BufRead *.aap setf aap
|
au BufNewFile,BufRead *.aap setf aap
|
||||||
|
|
||||||
@@ -97,6 +100,7 @@ au BufNewFile,BufRead proftpd.conf* call s:StarSetf('apachestyle')
|
|||||||
|
|
||||||
" Apache config file
|
" Apache config file
|
||||||
au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf setf apache
|
au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf setf apache
|
||||||
|
au BufNewFile,BufRead */etc/apache2/sites-*/*.com setf apache
|
||||||
|
|
||||||
" XA65 MOS6510 cross assembler
|
" XA65 MOS6510 cross assembler
|
||||||
au BufNewFile,BufRead *.a65 setf a65
|
au BufNewFile,BufRead *.a65 setf a65
|
||||||
|
|||||||
25
runtime/ftplugin/8th.vim
Normal file
25
runtime/ftplugin/8th.vim
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
" Vim ftplugin file
|
||||||
|
" Language: 8th
|
||||||
|
" Version: any
|
||||||
|
" Last Change: 2015/11/08
|
||||||
|
" Maintainer: Ron Aaron <ron@aaron-tech.com>
|
||||||
|
" URL: https://8th-dev.com/
|
||||||
|
" Filetypes: *.8th
|
||||||
|
" NOTE: 8th allows any non-whitespace in a name, so you need to do:
|
||||||
|
" setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
|
||||||
|
" This goes with the syntax/8th.vim file.
|
||||||
|
|
||||||
|
" Only do this when not done yet for this buffer
|
||||||
|
if exists("b:did_8thplugin")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Don't load another plugin for this buffer
|
||||||
|
let b:did_8thplugin = 1
|
||||||
|
|
||||||
|
setlocal ts=2 sts=2 sw=2 et
|
||||||
|
setlocal com=s1:/*,mb:*,ex:*/,:\|,:\\
|
||||||
|
setlocal fo=tcrqol
|
||||||
|
setlocal matchpairs+=\::;
|
||||||
|
setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
|
||||||
|
setlocal suffixesadd=.8th
|
||||||
@@ -30,7 +30,7 @@ setlocal formatoptions+=tcroql
|
|||||||
"
|
"
|
||||||
" More sophisticated indentation rules should be revisted in the future.
|
" More sophisticated indentation rules should be revisted in the future.
|
||||||
|
|
||||||
if !exists("g:rst_style") || g:rst_style != 0
|
if exists("g:rst_style") && g:rst_style != 0
|
||||||
setlocal expandtab shiftwidth=3 softtabstop=3 tabstop=8
|
setlocal expandtab shiftwidth=3 softtabstop=3 tabstop=8
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
" Language: Python
|
" Language: Python
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Original Author: David Bustos <bustos@caltech.edu>
|
" Original Author: David Bustos <bustos@caltech.edu>
|
||||||
" Last Change: 2013 Jul 9
|
" Last Change: 2019 Feb 21
|
||||||
|
|
||||||
" Only load this indent file when no other was loaded.
|
" Only load this indent file when no other was loaded.
|
||||||
if exists("b:did_indent")
|
if exists("b:did_indent")
|
||||||
@@ -53,7 +53,17 @@ function GetPythonIndent(lnum)
|
|||||||
return 0
|
return 0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" searchpair() can be slow sometimes, limit the time to 100 msec or what is
|
call cursor(plnum, 1)
|
||||||
|
|
||||||
|
" Identing inside parentheses can be very slow, regardless of the searchpair()
|
||||||
|
" timeout, so let the user disable this feature if he doesn't need it
|
||||||
|
let disable_parentheses_indenting = get(g:, "pyindent_disable_parentheses_indenting", 0)
|
||||||
|
|
||||||
|
if disable_parentheses_indenting == 1
|
||||||
|
let plindent = indent(plnum)
|
||||||
|
let plnumstart = plnum
|
||||||
|
else
|
||||||
|
" searchpair() can be slow sometimes, limit the time to 150 msec or what is
|
||||||
" put in g:pyindent_searchpair_timeout
|
" put in g:pyindent_searchpair_timeout
|
||||||
let searchpair_stopline = 0
|
let searchpair_stopline = 0
|
||||||
let searchpair_timeout = get(g:, 'pyindent_searchpair_timeout', 150)
|
let searchpair_timeout = get(g:, 'pyindent_searchpair_timeout', 150)
|
||||||
@@ -62,7 +72,6 @@ function GetPythonIndent(lnum)
|
|||||||
" line.
|
" line.
|
||||||
" Trick: use the non-existing "dummy" variable to break out of the loop when
|
" Trick: use the non-existing "dummy" variable to break out of the loop when
|
||||||
" going too far back.
|
" going too far back.
|
||||||
call cursor(plnum, 1)
|
|
||||||
let parlnum = searchpair('(\|{\|\[', '', ')\|}\|\]', 'nbW',
|
let parlnum = searchpair('(\|{\|\[', '', ')\|}\|\]', 'nbW',
|
||||||
\ "line('.') < " . (plnum - s:maxoff) . " ? dummy :"
|
\ "line('.') < " . (plnum - s:maxoff) . " ? dummy :"
|
||||||
\ . " synIDattr(synID(line('.'), col('.'), 1), 'name')"
|
\ . " synIDattr(synID(line('.'), col('.'), 1), 'name')"
|
||||||
@@ -76,7 +85,6 @@ function GetPythonIndent(lnum)
|
|||||||
let plnumstart = plnum
|
let plnumstart = plnum
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
" When inside parenthesis: If at the first line below the parenthesis add
|
" When inside parenthesis: If at the first line below the parenthesis add
|
||||||
" two 'shiftwidth', otherwise same as previous line.
|
" two 'shiftwidth', otherwise same as previous line.
|
||||||
" i = (a
|
" i = (a
|
||||||
@@ -107,6 +115,8 @@ function GetPythonIndent(lnum)
|
|||||||
return plindent
|
return plindent
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
" Get the line and remove a trailing comment.
|
" Get the line and remove a trailing comment.
|
||||||
" Use syntax highlighting attributes when possible.
|
" Use syntax highlighting attributes when possible.
|
||||||
|
|||||||
@@ -3,10 +3,11 @@
|
|||||||
" Maintainer: Christian Brabandt <cb@256bit.org>
|
" Maintainer: Christian Brabandt <cb@256bit.org>
|
||||||
" Original Author: Nikolai Weibull <now@bitwi.se>
|
" Original Author: Nikolai Weibull <now@bitwi.se>
|
||||||
" Previous Maintainer: Peter Aronoff <telemachus@arpinum.org>
|
" Previous Maintainer: Peter Aronoff <telemachus@arpinum.org>
|
||||||
" Latest Revision: 2018-03-26
|
" Latest Revision: 2019-02-02
|
||||||
" License: Vim (see :h license)
|
" License: Vim (see :h license)
|
||||||
" Repository: https://github.com/chrisbra/vim-sh-indent
|
" Repository: https://github.com/chrisbra/vim-sh-indent
|
||||||
" Changelog:
|
" Changelog:
|
||||||
|
" 20190201 - Better check for closing if sections
|
||||||
" 20180724 - make check for zsh syntax more rigid (needs word-boundaries)
|
" 20180724 - make check for zsh syntax more rigid (needs word-boundaries)
|
||||||
" 20180326 - better support for line continuation
|
" 20180326 - better support for line continuation
|
||||||
" 20180325 - better detection of function definitions
|
" 20180325 - better detection of function definitions
|
||||||
@@ -59,6 +60,7 @@ function! s:indent_value(option)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! GetShIndent()
|
function! GetShIndent()
|
||||||
|
let curline = getline(v:lnum)
|
||||||
let lnum = prevnonblank(v:lnum - 1)
|
let lnum = prevnonblank(v:lnum - 1)
|
||||||
if lnum == 0
|
if lnum == 0
|
||||||
return 0
|
return 0
|
||||||
@@ -72,7 +74,7 @@ function! GetShIndent()
|
|||||||
" Check contents of previous lines
|
" Check contents of previous lines
|
||||||
if line =~ '^\s*\%(if\|then\|do\|else\|elif\|case\|while\|until\|for\|select\|foreach\)\>' ||
|
if line =~ '^\s*\%(if\|then\|do\|else\|elif\|case\|while\|until\|for\|select\|foreach\)\>' ||
|
||||||
\ (&ft is# 'zsh' && line =~ '\<\%(if\|then\|do\|else\|elif\|case\|while\|until\|for\|select\|foreach\)\>')
|
\ (&ft is# 'zsh' && line =~ '\<\%(if\|then\|do\|else\|elif\|case\|while\|until\|for\|select\|foreach\)\>')
|
||||||
if line !~ '\<\%(fi\|esac\|done\|end\)\>\s*\%(#.*\)\=$'
|
if !s:is_end_expression(line)
|
||||||
let ind += s:indent_value('default')
|
let ind += s:indent_value('default')
|
||||||
endif
|
endif
|
||||||
elseif s:is_case_label(line, pnum)
|
elseif s:is_case_label(line, pnum)
|
||||||
@@ -90,7 +92,10 @@ function! GetShIndent()
|
|||||||
endif
|
endif
|
||||||
elseif s:end_block(line) && !s:start_block(line)
|
elseif s:end_block(line) && !s:start_block(line)
|
||||||
let ind -= s:indent_value('default')
|
let ind -= s:indent_value('default')
|
||||||
elseif pnum != 0 && s:is_continuation_line(pline) && !s:end_block(getline(v:lnum))
|
elseif pnum != 0 &&
|
||||||
|
\ s:is_continuation_line(pline) &&
|
||||||
|
\ !s:end_block(curline) &&
|
||||||
|
\ !s:is_end_expression(curline)
|
||||||
" only add indent, if line and pline is in the same block
|
" only add indent, if line and pline is in the same block
|
||||||
let i = v:lnum
|
let i = v:lnum
|
||||||
let ind2 = indent(s:find_continued_lnum(pnum))
|
let ind2 = indent(s:find_continued_lnum(pnum))
|
||||||
@@ -106,8 +111,15 @@ function! GetShIndent()
|
|||||||
|
|
||||||
let pine = line
|
let pine = line
|
||||||
" Check content of current line
|
" Check content of current line
|
||||||
let line = getline(v:lnum)
|
let line = curline
|
||||||
if line =~ '^\s*\%(then\|do\|else\|elif\|fi\|done\|end\)\>' || s:end_block(line)
|
" Current line is a endif line, so get indent from start of "if condition" line
|
||||||
|
" TODO: should we do the same for other "end" lines?
|
||||||
|
if curline =~ '^\s*\%(fi\)\s*\%(#.*\)\=$'
|
||||||
|
let previous_line = search('if.\{-\};\s*then\s*\%(#.*\)\=$', 'bnW')
|
||||||
|
if previous_line > 0
|
||||||
|
let ind = indent(previous_line)
|
||||||
|
endif
|
||||||
|
elseif line =~ '^\s*\%(then\|do\|else\|elif\|done\|end\)\>' || s:end_block(line)
|
||||||
let ind -= s:indent_value('default')
|
let ind -= s:indent_value('default')
|
||||||
elseif line =~ '^\s*esac\>' && s:is_case_empty(getline(v:lnum - 1))
|
elseif line =~ '^\s*esac\>' && s:is_case_empty(getline(v:lnum - 1))
|
||||||
let ind -= s:indent_value('default')
|
let ind -= s:indent_value('default')
|
||||||
@@ -256,5 +268,9 @@ function! s:is_comment(line)
|
|||||||
return a:line =~ '^\s*#'
|
return a:line =~ '^\s*#'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
function! s:is_end_expression(line)
|
||||||
|
return a:line =~ '\<\%(fi\|esac\|done\|end\)\>\s*\%(#.*\)\=$'
|
||||||
|
endfunction
|
||||||
|
|
||||||
let &cpo = s:cpo_save
|
let &cpo = s:cpo_save
|
||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
" Language: xml
|
" Language: xml
|
||||||
" Repository: https://github.com/chrisbra/vim-xml-ftplugin
|
" Repository: https://github.com/chrisbra/vim-xml-ftplugin
|
||||||
" Last Changed: Dec 07th, 2018
|
" Last Changed: Jan 28, 2019
|
||||||
" Maintainer: Christian Brabandt <cb@256bit.org>
|
" Maintainer: Christian Brabandt <cb@256bit.org>
|
||||||
" Previous Maintainer: Johannes Zellner <johannes@zellner.org>
|
" Previous Maintainer: Johannes Zellner <johannes@zellner.org>
|
||||||
" Last Change:
|
" Last Change:
|
||||||
|
" 20190128 - Make sure to find previous tag
|
||||||
|
" https://github.com/chrisbra/vim-xml-ftplugin/issues/4
|
||||||
" 20181116 - Fix indentation when tags start with a colon or an underscore
|
" 20181116 - Fix indentation when tags start with a colon or an underscore
|
||||||
" https://github.com/vim/vim/pull/926
|
" https://github.com/vim/vim/pull/926
|
||||||
" 20181022 - Do not overwrite indentkeys setting
|
" 20181022 - Do not overwrite indentkeys setting
|
||||||
@@ -88,15 +90,16 @@ endfun
|
|||||||
fun! XmlIndentGet(lnum, use_syntax_check)
|
fun! XmlIndentGet(lnum, use_syntax_check)
|
||||||
" Find a non-empty line above the current line.
|
" Find a non-empty line above the current line.
|
||||||
let plnum = prevnonblank(a:lnum - 1)
|
let plnum = prevnonblank(a:lnum - 1)
|
||||||
" Find previous line with a tag (regardless whether open or closed)
|
|
||||||
let ptag = search('.\{-}<[/:A-Z_a-z]', 'bnw')
|
|
||||||
|
|
||||||
" Hit the start of the file, use zero indent.
|
" Hit the start of the file, use zero indent.
|
||||||
if plnum == 0
|
if plnum == 0
|
||||||
return 0
|
return 0
|
||||||
endif
|
endif
|
||||||
let syn_name = ''
|
" Find previous line with a tag (regardless whether open or closed,
|
||||||
|
" but always start restrict the match to a line before the current one
|
||||||
|
let ptag_pattern = '\%(.\{-}<[/:A-Z_a-z]\)'. '\%(\&\%<'. line('.').'l\)'
|
||||||
|
let ptag = search(ptag_pattern, 'bnw')
|
||||||
|
|
||||||
|
let syn_name = ''
|
||||||
if a:use_syntax_check
|
if a:use_syntax_check
|
||||||
let check_lnum = <SID>XmlIndentSynCheck(plnum)
|
let check_lnum = <SID>XmlIndentSynCheck(plnum)
|
||||||
let check_alnum = <SID>XmlIndentSynCheck(a:lnum)
|
let check_alnum = <SID>XmlIndentSynCheck(a:lnum)
|
||||||
|
|||||||
@@ -368,6 +368,95 @@ let g:menutrans_spell_change_ARG_to = 'Ændr\ "%s"\ til'
|
|||||||
let g:menutrans_spell_add_ARG_to_word_list = 'Tilføj\ "%s"\ til\ ordliste'
|
let g:menutrans_spell_add_ARG_to_word_list = 'Tilføj\ "%s"\ til\ ordliste'
|
||||||
let g:menutrans_spell_ignore_ARG = 'Ignorer "%s"'
|
let g:menutrans_spell_ignore_ARG = 'Ignorer "%s"'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
" Forsøg på at oversætte netrw-menuen
|
||||||
|
menut Help<tab><F1> Hjælp<tab><F1>
|
||||||
|
" -Sep1-
|
||||||
|
menut Go\ Up\ Directory<tab>- Gå\ mappe\ op<tab>-
|
||||||
|
menut Apply\ Special\ Viewer<tab>x Anvend\ speciel\ fremviser<tab>x
|
||||||
|
|
||||||
|
menut Bookmarks\ and\ History Bogmærker\ og\ historik<tab>:echo "(disabled)"
|
||||||
|
menut Bookmark\ Current\ Directory<tab>mb Sæt\ bogmærke\ for\ nuværende\ mappe<tab>mb
|
||||||
|
menut Goto\ Prev\ Dir\ (History)<tab>u Gå\ til\ forrige\ mappe\ (historik)<tab>u
|
||||||
|
menut Goto\ Next\ Dir\ (History)<tab>U Gå\ til\ næste\ mappe\ (historik)<tab>U
|
||||||
|
menut List<tab>qb Oplist<tab>qb
|
||||||
|
|
||||||
|
menut Browsing\ Control Gennemgangskontol
|
||||||
|
menut Horizontal\ Split<tab>o Vandret\ opdeling<tab>o
|
||||||
|
menut Vertical\ Split<tab>v Lodret\ opdeling<tab>v
|
||||||
|
menut New\ Tab<tab>t Nyt\ faneblad<tab>t
|
||||||
|
menut Preview<tab>p Forhåndsvis<tab>p
|
||||||
|
menut Edit\ File\ Hiding\ List<tab><ctrl-h> Rediger\ liste\ til\ filskjulning
|
||||||
|
menut Edit\ Sorting\ Sequence<tab>S Rediger\ sorteringssekvens<tab>S
|
||||||
|
menut Quick\ Hide/Unhide\ Dot\ Files<tab>gh Hurtig\ skjul/vis\ punktum-filer<tab>gh
|
||||||
|
menut Refresh\ Listing<tab><ctrl-l> Genopfrisk\ oplistning<tab>\<c-l> ikke sikker det med \ er korrekt
|
||||||
|
menut Settings/Options<tab>:NetrwSettings Indstillinger/valgmuligheder<tab>
|
||||||
|
|
||||||
|
menut Delete\ File/Directory<tab>D Slet\ fil/mappe<tab>D
|
||||||
|
|
||||||
|
menut Edit\ File/Dir Rediger\ fil/mappe
|
||||||
|
menut Create\ New\ File<tab>% Opret\ ny\ fil<tab>%
|
||||||
|
menut In\ Current\ Window<tab><cr> I\ nuværende\ vindue<tab>
|
||||||
|
menut Preview\ File/Directory<tab>p Forhåndsvis\ fil/mappe<tab>p
|
||||||
|
menut In\ Previous\ Window<tab>P I\ forrige\ vindue<tab>P
|
||||||
|
menut In\ New\ Window<tab>o I\ nyt\ vindue<tab>o
|
||||||
|
menut In\ New\ Tab<tab>t I\ nyt\ faneblad<tab>t
|
||||||
|
menut In\ New\ Vertical\ Window<tab>v I\ nyt\ lodret\ vindue<tab>v
|
||||||
|
|
||||||
|
menut Explore Gennemse
|
||||||
|
menut Directory\ Name Mappenavn<tab>:Explore
|
||||||
|
menut Filenames\ Matching\ Pattern\ (curdir\ only)<tab>:Explore\ */ test29<tab>:Explore */
|
||||||
|
menut Filenames\ Matching\ Pattern\ (+subdirs)<tab>:Explore\ **/ test30<tab>:Explore **/
|
||||||
|
menut Files\ Containing\ String\ Pattern\ (curdir\ only)<tab>:Explore\ *// test31<tab>:Explore *//
|
||||||
|
menut Files\ Containing\ String\ Pattern\ (+subdirs)<tab>:Explore\ **// test32<tab>:Explore **//
|
||||||
|
menut Next\ Match<tab>:Nexplore Næste\ match<tab>:Nexplore<cr>
|
||||||
|
menut Prev\ Match<tab>:Pexplore Forrige\ match<tab>:Pexplore<cr>
|
||||||
|
|
||||||
|
menut Make\ Subdirectory<tab>d Opret\ undermappe<tab>d
|
||||||
|
|
||||||
|
menut Marked\ Files Mærkede\ filer
|
||||||
|
menut Mark\ File<tab>mf Mærk\ fil<tab>mf
|
||||||
|
menut Mark\ Files\ by\ Regexp<tab>mr Mærk\ filer\ efter\ regulært\ udtrk<tab>mr
|
||||||
|
menut Hide-Show-List\ Control<tab>a test38<tab>a
|
||||||
|
menut Copy\ To\ Target<tab>mc Kopiér\ til\ mål<tab>mc
|
||||||
|
menut Delete<tab>D Slet<tab>D
|
||||||
|
menut Diff<tab>md Diff<tab>md
|
||||||
|
menut Edit<tab>me Rediger<tab>me
|
||||||
|
menut Exe\ Cmd<tab>mx test43<tab>mx
|
||||||
|
menut Move\ To\ Target<tab>mm Flyt\ til\ mål<tab>mm
|
||||||
|
menut Obtain<tab>O Indhent<tab>O
|
||||||
|
menut Print<tab>mp Udskriv<tab>mp
|
||||||
|
menut Replace<tab>R Erstat<tab>R
|
||||||
|
menut Set\ Target<tab>mt Sæt\ mål<tab>mt
|
||||||
|
menut Tag<tab>mT test49<tab>mT
|
||||||
|
menut Zip/Unzip/Compress/Uncompress<tab>mz Zip/unzip/komprimér/udpak<tab>mz
|
||||||
|
|
||||||
|
menut Obtain\ File<tab>O Indhent\ fil<tab>O
|
||||||
|
|
||||||
|
menut Style Stile
|
||||||
|
menut Listing Oplisting
|
||||||
|
menut thin<tab>i tynd
|
||||||
|
menut long<tab>i lang
|
||||||
|
menut wide<tab>i bred
|
||||||
|
menut tree<tab>i træ
|
||||||
|
menut Normal-Hide-Show Normal-skjul-vis
|
||||||
|
menut Show\ All<tab>a Vis\ alle<tab>
|
||||||
|
menut Normal<tab>a Normal<tab>
|
||||||
|
menut Hidden\ Only<tab>a Kun\ skulte<tab>
|
||||||
|
menut Reverse\ Sorting\ Order<tab> Omvendt\ sorteringsrækkefølge
|
||||||
|
menut Sorting\ Method Sorteringsmetode
|
||||||
|
menut Name<tab>s Navn
|
||||||
|
menut Time<tab>s Tidspunkt
|
||||||
|
menut Size<tab>s Størrelse
|
||||||
|
menut Exten<tab>s Endelse
|
||||||
|
menut Rename\ File/Directory<tab>R Omdøb\ fil/mappe<tab>R
|
||||||
|
menut Set\ Current\ Directory<tab>c Sæt\ nuværende\ mappe<tab>c
|
||||||
|
|
||||||
|
menut History Historik
|
||||||
|
|
||||||
|
menut Targets Mål
|
||||||
|
|
||||||
let &cpo = s:keepcpo
|
let &cpo = s:keepcpo
|
||||||
unlet s:keepcpo
|
unlet s:keepcpo
|
||||||
|
|
||||||
|
|||||||
@@ -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: 2018 May 17
|
" Last Change: 2019 Jan 27
|
||||||
|
|
||||||
" 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.
|
||||||
@@ -856,9 +856,8 @@ an 70.300 &Window.&New<Tab>^Wn <C-W>n
|
|||||||
an 70.310 &Window.S&plit<Tab>^Ws <C-W>s
|
an 70.310 &Window.S&plit<Tab>^Ws <C-W>s
|
||||||
an 70.320 &Window.Sp&lit\ To\ #<Tab>^W^^ <C-W><C-^>
|
an 70.320 &Window.Sp&lit\ To\ #<Tab>^W^^ <C-W><C-^>
|
||||||
an 70.330 &Window.Split\ &Vertically<Tab>^Wv <C-W>v
|
an 70.330 &Window.Split\ &Vertically<Tab>^Wv <C-W>v
|
||||||
if has("vertsplit")
|
an <silent> 70.332 &Window.Split\ File\ E&xplorer :call MenuExplOpen()<CR>
|
||||||
an <silent> 70.332 &Window.Split\ File\ E&xplorer :call MenuExplOpen()<CR>
|
if !exists("*MenuExplOpen")
|
||||||
if !exists("*MenuExplOpen")
|
|
||||||
fun MenuExplOpen()
|
fun MenuExplOpen()
|
||||||
if @% == ""
|
if @% == ""
|
||||||
20vsp .
|
20vsp .
|
||||||
@@ -866,7 +865,6 @@ if has("vertsplit")
|
|||||||
exe "20vsp " . s:FnameEscape(expand("%:p:h"))
|
exe "20vsp " . s:FnameEscape(expand("%:p:h"))
|
||||||
endif
|
endif
|
||||||
endfun
|
endfun
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
an 70.335 &Window.-SEP1- <Nop>
|
an 70.335 &Window.-SEP1- <Nop>
|
||||||
an 70.340 &Window.&Close<Tab>^Wc :confirm close<CR>
|
an 70.340 &Window.&Close<Tab>^Wc :confirm close<CR>
|
||||||
|
|||||||
@@ -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: 2018 May 15
|
" Last Change: 2019 Feb 08
|
||||||
|
|
||||||
" 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')
|
||||||
@@ -395,11 +395,9 @@ endif
|
|||||||
call <SID>Header("syntax, highlighting and spelling")
|
call <SID>Header("syntax, highlighting and spelling")
|
||||||
call append("$", "background\t\"dark\" or \"light\"; the background color brightness")
|
call append("$", "background\t\"dark\" or \"light\"; the background color brightness")
|
||||||
call <SID>OptionG("bg", &bg)
|
call <SID>OptionG("bg", &bg)
|
||||||
if has("autocmd")
|
call append("$", "filetype\ttype of file; triggers the FileType event when set")
|
||||||
call append("$", "filetype\ttype of file; triggers the FileType event when set")
|
call append("$", "\t(local to buffer)")
|
||||||
call append("$", "\t(local to buffer)")
|
call <SID>OptionL("ft")
|
||||||
call <SID>OptionL("ft")
|
|
||||||
endif
|
|
||||||
if has("syntax")
|
if has("syntax")
|
||||||
call append("$", "syntax\tname of syntax highlighting used")
|
call append("$", "syntax\tname of syntax highlighting used")
|
||||||
call append("$", "\t(local to buffer)")
|
call append("$", "\t(local to buffer)")
|
||||||
@@ -454,10 +452,8 @@ if has("statusline")
|
|||||||
endif
|
endif
|
||||||
call append("$", "equalalways\tmake all windows the same size when adding/removing windows")
|
call append("$", "equalalways\tmake all windows the same size when adding/removing windows")
|
||||||
call <SID>BinOptionG("ea", &ea)
|
call <SID>BinOptionG("ea", &ea)
|
||||||
if has("vertsplit")
|
call append("$", "eadirection\tin which direction 'equalalways' works: \"ver\", \"hor\" or \"both\"")
|
||||||
call append("$", "eadirection\tin which direction 'equalalways' works: \"ver\", \"hor\" or \"both\"")
|
call <SID>OptionG("ead", &ead)
|
||||||
call <SID>OptionG("ead", &ead)
|
|
||||||
endif
|
|
||||||
call append("$", "winheight\tminimal number of lines used for the current window")
|
call append("$", "winheight\tminimal number of lines used for the current window")
|
||||||
call append("$", " \tset wh=" . &wh)
|
call append("$", " \tset wh=" . &wh)
|
||||||
call append("$", "winminheight\tminimal number of lines used for any window")
|
call append("$", "winminheight\tminimal number of lines used for any window")
|
||||||
@@ -465,15 +461,13 @@ call append("$", " \tset wmh=" . &wmh)
|
|||||||
call append("$", "winfixheight\tkeep the height of the window")
|
call append("$", "winfixheight\tkeep the height of the window")
|
||||||
call append("$", "\t(local to window)")
|
call append("$", "\t(local to window)")
|
||||||
call <SID>BinOptionL("wfh")
|
call <SID>BinOptionL("wfh")
|
||||||
if has("vertsplit")
|
|
||||||
call append("$", "winfixwidth\tkeep the width of the window")
|
call append("$", "winfixwidth\tkeep the width of the window")
|
||||||
call append("$", "\t(local to window)")
|
call append("$", "\t(local to window)")
|
||||||
call <SID>BinOptionL("wfw")
|
call <SID>BinOptionL("wfw")
|
||||||
call append("$", "winwidth\tminimal number of columns used for the current window")
|
call append("$", "winwidth\tminimal number of columns used for the current window")
|
||||||
call append("$", " \tset wiw=" . &wiw)
|
call append("$", " \tset wiw=" . &wiw)
|
||||||
call append("$", "winminwidth\tminimal number of columns used for any window")
|
call append("$", "winminwidth\tminimal number of columns used for any window")
|
||||||
call append("$", " \tset wmw=" . &wmw)
|
call append("$", " \tset wmw=" . &wmw)
|
||||||
endif
|
|
||||||
call append("$", "helpheight\tinitial height of the help window")
|
call append("$", "helpheight\tinitial height of the help window")
|
||||||
call append("$", " \tset hh=" . &hh)
|
call append("$", " \tset hh=" . &hh)
|
||||||
if has("quickfix")
|
if has("quickfix")
|
||||||
@@ -490,22 +484,16 @@ call append("$", "\tto a buffer")
|
|||||||
call <SID>OptionG("swb", &swb)
|
call <SID>OptionG("swb", &swb)
|
||||||
call append("$", "splitbelow\ta new window is put below the current one")
|
call append("$", "splitbelow\ta new window is put below the current one")
|
||||||
call <SID>BinOptionG("sb", &sb)
|
call <SID>BinOptionG("sb", &sb)
|
||||||
if has("vertsplit")
|
call append("$", "splitright\ta new window is put right of the current one")
|
||||||
call append("$", "splitright\ta new window is put right of the current one")
|
call <SID>BinOptionG("spr", &spr)
|
||||||
call <SID>BinOptionG("spr", &spr)
|
call append("$", "scrollbind\tthis window scrolls together with other bound windows")
|
||||||
endif
|
call append("$", "\t(local to window)")
|
||||||
if has("scrollbind")
|
call <SID>BinOptionL("scb")
|
||||||
call append("$", "scrollbind\tthis window scrolls together with other bound windows")
|
call append("$", "scrollopt\t\"ver\", \"hor\" and/or \"jump\"; list of options for 'scrollbind'")
|
||||||
call append("$", "\t(local to window)")
|
call <SID>OptionG("sbo", &sbo)
|
||||||
call <SID>BinOptionL("scb")
|
call append("$", "cursorbind\tthis window's cursor moves together with other bound windows")
|
||||||
call append("$", "scrollopt\t\"ver\", \"hor\" and/or \"jump\"; list of options for 'scrollbind'")
|
call append("$", "\t(local to window)")
|
||||||
call <SID>OptionG("sbo", &sbo)
|
call <SID>BinOptionL("crb")
|
||||||
endif
|
|
||||||
if has("cursorbind")
|
|
||||||
call append("$", "cursorbind\tthis window's cursor moves together with other bound windows")
|
|
||||||
call append("$", "\t(local to window)")
|
|
||||||
call <SID>BinOptionL("crb")
|
|
||||||
endif
|
|
||||||
if has("terminal")
|
if has("terminal")
|
||||||
call append("$", "termwinsize\tsize of a terminal window")
|
call append("$", "termwinsize\tsize of a terminal window")
|
||||||
call append("$", "\t(local to window)")
|
call append("$", "\t(local to window)")
|
||||||
@@ -515,6 +503,10 @@ if has("terminal")
|
|||||||
call <SID>OptionL("twk")
|
call <SID>OptionL("twk")
|
||||||
call append("$", "termwinscroll\tmax number of lines to keep for scrollback in a terminal window")
|
call append("$", "termwinscroll\tmax number of lines to keep for scrollback in a terminal window")
|
||||||
call append("$", "\t(local to window)")
|
call append("$", "\t(local to window)")
|
||||||
|
if has('win32')
|
||||||
|
call append("$", "termwintype\ttype of pty to use for a terminal window")
|
||||||
|
call <SID>OptionG("twt", &twt)
|
||||||
|
endif
|
||||||
call <SID>OptionL("twsl")
|
call <SID>OptionL("twsl")
|
||||||
if exists("&winptydll")
|
if exists("&winptydll")
|
||||||
call append("$", "winptydll\tname of the winpty dynamic library")
|
call append("$", "winptydll\tname of the winpty dynamic library")
|
||||||
@@ -693,12 +685,10 @@ if has("printer")
|
|||||||
call append("$", "printencoding\tencoding used to print the PostScript file for :hardcopy")
|
call append("$", "printencoding\tencoding used to print the PostScript file for :hardcopy")
|
||||||
call <SID>OptionG("penc", &penc)
|
call <SID>OptionG("penc", &penc)
|
||||||
endif
|
endif
|
||||||
if has("multi_byte")
|
|
||||||
call append("$", "printmbcharset\tthe CJK character set to be used for CJK output from :hardcopy")
|
call append("$", "printmbcharset\tthe CJK character set to be used for CJK output from :hardcopy")
|
||||||
call <SID>OptionG("pmbcs", &pmbcs)
|
call <SID>OptionG("pmbcs", &pmbcs)
|
||||||
call append("$", "printmbfont\tlist of font names to be used for CJK output from :hardcopy")
|
call append("$", "printmbfont\tlist of font names to be used for CJK output from :hardcopy")
|
||||||
call <SID>OptionG("pmbfn", &pmbfn)
|
call <SID>OptionG("pmbfn", &pmbfn)
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
call <SID>Header("messages and info")
|
call <SID>Header("messages and info")
|
||||||
@@ -1004,11 +994,9 @@ call <SID>BinOptionL("eol")
|
|||||||
call append("$", "fixendofline\tfixes missing end-of-line at end of text file")
|
call append("$", "fixendofline\tfixes missing end-of-line at end of text file")
|
||||||
call append("$", "\t(local to buffer)")
|
call append("$", "\t(local to buffer)")
|
||||||
call <SID>BinOptionL("fixeol")
|
call <SID>BinOptionL("fixeol")
|
||||||
if has("multi_byte")
|
call append("$", "bomb\tprepend a Byte Order Mark to the file")
|
||||||
call append("$", "bomb\tprepend a Byte Order Mark to the file")
|
call append("$", "\t(local to buffer)")
|
||||||
call append("$", "\t(local to buffer)")
|
call <SID>BinOptionL("bomb")
|
||||||
call <SID>BinOptionL("bomb")
|
|
||||||
endif
|
|
||||||
call append("$", "fileformat\tend-of-line format: \"dos\", \"unix\" or \"mac\"")
|
call append("$", "fileformat\tend-of-line format: \"dos\", \"unix\" or \"mac\"")
|
||||||
call append("$", "\t(local to buffer)")
|
call append("$", "\t(local to buffer)")
|
||||||
call <SID>OptionL("ff")
|
call <SID>OptionL("ff")
|
||||||
@@ -1105,12 +1093,10 @@ if has("wildmenu")
|
|||||||
call append("$", "wildmenu\tcommand-line completion shows a list of matches")
|
call append("$", "wildmenu\tcommand-line completion shows a list of matches")
|
||||||
call <SID>BinOptionG("wmnu", &wmnu)
|
call <SID>BinOptionG("wmnu", &wmnu)
|
||||||
endif
|
endif
|
||||||
if has("vertsplit")
|
call append("$", "cedit\tkey used to open the command-line window")
|
||||||
call append("$", "cedit\tkey used to open the command-line window")
|
call <SID>OptionG("cedit", &cedit)
|
||||||
call <SID>OptionG("cedit", &cedit)
|
call append("$", "cmdwinheight\theight of the command-line window")
|
||||||
call append("$", "cmdwinheight\theight of the command-line window")
|
call <SID>OptionG("cwh", &cwh)
|
||||||
call <SID>OptionG("cwh", &cwh)
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
call <SID>Header("executing external commands")
|
call <SID>Header("executing external commands")
|
||||||
@@ -1262,44 +1248,38 @@ if has("xim")
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
if has("multi_byte")
|
call <SID>Header("multi-byte characters")
|
||||||
call <SID>Header("multi-byte characters")
|
call append("$", "encoding\tcharacter encoding used in Vim: \"latin1\", \"utf-8\"")
|
||||||
call append("$", "encoding\tcharacter encoding used in Vim: \"latin1\", \"utf-8\"")
|
call append("$", "\t\"euc-jp\", \"big5\", etc.")
|
||||||
call append("$", "\t\"euc-jp\", \"big5\", etc.")
|
call <SID>OptionG("enc", &enc)
|
||||||
call <SID>OptionG("enc", &enc)
|
call append("$", "fileencoding\tcharacter encoding for the current file")
|
||||||
call append("$", "fileencoding\tcharacter encoding for the current file")
|
call append("$", "\t(local to buffer)")
|
||||||
call append("$", "\t(local to buffer)")
|
call <SID>OptionL("fenc")
|
||||||
call <SID>OptionL("fenc")
|
call append("$", "fileencodings\tautomatically detected character encodings")
|
||||||
call append("$", "fileencodings\tautomatically detected character encodings")
|
call <SID>OptionG("fencs", &fencs)
|
||||||
call <SID>OptionG("fencs", &fencs)
|
call append("$", "termencoding\tcharacter encoding used by the terminal")
|
||||||
call append("$", "termencoding\tcharacter encoding used by the terminal")
|
call <SID>OptionG("tenc", &tenc)
|
||||||
call <SID>OptionG("tenc", &tenc)
|
call append("$", "charconvert\texpression used for character encoding conversion")
|
||||||
call append("$", "charconvert\texpression used for character encoding conversion")
|
call <SID>OptionG("ccv", &ccv)
|
||||||
call <SID>OptionG("ccv", &ccv)
|
call append("$", "delcombine\tdelete combining (composing) characters on their own")
|
||||||
call append("$", "delcombine\tdelete combining (composing) characters on their own")
|
call <SID>BinOptionG("deco", &deco)
|
||||||
call <SID>BinOptionG("deco", &deco)
|
call append("$", "maxcombine\tmaximum number of combining (composing) characters displayed")
|
||||||
call append("$", "maxcombine\tmaximum number of combining (composing) characters displayed")
|
call <SID>OptionG("mco", &mco)
|
||||||
call <SID>OptionG("mco", &mco)
|
if has("xim") && has("gui_gtk")
|
||||||
if has("xim") && has("gui_gtk")
|
|
||||||
call append("$", "imactivatekey\tkey that activates the X input method")
|
call append("$", "imactivatekey\tkey that activates the X input method")
|
||||||
call <SID>OptionG("imak", &imak)
|
call <SID>OptionG("imak", &imak)
|
||||||
endif
|
|
||||||
call append("$", "ambiwidth\twidth of ambiguous width characters")
|
|
||||||
call <SID>OptionG("ambw", &ambw)
|
|
||||||
call append("$", "emoji\temoji characters are full width")
|
|
||||||
call <SID>BinOptionG("emo", &emo)
|
|
||||||
endif
|
endif
|
||||||
|
call append("$", "ambiwidth\twidth of ambiguous width characters")
|
||||||
|
call <SID>OptionG("ambw", &ambw)
|
||||||
|
call append("$", "emoji\temoji characters are full width")
|
||||||
|
call <SID>BinOptionG("emo", &emo)
|
||||||
|
|
||||||
|
|
||||||
call <SID>Header("various")
|
call <SID>Header("various")
|
||||||
if has("virtualedit")
|
call append("$", "virtualedit\twhen to use virtual editing: \"block\", \"insert\" and/or \"all\"")
|
||||||
call append("$", "virtualedit\twhen to use virtual editing: \"block\", \"insert\" and/or \"all\"")
|
call <SID>OptionG("ve", &ve)
|
||||||
call <SID>OptionG("ve", &ve)
|
call append("$", "eventignore\tlist of autocommand events which are to be ignored")
|
||||||
endif
|
call <SID>OptionG("ei", &ei)
|
||||||
if has("autocmd")
|
|
||||||
call append("$", "eventignore\tlist of autocommand events which are to be ignored")
|
|
||||||
call <SID>OptionG("ei", &ei)
|
|
||||||
endif
|
|
||||||
call append("$", "loadplugins\tload plugin scripts when starting up")
|
call append("$", "loadplugins\tload plugin scripts when starting up")
|
||||||
call <SID>BinOptionG("lpl", &lpl)
|
call <SID>BinOptionG("lpl", &lpl)
|
||||||
call append("$", "exrc\tenable reading .vimrc/.exrc/.gvimrc in the current directory")
|
call append("$", "exrc\tenable reading .vimrc/.exrc/.gvimrc in the current directory")
|
||||||
|
|||||||
754
runtime/pack/dist/opt/matchit/autoload/matchit.vim
vendored
Normal file
754
runtime/pack/dist/opt/matchit/autoload/matchit.vim
vendored
Normal file
@@ -0,0 +1,754 @@
|
|||||||
|
" matchit.vim: (global plugin) Extended "%" matching
|
||||||
|
" autload script of matchit plugin, see ../plugin/matchit.vim
|
||||||
|
" Last Change: 2019 Jan 28
|
||||||
|
|
||||||
|
let s:last_mps = ""
|
||||||
|
let s:last_words = ":"
|
||||||
|
let s:patBR = ""
|
||||||
|
|
||||||
|
let s:save_cpo = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
|
" Auto-complete mappings: (not yet "ready for prime time")
|
||||||
|
" TODO Read :help write-plugin for the "right" way to let the user
|
||||||
|
" specify a key binding.
|
||||||
|
" let g:match_auto = '<C-]>'
|
||||||
|
" let g:match_autoCR = '<C-CR>'
|
||||||
|
" if exists("g:match_auto")
|
||||||
|
" execute "inoremap " . g:match_auto . ' x<Esc>"=<SID>Autocomplete()<CR>Pls'
|
||||||
|
" endif
|
||||||
|
" if exists("g:match_autoCR")
|
||||||
|
" execute "inoremap " . g:match_autoCR . ' <CR><C-R>=<SID>Autocomplete()<CR>'
|
||||||
|
" endif
|
||||||
|
" if exists("g:match_gthhoh")
|
||||||
|
" execute "inoremap " . g:match_gthhoh . ' <C-O>:call <SID>Gthhoh()<CR>'
|
||||||
|
" endif " gthhoh = "Get the heck out of here!"
|
||||||
|
|
||||||
|
let s:notslash = '\\\@1<!\%(\\\\\)*'
|
||||||
|
|
||||||
|
function s:RestoreOptions()
|
||||||
|
" In s:CleanUp(), :execute "set" restore_options .
|
||||||
|
let restore_options = ""
|
||||||
|
if get(b:, 'match_ignorecase', &ic) != &ic
|
||||||
|
let restore_options .= (&ic ? " " : " no") . "ignorecase"
|
||||||
|
let &ignorecase = b:match_ignorecase
|
||||||
|
endif
|
||||||
|
if &ve != ''
|
||||||
|
let restore_options = " ve=" . &ve . restore_options
|
||||||
|
set ve=
|
||||||
|
endif
|
||||||
|
return restore_options
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function matchit#Match_wrapper(word, forward, mode) range
|
||||||
|
let restore_options = s:RestoreOptions()
|
||||||
|
" If this function was called from Visual mode, make sure that the cursor
|
||||||
|
" is at the correct end of the Visual range:
|
||||||
|
if a:mode == "v"
|
||||||
|
execute "normal! gv\<Esc>"
|
||||||
|
elseif a:mode == "o" && mode(1) !~# '[vV]'
|
||||||
|
exe "norm! v"
|
||||||
|
endif
|
||||||
|
" In s:CleanUp(), we may need to check whether the cursor moved forward.
|
||||||
|
let startpos = [line("."), col(".")]
|
||||||
|
" Use default behavior if called with a count.
|
||||||
|
if v:count
|
||||||
|
exe "normal! " . v:count . "%"
|
||||||
|
return s:CleanUp(restore_options, a:mode, startpos)
|
||||||
|
end
|
||||||
|
|
||||||
|
" First step: if not already done, set the script variables
|
||||||
|
" s:do_BR flag for whether there are backrefs
|
||||||
|
" s:pat parsed version of b:match_words
|
||||||
|
" s:all regexp based on s:pat and the default groups
|
||||||
|
if !exists("b:match_words") || b:match_words == ""
|
||||||
|
let match_words = ""
|
||||||
|
elseif b:match_words =~ ":"
|
||||||
|
let match_words = b:match_words
|
||||||
|
else
|
||||||
|
" Allow b:match_words = "GetVimMatchWords()" .
|
||||||
|
execute "let match_words =" b:match_words
|
||||||
|
endif
|
||||||
|
" Thanks to Preben "Peppe" Guldberg and Bram Moolenaar for this suggestion!
|
||||||
|
if (match_words != s:last_words) || (&mps != s:last_mps)
|
||||||
|
\ || exists("b:match_debug")
|
||||||
|
let s:last_mps = &mps
|
||||||
|
" quote the special chars in 'matchpairs', replace [,:] with \| and then
|
||||||
|
" append the builtin pairs (/*, */, #if, #ifdef, #ifndef, #else, #elif,
|
||||||
|
" #endif)
|
||||||
|
let default = escape(&mps, '[$^.*~\\/?]') . (strlen(&mps) ? "," : "") .
|
||||||
|
\ '\/\*:\*\/,#\s*if\%(n\=def\)\=:#\s*else\>:#\s*elif\>:#\s*endif\>'
|
||||||
|
" s:all = pattern with all the keywords
|
||||||
|
let match_words = match_words . (strlen(match_words) ? "," : "") . default
|
||||||
|
let s:last_words = match_words
|
||||||
|
if match_words !~ s:notslash . '\\\d'
|
||||||
|
let s:do_BR = 0
|
||||||
|
let s:pat = match_words
|
||||||
|
else
|
||||||
|
let s:do_BR = 1
|
||||||
|
let s:pat = s:ParseWords(match_words)
|
||||||
|
endif
|
||||||
|
let s:all = substitute(s:pat, s:notslash . '\zs[,:]\+', '\\|', 'g')
|
||||||
|
" Just in case there are too many '\(...)' groups inside the pattern, make
|
||||||
|
" sure to use \%(...) groups, so that error E872 can be avoided
|
||||||
|
let s:all = substitute(s:all, '\\(', '\\%(', 'g')
|
||||||
|
let s:all = '\%(' . s:all . '\)'
|
||||||
|
if exists("b:match_debug")
|
||||||
|
let b:match_pat = s:pat
|
||||||
|
endif
|
||||||
|
" Reconstruct the version with unresolved backrefs.
|
||||||
|
let s:patBR = substitute(match_words.',',
|
||||||
|
\ s:notslash.'\zs[,:]*,[,:]*', ',', 'g')
|
||||||
|
let s:patBR = substitute(s:patBR, s:notslash.'\zs:\{2,}', ':', 'g')
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Second step: set the following local variables:
|
||||||
|
" matchline = line on which the cursor started
|
||||||
|
" curcol = number of characters before match
|
||||||
|
" prefix = regexp for start of line to start of match
|
||||||
|
" suffix = regexp for end of match to end of line
|
||||||
|
" Require match to end on or after the cursor and prefer it to
|
||||||
|
" start on or before the cursor.
|
||||||
|
let matchline = getline(startpos[0])
|
||||||
|
if a:word != ''
|
||||||
|
" word given
|
||||||
|
if a:word !~ s:all
|
||||||
|
echohl WarningMsg|echo 'Missing rule for word:"'.a:word.'"'|echohl NONE
|
||||||
|
return s:CleanUp(restore_options, a:mode, startpos)
|
||||||
|
endif
|
||||||
|
let matchline = a:word
|
||||||
|
let curcol = 0
|
||||||
|
let prefix = '^\%('
|
||||||
|
let suffix = '\)$'
|
||||||
|
" Now the case when "word" is not given
|
||||||
|
else " Find the match that ends on or after the cursor and set curcol.
|
||||||
|
let regexp = s:Wholematch(matchline, s:all, startpos[1]-1)
|
||||||
|
let curcol = match(matchline, regexp)
|
||||||
|
" If there is no match, give up.
|
||||||
|
if curcol == -1
|
||||||
|
return s:CleanUp(restore_options, a:mode, startpos)
|
||||||
|
endif
|
||||||
|
let endcol = matchend(matchline, regexp)
|
||||||
|
let suf = strlen(matchline) - endcol
|
||||||
|
let prefix = (curcol ? '^.*\%' . (curcol + 1) . 'c\%(' : '^\%(')
|
||||||
|
let suffix = (suf ? '\)\%' . (endcol + 1) . 'c.*$' : '\)$')
|
||||||
|
endif
|
||||||
|
if exists("b:match_debug")
|
||||||
|
let b:match_match = matchstr(matchline, regexp)
|
||||||
|
let b:match_col = curcol+1
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Third step: Find the group and single word that match, and the original
|
||||||
|
" (backref) versions of these. Then, resolve the backrefs.
|
||||||
|
" Set the following local variable:
|
||||||
|
" group = colon-separated list of patterns, one of which matches
|
||||||
|
" = ini:mid:fin or ini:fin
|
||||||
|
"
|
||||||
|
" Now, set group and groupBR to the matching group: 'if:endif' or
|
||||||
|
" 'while:endwhile' or whatever. A bit of a kluge: s:Choose() returns
|
||||||
|
" group . "," . groupBR, and we pick it apart.
|
||||||
|
let group = s:Choose(s:pat, matchline, ",", ":", prefix, suffix, s:patBR)
|
||||||
|
let i = matchend(group, s:notslash . ",")
|
||||||
|
let groupBR = strpart(group, i)
|
||||||
|
let group = strpart(group, 0, i-1)
|
||||||
|
" Now, matchline =~ prefix . substitute(group,':','\|','g') . suffix
|
||||||
|
if s:do_BR " Do the hard part: resolve those backrefs!
|
||||||
|
let group = s:InsertRefs(groupBR, prefix, group, suffix, matchline)
|
||||||
|
endif
|
||||||
|
if exists("b:match_debug")
|
||||||
|
let b:match_wholeBR = groupBR
|
||||||
|
let i = matchend(groupBR, s:notslash . ":")
|
||||||
|
let b:match_iniBR = strpart(groupBR, 0, i-1)
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Fourth step: Set the arguments for searchpair().
|
||||||
|
let i = matchend(group, s:notslash . ":")
|
||||||
|
let j = matchend(group, '.*' . s:notslash . ":")
|
||||||
|
let ini = strpart(group, 0, i-1)
|
||||||
|
let mid = substitute(strpart(group, i,j-i-1), s:notslash.'\zs:', '\\|', 'g')
|
||||||
|
let fin = strpart(group, j)
|
||||||
|
"Un-escape the remaining , and : characters.
|
||||||
|
let ini = substitute(ini, s:notslash . '\zs\\\(:\|,\)', '\1', 'g')
|
||||||
|
let mid = substitute(mid, s:notslash . '\zs\\\(:\|,\)', '\1', 'g')
|
||||||
|
let fin = substitute(fin, s:notslash . '\zs\\\(:\|,\)', '\1', 'g')
|
||||||
|
" searchpair() requires that these patterns avoid \(\) groups.
|
||||||
|
let ini = substitute(ini, s:notslash . '\zs\\(', '\\%(', 'g')
|
||||||
|
let mid = substitute(mid, s:notslash . '\zs\\(', '\\%(', 'g')
|
||||||
|
let fin = substitute(fin, s:notslash . '\zs\\(', '\\%(', 'g')
|
||||||
|
" Set mid. This is optimized for readability, not micro-efficiency!
|
||||||
|
if a:forward && matchline =~ prefix . fin . suffix
|
||||||
|
\ || !a:forward && matchline =~ prefix . ini . suffix
|
||||||
|
let mid = ""
|
||||||
|
endif
|
||||||
|
" Set flag. This is optimized for readability, not micro-efficiency!
|
||||||
|
if a:forward && matchline =~ prefix . fin . suffix
|
||||||
|
\ || !a:forward && matchline !~ prefix . ini . suffix
|
||||||
|
let flag = "bW"
|
||||||
|
else
|
||||||
|
let flag = "W"
|
||||||
|
endif
|
||||||
|
" Set skip.
|
||||||
|
if exists("b:match_skip")
|
||||||
|
let skip = b:match_skip
|
||||||
|
elseif exists("b:match_comment") " backwards compatibility and testing!
|
||||||
|
let skip = "r:" . b:match_comment
|
||||||
|
else
|
||||||
|
let skip = 's:comment\|string'
|
||||||
|
endif
|
||||||
|
let skip = s:ParseSkip(skip)
|
||||||
|
if exists("b:match_debug")
|
||||||
|
let b:match_ini = ini
|
||||||
|
let b:match_tail = (strlen(mid) ? mid.'\|' : '') . fin
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Fifth step: actually start moving the cursor and call searchpair().
|
||||||
|
" Later, :execute restore_cursor to get to the original screen.
|
||||||
|
let view = winsaveview()
|
||||||
|
call cursor(0, curcol + 1)
|
||||||
|
if skip =~ 'synID' && !(has("syntax") && exists("g:syntax_on"))
|
||||||
|
let skip = "0"
|
||||||
|
else
|
||||||
|
execute "if " . skip . "| let skip = '0' | endif"
|
||||||
|
endif
|
||||||
|
let sp_return = searchpair(ini, mid, fin, flag, skip)
|
||||||
|
let final_position = "call cursor(" . line(".") . "," . col(".") . ")"
|
||||||
|
" Restore cursor position and original screen.
|
||||||
|
call winrestview(view)
|
||||||
|
normal! m'
|
||||||
|
if sp_return > 0
|
||||||
|
execute final_position
|
||||||
|
endif
|
||||||
|
return s:CleanUp(restore_options, a:mode, startpos, mid.'\|'.fin)
|
||||||
|
endfun
|
||||||
|
|
||||||
|
" Restore options and do some special handling for Operator-pending mode.
|
||||||
|
" The optional argument is the tail of the matching group.
|
||||||
|
fun! s:CleanUp(options, mode, startpos, ...)
|
||||||
|
if strlen(a:options)
|
||||||
|
execute "set" a:options
|
||||||
|
endif
|
||||||
|
" Open folds, if appropriate.
|
||||||
|
if a:mode != "o"
|
||||||
|
if &foldopen =~ "percent"
|
||||||
|
normal! zv
|
||||||
|
endif
|
||||||
|
" In Operator-pending mode, we want to include the whole match
|
||||||
|
" (for example, d%).
|
||||||
|
" This is only a problem if we end up moving in the forward direction.
|
||||||
|
elseif (a:startpos[0] < line(".")) ||
|
||||||
|
\ (a:startpos[0] == line(".") && a:startpos[1] < col("."))
|
||||||
|
if a:0
|
||||||
|
" Check whether the match is a single character. If not, move to the
|
||||||
|
" end of the match.
|
||||||
|
let matchline = getline(".")
|
||||||
|
let currcol = col(".")
|
||||||
|
let regexp = s:Wholematch(matchline, a:1, currcol-1)
|
||||||
|
let endcol = matchend(matchline, regexp)
|
||||||
|
if endcol > currcol " This is NOT off by one!
|
||||||
|
call cursor(0, endcol)
|
||||||
|
endif
|
||||||
|
endif " a:0
|
||||||
|
endif " a:mode != "o" && etc.
|
||||||
|
return 0
|
||||||
|
endfun
|
||||||
|
|
||||||
|
" Example (simplified HTML patterns): if
|
||||||
|
" a:groupBR = '<\(\k\+\)>:</\1>'
|
||||||
|
" a:prefix = '^.\{3}\('
|
||||||
|
" a:group = '<\(\k\+\)>:</\(\k\+\)>'
|
||||||
|
" a:suffix = '\).\{2}$'
|
||||||
|
" a:matchline = "123<tag>12" or "123</tag>12"
|
||||||
|
" then extract "tag" from a:matchline and return "<tag>:</tag>" .
|
||||||
|
fun! s:InsertRefs(groupBR, prefix, group, suffix, matchline)
|
||||||
|
if a:matchline !~ a:prefix .
|
||||||
|
\ substitute(a:group, s:notslash . '\zs:', '\\|', 'g') . a:suffix
|
||||||
|
return a:group
|
||||||
|
endif
|
||||||
|
let i = matchend(a:groupBR, s:notslash . ':')
|
||||||
|
let ini = strpart(a:groupBR, 0, i-1)
|
||||||
|
let tailBR = strpart(a:groupBR, i)
|
||||||
|
let word = s:Choose(a:group, a:matchline, ":", "", a:prefix, a:suffix,
|
||||||
|
\ a:groupBR)
|
||||||
|
let i = matchend(word, s:notslash . ":")
|
||||||
|
let wordBR = strpart(word, i)
|
||||||
|
let word = strpart(word, 0, i-1)
|
||||||
|
" Now, a:matchline =~ a:prefix . word . a:suffix
|
||||||
|
if wordBR != ini
|
||||||
|
let table = s:Resolve(ini, wordBR, "table")
|
||||||
|
else
|
||||||
|
let table = ""
|
||||||
|
let d = 0
|
||||||
|
while d < 10
|
||||||
|
if tailBR =~ s:notslash . '\\' . d
|
||||||
|
let table = table . d
|
||||||
|
else
|
||||||
|
let table = table . "-"
|
||||||
|
endif
|
||||||
|
let d = d + 1
|
||||||
|
endwhile
|
||||||
|
endif
|
||||||
|
let d = 9
|
||||||
|
while d
|
||||||
|
if table[d] != "-"
|
||||||
|
let backref = substitute(a:matchline, a:prefix.word.a:suffix,
|
||||||
|
\ '\'.table[d], "")
|
||||||
|
" Are there any other characters that should be escaped?
|
||||||
|
let backref = escape(backref, '*,:')
|
||||||
|
execute s:Ref(ini, d, "start", "len")
|
||||||
|
let ini = strpart(ini, 0, start) . backref . strpart(ini, start+len)
|
||||||
|
let tailBR = substitute(tailBR, s:notslash . '\zs\\' . d,
|
||||||
|
\ escape(backref, '\\&'), 'g')
|
||||||
|
endif
|
||||||
|
let d = d-1
|
||||||
|
endwhile
|
||||||
|
if exists("b:match_debug")
|
||||||
|
if s:do_BR
|
||||||
|
let b:match_table = table
|
||||||
|
let b:match_word = word
|
||||||
|
else
|
||||||
|
let b:match_table = ""
|
||||||
|
let b:match_word = ""
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
return ini . ":" . tailBR
|
||||||
|
endfun
|
||||||
|
|
||||||
|
" Input a comma-separated list of groups with backrefs, such as
|
||||||
|
" a:groups = '\(foo\):end\1,\(bar\):end\1'
|
||||||
|
" and return a comma-separated list of groups with backrefs replaced:
|
||||||
|
" return '\(foo\):end\(foo\),\(bar\):end\(bar\)'
|
||||||
|
fun! s:ParseWords(groups)
|
||||||
|
let groups = substitute(a:groups.",", s:notslash.'\zs[,:]*,[,:]*', ',', 'g')
|
||||||
|
let groups = substitute(groups, s:notslash . '\zs:\{2,}', ':', 'g')
|
||||||
|
let parsed = ""
|
||||||
|
while groups =~ '[^,:]'
|
||||||
|
let i = matchend(groups, s:notslash . ':')
|
||||||
|
let j = matchend(groups, s:notslash . ',')
|
||||||
|
let ini = strpart(groups, 0, i-1)
|
||||||
|
let tail = strpart(groups, i, j-i-1) . ":"
|
||||||
|
let groups = strpart(groups, j)
|
||||||
|
let parsed = parsed . ini
|
||||||
|
let i = matchend(tail, s:notslash . ':')
|
||||||
|
while i != -1
|
||||||
|
" In 'if:else:endif', ini='if' and word='else' and then word='endif'.
|
||||||
|
let word = strpart(tail, 0, i-1)
|
||||||
|
let tail = strpart(tail, i)
|
||||||
|
let i = matchend(tail, s:notslash . ':')
|
||||||
|
let parsed = parsed . ":" . s:Resolve(ini, word, "word")
|
||||||
|
endwhile " Now, tail has been used up.
|
||||||
|
let parsed = parsed . ","
|
||||||
|
endwhile " groups =~ '[^,:]'
|
||||||
|
let parsed = substitute(parsed, ',$', '', '')
|
||||||
|
return parsed
|
||||||
|
endfun
|
||||||
|
|
||||||
|
" TODO I think this can be simplified and/or made more efficient.
|
||||||
|
" TODO What should I do if a:start is out of range?
|
||||||
|
" Return a regexp that matches all of a:string, such that
|
||||||
|
" matchstr(a:string, regexp) represents the match for a:pat that starts
|
||||||
|
" as close to a:start as possible, before being preferred to after, and
|
||||||
|
" ends after a:start .
|
||||||
|
" Usage:
|
||||||
|
" let regexp = s:Wholematch(getline("."), 'foo\|bar', col(".")-1)
|
||||||
|
" let i = match(getline("."), regexp)
|
||||||
|
" let j = matchend(getline("."), regexp)
|
||||||
|
" let match = matchstr(getline("."), regexp)
|
||||||
|
fun! s:Wholematch(string, pat, start)
|
||||||
|
let group = '\%(' . a:pat . '\)'
|
||||||
|
let prefix = (a:start ? '\(^.*\%<' . (a:start + 2) . 'c\)\zs' : '^')
|
||||||
|
let len = strlen(a:string)
|
||||||
|
let suffix = (a:start+1 < len ? '\(\%>'.(a:start+1).'c.*$\)\@=' : '$')
|
||||||
|
if a:string !~ prefix . group . suffix
|
||||||
|
let prefix = ''
|
||||||
|
endif
|
||||||
|
return prefix . group . suffix
|
||||||
|
endfun
|
||||||
|
|
||||||
|
" No extra arguments: s:Ref(string, d) will
|
||||||
|
" find the d'th occurrence of '\(' and return it, along with everything up
|
||||||
|
" to and including the matching '\)'.
|
||||||
|
" One argument: s:Ref(string, d, "start") returns the index of the start
|
||||||
|
" of the d'th '\(' and any other argument returns the length of the group.
|
||||||
|
" Two arguments: s:Ref(string, d, "foo", "bar") returns a string to be
|
||||||
|
" executed, having the effect of
|
||||||
|
" :let foo = s:Ref(string, d, "start")
|
||||||
|
" :let bar = s:Ref(string, d, "len")
|
||||||
|
fun! s:Ref(string, d, ...)
|
||||||
|
let len = strlen(a:string)
|
||||||
|
if a:d == 0
|
||||||
|
let start = 0
|
||||||
|
else
|
||||||
|
let cnt = a:d
|
||||||
|
let match = a:string
|
||||||
|
while cnt
|
||||||
|
let cnt = cnt - 1
|
||||||
|
let index = matchend(match, s:notslash . '\\(')
|
||||||
|
if index == -1
|
||||||
|
return ""
|
||||||
|
endif
|
||||||
|
let match = strpart(match, index)
|
||||||
|
endwhile
|
||||||
|
let start = len - strlen(match)
|
||||||
|
if a:0 == 1 && a:1 == "start"
|
||||||
|
return start - 2
|
||||||
|
endif
|
||||||
|
let cnt = 1
|
||||||
|
while cnt
|
||||||
|
let index = matchend(match, s:notslash . '\\(\|\\)') - 1
|
||||||
|
if index == -2
|
||||||
|
return ""
|
||||||
|
endif
|
||||||
|
" Increment if an open, decrement if a ')':
|
||||||
|
let cnt = cnt + (match[index]=="(" ? 1 : -1) " ')'
|
||||||
|
let match = strpart(match, index+1)
|
||||||
|
endwhile
|
||||||
|
let start = start - 2
|
||||||
|
let len = len - start - strlen(match)
|
||||||
|
endif
|
||||||
|
if a:0 == 1
|
||||||
|
return len
|
||||||
|
elseif a:0 == 2
|
||||||
|
return "let " . a:1 . "=" . start . "| let " . a:2 . "=" . len
|
||||||
|
else
|
||||||
|
return strpart(a:string, start, len)
|
||||||
|
endif
|
||||||
|
endfun
|
||||||
|
|
||||||
|
" Count the number of disjoint copies of pattern in string.
|
||||||
|
" If the pattern is a literal string and contains no '0' or '1' characters
|
||||||
|
" then s:Count(string, pattern, '0', '1') should be faster than
|
||||||
|
" s:Count(string, pattern).
|
||||||
|
fun! s:Count(string, pattern, ...)
|
||||||
|
let pat = escape(a:pattern, '\\')
|
||||||
|
if a:0 > 1
|
||||||
|
let foo = substitute(a:string, '[^'.a:pattern.']', "a:1", "g")
|
||||||
|
let foo = substitute(a:string, pat, a:2, "g")
|
||||||
|
let foo = substitute(foo, '[^' . a:2 . ']', "", "g")
|
||||||
|
return strlen(foo)
|
||||||
|
endif
|
||||||
|
let result = 0
|
||||||
|
let foo = a:string
|
||||||
|
let index = matchend(foo, pat)
|
||||||
|
while index != -1
|
||||||
|
let result = result + 1
|
||||||
|
let foo = strpart(foo, index)
|
||||||
|
let index = matchend(foo, pat)
|
||||||
|
endwhile
|
||||||
|
return result
|
||||||
|
endfun
|
||||||
|
|
||||||
|
" s:Resolve('\(a\)\(b\)', '\(c\)\2\1\1\2') should return table.word, where
|
||||||
|
" word = '\(c\)\(b\)\(a\)\3\2' and table = '-32-------'. That is, the first
|
||||||
|
" '\1' in target is replaced by '\(a\)' in word, table[1] = 3, and this
|
||||||
|
" indicates that all other instances of '\1' in target are to be replaced
|
||||||
|
" by '\3'. The hard part is dealing with nesting...
|
||||||
|
" Note that ":" is an illegal character for source and target,
|
||||||
|
" unless it is preceded by "\".
|
||||||
|
fun! s:Resolve(source, target, output)
|
||||||
|
let word = a:target
|
||||||
|
let i = matchend(word, s:notslash . '\\\d') - 1
|
||||||
|
let table = "----------"
|
||||||
|
while i != -2 " There are back references to be replaced.
|
||||||
|
let d = word[i]
|
||||||
|
let backref = s:Ref(a:source, d)
|
||||||
|
" The idea is to replace '\d' with backref. Before we do this,
|
||||||
|
" replace any \(\) groups in backref with :1, :2, ... if they
|
||||||
|
" correspond to the first, second, ... group already inserted
|
||||||
|
" into backref. Later, replace :1 with \1 and so on. The group
|
||||||
|
" number w+b within backref corresponds to the group number
|
||||||
|
" s within a:source.
|
||||||
|
" w = number of '\(' in word before the current one
|
||||||
|
let w = s:Count(
|
||||||
|
\ substitute(strpart(word, 0, i-1), '\\\\', '', 'g'), '\(', '1')
|
||||||
|
let b = 1 " number of the current '\(' in backref
|
||||||
|
let s = d " number of the current '\(' in a:source
|
||||||
|
while b <= s:Count(substitute(backref, '\\\\', '', 'g'), '\(', '1')
|
||||||
|
\ && s < 10
|
||||||
|
if table[s] == "-"
|
||||||
|
if w + b < 10
|
||||||
|
" let table[s] = w + b
|
||||||
|
let table = strpart(table, 0, s) . (w+b) . strpart(table, s+1)
|
||||||
|
endif
|
||||||
|
let b = b + 1
|
||||||
|
let s = s + 1
|
||||||
|
else
|
||||||
|
execute s:Ref(backref, b, "start", "len")
|
||||||
|
let ref = strpart(backref, start, len)
|
||||||
|
let backref = strpart(backref, 0, start) . ":". table[s]
|
||||||
|
\ . strpart(backref, start+len)
|
||||||
|
let s = s + s:Count(substitute(ref, '\\\\', '', 'g'), '\(', '1')
|
||||||
|
endif
|
||||||
|
endwhile
|
||||||
|
let word = strpart(word, 0, i-1) . backref . strpart(word, i+1)
|
||||||
|
let i = matchend(word, s:notslash . '\\\d') - 1
|
||||||
|
endwhile
|
||||||
|
let word = substitute(word, s:notslash . '\zs:', '\\', 'g')
|
||||||
|
if a:output == "table"
|
||||||
|
return table
|
||||||
|
elseif a:output == "word"
|
||||||
|
return word
|
||||||
|
else
|
||||||
|
return table . word
|
||||||
|
endif
|
||||||
|
endfun
|
||||||
|
|
||||||
|
" Assume a:comma = ",". Then the format for a:patterns and a:1 is
|
||||||
|
" a:patterns = "<pat1>,<pat2>,..."
|
||||||
|
" a:1 = "<alt1>,<alt2>,..."
|
||||||
|
" If <patn> is the first pattern that matches a:string then return <patn>
|
||||||
|
" if no optional arguments are given; return <patn>,<altn> if a:1 is given.
|
||||||
|
fun! s:Choose(patterns, string, comma, branch, prefix, suffix, ...)
|
||||||
|
let tail = (a:patterns =~ a:comma."$" ? a:patterns : a:patterns . a:comma)
|
||||||
|
let i = matchend(tail, s:notslash . a:comma)
|
||||||
|
if a:0
|
||||||
|
let alttail = (a:1 =~ a:comma."$" ? a:1 : a:1 . a:comma)
|
||||||
|
let j = matchend(alttail, s:notslash . a:comma)
|
||||||
|
endif
|
||||||
|
let current = strpart(tail, 0, i-1)
|
||||||
|
if a:branch == ""
|
||||||
|
let currpat = current
|
||||||
|
else
|
||||||
|
let currpat = substitute(current, s:notslash . a:branch, '\\|', 'g')
|
||||||
|
endif
|
||||||
|
while a:string !~ a:prefix . currpat . a:suffix
|
||||||
|
let tail = strpart(tail, i)
|
||||||
|
let i = matchend(tail, s:notslash . a:comma)
|
||||||
|
if i == -1
|
||||||
|
return -1
|
||||||
|
endif
|
||||||
|
let current = strpart(tail, 0, i-1)
|
||||||
|
if a:branch == ""
|
||||||
|
let currpat = current
|
||||||
|
else
|
||||||
|
let currpat = substitute(current, s:notslash . a:branch, '\\|', 'g')
|
||||||
|
endif
|
||||||
|
if a:0
|
||||||
|
let alttail = strpart(alttail, j)
|
||||||
|
let j = matchend(alttail, s:notslash . a:comma)
|
||||||
|
endif
|
||||||
|
endwhile
|
||||||
|
if a:0
|
||||||
|
let current = current . a:comma . strpart(alttail, 0, j-1)
|
||||||
|
endif
|
||||||
|
return current
|
||||||
|
endfun
|
||||||
|
|
||||||
|
fun! matchit#Match_debug()
|
||||||
|
let b:match_debug = 1 " Save debugging information.
|
||||||
|
" pat = all of b:match_words with backrefs parsed
|
||||||
|
amenu &Matchit.&pat :echo b:match_pat<CR>
|
||||||
|
" match = bit of text that is recognized as a match
|
||||||
|
amenu &Matchit.&match :echo b:match_match<CR>
|
||||||
|
" curcol = cursor column of the start of the matching text
|
||||||
|
amenu &Matchit.&curcol :echo b:match_col<CR>
|
||||||
|
" wholeBR = matching group, original version
|
||||||
|
amenu &Matchit.wh&oleBR :echo b:match_wholeBR<CR>
|
||||||
|
" iniBR = 'if' piece, original version
|
||||||
|
amenu &Matchit.ini&BR :echo b:match_iniBR<CR>
|
||||||
|
" ini = 'if' piece, with all backrefs resolved from match
|
||||||
|
amenu &Matchit.&ini :echo b:match_ini<CR>
|
||||||
|
" tail = 'else\|endif' piece, with all backrefs resolved from match
|
||||||
|
amenu &Matchit.&tail :echo b:match_tail<CR>
|
||||||
|
" fin = 'endif' piece, with all backrefs resolved from match
|
||||||
|
amenu &Matchit.&word :echo b:match_word<CR>
|
||||||
|
" '\'.d in ini refers to the same thing as '\'.table[d] in word.
|
||||||
|
amenu &Matchit.t&able :echo '0:' . b:match_table . ':9'<CR>
|
||||||
|
endfun
|
||||||
|
|
||||||
|
" Jump to the nearest unmatched "(" or "if" or "<tag>" if a:spflag == "bW"
|
||||||
|
" or the nearest unmatched "</tag>" or "endif" or ")" if a:spflag == "W".
|
||||||
|
" Return a "mark" for the original position, so that
|
||||||
|
" let m = MultiMatch("bW", "n") ... call winrestview(m)
|
||||||
|
" will return to the original position. If there is a problem, do not
|
||||||
|
" move the cursor and return {}, unless a count is given, in which case
|
||||||
|
" go up or down as many levels as possible and again return {}.
|
||||||
|
" TODO This relies on the same patterns as % matching. It might be a good
|
||||||
|
" idea to give it its own matching patterns.
|
||||||
|
fun! matchit#MultiMatch(spflag, mode)
|
||||||
|
let restore_options = s:RestoreOptions()
|
||||||
|
let startpos = [line("."), col(".")]
|
||||||
|
" save v:count1 variable, might be reset from the restore_cursor command
|
||||||
|
let level = v:count1
|
||||||
|
if a:mode == "o" && mode(1) !~# '[vV]'
|
||||||
|
exe "norm! v"
|
||||||
|
endif
|
||||||
|
|
||||||
|
" First step: if not already done, set the script variables
|
||||||
|
" s:do_BR flag for whether there are backrefs
|
||||||
|
" s:pat parsed version of b:match_words
|
||||||
|
" s:all regexp based on s:pat and the default groups
|
||||||
|
" This part is copied and slightly modified from matchit#Match_wrapper().
|
||||||
|
if !exists("b:match_words") || b:match_words == ""
|
||||||
|
let match_words = ""
|
||||||
|
" Allow b:match_words = "GetVimMatchWords()" .
|
||||||
|
elseif b:match_words =~ ":"
|
||||||
|
let match_words = b:match_words
|
||||||
|
else
|
||||||
|
execute "let match_words =" b:match_words
|
||||||
|
endif
|
||||||
|
if (match_words != s:last_words) || (&mps != s:last_mps) ||
|
||||||
|
\ exists("b:match_debug")
|
||||||
|
let default = escape(&mps, '[$^.*~\\/?]') . (strlen(&mps) ? "," : "") .
|
||||||
|
\ '\/\*:\*\/,#\s*if\%(n\=def\)\=:#\s*else\>:#\s*elif\>:#\s*endif\>'
|
||||||
|
let s:last_mps = &mps
|
||||||
|
let match_words = match_words . (strlen(match_words) ? "," : "") . default
|
||||||
|
let s:last_words = match_words
|
||||||
|
if match_words !~ s:notslash . '\\\d'
|
||||||
|
let s:do_BR = 0
|
||||||
|
let s:pat = match_words
|
||||||
|
else
|
||||||
|
let s:do_BR = 1
|
||||||
|
let s:pat = s:ParseWords(match_words)
|
||||||
|
endif
|
||||||
|
let s:all = '\%(' . substitute(s:pat, '[,:]\+', '\\|', 'g') . '\)'
|
||||||
|
if exists("b:match_debug")
|
||||||
|
let b:match_pat = s:pat
|
||||||
|
endif
|
||||||
|
" Reconstruct the version with unresolved backrefs.
|
||||||
|
let s:patBR = substitute(match_words.',',
|
||||||
|
\ s:notslash.'\zs[,:]*,[,:]*', ',', 'g')
|
||||||
|
let s:patBR = substitute(s:patBR, s:notslash.'\zs:\{2,}', ':', 'g')
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Second step: figure out the patterns for searchpair()
|
||||||
|
" and save the screen, cursor position, and 'ignorecase'.
|
||||||
|
" - TODO: A lot of this is copied from matchit#Match_wrapper().
|
||||||
|
" - maybe even more functionality should be split off
|
||||||
|
" - into separate functions!
|
||||||
|
let openlist = split(s:pat . ',', s:notslash . '\zs:.\{-}' . s:notslash . ',')
|
||||||
|
let midclolist = split(',' . s:pat, s:notslash . '\zs,.\{-}' . s:notslash . ':')
|
||||||
|
call map(midclolist, {-> split(v:val, s:notslash . ':')})
|
||||||
|
let closelist = []
|
||||||
|
let middlelist = []
|
||||||
|
call map(midclolist, {i,v -> [extend(closelist, v[-1 : -1]),
|
||||||
|
\ extend(middlelist, v[0 : -2])]})
|
||||||
|
call map(openlist, {i,v -> v =~# s:notslash . '\\|' ? '\%(' . v . '\)' : v})
|
||||||
|
call map(middlelist, {i,v -> v =~# s:notslash . '\\|' ? '\%(' . v . '\)' : v})
|
||||||
|
call map(closelist, {i,v -> v =~# s:notslash . '\\|' ? '\%(' . v . '\)' : v})
|
||||||
|
let open = join(openlist, ',')
|
||||||
|
let middle = join(middlelist, ',')
|
||||||
|
let close = join(closelist, ',')
|
||||||
|
if exists("b:match_skip")
|
||||||
|
let skip = b:match_skip
|
||||||
|
elseif exists("b:match_comment") " backwards compatibility and testing!
|
||||||
|
let skip = "r:" . b:match_comment
|
||||||
|
else
|
||||||
|
let skip = 's:comment\|string'
|
||||||
|
endif
|
||||||
|
let skip = s:ParseSkip(skip)
|
||||||
|
let view = winsaveview()
|
||||||
|
|
||||||
|
" Third step: call searchpair().
|
||||||
|
" Replace '\('--but not '\\('--with '\%(' and ',' with '\|'.
|
||||||
|
let openpat = substitute(open, '\%(' . s:notslash . '\)\@<=\\(', '\\%(', 'g')
|
||||||
|
let openpat = substitute(openpat, ',', '\\|', 'g')
|
||||||
|
let closepat = substitute(close, '\%(' . s:notslash . '\)\@<=\\(', '\\%(', 'g')
|
||||||
|
let closepat = substitute(closepat, ',', '\\|', 'g')
|
||||||
|
let middlepat = substitute(middle, '\%(' . s:notslash . '\)\@<=\\(', '\\%(', 'g')
|
||||||
|
let middlepat = substitute(middlepat, ',', '\\|', 'g')
|
||||||
|
|
||||||
|
if skip =~ 'synID' && !(has("syntax") && exists("g:syntax_on"))
|
||||||
|
let skip = '0'
|
||||||
|
else
|
||||||
|
try
|
||||||
|
execute "if " . skip . "| let skip = '0' | endif"
|
||||||
|
catch /^Vim\%((\a\+)\)\=:E363/
|
||||||
|
" We won't find anything, so skip searching, should keep Vim responsive.
|
||||||
|
return {}
|
||||||
|
endtry
|
||||||
|
endif
|
||||||
|
mark '
|
||||||
|
while level
|
||||||
|
if searchpair(openpat, middlepat, closepat, a:spflag, skip) < 1
|
||||||
|
call s:CleanUp(restore_options, a:mode, startpos)
|
||||||
|
return {}
|
||||||
|
endif
|
||||||
|
let level = level - 1
|
||||||
|
endwhile
|
||||||
|
|
||||||
|
" Restore options and return a string to restore the original position.
|
||||||
|
call s:CleanUp(restore_options, a:mode, startpos)
|
||||||
|
return view
|
||||||
|
endfun
|
||||||
|
|
||||||
|
" Search backwards for "if" or "while" or "<tag>" or ...
|
||||||
|
" and return "endif" or "endwhile" or "</tag>" or ... .
|
||||||
|
" For now, this uses b:match_words and the same script variables
|
||||||
|
" as matchit#Match_wrapper() . Later, it may get its own patterns,
|
||||||
|
" either from a buffer variable or passed as arguments.
|
||||||
|
" fun! s:Autocomplete()
|
||||||
|
" echo "autocomplete not yet implemented :-("
|
||||||
|
" if !exists("b:match_words") || b:match_words == ""
|
||||||
|
" return ""
|
||||||
|
" end
|
||||||
|
" let startpos = matchit#MultiMatch("bW")
|
||||||
|
"
|
||||||
|
" if startpos == ""
|
||||||
|
" return ""
|
||||||
|
" endif
|
||||||
|
" " - TODO: figure out whether 'if' or '<tag>' matched, and construct
|
||||||
|
" " - the appropriate closing.
|
||||||
|
" let matchline = getline(".")
|
||||||
|
" let curcol = col(".") - 1
|
||||||
|
" " - TODO: Change the s:all argument if there is a new set of match pats.
|
||||||
|
" let regexp = s:Wholematch(matchline, s:all, curcol)
|
||||||
|
" let suf = strlen(matchline) - matchend(matchline, regexp)
|
||||||
|
" let prefix = (curcol ? '^.\{' . curcol . '}\%(' : '^\%(')
|
||||||
|
" let suffix = (suf ? '\).\{' . suf . '}$' : '\)$')
|
||||||
|
" " Reconstruct the version with unresolved backrefs.
|
||||||
|
" let patBR = substitute(b:match_words.',', '[,:]*,[,:]*', ',', 'g')
|
||||||
|
" let patBR = substitute(patBR, ':\{2,}', ':', "g")
|
||||||
|
" " Now, set group and groupBR to the matching group: 'if:endif' or
|
||||||
|
" " 'while:endwhile' or whatever.
|
||||||
|
" let group = s:Choose(s:pat, matchline, ",", ":", prefix, suffix, patBR)
|
||||||
|
" let i = matchend(group, s:notslash . ",")
|
||||||
|
" let groupBR = strpart(group, i)
|
||||||
|
" let group = strpart(group, 0, i-1)
|
||||||
|
" " Now, matchline =~ prefix . substitute(group,':','\|','g') . suffix
|
||||||
|
" if s:do_BR
|
||||||
|
" let group = s:InsertRefs(groupBR, prefix, group, suffix, matchline)
|
||||||
|
" endif
|
||||||
|
" " let g:group = group
|
||||||
|
"
|
||||||
|
" " - TODO: Construct the closing from group.
|
||||||
|
" let fake = "end" . expand("<cword>")
|
||||||
|
" execute startpos
|
||||||
|
" return fake
|
||||||
|
" endfun
|
||||||
|
|
||||||
|
" Close all open structures. "Get the heck out of here!"
|
||||||
|
" fun! s:Gthhoh()
|
||||||
|
" let close = s:Autocomplete()
|
||||||
|
" while strlen(close)
|
||||||
|
" put=close
|
||||||
|
" let close = s:Autocomplete()
|
||||||
|
" endwhile
|
||||||
|
" endfun
|
||||||
|
|
||||||
|
" Parse special strings as typical skip arguments for searchpair():
|
||||||
|
" s:foo becomes (current syntax item) =~ foo
|
||||||
|
" S:foo becomes (current syntax item) !~ foo
|
||||||
|
" r:foo becomes (line before cursor) =~ foo
|
||||||
|
" R:foo becomes (line before cursor) !~ foo
|
||||||
|
fun! s:ParseSkip(str)
|
||||||
|
let skip = a:str
|
||||||
|
if skip[1] == ":"
|
||||||
|
if skip[0] == "s"
|
||||||
|
let skip = "synIDattr(synID(line('.'),col('.'),1),'name') =~? '" .
|
||||||
|
\ strpart(skip,2) . "'"
|
||||||
|
elseif skip[0] == "S"
|
||||||
|
let skip = "synIDattr(synID(line('.'),col('.'),1),'name') !~? '" .
|
||||||
|
\ strpart(skip,2) . "'"
|
||||||
|
elseif skip[0] == "r"
|
||||||
|
let skip = "strpart(getline('.'),0,col('.'))=~'" . strpart(skip,2). "'"
|
||||||
|
elseif skip[0] == "R"
|
||||||
|
let skip = "strpart(getline('.'),0,col('.'))!~'" . strpart(skip,2). "'"
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
return skip
|
||||||
|
endfun
|
||||||
|
|
||||||
|
let &cpo = s:save_cpo
|
||||||
|
unlet s:save_cpo
|
||||||
|
|
||||||
|
" vim:sts=2:sw=2:et:
|
||||||
22
runtime/pack/dist/opt/matchit/doc/matchit.txt
vendored
22
runtime/pack/dist/opt/matchit/doc/matchit.txt
vendored
@@ -1,13 +1,13 @@
|
|||||||
*matchit.txt* Extended "%" matching
|
*matchit.txt* Extended "%" matching
|
||||||
|
|
||||||
For instructions on installing this file, type
|
For instructions on installing this file, type
|
||||||
:help matchit-install
|
`:help matchit-install`
|
||||||
inside Vim.
|
inside Vim.
|
||||||
|
|
||||||
For Vim version 6.3. Last change: 2018 Dec 31
|
For Vim version 8.1. Last change: 2019 Jan 28
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Benji Fisher
|
VIM REFERENCE MANUAL by Benji Fisher et al
|
||||||
|
|
||||||
*matchit* *matchit.vim*
|
*matchit* *matchit.vim*
|
||||||
|
|
||||||
@@ -69,12 +69,8 @@ for how to specify matching patterns.
|
|||||||
|
|
||||||
MODES: *matchit-modes* *matchit-v_%* *matchit-o_%*
|
MODES: *matchit-modes* *matchit-v_%* *matchit-o_%*
|
||||||
|
|
||||||
Mostly, % and related motions (|g%| and |[%| and |]%|) work just like built-in
|
Mostly, % and related motions (|g%| and |[%| and |]%|) should just work like built-in
|
||||||
|motion| commands in |Operator-pending| and |Visual| modes. However, you
|
|motion| commands in |Operator-pending| and |Visual| modes (as of 8.1.648)
|
||||||
cannot make these motions |linewise| or |characterwise|, since the |:omap|s
|
|
||||||
that define them start with "v" in order to make the default behavior
|
|
||||||
inclusive. (See |o_v|.) In other words, "dV%" will not work. The
|
|
||||||
work-around is to go through Visual mode: "V%d" will work.
|
|
||||||
|
|
||||||
LANGUAGES: *matchit-languages*
|
LANGUAGES: *matchit-languages*
|
||||||
|
|
||||||
@@ -386,16 +382,10 @@ try to respond to reports of bugs that cause real problems. If it does not
|
|||||||
cause serious problems, or if there is a work-around, a bug may sit there for
|
cause serious problems, or if there is a work-around, a bug may sit there for
|
||||||
a while. Moral: if a bug (known or not) bothers you, let me know.
|
a while. Moral: if a bug (known or not) bothers you, let me know.
|
||||||
|
|
||||||
The various |:vmap|s defined in the script (%, |g%|, |[%|, |]%|, |a%|) may
|
|
||||||
have undesired effects in Select mode |Select-mode-mapping|. At least, if you
|
|
||||||
want to replace the selection with any character in "ag%[]" there will be a
|
|
||||||
pause of |'updatetime'| first. E.g., "yV%" would normally work linewise, but
|
|
||||||
the plugin mapping makes it characterwise.
|
|
||||||
|
|
||||||
It would be nice if "\0" were recognized as the entire pattern. That is, it
|
It would be nice if "\0" were recognized as the entire pattern. That is, it
|
||||||
would be nice if "foo:\end\0" had the same effect as "\(foo\):\end\1". I may
|
would be nice if "foo:\end\0" had the same effect as "\(foo\):\end\1". I may
|
||||||
try to implement this in a future version. (This is not so easy to arrange as
|
try to implement this in a future version. (This is not so easy to arrange as
|
||||||
you might think!)
|
you might think!)
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
vim:tw=78:fo=tcq2:
|
vim:tw=78:fo=tcq2:ft=help:
|
||||||
|
|||||||
812
runtime/pack/dist/opt/matchit/plugin/matchit.vim
vendored
812
runtime/pack/dist/opt/matchit/plugin/matchit.vim
vendored
@@ -1,13 +1,13 @@
|
|||||||
" matchit.vim: (global plugin) Extended "%" matching
|
" matchit.vim: (global plugin) Extended "%" matching
|
||||||
" Last Change: 2018 Dec 31
|
" Maintainer: Christian Brabandt
|
||||||
" Maintainer: Benji Fisher PhD <benji@member.AMS.org>
|
" Version: 1.15
|
||||||
" Version: 1.13.3, for Vim 6.3+
|
" Last Change: 2019 Jan 28
|
||||||
" Fix from Fernando Torres included.
|
" Repository: https://github.com/chrisbra/matchit
|
||||||
" Improvement from Ken Takata included.
|
" Previous URL:http://www.vim.org/script.php?script_id=39
|
||||||
" URL: http://www.vim.org/script.php?script_id=39
|
" Previous Maintainer: Benji Fisher PhD <benji@member.AMS.org>
|
||||||
|
|
||||||
" Documentation:
|
" Documentation:
|
||||||
" The documentation is in a separate file, matchit.txt .
|
" The documentation is in a separate file: ../doc/matchit.txt .
|
||||||
|
|
||||||
" Credits:
|
" Credits:
|
||||||
" Vim editor by Bram Moolenaar (Thanks, Bram!)
|
" Vim editor by Bram Moolenaar (Thanks, Bram!)
|
||||||
@@ -38,789 +38,55 @@
|
|||||||
" work but extend it.
|
" work but extend it.
|
||||||
|
|
||||||
" Allow user to prevent loading and prevent duplicate loading.
|
" Allow user to prevent loading and prevent duplicate loading.
|
||||||
if exists("loaded_matchit") || &cp
|
if exists("g:loaded_matchit") || &cp
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let loaded_matchit = 1
|
let g:loaded_matchit = 1
|
||||||
let s:last_mps = ""
|
|
||||||
let s:last_words = ":"
|
|
||||||
let s:patBR = ""
|
|
||||||
|
|
||||||
let s:save_cpo = &cpo
|
let s:save_cpo = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
nnoremap <silent> % :<C-U>call <SID>Match_wrapper('',1,'n') <CR>
|
nnoremap <silent> <Plug>(MatchitNormalForward) :<C-U>call matchit#Match_wrapper('',1,'n')<CR>
|
||||||
nnoremap <silent> g% :<C-U>call <SID>Match_wrapper('',0,'n') <CR>
|
nnoremap <silent> <Plug>(MatchitNormalBackward) :<C-U>call matchit#Match_wrapper('',0,'n')<CR>
|
||||||
vnoremap <silent> % :<C-U>call <SID>Match_wrapper('',1,'v') <CR>m'gv``
|
vnoremap <silent> <Plug>(MatchitVisualForward) :<C-U>call matchit#Match_wrapper('',1,'v')<CR>m'gv``
|
||||||
vnoremap <silent> g% :<C-U>call <SID>Match_wrapper('',0,'v') <CR>m'gv``
|
vnoremap <silent> <Plug>(MatchitVisualBackward) :<C-U>call matchit#Match_wrapper('',0,'v')<CR>m'gv``
|
||||||
onoremap <silent> % v:<C-U>call <SID>Match_wrapper('',1,'o') <CR>
|
onoremap <silent> <Plug>(MatchitOperationForward) :<C-U>call matchit#Match_wrapper('',1,'o')<CR>
|
||||||
onoremap <silent> g% v:<C-U>call <SID>Match_wrapper('',0,'o') <CR>
|
onoremap <silent> <Plug>(MatchitOperationBackward) :<C-U>call matchit#Match_wrapper('',0,'o')<CR>
|
||||||
|
|
||||||
|
nmap <silent> % <Plug>(MatchitNormalForward)
|
||||||
|
nmap <silent> g% <Plug>(MatchitNormalBackward)
|
||||||
|
xmap <silent> % <Plug>(MatchitVisualForward)
|
||||||
|
xmap <silent> g% <Plug>(MatchitVisualBackward)
|
||||||
|
omap <silent> % <Plug>(MatchitOperationForward)
|
||||||
|
omap <silent> g% <Plug>(MatchitOperationBackward)
|
||||||
|
|
||||||
" Analogues of [{ and ]} using matching patterns:
|
" Analogues of [{ and ]} using matching patterns:
|
||||||
nnoremap <silent> [% :<C-U>call <SID>MultiMatch("bW", "n") <CR>
|
nnoremap <silent> <Plug>(MatchitNormalMultiBackward) :<C-U>call matchit#MultiMatch("bW", "n")<CR>
|
||||||
nnoremap <silent> ]% :<C-U>call <SID>MultiMatch("W", "n") <CR>
|
nnoremap <silent> <Plug>(MatchitNormalMultiForward) :<C-U>call matchit#MultiMatch("W", "n")<CR>
|
||||||
vmap [% <Esc>[%m'gv``
|
vnoremap <silent> <Plug>(MatchitVisualMultiBackward) :<C-U>call matchit#MultiMatch("bW", "n")<CR>m'gv``
|
||||||
vmap ]% <Esc>]%m'gv``
|
vnoremap <silent> <Plug>(MatchitVisualMultiForward) :<C-U>call matchit#MultiMatch("W", "n")<CR>m'gv``
|
||||||
" vnoremap <silent> [% :<C-U>call <SID>MultiMatch("bW", "v") <CR>m'gv``
|
onoremap <silent> <Plug>(MatchitOperationMultiBackward) :<C-U>call matchit#MultiMatch("bW", "o")<CR>
|
||||||
" vnoremap <silent> ]% :<C-U>call <SID>MultiMatch("W", "v") <CR>m'gv``
|
onoremap <silent> <Plug>(MatchitOperationMultiForward) :<C-U>call matchit#MultiMatch("W", "o")<CR>
|
||||||
onoremap <silent> [% v:<C-U>call <SID>MultiMatch("bW", "o") <CR>
|
|
||||||
onoremap <silent> ]% v:<C-U>call <SID>MultiMatch("W", "o") <CR>
|
nmap <silent> [% <Plug>(MatchitNormalMultiBackward)
|
||||||
|
nmap <silent> ]% <Plug>(MatchitNormalMultiForward)
|
||||||
|
xmap <silent> [% <Plug>(MatchitVisualMultiBackward)
|
||||||
|
xmap <silent> ]% <Plug>(MatchitVisualMultiForward)
|
||||||
|
omap <silent> [% <Plug>(MatchitOperationMultiBackward)
|
||||||
|
omap <silent> ]% <Plug>(MatchitOperationMultiForward)
|
||||||
|
|
||||||
" text object:
|
" text object:
|
||||||
vmap a% <Esc>[%v]%
|
vmap <silent> <Plug>(MatchitVisualTextObject) <Plug>(MatchitVisualMultiBackward)o<Plug>(MatchitVisualMultiForward)
|
||||||
|
xmap a% <Plug>(MatchitVisualTextObject)
|
||||||
" Auto-complete mappings: (not yet "ready for prime time")
|
|
||||||
" TODO Read :help write-plugin for the "right" way to let the user
|
|
||||||
" specify a key binding.
|
|
||||||
" let g:match_auto = '<C-]>'
|
|
||||||
" let g:match_autoCR = '<C-CR>'
|
|
||||||
" if exists("g:match_auto")
|
|
||||||
" execute "inoremap " . g:match_auto . ' x<Esc>"=<SID>Autocomplete()<CR>Pls'
|
|
||||||
" endif
|
|
||||||
" if exists("g:match_autoCR")
|
|
||||||
" execute "inoremap " . g:match_autoCR . ' <CR><C-R>=<SID>Autocomplete()<CR>'
|
|
||||||
" endif
|
|
||||||
" if exists("g:match_gthhoh")
|
|
||||||
" execute "inoremap " . g:match_gthhoh . ' <C-O>:call <SID>Gthhoh()<CR>'
|
|
||||||
" endif " gthhoh = "Get the heck out of here!"
|
|
||||||
|
|
||||||
let s:notslash = '\\\@<!\%(\\\\\)*'
|
|
||||||
|
|
||||||
function! s:Match_wrapper(word, forward, mode) range
|
|
||||||
" In s:CleanUp(), :execute "set" restore_options .
|
|
||||||
let restore_options = ""
|
|
||||||
if exists("b:match_ignorecase") && b:match_ignorecase != &ic
|
|
||||||
let restore_options .= (&ic ? " " : " no") . "ignorecase"
|
|
||||||
let &ignorecase = b:match_ignorecase
|
|
||||||
endif
|
|
||||||
if &ve != ''
|
|
||||||
let restore_options = " ve=" . &ve . restore_options
|
|
||||||
set ve=
|
|
||||||
endif
|
|
||||||
" If this function was called from Visual mode, make sure that the cursor
|
|
||||||
" is at the correct end of the Visual range:
|
|
||||||
if a:mode == "v"
|
|
||||||
execute "normal! gv\<Esc>"
|
|
||||||
endif
|
|
||||||
" In s:CleanUp(), we may need to check whether the cursor moved forward.
|
|
||||||
let startline = line(".")
|
|
||||||
let startcol = col(".")
|
|
||||||
" Use default behavior if called with a count.
|
|
||||||
if v:count
|
|
||||||
exe "normal! " . v:count . "%"
|
|
||||||
return s:CleanUp(restore_options, a:mode, startline, startcol)
|
|
||||||
end
|
|
||||||
|
|
||||||
" First step: if not already done, set the script variables
|
|
||||||
" s:do_BR flag for whether there are backrefs
|
|
||||||
" s:pat parsed version of b:match_words
|
|
||||||
" s:all regexp based on s:pat and the default groups
|
|
||||||
"
|
|
||||||
if !exists("b:match_words") || b:match_words == ""
|
|
||||||
let match_words = ""
|
|
||||||
" Allow b:match_words = "GetVimMatchWords()" .
|
|
||||||
elseif b:match_words =~ ":"
|
|
||||||
let match_words = b:match_words
|
|
||||||
else
|
|
||||||
execute "let match_words =" b:match_words
|
|
||||||
endif
|
|
||||||
" Thanks to Preben "Peppe" Guldberg and Bram Moolenaar for this suggestion!
|
|
||||||
if (match_words != s:last_words) || (&mps != s:last_mps)
|
|
||||||
\ || exists("b:match_debug")
|
|
||||||
let s:last_mps = &mps
|
|
||||||
" The next several lines were here before
|
|
||||||
" BF started messing with this script.
|
|
||||||
" quote the special chars in 'matchpairs', replace [,:] with \| and then
|
|
||||||
" append the builtin pairs (/*, */, #if, #ifdef, #else, #elif, #endif)
|
|
||||||
" let default = substitute(escape(&mps, '[$^.*~\\/?]'), '[,:]\+',
|
|
||||||
" \ '\\|', 'g').'\|\/\*\|\*\/\|#if\>\|#ifdef\>\|#else\>\|#elif\>\|#endif\>'
|
|
||||||
let default = escape(&mps, '[$^.*~\\/?]') . (strlen(&mps) ? "," : "") .
|
|
||||||
\ '\/\*:\*\/,#\s*if\%(def\)\=:#\s*else\>:#\s*elif\>:#\s*endif\>'
|
|
||||||
" s:all = pattern with all the keywords
|
|
||||||
let match_words = match_words . (strlen(match_words) ? "," : "") . default
|
|
||||||
let s:last_words = match_words
|
|
||||||
if match_words !~ s:notslash . '\\\d'
|
|
||||||
let s:do_BR = 0
|
|
||||||
let s:pat = match_words
|
|
||||||
else
|
|
||||||
let s:do_BR = 1
|
|
||||||
let s:pat = s:ParseWords(match_words)
|
|
||||||
endif
|
|
||||||
let s:all = substitute(s:pat, s:notslash . '\zs[,:]\+', '\\|', 'g')
|
|
||||||
let s:all = '\%(' . s:all . '\)'
|
|
||||||
" let s:all = '\%(' . substitute(s:all, '\\\ze[,:]', '', 'g') . '\)'
|
|
||||||
if exists("b:match_debug")
|
|
||||||
let b:match_pat = s:pat
|
|
||||||
endif
|
|
||||||
" Reconstruct the version with unresolved backrefs.
|
|
||||||
let s:patBR = substitute(match_words.',',
|
|
||||||
\ s:notslash.'\zs[,:]*,[,:]*', ',', 'g')
|
|
||||||
let s:patBR = substitute(s:patBR, s:notslash.'\zs:\{2,}', ':', 'g')
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Second step: set the following local variables:
|
|
||||||
" matchline = line on which the cursor started
|
|
||||||
" curcol = number of characters before match
|
|
||||||
" prefix = regexp for start of line to start of match
|
|
||||||
" suffix = regexp for end of match to end of line
|
|
||||||
" Require match to end on or after the cursor and prefer it to
|
|
||||||
" start on or before the cursor.
|
|
||||||
let matchline = getline(startline)
|
|
||||||
if a:word != ''
|
|
||||||
" word given
|
|
||||||
if a:word !~ s:all
|
|
||||||
echohl WarningMsg|echo 'Missing rule for word:"'.a:word.'"'|echohl NONE
|
|
||||||
return s:CleanUp(restore_options, a:mode, startline, startcol)
|
|
||||||
endif
|
|
||||||
let matchline = a:word
|
|
||||||
let curcol = 0
|
|
||||||
let prefix = '^\%('
|
|
||||||
let suffix = '\)$'
|
|
||||||
" Now the case when "word" is not given
|
|
||||||
else " Find the match that ends on or after the cursor and set curcol.
|
|
||||||
let regexp = s:Wholematch(matchline, s:all, startcol-1)
|
|
||||||
let curcol = match(matchline, regexp)
|
|
||||||
" If there is no match, give up.
|
|
||||||
if curcol == -1
|
|
||||||
return s:CleanUp(restore_options, a:mode, startline, startcol)
|
|
||||||
endif
|
|
||||||
let endcol = matchend(matchline, regexp)
|
|
||||||
let suf = strlen(matchline) - endcol
|
|
||||||
let prefix = (curcol ? '^.*\%' . (curcol + 1) . 'c\%(' : '^\%(')
|
|
||||||
let suffix = (suf ? '\)\%' . (endcol + 1) . 'c.*$' : '\)$')
|
|
||||||
endif
|
|
||||||
if exists("b:match_debug")
|
|
||||||
let b:match_match = matchstr(matchline, regexp)
|
|
||||||
let b:match_col = curcol+1
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Third step: Find the group and single word that match, and the original
|
|
||||||
" (backref) versions of these. Then, resolve the backrefs.
|
|
||||||
" Set the following local variable:
|
|
||||||
" group = colon-separated list of patterns, one of which matches
|
|
||||||
" = ini:mid:fin or ini:fin
|
|
||||||
"
|
|
||||||
" Now, set group and groupBR to the matching group: 'if:endif' or
|
|
||||||
" 'while:endwhile' or whatever. A bit of a kluge: s:Choose() returns
|
|
||||||
" group . "," . groupBR, and we pick it apart.
|
|
||||||
let group = s:Choose(s:pat, matchline, ",", ":", prefix, suffix, s:patBR)
|
|
||||||
let i = matchend(group, s:notslash . ",")
|
|
||||||
let groupBR = strpart(group, i)
|
|
||||||
let group = strpart(group, 0, i-1)
|
|
||||||
" Now, matchline =~ prefix . substitute(group,':','\|','g') . suffix
|
|
||||||
if s:do_BR " Do the hard part: resolve those backrefs!
|
|
||||||
let group = s:InsertRefs(groupBR, prefix, group, suffix, matchline)
|
|
||||||
endif
|
|
||||||
if exists("b:match_debug")
|
|
||||||
let b:match_wholeBR = groupBR
|
|
||||||
let i = matchend(groupBR, s:notslash . ":")
|
|
||||||
let b:match_iniBR = strpart(groupBR, 0, i-1)
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Fourth step: Set the arguments for searchpair().
|
|
||||||
let i = matchend(group, s:notslash . ":")
|
|
||||||
let j = matchend(group, '.*' . s:notslash . ":")
|
|
||||||
let ini = strpart(group, 0, i-1)
|
|
||||||
let mid = substitute(strpart(group, i,j-i-1), s:notslash.'\zs:', '\\|', 'g')
|
|
||||||
let fin = strpart(group, j)
|
|
||||||
"Un-escape the remaining , and : characters.
|
|
||||||
let ini = substitute(ini, s:notslash . '\zs\\\(:\|,\)', '\1', 'g')
|
|
||||||
let mid = substitute(mid, s:notslash . '\zs\\\(:\|,\)', '\1', 'g')
|
|
||||||
let fin = substitute(fin, s:notslash . '\zs\\\(:\|,\)', '\1', 'g')
|
|
||||||
" searchpair() requires that these patterns avoid \(\) groups.
|
|
||||||
let ini = substitute(ini, s:notslash . '\zs\\(', '\\%(', 'g')
|
|
||||||
let mid = substitute(mid, s:notslash . '\zs\\(', '\\%(', 'g')
|
|
||||||
let fin = substitute(fin, s:notslash . '\zs\\(', '\\%(', 'g')
|
|
||||||
" Set mid. This is optimized for readability, not micro-efficiency!
|
|
||||||
if a:forward && matchline =~ prefix . fin . suffix
|
|
||||||
\ || !a:forward && matchline =~ prefix . ini . suffix
|
|
||||||
let mid = ""
|
|
||||||
endif
|
|
||||||
" Set flag. This is optimized for readability, not micro-efficiency!
|
|
||||||
if a:forward && matchline =~ prefix . fin . suffix
|
|
||||||
\ || !a:forward && matchline !~ prefix . ini . suffix
|
|
||||||
let flag = "bW"
|
|
||||||
else
|
|
||||||
let flag = "W"
|
|
||||||
endif
|
|
||||||
" Set skip.
|
|
||||||
if exists("b:match_skip")
|
|
||||||
let skip = b:match_skip
|
|
||||||
elseif exists("b:match_comment") " backwards compatibility and testing!
|
|
||||||
let skip = "r:" . b:match_comment
|
|
||||||
else
|
|
||||||
let skip = 's:comment\|string'
|
|
||||||
endif
|
|
||||||
let skip = s:ParseSkip(skip)
|
|
||||||
if exists("b:match_debug")
|
|
||||||
let b:match_ini = ini
|
|
||||||
let b:match_tail = (strlen(mid) ? mid.'\|' : '') . fin
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Fifth step: actually start moving the cursor and call searchpair().
|
|
||||||
" Later, :execute restore_cursor to get to the original screen.
|
|
||||||
let restore_cursor = virtcol(".") . "|"
|
|
||||||
normal! g0
|
|
||||||
let restore_cursor = line(".") . "G" . virtcol(".") . "|zs" . restore_cursor
|
|
||||||
normal! H
|
|
||||||
let restore_cursor = "normal!" . line(".") . "Gzt" . restore_cursor
|
|
||||||
execute restore_cursor
|
|
||||||
call cursor(0, curcol + 1)
|
|
||||||
" normal! 0
|
|
||||||
" if curcol
|
|
||||||
" execute "normal!" . curcol . "l"
|
|
||||||
" endif
|
|
||||||
if skip =~ 'synID' && !(has("syntax") && exists("g:syntax_on"))
|
|
||||||
let skip = '0'
|
|
||||||
else
|
|
||||||
execute "if " . skip . "| let skip = '0' | endif"
|
|
||||||
endif
|
|
||||||
let sp_return = searchpair(ini, mid, fin, flag, skip)
|
|
||||||
let final_position = "call cursor(" . line(".") . "," . col(".") . ")"
|
|
||||||
" Restore cursor position and original screen.
|
|
||||||
execute restore_cursor
|
|
||||||
normal! m'
|
|
||||||
if sp_return > 0
|
|
||||||
execute final_position
|
|
||||||
endif
|
|
||||||
return s:CleanUp(restore_options, a:mode, startline, startcol, mid.'\|'.fin)
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" Restore options and do some special handling for Operator-pending mode.
|
|
||||||
" The optional argument is the tail of the matching group.
|
|
||||||
fun! s:CleanUp(options, mode, startline, startcol, ...)
|
|
||||||
if strlen(a:options)
|
|
||||||
execute "set" a:options
|
|
||||||
endif
|
|
||||||
" Open folds, if appropriate.
|
|
||||||
if a:mode != "o"
|
|
||||||
if &foldopen =~ "percent"
|
|
||||||
normal! zv
|
|
||||||
endif
|
|
||||||
" In Operator-pending mode, we want to include the whole match
|
|
||||||
" (for example, d%).
|
|
||||||
" This is only a problem if we end up moving in the forward direction.
|
|
||||||
elseif (a:startline < line(".")) ||
|
|
||||||
\ (a:startline == line(".") && a:startcol < col("."))
|
|
||||||
if a:0
|
|
||||||
" Check whether the match is a single character. If not, move to the
|
|
||||||
" end of the match.
|
|
||||||
let matchline = getline(".")
|
|
||||||
let currcol = col(".")
|
|
||||||
let regexp = s:Wholematch(matchline, a:1, currcol-1)
|
|
||||||
let endcol = matchend(matchline, regexp)
|
|
||||||
if endcol > currcol " This is NOT off by one!
|
|
||||||
call cursor(0, endcol)
|
|
||||||
endif
|
|
||||||
endif " a:0
|
|
||||||
endif " a:mode != "o" && etc.
|
|
||||||
return 0
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" Example (simplified HTML patterns): if
|
|
||||||
" a:groupBR = '<\(\k\+\)>:</\1>'
|
|
||||||
" a:prefix = '^.\{3}\('
|
|
||||||
" a:group = '<\(\k\+\)>:</\(\k\+\)>'
|
|
||||||
" a:suffix = '\).\{2}$'
|
|
||||||
" a:matchline = "123<tag>12" or "123</tag>12"
|
|
||||||
" then extract "tag" from a:matchline and return "<tag>:</tag>" .
|
|
||||||
fun! s:InsertRefs(groupBR, prefix, group, suffix, matchline)
|
|
||||||
if a:matchline !~ a:prefix .
|
|
||||||
\ substitute(a:group, s:notslash . '\zs:', '\\|', 'g') . a:suffix
|
|
||||||
return a:group
|
|
||||||
endif
|
|
||||||
let i = matchend(a:groupBR, s:notslash . ':')
|
|
||||||
let ini = strpart(a:groupBR, 0, i-1)
|
|
||||||
let tailBR = strpart(a:groupBR, i)
|
|
||||||
let word = s:Choose(a:group, a:matchline, ":", "", a:prefix, a:suffix,
|
|
||||||
\ a:groupBR)
|
|
||||||
let i = matchend(word, s:notslash . ":")
|
|
||||||
let wordBR = strpart(word, i)
|
|
||||||
let word = strpart(word, 0, i-1)
|
|
||||||
" Now, a:matchline =~ a:prefix . word . a:suffix
|
|
||||||
if wordBR != ini
|
|
||||||
let table = s:Resolve(ini, wordBR, "table")
|
|
||||||
else
|
|
||||||
" let table = "----------"
|
|
||||||
let table = ""
|
|
||||||
let d = 0
|
|
||||||
while d < 10
|
|
||||||
if tailBR =~ s:notslash . '\\' . d
|
|
||||||
" let table[d] = d
|
|
||||||
let table = table . d
|
|
||||||
else
|
|
||||||
let table = table . "-"
|
|
||||||
endif
|
|
||||||
let d = d + 1
|
|
||||||
endwhile
|
|
||||||
endif
|
|
||||||
let d = 9
|
|
||||||
while d
|
|
||||||
if table[d] != "-"
|
|
||||||
let backref = substitute(a:matchline, a:prefix.word.a:suffix,
|
|
||||||
\ '\'.table[d], "")
|
|
||||||
" Are there any other characters that should be escaped?
|
|
||||||
let backref = escape(backref, '*,:')
|
|
||||||
execute s:Ref(ini, d, "start", "len")
|
|
||||||
let ini = strpart(ini, 0, start) . backref . strpart(ini, start+len)
|
|
||||||
let tailBR = substitute(tailBR, s:notslash . '\zs\\' . d,
|
|
||||||
\ escape(backref, '\\&'), 'g')
|
|
||||||
endif
|
|
||||||
let d = d-1
|
|
||||||
endwhile
|
|
||||||
if exists("b:match_debug")
|
|
||||||
if s:do_BR
|
|
||||||
let b:match_table = table
|
|
||||||
let b:match_word = word
|
|
||||||
else
|
|
||||||
let b:match_table = ""
|
|
||||||
let b:match_word = ""
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
return ini . ":" . tailBR
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" Input a comma-separated list of groups with backrefs, such as
|
|
||||||
" a:groups = '\(foo\):end\1,\(bar\):end\1'
|
|
||||||
" and return a comma-separated list of groups with backrefs replaced:
|
|
||||||
" return '\(foo\):end\(foo\),\(bar\):end\(bar\)'
|
|
||||||
fun! s:ParseWords(groups)
|
|
||||||
let groups = substitute(a:groups.",", s:notslash.'\zs[,:]*,[,:]*', ',', 'g')
|
|
||||||
let groups = substitute(groups, s:notslash . '\zs:\{2,}', ':', 'g')
|
|
||||||
let parsed = ""
|
|
||||||
while groups =~ '[^,:]'
|
|
||||||
let i = matchend(groups, s:notslash . ':')
|
|
||||||
let j = matchend(groups, s:notslash . ',')
|
|
||||||
let ini = strpart(groups, 0, i-1)
|
|
||||||
let tail = strpart(groups, i, j-i-1) . ":"
|
|
||||||
let groups = strpart(groups, j)
|
|
||||||
let parsed = parsed . ini
|
|
||||||
let i = matchend(tail, s:notslash . ':')
|
|
||||||
while i != -1
|
|
||||||
" In 'if:else:endif', ini='if' and word='else' and then word='endif'.
|
|
||||||
let word = strpart(tail, 0, i-1)
|
|
||||||
let tail = strpart(tail, i)
|
|
||||||
let i = matchend(tail, s:notslash . ':')
|
|
||||||
let parsed = parsed . ":" . s:Resolve(ini, word, "word")
|
|
||||||
endwhile " Now, tail has been used up.
|
|
||||||
let parsed = parsed . ","
|
|
||||||
endwhile " groups =~ '[^,:]'
|
|
||||||
let parsed = substitute(parsed, ',$', '', '')
|
|
||||||
return parsed
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" TODO I think this can be simplified and/or made more efficient.
|
|
||||||
" TODO What should I do if a:start is out of range?
|
|
||||||
" Return a regexp that matches all of a:string, such that
|
|
||||||
" matchstr(a:string, regexp) represents the match for a:pat that starts
|
|
||||||
" as close to a:start as possible, before being preferred to after, and
|
|
||||||
" ends after a:start .
|
|
||||||
" Usage:
|
|
||||||
" let regexp = s:Wholematch(getline("."), 'foo\|bar', col(".")-1)
|
|
||||||
" let i = match(getline("."), regexp)
|
|
||||||
" let j = matchend(getline("."), regexp)
|
|
||||||
" let match = matchstr(getline("."), regexp)
|
|
||||||
fun! s:Wholematch(string, pat, start)
|
|
||||||
let group = '\%(' . a:pat . '\)'
|
|
||||||
let prefix = (a:start ? '\(^.*\%<' . (a:start + 2) . 'c\)\zs' : '^')
|
|
||||||
let len = strlen(a:string)
|
|
||||||
let suffix = (a:start+1 < len ? '\(\%>'.(a:start+1).'c.*$\)\@=' : '$')
|
|
||||||
if a:string !~ prefix . group . suffix
|
|
||||||
let prefix = ''
|
|
||||||
endif
|
|
||||||
return prefix . group . suffix
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" No extra arguments: s:Ref(string, d) will
|
|
||||||
" find the d'th occurrence of '\(' and return it, along with everything up
|
|
||||||
" to and including the matching '\)'.
|
|
||||||
" One argument: s:Ref(string, d, "start") returns the index of the start
|
|
||||||
" of the d'th '\(' and any other argument returns the length of the group.
|
|
||||||
" Two arguments: s:Ref(string, d, "foo", "bar") returns a string to be
|
|
||||||
" executed, having the effect of
|
|
||||||
" :let foo = s:Ref(string, d, "start")
|
|
||||||
" :let bar = s:Ref(string, d, "len")
|
|
||||||
fun! s:Ref(string, d, ...)
|
|
||||||
let len = strlen(a:string)
|
|
||||||
if a:d == 0
|
|
||||||
let start = 0
|
|
||||||
else
|
|
||||||
let cnt = a:d
|
|
||||||
let match = a:string
|
|
||||||
while cnt
|
|
||||||
let cnt = cnt - 1
|
|
||||||
let index = matchend(match, s:notslash . '\\(')
|
|
||||||
if index == -1
|
|
||||||
return ""
|
|
||||||
endif
|
|
||||||
let match = strpart(match, index)
|
|
||||||
endwhile
|
|
||||||
let start = len - strlen(match)
|
|
||||||
if a:0 == 1 && a:1 == "start"
|
|
||||||
return start - 2
|
|
||||||
endif
|
|
||||||
let cnt = 1
|
|
||||||
while cnt
|
|
||||||
let index = matchend(match, s:notslash . '\\(\|\\)') - 1
|
|
||||||
if index == -2
|
|
||||||
return ""
|
|
||||||
endif
|
|
||||||
" Increment if an open, decrement if a ')':
|
|
||||||
let cnt = cnt + (match[index]=="(" ? 1 : -1) " ')'
|
|
||||||
" let cnt = stridx('0(', match[index]) + cnt
|
|
||||||
let match = strpart(match, index+1)
|
|
||||||
endwhile
|
|
||||||
let start = start - 2
|
|
||||||
let len = len - start - strlen(match)
|
|
||||||
endif
|
|
||||||
if a:0 == 1
|
|
||||||
return len
|
|
||||||
elseif a:0 == 2
|
|
||||||
return "let " . a:1 . "=" . start . "| let " . a:2 . "=" . len
|
|
||||||
else
|
|
||||||
return strpart(a:string, start, len)
|
|
||||||
endif
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" Count the number of disjoint copies of pattern in string.
|
|
||||||
" If the pattern is a literal string and contains no '0' or '1' characters
|
|
||||||
" then s:Count(string, pattern, '0', '1') should be faster than
|
|
||||||
" s:Count(string, pattern).
|
|
||||||
fun! s:Count(string, pattern, ...)
|
|
||||||
let pat = escape(a:pattern, '\\')
|
|
||||||
if a:0 > 1
|
|
||||||
let foo = substitute(a:string, '[^'.a:pattern.']', "a:1", "g")
|
|
||||||
let foo = substitute(a:string, pat, a:2, "g")
|
|
||||||
let foo = substitute(foo, '[^' . a:2 . ']', "", "g")
|
|
||||||
return strlen(foo)
|
|
||||||
endif
|
|
||||||
let result = 0
|
|
||||||
let foo = a:string
|
|
||||||
let index = matchend(foo, pat)
|
|
||||||
while index != -1
|
|
||||||
let result = result + 1
|
|
||||||
let foo = strpart(foo, index)
|
|
||||||
let index = matchend(foo, pat)
|
|
||||||
endwhile
|
|
||||||
return result
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" s:Resolve('\(a\)\(b\)', '\(c\)\2\1\1\2') should return table.word, where
|
|
||||||
" word = '\(c\)\(b\)\(a\)\3\2' and table = '-32-------'. That is, the first
|
|
||||||
" '\1' in target is replaced by '\(a\)' in word, table[1] = 3, and this
|
|
||||||
" indicates that all other instances of '\1' in target are to be replaced
|
|
||||||
" by '\3'. The hard part is dealing with nesting...
|
|
||||||
" Note that ":" is an illegal character for source and target,
|
|
||||||
" unless it is preceded by "\".
|
|
||||||
fun! s:Resolve(source, target, output)
|
|
||||||
let word = a:target
|
|
||||||
let i = matchend(word, s:notslash . '\\\d') - 1
|
|
||||||
let table = "----------"
|
|
||||||
while i != -2 " There are back references to be replaced.
|
|
||||||
let d = word[i]
|
|
||||||
let backref = s:Ref(a:source, d)
|
|
||||||
" The idea is to replace '\d' with backref. Before we do this,
|
|
||||||
" replace any \(\) groups in backref with :1, :2, ... if they
|
|
||||||
" correspond to the first, second, ... group already inserted
|
|
||||||
" into backref. Later, replace :1 with \1 and so on. The group
|
|
||||||
" number w+b within backref corresponds to the group number
|
|
||||||
" s within a:source.
|
|
||||||
" w = number of '\(' in word before the current one
|
|
||||||
let w = s:Count(
|
|
||||||
\ substitute(strpart(word, 0, i-1), '\\\\', '', 'g'), '\(', '1')
|
|
||||||
let b = 1 " number of the current '\(' in backref
|
|
||||||
let s = d " number of the current '\(' in a:source
|
|
||||||
while b <= s:Count(substitute(backref, '\\\\', '', 'g'), '\(', '1')
|
|
||||||
\ && s < 10
|
|
||||||
if table[s] == "-"
|
|
||||||
if w + b < 10
|
|
||||||
" let table[s] = w + b
|
|
||||||
let table = strpart(table, 0, s) . (w+b) . strpart(table, s+1)
|
|
||||||
endif
|
|
||||||
let b = b + 1
|
|
||||||
let s = s + 1
|
|
||||||
else
|
|
||||||
execute s:Ref(backref, b, "start", "len")
|
|
||||||
let ref = strpart(backref, start, len)
|
|
||||||
let backref = strpart(backref, 0, start) . ":". table[s]
|
|
||||||
\ . strpart(backref, start+len)
|
|
||||||
let s = s + s:Count(substitute(ref, '\\\\', '', 'g'), '\(', '1')
|
|
||||||
endif
|
|
||||||
endwhile
|
|
||||||
let word = strpart(word, 0, i-1) . backref . strpart(word, i+1)
|
|
||||||
let i = matchend(word, s:notslash . '\\\d') - 1
|
|
||||||
endwhile
|
|
||||||
let word = substitute(word, s:notslash . '\zs:', '\\', 'g')
|
|
||||||
if a:output == "table"
|
|
||||||
return table
|
|
||||||
elseif a:output == "word"
|
|
||||||
return word
|
|
||||||
else
|
|
||||||
return table . word
|
|
||||||
endif
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" Assume a:comma = ",". Then the format for a:patterns and a:1 is
|
|
||||||
" a:patterns = "<pat1>,<pat2>,..."
|
|
||||||
" a:1 = "<alt1>,<alt2>,..."
|
|
||||||
" If <patn> is the first pattern that matches a:string then return <patn>
|
|
||||||
" if no optional arguments are given; return <patn>,<altn> if a:1 is given.
|
|
||||||
fun! s:Choose(patterns, string, comma, branch, prefix, suffix, ...)
|
|
||||||
let tail = (a:patterns =~ a:comma."$" ? a:patterns : a:patterns . a:comma)
|
|
||||||
let i = matchend(tail, s:notslash . a:comma)
|
|
||||||
if a:0
|
|
||||||
let alttail = (a:1 =~ a:comma."$" ? a:1 : a:1 . a:comma)
|
|
||||||
let j = matchend(alttail, s:notslash . a:comma)
|
|
||||||
endif
|
|
||||||
let current = strpart(tail, 0, i-1)
|
|
||||||
if a:branch == ""
|
|
||||||
let currpat = current
|
|
||||||
else
|
|
||||||
let currpat = substitute(current, s:notslash . a:branch, '\\|', 'g')
|
|
||||||
endif
|
|
||||||
while a:string !~ a:prefix . currpat . a:suffix
|
|
||||||
let tail = strpart(tail, i)
|
|
||||||
let i = matchend(tail, s:notslash . a:comma)
|
|
||||||
if i == -1
|
|
||||||
return -1
|
|
||||||
endif
|
|
||||||
let current = strpart(tail, 0, i-1)
|
|
||||||
if a:branch == ""
|
|
||||||
let currpat = current
|
|
||||||
else
|
|
||||||
let currpat = substitute(current, s:notslash . a:branch, '\\|', 'g')
|
|
||||||
endif
|
|
||||||
if a:0
|
|
||||||
let alttail = strpart(alttail, j)
|
|
||||||
let j = matchend(alttail, s:notslash . a:comma)
|
|
||||||
endif
|
|
||||||
endwhile
|
|
||||||
if a:0
|
|
||||||
let current = current . a:comma . strpart(alttail, 0, j-1)
|
|
||||||
endif
|
|
||||||
return current
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" Call this function to turn on debugging information. Every time the main
|
" Call this function to turn on debugging information. Every time the main
|
||||||
" script is run, buffer variables will be saved. These can be used directly
|
" script is run, buffer variables will be saved. These can be used directly
|
||||||
" or viewed using the menu items below.
|
" or viewed using the menu items below.
|
||||||
if !exists(":MatchDebug")
|
if !exists(":MatchDebug")
|
||||||
command! -nargs=0 MatchDebug call s:Match_debug()
|
command! -nargs=0 MatchDebug call matchit#Match_debug()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
fun! s:Match_debug()
|
|
||||||
let b:match_debug = 1 " Save debugging information.
|
|
||||||
" pat = all of b:match_words with backrefs parsed
|
|
||||||
amenu &Matchit.&pat :echo b:match_pat<CR>
|
|
||||||
" match = bit of text that is recognized as a match
|
|
||||||
amenu &Matchit.&match :echo b:match_match<CR>
|
|
||||||
" curcol = cursor column of the start of the matching text
|
|
||||||
amenu &Matchit.&curcol :echo b:match_col<CR>
|
|
||||||
" wholeBR = matching group, original version
|
|
||||||
amenu &Matchit.wh&oleBR :echo b:match_wholeBR<CR>
|
|
||||||
" iniBR = 'if' piece, original version
|
|
||||||
amenu &Matchit.ini&BR :echo b:match_iniBR<CR>
|
|
||||||
" ini = 'if' piece, with all backrefs resolved from match
|
|
||||||
amenu &Matchit.&ini :echo b:match_ini<CR>
|
|
||||||
" tail = 'else\|endif' piece, with all backrefs resolved from match
|
|
||||||
amenu &Matchit.&tail :echo b:match_tail<CR>
|
|
||||||
" fin = 'endif' piece, with all backrefs resolved from match
|
|
||||||
amenu &Matchit.&word :echo b:match_word<CR>
|
|
||||||
" '\'.d in ini refers to the same thing as '\'.table[d] in word.
|
|
||||||
amenu &Matchit.t&able :echo '0:' . b:match_table . ':9'<CR>
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" Jump to the nearest unmatched "(" or "if" or "<tag>" if a:spflag == "bW"
|
|
||||||
" or the nearest unmatched "</tag>" or "endif" or ")" if a:spflag == "W".
|
|
||||||
" Return a "mark" for the original position, so that
|
|
||||||
" let m = MultiMatch("bW", "n") ... execute m
|
|
||||||
" will return to the original position. If there is a problem, do not
|
|
||||||
" move the cursor and return "", unless a count is given, in which case
|
|
||||||
" go up or down as many levels as possible and again return "".
|
|
||||||
" TODO This relies on the same patterns as % matching. It might be a good
|
|
||||||
" idea to give it its own matching patterns.
|
|
||||||
fun! s:MultiMatch(spflag, mode)
|
|
||||||
if !exists("b:match_words") || b:match_words == ""
|
|
||||||
return ""
|
|
||||||
end
|
|
||||||
let restore_options = ""
|
|
||||||
if exists("b:match_ignorecase") && b:match_ignorecase != &ic
|
|
||||||
let restore_options .= (&ic ? " " : " no") . "ignorecase"
|
|
||||||
let &ignorecase = b:match_ignorecase
|
|
||||||
endif
|
|
||||||
let startline = line(".")
|
|
||||||
let startcol = col(".")
|
|
||||||
|
|
||||||
" First step: if not already done, set the script variables
|
|
||||||
" s:do_BR flag for whether there are backrefs
|
|
||||||
" s:pat parsed version of b:match_words
|
|
||||||
" s:all regexp based on s:pat and the default groups
|
|
||||||
" This part is copied and slightly modified from s:Match_wrapper().
|
|
||||||
let default = escape(&mps, '[$^.*~\\/?]') . (strlen(&mps) ? "," : "") .
|
|
||||||
\ '\/\*:\*\/,#\s*if\%(def\)\=:#\s*else\>:#\s*elif\>:#\s*endif\>'
|
|
||||||
" Allow b:match_words = "GetVimMatchWords()" .
|
|
||||||
if b:match_words =~ ":"
|
|
||||||
let match_words = b:match_words
|
|
||||||
else
|
|
||||||
execute "let match_words =" b:match_words
|
|
||||||
endif
|
|
||||||
if (match_words != s:last_words) || (&mps != s:last_mps) ||
|
|
||||||
\ exists("b:match_debug")
|
|
||||||
let s:last_words = match_words
|
|
||||||
let s:last_mps = &mps
|
|
||||||
let match_words = match_words . (strlen(match_words) ? "," : "") . default
|
|
||||||
if match_words !~ s:notslash . '\\\d'
|
|
||||||
let s:do_BR = 0
|
|
||||||
let s:pat = match_words
|
|
||||||
else
|
|
||||||
let s:do_BR = 1
|
|
||||||
let s:pat = s:ParseWords(match_words)
|
|
||||||
endif
|
|
||||||
let s:all = '\%(' . substitute(s:pat . (strlen(s:pat) ? "," : "") . default,
|
|
||||||
\ '[,:]\+', '\\|', 'g') . '\)'
|
|
||||||
if exists("b:match_debug")
|
|
||||||
let b:match_pat = s:pat
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Second step: figure out the patterns for searchpair()
|
|
||||||
" and save the screen, cursor position, and 'ignorecase'.
|
|
||||||
" - TODO: A lot of this is copied from s:Match_wrapper().
|
|
||||||
" - maybe even more functionality should be split off
|
|
||||||
" - into separate functions!
|
|
||||||
let cdefault = (s:pat =~ '[^,]$' ? "," : "") . default
|
|
||||||
let open = substitute(s:pat . cdefault,
|
|
||||||
\ s:notslash . '\zs:.\{-}' . s:notslash . ',', '\\),\\(', 'g')
|
|
||||||
let open = '\(' . substitute(open, s:notslash . '\zs:.*$', '\\)', '')
|
|
||||||
let close = substitute(s:pat . cdefault,
|
|
||||||
\ s:notslash . '\zs,.\{-}' . s:notslash . ':', '\\),\\(', 'g')
|
|
||||||
let close = substitute(close, '^.\{-}' . s:notslash . ':', '\\(', '') . '\)'
|
|
||||||
if exists("b:match_skip")
|
|
||||||
let skip = b:match_skip
|
|
||||||
elseif exists("b:match_comment") " backwards compatibility and testing!
|
|
||||||
let skip = "r:" . b:match_comment
|
|
||||||
else
|
|
||||||
let skip = 's:comment\|string'
|
|
||||||
endif
|
|
||||||
let skip = s:ParseSkip(skip)
|
|
||||||
" save v:count1 variable, might be reset from the restore_cursor command
|
|
||||||
let level = v:count1
|
|
||||||
let restore_cursor = virtcol(".") . "|"
|
|
||||||
normal! g0
|
|
||||||
let restore_cursor = line(".") . "G" . virtcol(".") . "|zs" . restore_cursor
|
|
||||||
normal! H
|
|
||||||
let restore_cursor = "normal!" . line(".") . "Gzt" . restore_cursor
|
|
||||||
execute restore_cursor
|
|
||||||
|
|
||||||
" Third step: call searchpair().
|
|
||||||
" Replace '\('--but not '\\('--with '\%(' and ',' with '\|'.
|
|
||||||
let openpat = substitute(open, '\(\\\@<!\(\\\\\)*\)\@<=\\(', '\\%(', 'g')
|
|
||||||
let openpat = substitute(openpat, ',', '\\|', 'g')
|
|
||||||
let closepat = substitute(close, '\(\\\@<!\(\\\\\)*\)\@<=\\(', '\\%(', 'g')
|
|
||||||
let closepat = substitute(closepat, ',', '\\|', 'g')
|
|
||||||
|
|
||||||
if skip =~ 'synID' && !(has("syntax") && exists("g:syntax_on"))
|
|
||||||
let skip = '0'
|
|
||||||
else
|
|
||||||
try
|
|
||||||
execute "if " . skip . "| let skip = '0' | endif"
|
|
||||||
catch /^Vim\%((\a\+)\)\=:E363/
|
|
||||||
" We won't find anything, so skip searching, should keep Vim responsive.
|
|
||||||
return
|
|
||||||
endtry
|
|
||||||
endif
|
|
||||||
mark '
|
|
||||||
while level
|
|
||||||
if searchpair(openpat, '', closepat, a:spflag, skip) < 1
|
|
||||||
call s:CleanUp(restore_options, a:mode, startline, startcol)
|
|
||||||
return ""
|
|
||||||
endif
|
|
||||||
let level = level - 1
|
|
||||||
endwhile
|
|
||||||
|
|
||||||
" Restore options and return a string to restore the original position.
|
|
||||||
call s:CleanUp(restore_options, a:mode, startline, startcol)
|
|
||||||
return restore_cursor
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" Search backwards for "if" or "while" or "<tag>" or ...
|
|
||||||
" and return "endif" or "endwhile" or "</tag>" or ... .
|
|
||||||
" For now, this uses b:match_words and the same script variables
|
|
||||||
" as s:Match_wrapper() . Later, it may get its own patterns,
|
|
||||||
" either from a buffer variable or passed as arguments.
|
|
||||||
" fun! s:Autocomplete()
|
|
||||||
" echo "autocomplete not yet implemented :-("
|
|
||||||
" if !exists("b:match_words") || b:match_words == ""
|
|
||||||
" return ""
|
|
||||||
" end
|
|
||||||
" let startpos = s:MultiMatch("bW")
|
|
||||||
"
|
|
||||||
" if startpos == ""
|
|
||||||
" return ""
|
|
||||||
" endif
|
|
||||||
" " - TODO: figure out whether 'if' or '<tag>' matched, and construct
|
|
||||||
" " - the appropriate closing.
|
|
||||||
" let matchline = getline(".")
|
|
||||||
" let curcol = col(".") - 1
|
|
||||||
" " - TODO: Change the s:all argument if there is a new set of match pats.
|
|
||||||
" let regexp = s:Wholematch(matchline, s:all, curcol)
|
|
||||||
" let suf = strlen(matchline) - matchend(matchline, regexp)
|
|
||||||
" let prefix = (curcol ? '^.\{' . curcol . '}\%(' : '^\%(')
|
|
||||||
" let suffix = (suf ? '\).\{' . suf . '}$' : '\)$')
|
|
||||||
" " Reconstruct the version with unresolved backrefs.
|
|
||||||
" let patBR = substitute(b:match_words.',', '[,:]*,[,:]*', ',', 'g')
|
|
||||||
" let patBR = substitute(patBR, ':\{2,}', ':', "g")
|
|
||||||
" " Now, set group and groupBR to the matching group: 'if:endif' or
|
|
||||||
" " 'while:endwhile' or whatever.
|
|
||||||
" let group = s:Choose(s:pat, matchline, ",", ":", prefix, suffix, patBR)
|
|
||||||
" let i = matchend(group, s:notslash . ",")
|
|
||||||
" let groupBR = strpart(group, i)
|
|
||||||
" let group = strpart(group, 0, i-1)
|
|
||||||
" " Now, matchline =~ prefix . substitute(group,':','\|','g') . suffix
|
|
||||||
" if s:do_BR
|
|
||||||
" let group = s:InsertRefs(groupBR, prefix, group, suffix, matchline)
|
|
||||||
" endif
|
|
||||||
" " let g:group = group
|
|
||||||
"
|
|
||||||
" " - TODO: Construct the closing from group.
|
|
||||||
" let fake = "end" . expand("<cword>")
|
|
||||||
" execute startpos
|
|
||||||
" return fake
|
|
||||||
" endfun
|
|
||||||
|
|
||||||
" Close all open structures. "Get the heck out of here!"
|
|
||||||
" fun! s:Gthhoh()
|
|
||||||
" let close = s:Autocomplete()
|
|
||||||
" while strlen(close)
|
|
||||||
" put=close
|
|
||||||
" let close = s:Autocomplete()
|
|
||||||
" endwhile
|
|
||||||
" endfun
|
|
||||||
|
|
||||||
" Parse special strings as typical skip arguments for searchpair():
|
|
||||||
" s:foo becomes (current syntax item) =~ foo
|
|
||||||
" S:foo becomes (current syntax item) !~ foo
|
|
||||||
" r:foo becomes (line before cursor) =~ foo
|
|
||||||
" R:foo becomes (line before cursor) !~ foo
|
|
||||||
fun! s:ParseSkip(str)
|
|
||||||
let skip = a:str
|
|
||||||
if skip[1] == ":"
|
|
||||||
if skip[0] == "s"
|
|
||||||
let skip = "synIDattr(synID(line('.'),col('.'),1),'name') =~? '" .
|
|
||||||
\ strpart(skip,2) . "'"
|
|
||||||
elseif skip[0] == "S"
|
|
||||||
let skip = "synIDattr(synID(line('.'),col('.'),1),'name') !~? '" .
|
|
||||||
\ strpart(skip,2) . "'"
|
|
||||||
elseif skip[0] == "r"
|
|
||||||
let skip = "strpart(getline('.'),0,col('.'))=~'" . strpart(skip,2). "'"
|
|
||||||
elseif skip[0] == "R"
|
|
||||||
let skip = "strpart(getline('.'),0,col('.'))!~'" . strpart(skip,2). "'"
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
return skip
|
|
||||||
endfun
|
|
||||||
|
|
||||||
let &cpo = s:save_cpo
|
let &cpo = s:save_cpo
|
||||||
unlet s:save_cpo
|
unlet s:save_cpo
|
||||||
|
|
||||||
" vim:sts=2:sw=2:
|
" vim:sts=2:sw=2:et:
|
||||||
|
|||||||
335
runtime/syntax/8th.vim
Normal file
335
runtime/syntax/8th.vim
Normal file
@@ -0,0 +1,335 @@
|
|||||||
|
" Vim syntax file
|
||||||
|
" Language: 8th
|
||||||
|
" Version: 19.01d
|
||||||
|
" Maintainer: Ron Aaron <ron@aaron-tech.com>
|
||||||
|
" URL: https://8th-dev.com/
|
||||||
|
" Filetypes: *.8th
|
||||||
|
" NOTE: You should also have the ftplugin/8th.vim file to set 'isk'
|
||||||
|
|
||||||
|
if version < 600
|
||||||
|
syntax clear
|
||||||
|
finish
|
||||||
|
elseif exists("b:current_syntax")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
let s:cpo_save = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
syn clear
|
||||||
|
" Synchronization method
|
||||||
|
syn sync ccomment
|
||||||
|
syn sync maxlines=100
|
||||||
|
syn case match
|
||||||
|
syn match eighthColonName "\S\+" contained
|
||||||
|
syn match eighthColonDef ":\s\+\S\+" contains=eighthColonName
|
||||||
|
|
||||||
|
" new words
|
||||||
|
syn match eighthClasses "\<\S\+:" contained
|
||||||
|
syn match eighthClassWord "\<\S\+:.\+" contains=eighthClasses
|
||||||
|
|
||||||
|
syn keyword eighthEndOfColonDef ; i;
|
||||||
|
syn keyword eighthDefine var var,
|
||||||
|
|
||||||
|
" Built in words
|
||||||
|
com! -nargs=+ Builtin syn keyword eighthBuiltin <args>
|
||||||
|
"Builtin ^ < <# <#> = > - -- ,# ; ;; ! ??? / . .# ' () @ * */ \
|
||||||
|
|
||||||
|
Builtin ! G:! #! G:#! ## G:## #> G:#> #if G:#if ' G:' ( G:( (* G:(* (:) G:(:) (code) G:(code) (getc) G:(getc)
|
||||||
|
Builtin (gets) G:(gets) (interp) G:(interp) (needs) G:(needs) (putc) G:(putc) (puts) G:(puts) (putslim) G:(putslim)
|
||||||
|
Builtin (say) G:(say) (stat) G:(stat) ) G:) +listener G:+listener +ref G:+ref ,# G:,# -- G:-- -----BEGIN G:-----BEGIN
|
||||||
|
Builtin -Inf G:-Inf -Inf? G:-Inf? -listener G:-listener -ref G:-ref -rot G:-rot . G:. .# G:.# .needs G:.needs
|
||||||
|
Builtin .r G:.r .s G:.s .stats G:.stats .ver G:.ver .with G:.with 0; G:0; 2dip G:2dip 2drop G:2drop
|
||||||
|
Builtin 2dup G:2dup 2over G:2over 2swap G:2swap 3drop G:3drop 4drop G:4drop 8thdt? G:8thdt? 8thver? G:8thver?
|
||||||
|
Builtin : G:: ; G:; ;; G:;; ;;; G:;;; ;then G:;then ;with G:;with <# G:<# <#> G:<#> >clip G:>clip >json G:>json
|
||||||
|
Builtin >kind G:>kind >n G:>n >r G:>r >s G:>s ?: G:?: ??? G:??? @ G:@ Inf G:Inf Inf? G:Inf? NaN G:NaN
|
||||||
|
Builtin NaN? G:NaN? SED-CHECK G:SED-CHECK SED: G:SED: SED: G:SED: \ G:\ ` G:` `` G:`` actor: G:actor:
|
||||||
|
Builtin again G:again ahead G:ahead and G:and appname G:appname apropos G:apropos argc G:argc args G:args
|
||||||
|
Builtin array? G:array? assert G:assert base G:base bi G:bi bits G:bits break G:break break? G:break?
|
||||||
|
Builtin build? G:build? buildver? G:buildver? bye G:bye c# G:c# c/does G:c/does case G:case caseof G:caseof
|
||||||
|
Builtin chdir G:chdir clip> G:clip> clone G:clone clone-shallow G:clone-shallow cold G:cold compat-level G:compat-level
|
||||||
|
Builtin compile G:compile compile? G:compile? conflict G:conflict const G:const container? G:container?
|
||||||
|
Builtin cr G:cr curlang G:curlang curry G:curry curry: G:curry: decimal G:decimal defer: G:defer: deg>rad G:deg>rad
|
||||||
|
Builtin depth G:depth die G:die dip G:dip drop G:drop dstack G:dstack dump G:dump dup G:dup dup? G:dup?
|
||||||
|
Builtin else G:else enum: G:enum: eval G:eval eval! G:eval! eval0 G:eval0 execnull G:execnull expect G:expect
|
||||||
|
Builtin extra! G:extra! extra@ G:extra@ false G:false fnv G:fnv fourth G:fourth free G:free func: G:func:
|
||||||
|
Builtin getc G:getc getcwd G:getcwd getenv G:getenv gets G:gets handler G:handler header G:header help G:help
|
||||||
|
Builtin hex G:hex i: G:i: i; G:i; if G:if if; G:if; isa? G:isa? items-used G:items-used jcall G:jcall
|
||||||
|
Builtin jclass G:jclass jmethod G:jmethod json-nesting G:json-nesting json-pretty G:json-pretty json-throw G:json-throw
|
||||||
|
Builtin json> G:json> k32 G:k32 keep G:keep l: G:l: last G:last lib G:lib libbin G:libbin libc G:libc
|
||||||
|
Builtin listener@ G:listener@ literal G:literal locals: G:locals: lock G:lock lock-to G:lock-to locked? G:locked?
|
||||||
|
Builtin log G:log log-async G:log-async log-task G:log-task log-time G:log-time log-time-local G:log-time-local
|
||||||
|
Builtin long-days G:long-days long-months G:long-months loop G:loop loop- G:loop- map? G:map? mark G:mark
|
||||||
|
Builtin mark? G:mark? memfree G:memfree mobile? G:mobile? n# G:n# name>os G:name>os name>sem G:name>sem
|
||||||
|
Builtin ndrop G:ndrop needs G:needs new G:new next-arg G:next-arg nip G:nip noop G:noop not G:not ns G:ns
|
||||||
|
Builtin ns: G:ns: ns>ls G:ns>ls ns>s G:ns>s ns? G:ns? null G:null null; G:null; null? G:null? number? G:number?
|
||||||
|
Builtin off G:off on G:on onexit G:onexit only G:only op! G:op! or G:or os G:os os-names G:os-names
|
||||||
|
Builtin os>long-name G:os>long-name os>name G:os>name over G:over p: G:p: pack G:pack parse G:parse
|
||||||
|
Builtin parsech G:parsech parseln G:parseln parsews G:parsews pick G:pick poke G:poke pool-clear G:pool-clear
|
||||||
|
Builtin prior G:prior private G:private process-args G:process-args prompt G:prompt public G:public
|
||||||
|
Builtin putc G:putc puts G:puts putslim G:putslim quote G:quote r! G:r! r> G:r> r@ G:r@ rad>deg G:rad>deg
|
||||||
|
Builtin rand G:rand rand-pcg G:rand-pcg rand-pcg-seed G:rand-pcg-seed randbuf G:randbuf randbuf-pcg G:randbuf-pcg
|
||||||
|
Builtin rdrop G:rdrop recurse G:recurse recurse-stack G:recurse-stack ref@ G:ref@ reg! G:reg! reg@ G:reg@
|
||||||
|
Builtin regbin@ G:regbin@ remaining-args G:remaining-args repeat G:repeat reset G:reset roll G:roll
|
||||||
|
Builtin rop! G:rop! rot G:rot rpick G:rpick rroll G:rroll rstack G:rstack rswap G:rswap rusage G:rusage
|
||||||
|
Builtin s>ns G:s>ns same? G:same? scriptdir G:scriptdir scriptfile G:scriptfile sem G:sem sem-post G:sem-post
|
||||||
|
Builtin sem-rm G:sem-rm sem-wait G:sem-wait sem-wait? G:sem-wait? sem>name G:sem>name semi-throw G:semi-throw
|
||||||
|
Builtin set-wipe G:set-wipe setenv G:setenv settings! G:settings! settings![] G:settings![] settings@ G:settings@
|
||||||
|
Builtin settings@? G:settings@? settings@[] G:settings@[] sh G:sh sh$ G:sh$ short-days G:short-days
|
||||||
|
Builtin short-months G:short-months sleep G:sleep space G:space stack-check G:stack-check stack-size G:stack-size
|
||||||
|
Builtin step G:step string? G:string? struct: G:struct: swap G:swap syslang G:syslang sysregion G:sysregion
|
||||||
|
Builtin tab-hook G:tab-hook tell-conflict G:tell-conflict tempdir G:tempdir tempfilename G:tempfilename
|
||||||
|
Builtin then G:then third G:third throw G:throw thrownull G:thrownull times G:times tlog G:tlog tri G:tri
|
||||||
|
Builtin true G:true tuck G:tuck type-check G:type-check typeassert G:typeassert unlock G:unlock unpack G:unpack
|
||||||
|
Builtin until G:until until! G:until! var G:var var, G:var, while G:while while! G:while! with: G:with:
|
||||||
|
Builtin words G:words words-like G:words-like words/ G:words/ xchg G:xchg xor G:xor >auth HTTP:>auth
|
||||||
|
Builtin sh I:sh tpush I:tpush trace-word I:trace-word call JSONRPC:call auth-string OAuth:auth-string
|
||||||
|
Builtin gen-nonce OAuth:gen-nonce params OAuth:params call SOAP:call ! a:! + a:+ - a:- 2each a:2each
|
||||||
|
Builtin 2map a:2map 2map+ a:2map+ 2map= a:2map= = a:= >map a:>map @ a:@ @@ a:@@ bsearch a:bsearch clear a:clear
|
||||||
|
Builtin close a:close diff a:diff dot a:dot each a:each each-slice a:each-slice exists? a:exists? filter a:filter
|
||||||
|
Builtin generate a:generate group a:group indexof a:indexof insert a:insert intersect a:intersect join a:join
|
||||||
|
Builtin len a:len map a:map map+ a:map+ map= a:map= mean a:mean mean&variance a:mean&variance new a:new
|
||||||
|
Builtin op a:op op! a:op! op= a:op= open a:open pop a:pop push a:push qsort a:qsort randeach a:randeach
|
||||||
|
Builtin reduce a:reduce reduce+ a:reduce+ rev a:rev shift a:shift shuffle a:shuffle slice a:slice slice+ a:slice+
|
||||||
|
Builtin slide a:slide sort a:sort union a:union when a:when when! a:when! x a:x x-each a:x-each xchg a:xchg
|
||||||
|
Builtin y a:y zip a:zip 8thdir app:8thdir asset app:asset atrun app:atrun atrun app:atrun atrun app:atrun
|
||||||
|
Builtin basedir app:basedir current app:current datadir app:datadir exename app:exename isgui app:isgui
|
||||||
|
Builtin main app:main oncrash app:oncrash orientation app:orientation pid app:pid restart app:restart
|
||||||
|
Builtin resumed app:resumed shared? app:shared? standalone app:standalone subdir app:subdir suspended app:suspended
|
||||||
|
Builtin sysquit app:sysquit (here) asm:(here) >n asm:>n avail asm:avail c, asm:c, here! asm:here! n> asm:n>
|
||||||
|
Builtin used asm:used w, asm:w, ! b:! + b:+ / b:/ = b:= >base64 b:>base64 >hex b:>hex >mpack b:>mpack
|
||||||
|
Builtin @ b:@ append b:append base64> b:base64> bit! b:bit! bit@ b:bit@ clear b:clear compress b:compress
|
||||||
|
Builtin conv b:conv each b:each each-slice b:each-slice expand b:expand fill b:fill getb b:getb hex> b:hex>
|
||||||
|
Builtin len b:len mem> b:mem> move b:move mpack-date b:mpack-date mpack-ignore b:mpack-ignore mpack> b:mpack>
|
||||||
|
Builtin new b:new op b:op rev b:rev search b:search shmem b:shmem slice b:slice splice b:splice ungetb b:ungetb
|
||||||
|
Builtin writable b:writable xor b:xor +block bc:+block .blocks bc:.blocks add-block bc:add-block block-hash bc:block-hash
|
||||||
|
Builtin block@ bc:block@ first-block bc:first-block hash bc:hash last-block bc:last-block load bc:load
|
||||||
|
Builtin new bc:new save bc:save set-sql bc:set-sql validate bc:validate validate-block bc:validate-block
|
||||||
|
Builtin add bloom:add filter bloom:filter in? bloom:in? accept bt:accept ch! bt:ch! ch@ bt:ch@ connect bt:connect
|
||||||
|
Builtin disconnect bt:disconnect err? bt:err? leconnect bt:leconnect lescan bt:lescan listen bt:listen
|
||||||
|
Builtin on? bt:on? read bt:read scan bt:scan service? bt:service? services? bt:services? write bt:write
|
||||||
|
Builtin * c:* * c:* + c:+ + c:+ = c:= = c:= >ri c:>ri >ri c:>ri abs c:abs abs c:abs arg c:arg arg c:arg
|
||||||
|
Builtin conj c:conj conj c:conj im c:im n> c:n> new c:new new c:new re c:re >aes128gcm cr:>aes128gcm
|
||||||
|
Builtin >aes256gcm cr:>aes256gcm >cp cr:>cp >cpe cr:>cpe >decrypt cr:>decrypt >edbox cr:>edbox >encrypt cr:>encrypt
|
||||||
|
Builtin >nbuf cr:>nbuf >rsabox cr:>rsabox >uuid cr:>uuid CBC cr:CBC CFB cr:CFB CTR cr:CTR ECB cr:ECB
|
||||||
|
Builtin GCM cr:GCM OFB cr:OFB aad? cr:aad? aes128box-sig cr:aes128box-sig aes128gcm> cr:aes128gcm>
|
||||||
|
Builtin aes256box-sig cr:aes256box-sig aes256gcm> cr:aes256gcm> aesgcm cr:aesgcm blakehash cr:blakehash
|
||||||
|
Builtin chacha20box-sig cr:chacha20box-sig chachapoly cr:chachapoly cipher! cr:cipher! cipher@ cr:cipher@
|
||||||
|
Builtin cp> cr:cp> cpe> cr:cpe> decrypt cr:decrypt decrypt+ cr:decrypt+ decrypt> cr:decrypt> dh-genkey cr:dh-genkey
|
||||||
|
Builtin dh-secret cr:dh-secret dh-sign cr:dh-sign dh-verify cr:dh-verify ebox-sig cr:ebox-sig ecc-genkey cr:ecc-genkey
|
||||||
|
Builtin ecc-secret cr:ecc-secret ecc-sign cr:ecc-sign ecc-verify cr:ecc-verify edbox-sig cr:edbox-sig
|
||||||
|
Builtin edbox> cr:edbox> encrypt cr:encrypt encrypt+ cr:encrypt+ encrypt> cr:encrypt> ensurekey cr:ensurekey
|
||||||
|
Builtin err? cr:err? gcm-tag-size cr:gcm-tag-size genkey cr:genkey hash cr:hash hash! cr:hash! hash+ cr:hash+
|
||||||
|
Builtin hash>b cr:hash>b hash>s cr:hash>s hash@ cr:hash@ hmac cr:hmac hotp cr:hotp iv? cr:iv? mode cr:mode
|
||||||
|
Builtin mode@ cr:mode@ randkey cr:randkey restore cr:restore root-certs cr:root-certs rsa_decrypt cr:rsa_decrypt
|
||||||
|
Builtin rsa_encrypt cr:rsa_encrypt rsa_sign cr:rsa_sign rsa_verify cr:rsa_verify rsabox-sig cr:rsabox-sig
|
||||||
|
Builtin rsabox> cr:rsabox> rsagenkey cr:rsagenkey save cr:save sbox-sig cr:sbox-sig sha1-hmac cr:sha1-hmac
|
||||||
|
Builtin shard cr:shard tag? cr:tag? totp cr:totp totp-epoch cr:totp-epoch totp-time-step cr:totp-time-step
|
||||||
|
Builtin unshard cr:unshard uuid cr:uuid uuid> cr:uuid> validate-pgp-sig cr:validate-pgp-sig (.hebrew) d:(.hebrew)
|
||||||
|
Builtin (.islamic) d:(.islamic) + d:+ +day d:+day +hour d:+hour +min d:+min +msec d:+msec - d:- .hebrew d:.hebrew
|
||||||
|
Builtin .islamic d:.islamic .time d:.time / d:/ = d:= >fixed d:>fixed >hebepoch d:>hebepoch >msec d:>msec
|
||||||
|
Builtin >unix d:>unix >ymd d:>ymd Adar d:Adar Adar2 d:Adar2 Adar2 d:Adar2 Av d:Av Elul d:Elul Fri d:Fri
|
||||||
|
Builtin Heshvan d:Heshvan Iyar d:Iyar Kislev d:Kislev Mon d:Mon Nissan d:Nissan Sat d:Sat Shevat d:Shevat
|
||||||
|
Builtin Sivan d:Sivan Sun d:Sun Tammuz d:Tammuz Tevet d:Tevet Thu d:Thu Tishrei d:Tishrei Tue d:Tue
|
||||||
|
Builtin Wed d:Wed adjust-dst d:adjust-dst between d:between d. d:d. dawn d:dawn days-in-hebrew-year d:days-in-hebrew-year
|
||||||
|
Builtin displaying-hebrew d:displaying-hebrew do-dawn d:do-dawn do-dusk d:do-dusk do-rise d:do-rise
|
||||||
|
Builtin doy d:doy dst? d:dst? dstquery d:dstquery dstzones? d:dstzones? dusk d:dusk elapsed-timer d:elapsed-timer
|
||||||
|
Builtin elapsed-timer-seconds d:elapsed-timer-seconds first-dow d:first-dow fixed> d:fixed> fixed>dow d:fixed>dow
|
||||||
|
Builtin fixed>hebrew d:fixed>hebrew fixed>islamic d:fixed>islamic format d:format hanukkah d:hanukkah
|
||||||
|
Builtin hebrew-epoch d:hebrew-epoch hebrew>fixed d:hebrew>fixed hebrewtoday d:hebrewtoday hmonth-name d:hmonth-name
|
||||||
|
Builtin islamic.epoch d:islamic.epoch islamic>fixed d:islamic>fixed islamictoday d:islamictoday join d:join
|
||||||
|
Builtin last-day-of-hebrew-month d:last-day-of-hebrew-month last-dow d:last-dow last-month d:last-month
|
||||||
|
Builtin last-week d:last-week last-year d:last-year latitude d:latitude longitude d:longitude longitude d:longitude
|
||||||
|
Builtin msec d:msec msec> d:msec> new d:new next-dow d:next-dow next-month d:next-month next-week d:next-week
|
||||||
|
Builtin next-year d:next-year number>hebrew d:number>hebrew omer d:omer parse d:parse pesach d:pesach
|
||||||
|
Builtin prev-dow d:prev-dow purim d:purim rosh-chodesh? d:rosh-chodesh? rosh-hashanah d:rosh-hashanah
|
||||||
|
Builtin shavuot d:shavuot start-timer d:start-timer sunrise d:sunrise taanit-esther d:taanit-esther
|
||||||
|
Builtin ticks d:ticks ticks/sec d:ticks/sec timer d:timer tisha-beav d:tisha-beav tzadjust d:tzadjust
|
||||||
|
Builtin unix> d:unix> updatetz d:updatetz year@ d:year@ ymd d:ymd ymd> d:ymd> yom-haatsmaut d:yom-haatsmaut
|
||||||
|
Builtin yom-kippur d:yom-kippur add-func db:add-func bind db:bind close db:close col db:col col[] db:col[]
|
||||||
|
Builtin col{} db:col{} err? db:err? errmsg db:errmsg exec db:exec exec-cb db:exec-cb key db:key mysql? db:mysql?
|
||||||
|
Builtin odbc? db:odbc? open db:open open? db:open? prepare db:prepare query db:query query-all db:query-all
|
||||||
|
Builtin rekey db:rekey sqlerrmsg db:sqlerrmsg bp dbg:bp except-task@ dbg:except-task@ go dbg:go line-info dbg:line-info
|
||||||
|
Builtin prompt dbg:prompt stop dbg:stop trace dbg:trace trace-enter dbg:trace-enter trace-leave dbg:trace-leave
|
||||||
|
Builtin abspath f:abspath append f:append associate f:associate atime f:atime canwrite? f:canwrite?
|
||||||
|
Builtin chmod f:chmod close f:close copy f:copy copydir f:copydir create f:create ctime f:ctime dir? f:dir?
|
||||||
|
Builtin dname f:dname eachbuf f:eachbuf eachline f:eachline enssep f:enssep eof? f:eof? err? f:err?
|
||||||
|
Builtin exists? f:exists? flush f:flush fname f:fname getb f:getb getc f:getc getline f:getline getmod f:getmod
|
||||||
|
Builtin glob f:glob glob-nocase f:glob-nocase include f:include launch f:launch link f:link link> f:link>
|
||||||
|
Builtin link? f:link? mkdir f:mkdir mmap f:mmap mmap-range f:mmap-range mmap-range? f:mmap-range? mtime f:mtime
|
||||||
|
Builtin mv f:mv open f:open open-ro f:open-ro popen f:popen print f:print read f:read relpath f:relpath
|
||||||
|
Builtin rglob f:rglob rm f:rm rmdir f:rmdir seek f:seek sep f:sep show f:show size f:size slurp f:slurp
|
||||||
|
Builtin stderr f:stderr stdin f:stdin stdout f:stdout tell f:tell times f:times trash f:trash ungetb f:ungetb
|
||||||
|
Builtin ungetc f:ungetc unzip f:unzip unzip-entry f:unzip-entry watch f:watch write f:write writen f:writen
|
||||||
|
Builtin zip+ f:zip+ zip@ f:zip@ zipentry f:zipentry zipnew f:zipnew zipopen f:zipopen zipsave f:zipsave
|
||||||
|
Builtin bold font:bold face? font:face? glyph-path font:glyph-path glyph-pos font:glyph-pos info font:info
|
||||||
|
Builtin italic font:italic ls font:ls measure font:measure new font:new pixels font:pixels pixels? font:pixels?
|
||||||
|
Builtin points font:points points? font:points? styles font:styles styles? font:styles? underline font:underline
|
||||||
|
Builtin +child g:+child +kind g:+kind +path g:+path -child g:-child /path g:/path >img g:>img >progress g:>progress
|
||||||
|
Builtin add-items g:add-items adjustwidth g:adjustwidth allow-orient g:allow-orient arc g:arc arc2 g:arc2
|
||||||
|
Builtin autohide g:autohide back g:back bezier g:bezier bg g:bg bg? g:bg? bounds g:bounds bounds? g:bounds?
|
||||||
|
Builtin box-label g:box-label btn-font g:btn-font bubble g:bubble button-size g:button-size buttons-visible g:buttons-visible
|
||||||
|
Builtin c-text g:c-text callout g:callout center g:center child g:child clear g:clear clearpath g:clearpath
|
||||||
|
Builtin clr>n g:clr>n coleven g:coleven colordlg g:colordlg colwidth g:colwidth connectededges g:connectededges
|
||||||
|
Builtin contrasting g:contrasting cp g:cp curmouse? g:curmouse? default-font g:default-font deselect-row g:deselect-row
|
||||||
|
Builtin dismiss g:dismiss do g:do draw-fitted-text g:draw-fitted-text draw-text g:draw-text draw-text-at g:draw-text-at
|
||||||
|
Builtin each g:each edit-on-double-click g:edit-on-double-click editable g:editable editdlg g:editdlg
|
||||||
|
Builtin empty-text g:empty-text enable g:enable enabled? g:enabled? fade g:fade fb-files g:fb-files
|
||||||
|
Builtin fcolor g:fcolor fg g:fg fg? g:fg? file-filter g:file-filter file-name g:file-name filedlg g:filedlg
|
||||||
|
Builtin fill g:fill fillall g:fillall fit-text g:fit-text flex! g:flex! focus g:focus fontdlg g:fontdlg
|
||||||
|
Builtin forward g:forward fullscreen g:fullscreen get-lasso-items g:get-lasso-items get-tab g:get-tab
|
||||||
|
Builtin getclr g:getclr getfont g:getfont getimage g:getimage getpath g:getpath getroot g:getroot gradient g:gradient
|
||||||
|
Builtin gui? g:gui? handle g:handle headerheight g:headerheight hide g:hide image g:image image-at g:image-at
|
||||||
|
Builtin invalidate g:invalidate ix? g:ix? justify g:justify keyinfo g:keyinfo l-text g:l-text laf g:laf
|
||||||
|
Builtin laf! g:laf! laf? g:laf? len g:len line-width g:line-width lineto g:lineto list+ g:list+ list- g:list-
|
||||||
|
Builtin loadcontent g:loadcontent localize g:localize m! g:m! m@ g:m@ menu-font g:menu-font menu-update g:menu-update
|
||||||
|
Builtin menuenabled g:menuenabled mouse? g:mouse? mousepos? g:mousepos? moveto g:moveto msgdlg g:msgdlg
|
||||||
|
Builtin multi g:multi name g:name named-skin g:named-skin new g:new new-laf g:new-laf next g:next obj g:obj
|
||||||
|
Builtin on g:on on? g:on? ontop g:ontop oshandle g:oshandle outlinethickness g:outlinethickness panel-size g:panel-size
|
||||||
|
Builtin panel-size? g:panel-size? parent g:parent path g:path path>s g:path>s pie g:pie pix! g:pix!
|
||||||
|
Builtin pop g:pop popmenu g:popmenu pos? g:pos? prev g:prev propval! g:propval! propval@ g:propval@
|
||||||
|
Builtin push g:push qbezier g:qbezier quit g:quit r-text g:r-text readonly g:readonly rect g:rect refresh g:refresh
|
||||||
|
Builtin restore g:restore root g:root root-item-visible g:root-item-visible rotate g:rotate rowheight g:rowheight
|
||||||
|
Builtin rrect g:rrect s>path g:s>path save g:save say g:say scale g:scale scolor g:scolor scrollthickness g:scrollthickness
|
||||||
|
Builtin sectionenable g:sectionenable select! g:select! select@ g:select@ selected-rows g:selected-rows
|
||||||
|
Builtin set-lasso g:set-lasso set-long-press g:set-long-press set-popup-font g:set-popup-font set-range g:set-range
|
||||||
|
Builtin set-swipe g:set-swipe set-value g:set-value setcursor g:setcursor setfont g:setfont setheader g:setheader
|
||||||
|
Builtin sethtml g:sethtml setimage g:setimage setname g:setname setroot g:setroot settab g:settab show g:show
|
||||||
|
Builtin show-line-numbers g:show-line-numbers show-pct g:show-pct showmenu g:showmenu showtooltip g:showtooltip
|
||||||
|
Builtin size g:size size? g:size? skin g:skin skin-class g:skin-class stackix g:stackix state g:state
|
||||||
|
Builtin state? g:state? stepsize g:stepsize stroke g:stroke stroke-fill g:stroke-fill style g:style
|
||||||
|
Builtin tabname g:tabname text g:text text-box-style g:text-box-style text? g:text? textcolor g:textcolor
|
||||||
|
Builtin textsize g:textsize timer! g:timer! timer@ g:timer@ toback g:toback tofront g:tofront toggle-row g:toggle-row
|
||||||
|
Builtin tooltip g:tooltip top g:top transition g:transition translate g:translate tree-open g:tree-open
|
||||||
|
Builtin triangle g:triangle update g:update updateitems g:updateitems url g:url user g:user user! g:user!
|
||||||
|
Builtin vertical g:vertical view g:view visible? g:visible? vpos! g:vpos! vpos@ g:vpos@ waitcursor g:waitcursor
|
||||||
|
Builtin winding g:winding xy g:xy xy? g:xy? +edge gr:+edge +edge+w gr:+edge+w +node gr:+node connect gr:connect
|
||||||
|
Builtin edges gr:edges m! gr:m! m@ gr:m@ neighbors gr:neighbors new gr:new node-edges gr:node-edges
|
||||||
|
Builtin nodes gr:nodes traverse gr:traverse + h:+ clear h:clear len h:len new h:new peek h:peek pop h:pop
|
||||||
|
Builtin push h:push unique h:unique arm? hw:arm? camera hw:camera camera-fmt hw:camera-fmt camera-img hw:camera-img
|
||||||
|
Builtin camera? hw:camera? cpu? hw:cpu? device? hw:device? displays? hw:displays? displaysize? hw:displaysize?
|
||||||
|
Builtin err? hw:err? gpio hw:gpio gpio! hw:gpio! gpio-mmap hw:gpio-mmap gpio@ hw:gpio@ i2c hw:i2c i2c! hw:i2c!
|
||||||
|
Builtin i2c!reg hw:i2c!reg i2c@ hw:i2c@ i2c@reg hw:i2c@reg isround? hw:isround? iswatch? hw:iswatch?
|
||||||
|
Builtin mac? hw:mac? mem? hw:mem? poll hw:poll sensor hw:sensor start hw:start stop hw:stop fetch-full imap:fetch-full
|
||||||
|
Builtin fetch-uid-mail imap:fetch-uid-mail login imap:login new imap:new select-inbox imap:select-inbox
|
||||||
|
Builtin >file img:>file copy img:copy crop img:crop data img:data desat img:desat fill img:fill filter img:filter
|
||||||
|
Builtin flip img:flip from-svg img:from-svg new img:new pix! img:pix! pix@ img:pix@ qr-gen img:qr-gen
|
||||||
|
Builtin qr-parse img:qr-parse rotate img:rotate scale img:scale scroll img:scroll size img:size countries iso:countries
|
||||||
|
Builtin find loc:find sort loc:sort ! m:! !? m:!? + m:+ +? m:+? - m:- @ m:@ @? m:@? @@ m:@@ clear m:clear
|
||||||
|
Builtin data m:data each m:each exists? m:exists? iter m:iter iter-all m:iter-all keys m:keys len m:len
|
||||||
|
Builtin map m:map new m:new op! m:op! open m:open vals m:vals xchg m:xchg ! mat:! * mat:* + mat:+ = mat:=
|
||||||
|
Builtin @ mat:@ col mat:col data mat:data det mat:det dim? mat:dim? get-n mat:get-n ident mat:ident
|
||||||
|
Builtin m. mat:m. minor mat:minor n* mat:n* new mat:new row mat:row same-size? mat:same-size? trans mat:trans
|
||||||
|
Builtin ! n:! * n:* */ n:*/ + n:+ +! n:+! - n:- / n:/ /mod n:/mod 1+ n:1+ 1- n:1- < n:< = n:= > n:>
|
||||||
|
Builtin BIGE n:BIGE BIGPI n:BIGPI E n:E PI n:PI ^ n:^ abs n:abs acos n:acos acos n:acos asin n:asin
|
||||||
|
Builtin asin n:asin atan n:atan atan n:atan atan2 n:atan2 band n:band between n:between bfloat n:bfloat
|
||||||
|
Builtin bic n:bic bint n:bint binv n:binv bnot n:bnot bor n:bor bxor n:bxor ceil n:ceil clamp n:clamp
|
||||||
|
Builtin cmp n:cmp comb n:comb cos n:cos cosd n:cosd exp n:exp expmod n:expmod float n:float floor n:floor
|
||||||
|
Builtin fmod n:fmod frac n:frac gcd n:gcd int n:int invmod n:invmod kind? n:kind? lcm n:lcm ln n:ln
|
||||||
|
Builtin max n:max median n:median min n:min mod n:mod neg n:neg odd? n:odd? perm n:perm prime? n:prime?
|
||||||
|
Builtin quantize n:quantize quantize! n:quantize! r+ n:r+ range n:range rot32l n:rot32l rot32r n:rot32r
|
||||||
|
Builtin round n:round round2 n:round2 running-variance n:running-variance running-variance-finalize n:running-variance-finalize
|
||||||
|
Builtin sgn n:sgn shl n:shl shr n:shr sin n:sin sind n:sind sqr n:sqr sqrt n:sqrt tan n:tan tand n:tand
|
||||||
|
Builtin trunc n:trunc ~= n:~= ! net:! >url net:>url @ net:@ DGRAM net:DGRAM INET4 net:INET4 INET6 net:INET6
|
||||||
|
Builtin PROTO_TCP net:PROTO_TCP PROTO_UDP net:PROTO_UDP STREAM net:STREAM accept net:accept addrinfo>o net:addrinfo>o
|
||||||
|
Builtin again? net:again? alloc-and-read net:alloc-and-read alloc-buf net:alloc-buf bind net:bind browse net:browse
|
||||||
|
Builtin close net:close connect net:connect err>s net:err>s err? net:err? get net:get getaddrinfo net:getaddrinfo
|
||||||
|
Builtin getpeername net:getpeername head net:head ifaces? net:ifaces? listen net:listen net-socket net:net-socket
|
||||||
|
Builtin opts net:opts port-is-ssl? net:port-is-ssl? post net:post proxy! net:proxy! read net:read recvfrom net:recvfrom
|
||||||
|
Builtin s>url net:s>url sendto net:sendto server net:server setsockopt net:setsockopt socket net:socket
|
||||||
|
Builtin tlshello net:tlshello url> net:url> user-agent net:user-agent wait net:wait write net:write
|
||||||
|
Builtin MAX ns:MAX cast ptr:cast len ptr:len pack ptr:pack unpack ptr:unpack unpack_orig ptr:unpack_orig
|
||||||
|
Builtin + q:+ clear q:clear len q:len new q:new notify q:notify overwrite q:overwrite peek q:peek pick q:pick
|
||||||
|
Builtin pop q:pop push q:push shift q:shift size q:size slide q:slide throwing q:throwing wait q:wait
|
||||||
|
Builtin ++match r:++match +/ r:+/ +match r:+match / r:/ @ r:@ err? r:err? len r:len match r:match new r:new
|
||||||
|
Builtin rx r:rx str r:str ! s:! * s:* + s:+ - s:- / s:/ /scripts s:/scripts <+ s:<+ = s:= =ic s:=ic
|
||||||
|
Builtin >base64 s:>base64 >ucs2 s:>ucs2 @ s:@ append s:append base64> s:base64> clear s:clear cmp s:cmp
|
||||||
|
Builtin cmpi s:cmpi compress s:compress days! s:days! each s:each eachline s:eachline expand s:expand
|
||||||
|
Builtin fill s:fill fmt s:fmt gershayim s:gershayim globmatch s:globmatch hexupr s:hexupr insert s:insert
|
||||||
|
Builtin intl s:intl intl! s:intl! lang s:lang lc s:lc len s:len lsub s:lsub ltrim s:ltrim map s:map
|
||||||
|
Builtin months! s:months! new s:new replace s:replace replace! s:replace! rev s:rev rsearch s:rsearch
|
||||||
|
Builtin rsub s:rsub rtrim s:rtrim script? s:script? search s:search size s:size slice s:slice strfmap s:strfmap
|
||||||
|
Builtin strfmt s:strfmt trim s:trim tsub s:tsub uc s:uc ucs2> s:ucs2> utf8? s:utf8? zt s:zt close sio:close
|
||||||
|
Builtin enum sio:enum open sio:open opts! sio:opts! opts@ sio:opts@ read sio:read write sio:write new smtp:new
|
||||||
|
Builtin send smtp:send apply-filter snd:apply-filter devices? snd:devices? end-record snd:end-record
|
||||||
|
Builtin filter snd:filter formats? snd:formats? freq snd:freq gain snd:gain gain? snd:gain? len snd:len
|
||||||
|
Builtin loop snd:loop mix snd:mix new snd:new pause snd:pause play snd:play played snd:played rate snd:rate
|
||||||
|
Builtin record snd:record seek snd:seek stop snd:stop stopall snd:stopall unmix snd:unmix volume snd:volume
|
||||||
|
Builtin volume? snd:volume? + st:+ . st:. clear st:clear len st:len ndrop st:ndrop new st:new op! st:op!
|
||||||
|
Builtin peek st:peek pick st:pick pop st:pop push st:push roll st:roll shift st:shift size st:size
|
||||||
|
Builtin slide st:slide swap st:swap throwing st:throwing >buf struct:>buf arr> struct:arr> buf struct:buf
|
||||||
|
Builtin buf> struct:buf> byte struct:byte double struct:double field! struct:field! field@ struct:field@
|
||||||
|
Builtin float struct:float ignore struct:ignore int struct:int long struct:long struct; struct:struct;
|
||||||
|
Builtin word struct:word ! t:! @ t:@ assign t:assign curtask t:curtask def-queue t:def-queue def-stack t:def-stack
|
||||||
|
Builtin done? t:done? err! t:err! err? t:err? getq t:getq guitask t:guitask handler t:handler kill t:kill
|
||||||
|
Builtin list t:list main t:main name! t:name! name@ t:name@ notify t:notify pop t:pop priority t:priority
|
||||||
|
Builtin push t:push push< t:push< q-notify t:q-notify q-wait t:q-wait qlen t:qlen result t:result task t:task
|
||||||
|
Builtin task-n t:task-n task-stop t:task-stop wait t:wait ! w:! @ w:@ alias: w:alias: cb w:cb deprecate w:deprecate
|
||||||
|
Builtin exec w:exec exec? w:exec? ffifail w:ffifail find w:find forget w:forget is w:is undo w:undo
|
||||||
|
Builtin >s xml:>s >txt xml:>txt parse xml:parse parse-html xml:parse-html parse-stream xml:parse-stream
|
||||||
|
Builtin getmsg[] zmq:getmsg[] sendmsg[] zmq:sendmsg[]
|
||||||
|
" numbers
|
||||||
|
syn keyword eighthMath decimal hex base@ base!
|
||||||
|
syn match eighthInteger '\<-\=[0-9.]*[0-9.]\+\>'
|
||||||
|
" recognize hex and binary numbers, the '$' and '%' notation is for eighth
|
||||||
|
syn match eighthInteger '\<\$\x*\x\+\>' " *1* --- dont't mess
|
||||||
|
syn match eighthInteger '\<\x*\d\x*\>' " *2* --- this order!
|
||||||
|
syn match eighthInteger '\<%[0-1]*[0-1]\+\>'
|
||||||
|
syn match eighthInteger "\<'.\>"
|
||||||
|
|
||||||
|
" Strings
|
||||||
|
syn region eighthString start=+\.\?\"+ skip=+"+ end=+$+
|
||||||
|
syn keyword jsonNull null
|
||||||
|
syn keyword jsonBool /\(true\|false\)/
|
||||||
|
syn region eighthString start=/\<"/ end=/"\>/
|
||||||
|
syn match jsonObjEntry /"\"[^"]\+\"\ze\s*:/
|
||||||
|
|
||||||
|
"syn region jsonObject start=/{/ end=/}/ contained contains=jsonObjEntry,jsonArray,jsonObject, jsonBool, eighthString
|
||||||
|
"syn region jsonArray start=/\[/ end=/\]/ contained contains=jsonArray,jsonObject, jsonBool, eighthString
|
||||||
|
|
||||||
|
" Include files
|
||||||
|
" syn match eighthInclude '\<\(libinclude\|include\|needs\)\s\+\S\+'
|
||||||
|
syn region eighthComment start="\zs\\" end="$" contains=eighthTodo
|
||||||
|
|
||||||
|
" Define the default highlighting.
|
||||||
|
if !exists("did_eighth_syntax_inits")
|
||||||
|
let did_eighth_syntax_inits=1
|
||||||
|
" The default methods for highlighting. Can be overriden later.
|
||||||
|
hi def link eighthTodo Todo
|
||||||
|
hi def link eighthOperators Operator
|
||||||
|
hi def link eighthMath Number
|
||||||
|
hi def link eighthInteger Number
|
||||||
|
hi def link eighthStack Special
|
||||||
|
hi def link eighthFStack Special
|
||||||
|
hi def link eighthSP Special
|
||||||
|
hi def link eighthColonDef Define
|
||||||
|
hi def link eighthColonName Operator
|
||||||
|
hi def link eighthEndOfColonDef Define
|
||||||
|
hi def link eighthDefine Define
|
||||||
|
hi def link eighthDebug Debug
|
||||||
|
hi def link eighthCharOps Character
|
||||||
|
hi def link eighthConversion String
|
||||||
|
hi def link eighthForth Statement
|
||||||
|
hi def link eighthVocs Statement
|
||||||
|
hi def link eighthString String
|
||||||
|
hi def link eighthComment Comment
|
||||||
|
hi def link eighthClassDef Define
|
||||||
|
hi def link eighthEndOfClassDef Define
|
||||||
|
hi def link eighthObjectDef Define
|
||||||
|
hi def link eighthEndOfObjectDef Define
|
||||||
|
hi def link eighthInclude Include
|
||||||
|
hi def link eighthBuiltin Define
|
||||||
|
hi def link eighthClasses Define
|
||||||
|
hi def link eighthClassWord Keyword
|
||||||
|
|
||||||
|
hi def link jsonObject Delimiter
|
||||||
|
hi def link jsonObjEntry Label
|
||||||
|
hi def link jsonArray Special
|
||||||
|
hi def link jsonNull Function
|
||||||
|
hi def link jsonBool Boolean
|
||||||
|
endif
|
||||||
|
|
||||||
|
let b:current_syntax = "8th"
|
||||||
|
let &cpo = s:cpo_save
|
||||||
|
unlet s:cpo_save
|
||||||
|
|
||||||
|
" vim: ts=8:sw=4:nocindent:smartindent:
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: C
|
" Language: C
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2018 Sep 21
|
" Last Change: 2019 Feb 11
|
||||||
|
|
||||||
" 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")
|
||||||
@@ -342,7 +342,7 @@ if !exists("c_no_ansi") || exists("c_ansi_constants") || exists("c_gnu")
|
|||||||
syn keyword cConstant EINPROGRESS EINTR EINVAL EIO EISCONN EISDIR ELOOP EMFILE EMLINK EMSGSIZE
|
syn keyword cConstant EINPROGRESS EINTR EINVAL EIO EISCONN EISDIR ELOOP EMFILE EMLINK EMSGSIZE
|
||||||
syn keyword cConstant EMULTIHOP ENAMETOOLONG ENETDOWN ENETRESET ENETUNREACH ENFILE ENOBUFS ENODATA
|
syn keyword cConstant EMULTIHOP ENAMETOOLONG ENETDOWN ENETRESET ENETUNREACH ENFILE ENOBUFS ENODATA
|
||||||
syn keyword cConstant ENODEV ENOENT ENOEXEC ENOLCK ENOLINK ENOMEM ENOMSG ENOPROTOOPT ENOSPC ENOSR
|
syn keyword cConstant ENODEV ENOENT ENOEXEC ENOLCK ENOLINK ENOMEM ENOMSG ENOPROTOOPT ENOSPC ENOSR
|
||||||
syn keyword cConstant ENOSTR ENOSYS ENOTCONN ENOTDIR ENOTEMPTY ENOTRECOVERABLE ENOTSOCK ENOTSUP
|
syn keyword cConstant ENOSTR ENOSYS ENOTBLK ENOTCONN ENOTDIR ENOTEMPTY ENOTRECOVERABLE ENOTSOCK ENOTSUP
|
||||||
syn keyword cConstant ENOTTY ENXIO EOPNOTSUPP EOVERFLOW EOWNERDEAD EPERM EPIPE EPROTO
|
syn keyword cConstant ENOTTY ENXIO EOPNOTSUPP EOVERFLOW EOWNERDEAD EPERM EPIPE EPROTO
|
||||||
syn keyword cConstant EPROTONOSUPPORT EPROTOTYPE ERANGE EROFS ESPIPE ESRCH ESTALE ETIME ETIMEDOUT
|
syn keyword cConstant EPROTONOSUPPORT EPROTOTYPE ERANGE EROFS ESPIPE ESRCH ESTALE ETIME ETIMEDOUT
|
||||||
syn keyword cConstant ETXTBSY EWOULDBLOCK EXDEV
|
syn keyword cConstant ETXTBSY EWOULDBLOCK EXDEV
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
" Maintainer: Debian Vim Maintainers
|
" Maintainer: Debian Vim Maintainers
|
||||||
" 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: 2018 Oct 30
|
" Last Change: 2019 Jan 26
|
||||||
" URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/debchangelog.vim
|
" URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/debchangelog.vim
|
||||||
|
|
||||||
" Standard syntax initialization
|
" Standard syntax initialization
|
||||||
@@ -14,7 +14,7 @@ endif
|
|||||||
" Case doesn't matter for us
|
" Case doesn't matter for us
|
||||||
syn case ignore
|
syn case ignore
|
||||||
|
|
||||||
let s:urgency='urgency=\(low\|medium\|high\|critical\)\( [^[:space:],][^,]*\)\='
|
let s:urgency='urgency=\(low\|medium\|high\|emergency\|critical\)\( [^[:space:],][^,]*\)\='
|
||||||
let s:binNMU='binary-only=yes'
|
let s:binNMU='binary-only=yes'
|
||||||
|
|
||||||
" Define some common expressions we can use later on
|
" Define some common expressions we can use later on
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Makefile
|
" Language: Makefile
|
||||||
" Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
" Maintainer: Roland Hieber <rohieb+vim-iR0jGdkV@rohieb.name>
|
||||||
" URL: http://www.fleiner.com/vim/syntax/make.vim
|
" Previous Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
||||||
" Last Change: 2015 Feb 28
|
" URL: https://github.com/vim/vim/syntax/make.vim
|
||||||
|
" Last Change: 2019 Feb 08
|
||||||
|
|
||||||
" quit when a syntax file was already loaded
|
" quit when a syntax file was already loaded
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
@@ -64,7 +65,7 @@ syn match makeCmdNextLine "\\\n."he=e-1 contained
|
|||||||
|
|
||||||
|
|
||||||
" Statements / Functions (GNU make)
|
" Statements / Functions (GNU make)
|
||||||
syn match makeStatement contained "(\(subst\|abspath\|addprefix\|addsuffix\|and\|basename\|call\|dir\|error\|eval\|filter-out\|filter\|findstring\|firstword\|flavor\|foreach\|if\|info\|join\|lastword\|notdir\|or\|origin\|patsubst\|realpath\|shell\|sort\|strip\|suffix\|value\|warning\|wildcard\|word\|wordlist\|words\)\>"ms=s+1
|
syn match makeStatement contained "(\(abspath\|addprefix\|addsuffix\|and\|basename\|call\|dir\|error\|eval\|file\|filter-out\|filter\|findstring\|firstword\|flavor\|foreach\|guile\|if\|info\|join\|lastword\|notdir\|or\|origin\|patsubst\|realpath\|shell\|sort\|strip\|subst\|suffix\|value\|warning\|wildcard\|word\|wordlist\|words\)\>"ms=s+1
|
||||||
|
|
||||||
" Comment
|
" Comment
|
||||||
if exists("make_microsoft")
|
if exists("make_microsoft")
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
" Language: SPEC: Build/install scripts for Linux RPM packages
|
" Language: SPEC: Build/install scripts for Linux RPM packages
|
||||||
" Maintainer: Igor Gnatenko i.gnatenko.brain@gmail.com
|
" Maintainer: Igor Gnatenko i.gnatenko.brain@gmail.com
|
||||||
" Former Maintainer: Donovan Rebbechi elflord@panix.com (until March 2014)
|
" Former Maintainer: Donovan Rebbechi elflord@panix.com (until March 2014)
|
||||||
" Last Change: Sat Apr 9 15:30 2016 Filip Szymański
|
" Last Change: 2019 Feb 12
|
||||||
|
|
||||||
" quit when a syntax file was already loaded
|
" quit when a syntax file was already loaded
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
@@ -86,9 +86,9 @@ syn region specSectionMacroBracketArea oneline matchgroup=specSectionMacro start
|
|||||||
"%% Files Section %%
|
"%% Files Section %%
|
||||||
"TODO %config valid parameters: missingok\|noreplace
|
"TODO %config valid parameters: missingok\|noreplace
|
||||||
"TODO %verify valid parameters: \(not\)\= \(md5\|atime\|...\)
|
"TODO %verify valid parameters: \(not\)\= \(md5\|atime\|...\)
|
||||||
syn region specFilesArea matchgroup=specSection start='^%[Ff][Ii][Ll][Ee][Ss]\>' skip='%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|verify\|ghost\)\>' end='^%[a-zA-Z]'me=e-2 contains=specFilesOpts,specFilesDirective,@specListedFiles,specComment,specCommandSpecial,specMacroIdentifier
|
syn region specFilesArea matchgroup=specSection start='^%[Ff][Ii][Ll][Ee][Ss]\>' skip='%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|license\|verify\|ghost\)\>' end='^%[a-zA-Z]'me=e-2 contains=specFilesOpts,specFilesDirective,@specListedFiles,specComment,specCommandSpecial,specMacroIdentifier
|
||||||
"tip: remember to include new itens in specFilesArea above
|
"tip: remember to include new itens in specFilesArea above
|
||||||
syn match specFilesDirective contained '%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|verify\|ghost\)\>'
|
syn match specFilesDirective contained '%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|license\|verify\|ghost\)\>'
|
||||||
|
|
||||||
"valid options for certain section headers
|
"valid options for certain section headers
|
||||||
syn match specDescriptionOpts contained '\s-[ln]\s*\a'ms=s+1,me=e-1
|
syn match specDescriptionOpts contained '\s-[ln]\s*\a'ms=s+1,me=e-1
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ NOTE: As you go through this tutor, do not try to memorize, learn by usage.
|
|||||||
1. Move the cursor to the first line below marked --->.
|
1. Move the cursor to the first line below marked --->.
|
||||||
|
|
||||||
2. To make the first line the same as the second, move the cursor on top
|
2. To make the first line the same as the second, move the cursor on top
|
||||||
of the first character AFTER where the text is to be inserted.
|
of the character BEFORE which the text is to be inserted.
|
||||||
|
|
||||||
3. Press i and type in the necessary additions.
|
3. Press i and type in the necessary additions.
|
||||||
|
|
||||||
|
|||||||
@@ -967,6 +967,6 @@ BEM
|
|||||||
|
|
||||||
<20>ndret til Vim af Bram Moolenaar.
|
<20>ndret til Vim af Bram Moolenaar.
|
||||||
|
|
||||||
Oversat til dansk af scootergrisen.
|
Oversat af scootergrisen.
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|||||||
@@ -967,6 +967,6 @@ BEMÆRK: Fuldførelse virker til mange kommandoer. Prøv blot at trykke på
|
|||||||
|
|
||||||
Ændret til Vim af Bram Moolenaar.
|
Ændret til Vim af Bram Moolenaar.
|
||||||
|
|
||||||
Oversat til dansk af scootergrisen.
|
Oversat af scootergrisen.
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|||||||
@@ -846,7 +846,7 @@ NOTE: 1
|
|||||||
6. ":set xxx" <20>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD>פ<EFBFBD><D7A4><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD> "xxx" <20><><EFBFBD><EFBFBD><EFBFBD>ꤵ<EFBFBD><EAA4B5><EFBFBD>롣
|
6. ":set xxx" <20>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD>פ<EFBFBD><D7A4><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD> "xxx" <20><><EFBFBD><EFBFBD><EFBFBD>ꤵ<EFBFBD><EAA4B5><EFBFBD>롣
|
||||||
'ic' 'ignorecase' <09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD>ζ<EFBFBD><CEB6>̤<EFBFBD><CCA4>ʤ<EFBFBD>
|
'ic' 'ignorecase' <09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD>ζ<EFBFBD><CEB6>̤<EFBFBD><CCA4>ʤ<EFBFBD>
|
||||||
'is' 'incsearch' <09><><EFBFBD><EFBFBD><EFBFBD>ե졼<D5A5><ECA1BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʬ<EFBFBD>ޥå<DEA5><C3A5><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD>ʬ<EFBFBD><CAAC>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
'is' 'incsearch' <09><><EFBFBD><EFBFBD><EFBFBD>ե졼<D5A5><ECA1BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʬ<EFBFBD>ޥå<DEA5><C3A5><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD>ʬ<EFBFBD><CAAC>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
'hls' 'hlsearch' <09>ޥå<DEA5><C3A5><EFBFBD><EFBFBD>뤹<EFBFBD>٤<EFBFBD><D9A4><EFBFBD>Ĵɽ<C4B4><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
'hls' 'hlsearch' <09>ޥå<DEA5><C3A5><EFBFBD><EFBFBD>뤹<EFBFBD>٤Ƥ<EFBFBD><EFBFBD><EFBFBD>Ĵɽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
Ĺ<><C4B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD><C9A4><EFBFBD><EFBFBD>Υ<EFBFBD><CEA5>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD>̾<EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD><EFBFBD>ѤǤ<D1A4><C7A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
Ĺ<><C4B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD><C9A4><EFBFBD><EFBFBD>Υ<EFBFBD><CEA5>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD>̾<EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD><EFBFBD>ѤǤ<D1A4><C7A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
||||||
|
|
||||||
7. <20><><EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̵<EFBFBD><CCB5><EFBFBD>ˤ<EFBFBD><CBA4><EFBFBD><EFBFBD>ˤ<EFBFBD> "no" <20><><EFBFBD><EFBFBD>Ϳ<EFBFBD><CDBF><EFBFBD>ޤ<EFBFBD>: :set noic
|
7. <20><><EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̵<EFBFBD><CCB5><EFBFBD>ˤ<EFBFBD><CBA4><EFBFBD><EFBFBD>ˤ<EFBFBD> "no" <20><><EFBFBD><EFBFBD>Ϳ<EFBFBD><CDBF><EFBFBD>ޤ<EFBFBD>: :set noic
|
||||||
@@ -970,6 +970,7 @@ NOTE:
|
|||||||
Modified for Vim by Bram Moolenaar.
|
Modified for Vim by Bram Moolenaar.
|
||||||
|
|
||||||
<20><><EFBFBD>ܸ<EFBFBD><DCB8><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ٹ<EFBFBD> <mattn.jp@gmail.com>
|
<20><><EFBFBD>ܸ<EFBFBD><DCB8><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ٹ<EFBFBD> <mattn.jp@gmail.com>
|
||||||
|
vim-jp<6A><70><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <https://github.com/vim-jp/lang-ja>
|
||||||
<20>ƽ<EFBFBD> ¼<><C2BC> <20><>Ϻ <koron.kaoriya@gmail.com>
|
<20>ƽ<EFBFBD> ¼<><C2BC> <20><>Ϻ <koron.kaoriya@gmail.com>
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|||||||
@@ -846,7 +846,7 @@ NOTE: 1
|
|||||||
6. ":set xxx" <20>ƃ^<5E>C<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>ƃI<C683>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD> "xxx" <20><><EFBFBD>ݒ肳<DD92><E882B3><EFBFBD><EFBFBD><EFBFBD>B
|
6. ":set xxx" <20>ƃ^<5E>C<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>ƃI<C683>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD> "xxx" <20><><EFBFBD>ݒ肳<DD92><E882B3><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
'ic' 'ignorecase' <09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɑ啶<C991><E595B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̋<EFBFBD><CC8B>ʂ<EFBFBD><CA82>Ȃ<EFBFBD>
|
'ic' 'ignorecase' <09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɑ啶<C991><E595B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̋<EFBFBD><CC8B>ʂ<EFBFBD><CA82>Ȃ<EFBFBD>
|
||||||
'is' 'incsearch' <09><><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><74><EFBFBD>[<5B>Y<EFBFBD>ɕ<EFBFBD><C995><EFBFBD><EFBFBD>}<7D>b<EFBFBD>`<60><><EFBFBD>Ă<EFBFBD><C482>镔<EFBFBD><E99594><EFBFBD><EFBFBD><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
'is' 'incsearch' <09><><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><74><EFBFBD>[<5B>Y<EFBFBD>ɕ<EFBFBD><C995><EFBFBD><EFBFBD>}<7D>b<EFBFBD>`<60><><EFBFBD>Ă<EFBFBD><C482>镔<EFBFBD><E99594><EFBFBD><EFBFBD><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
'hls' 'hlsearch' <09>}<7D>b<EFBFBD>`<60><><EFBFBD>邷<EFBFBD>ׂ<EFBFBD><D782><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
'hls' 'hlsearch' <09>}<7D>b<EFBFBD>`<60><><EFBFBD>邷<EFBFBD>ׂĂ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>Z<EFBFBD><5A><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>ǂ<EFBFBD><C782><EFBFBD><EFBFBD>̃I<CC83>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ł<EFBFBD><C582>g<EFBFBD>p<EFBFBD>ł<EFBFBD><C582>܂<EFBFBD><DC82>B
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>Z<EFBFBD><5A><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>ǂ<EFBFBD><C782><EFBFBD><EFBFBD>̃I<CC83>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ł<EFBFBD><C582>g<EFBFBD>p<EFBFBD>ł<EFBFBD><C582>܂<EFBFBD><DC82>B
|
||||||
|
|
||||||
7. <20>I<EFBFBD>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F096B38C>ɂ<EFBFBD><C982><EFBFBD><EFBFBD>ɂ<EFBFBD> "no" <20><><EFBFBD>t<EFBFBD>^<5E><><EFBFBD>܂<EFBFBD>: :set noic
|
7. <20>I<EFBFBD>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F096B38C>ɂ<EFBFBD><C982><EFBFBD><EFBFBD>ɂ<EFBFBD> "no" <20><><EFBFBD>t<EFBFBD>^<5E><><EFBFBD>܂<EFBFBD>: :set noic
|
||||||
@@ -970,6 +970,7 @@ NOTE:
|
|||||||
Modified for Vim by Bram Moolenaar.
|
Modified for Vim by Bram Moolenaar.
|
||||||
|
|
||||||
<20><><EFBFBD>{<7B><><EFBFBD><EFBFBD> <20><><EFBFBD>{ <20>O <mattn.jp@gmail.com>
|
<20><><EFBFBD>{<7B><><EFBFBD><EFBFBD> <20><><EFBFBD>{ <20>O <mattn.jp@gmail.com>
|
||||||
|
vim-jp<6A>`<60>[<5B><> <https://github.com/vim-jp/lang-ja>
|
||||||
<20>ďC <20><><EFBFBD><EFBFBD> <20><><EFBFBD>Y <koron.kaoriya@gmail.com>
|
<20>ďC <20><><EFBFBD><EFBFBD> <20><><EFBFBD>Y <koron.kaoriya@gmail.com>
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|||||||
@@ -846,7 +846,7 @@ NOTE: 1つの検索コマンドだけ大文字小文字の区別をやめたい
|
|||||||
6. ":set xxx" とタイプするとオプション "xxx" が設定される。
|
6. ":set xxx" とタイプするとオプション "xxx" が設定される。
|
||||||
'ic' 'ignorecase' 検索時に大文字小文字の区別しない
|
'ic' 'ignorecase' 検索時に大文字小文字の区別しない
|
||||||
'is' 'incsearch' 検索フレーズに部分マッチしている部分を表示する
|
'is' 'incsearch' 検索フレーズに部分マッチしている部分を表示する
|
||||||
'hls' 'hlsearch' マッチするすべを強調表示する
|
'hls' 'hlsearch' マッチするすべてを強調表示する
|
||||||
長い方、短い方、どちらのオプション名でも使用できます。
|
長い方、短い方、どちらのオプション名でも使用できます。
|
||||||
|
|
||||||
7. オプションを無効にするには "no" を付与します: :set noic
|
7. オプションを無効にするには "no" を付与します: :set noic
|
||||||
@@ -970,6 +970,7 @@ NOTE: 補完は多くのコマンドで動作します。そして CTRL-D と <T
|
|||||||
Modified for Vim by Bram Moolenaar.
|
Modified for Vim by Bram Moolenaar.
|
||||||
|
|
||||||
日本語訳 松本 泰弘 <mattn.jp@gmail.com>
|
日本語訳 松本 泰弘 <mattn.jp@gmail.com>
|
||||||
|
vim-jpチーム <https://github.com/vim-jp/lang-ja>
|
||||||
監修 村岡 太郎 <koron.kaoriya@gmail.com>
|
監修 村岡 太郎 <koron.kaoriya@gmail.com>
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|||||||
@@ -100,7 +100,7 @@
|
|||||||
1. Ga met de cursor naar de eerste regel verderop met --->.
|
1. Ga met de cursor naar de eerste regel verderop met --->.
|
||||||
|
|
||||||
2. Maak de eerste regel gelijk aan de tweede. Zet daarvoor de cursor op
|
2. Maak de eerste regel gelijk aan de tweede. Zet daarvoor de cursor op
|
||||||
de plaats waar tekst moet worden ingevoegd.
|
het karakter waarvoor tekst moet worden ingevoegd.
|
||||||
|
|
||||||
3. Tik i en daarna de nodige aanvullingen.
|
3. Tik i en daarna de nodige aanvullingen.
|
||||||
|
|
||||||
|
|||||||
@@ -100,7 +100,7 @@
|
|||||||
1. Ga met de cursor naar de eerste regel verderop met --->.
|
1. Ga met de cursor naar de eerste regel verderop met --->.
|
||||||
|
|
||||||
2. Maak de eerste regel gelijk aan de tweede. Zet daarvoor de cursor op
|
2. Maak de eerste regel gelijk aan de tweede. Zet daarvoor de cursor op
|
||||||
de plaats waar tekst moet worden ingevoegd.
|
het karakter waarvoor tekst moet worden ingevoegd.
|
||||||
|
|
||||||
3. Tik i en daarna de nodige aanvullingen.
|
3. Tik i en daarna de nodige aanvullingen.
|
||||||
|
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ NOTE: As you go through this tutor, do not try to memorize, learn by usage.
|
|||||||
1. Move the cursor to the first line below marked --->.
|
1. Move the cursor to the first line below marked --->.
|
||||||
|
|
||||||
2. To make the first line the same as the second, move the cursor on top
|
2. To make the first line the same as the second, move the cursor on top
|
||||||
of the first character AFTER where the text is to be inserted.
|
of the character BEFORE which the text is to be inserted.
|
||||||
|
|
||||||
3. Press i and type in the necessary additions.
|
3. Press i and type in the necessary additions.
|
||||||
|
|
||||||
|
|||||||
@@ -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: 2017 Sep 20
|
" Last change: 2019 Jan 26
|
||||||
"
|
"
|
||||||
" To use it, copy it to
|
" To use it, copy it to
|
||||||
" for Unix and OS/2: ~/.vimrc
|
" for Unix and OS/2: ~/.vimrc
|
||||||
@@ -9,7 +9,8 @@
|
|||||||
" for MS-DOS and Win32: $VIM\_vimrc
|
" for MS-DOS and Win32: $VIM\_vimrc
|
||||||
" for OpenVMS: sys$login:.vimrc
|
" for OpenVMS: sys$login:.vimrc
|
||||||
|
|
||||||
" When started as "evim", evim.vim will already have done these settings.
|
" When started as "evim", evim.vim will already have done these settings, bail
|
||||||
|
" out.
|
||||||
if v:progname =~? "evim"
|
if v:progname =~? "evim"
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
@@ -31,23 +32,13 @@ if &t_Co > 2 || has("gui_running")
|
|||||||
set hlsearch
|
set hlsearch
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Only do this part when compiled with support for autocommands.
|
" Put these in an autocmd group, so that we can delete them easily.
|
||||||
if has("autocmd")
|
augroup vimrcEx
|
||||||
|
|
||||||
" Put these in an autocmd group, so that we can delete them easily.
|
|
||||||
augroup vimrcEx
|
|
||||||
au!
|
au!
|
||||||
|
|
||||||
" For all text files set 'textwidth' to 78 characters.
|
" For all text files set 'textwidth' to 78 characters.
|
||||||
autocmd FileType text setlocal textwidth=78
|
autocmd FileType text setlocal textwidth=78
|
||||||
|
augroup END
|
||||||
augroup END
|
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
set autoindent " always set autoindenting on
|
|
||||||
|
|
||||||
endif " has("autocmd")
|
|
||||||
|
|
||||||
" Add optional packages.
|
" Add optional packages.
|
||||||
"
|
"
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
# define STRICT
|
# define STRICT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define INC_OLE2 // WIN32, get ole2 from windows.h
|
#define INC_OLE2 // MS-Windows, get ole2 from windows.h
|
||||||
|
|
||||||
/* Visual Studio 2005 has 'deprecated' many of the standard CRT functions */
|
/* Visual Studio 2005 has 'deprecated' many of the standard CRT functions */
|
||||||
#if defined(_MSC_VER) && _MSC_VER >= 1400
|
#if defined(_MSC_VER) && _MSC_VER >= 1400
|
||||||
|
|||||||
@@ -405,7 +405,7 @@ DEFINES = $(DEFINES) -DFEAT_CSCOPE
|
|||||||
!endif
|
!endif
|
||||||
|
|
||||||
!if ("$(GUI)"=="yes")
|
!if ("$(GUI)"=="yes")
|
||||||
DEFINES = $(DEFINES) -DFEAT_GUI_W32 -DFEAT_CLIPBOARD
|
DEFINES = $(DEFINES) -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD
|
||||||
!if ("$(DEBUG)"=="yes")
|
!if ("$(DEBUG)"=="yes")
|
||||||
TARGET = gvimd.exe
|
TARGET = gvimd.exe
|
||||||
!else
|
!else
|
||||||
@@ -542,12 +542,13 @@ vimobj = \
|
|||||||
$(OBJDIR)\ex_docmd.obj \
|
$(OBJDIR)\ex_docmd.obj \
|
||||||
$(OBJDIR)\ex_eval.obj \
|
$(OBJDIR)\ex_eval.obj \
|
||||||
$(OBJDIR)\ex_getln.obj \
|
$(OBJDIR)\ex_getln.obj \
|
||||||
$(OBJDIR)\farsi.obj \
|
|
||||||
$(OBJDIR)\fileio.obj \
|
$(OBJDIR)\fileio.obj \
|
||||||
|
$(OBJDIR)\findfile.obj \
|
||||||
$(OBJDIR)\fold.obj \
|
$(OBJDIR)\fold.obj \
|
||||||
$(OBJDIR)\getchar.obj \
|
$(OBJDIR)\getchar.obj \
|
||||||
$(OBJDIR)\hardcopy.obj \
|
$(OBJDIR)\hardcopy.obj \
|
||||||
$(OBJDIR)\hashtab.obj \
|
$(OBJDIR)\hashtab.obj \
|
||||||
|
$(OBJDIR)\indent.obj \
|
||||||
$(OBJDIR)\json.obj \
|
$(OBJDIR)\json.obj \
|
||||||
$(OBJDIR)\list.obj \
|
$(OBJDIR)\list.obj \
|
||||||
$(OBJDIR)\main.obj \
|
$(OBJDIR)\main.obj \
|
||||||
|
|||||||
@@ -491,7 +491,7 @@ endif # RUBY
|
|||||||
|
|
||||||
# See feature.h for a list of options.
|
# See feature.h for a list of options.
|
||||||
# Any other defines can be included here.
|
# Any other defines can be included here.
|
||||||
DEF_GUI=-DFEAT_GUI_W32 -DFEAT_CLIPBOARD
|
DEF_GUI=-DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD
|
||||||
DEFINES=-DWIN32 -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) \
|
DEFINES=-DWIN32 -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) \
|
||||||
-DHAVE_PATHDEF -DFEAT_$(FEATURES) -DHAVE_STDINT_H
|
-DHAVE_PATHDEF -DFEAT_$(FEATURES) -DHAVE_STDINT_H
|
||||||
ifeq ($(ARCH),x86-64)
|
ifeq ($(ARCH),x86-64)
|
||||||
@@ -714,12 +714,13 @@ OBJ = \
|
|||||||
$(OUTDIR)/ex_docmd.o \
|
$(OUTDIR)/ex_docmd.o \
|
||||||
$(OUTDIR)/ex_eval.o \
|
$(OUTDIR)/ex_eval.o \
|
||||||
$(OUTDIR)/ex_getln.o \
|
$(OUTDIR)/ex_getln.o \
|
||||||
$(OUTDIR)/farsi.o \
|
|
||||||
$(OUTDIR)/fileio.o \
|
$(OUTDIR)/fileio.o \
|
||||||
|
$(OUTDIR)/findfile.o \
|
||||||
$(OUTDIR)/fold.o \
|
$(OUTDIR)/fold.o \
|
||||||
$(OUTDIR)/getchar.o \
|
$(OUTDIR)/getchar.o \
|
||||||
$(OUTDIR)/hardcopy.o \
|
$(OUTDIR)/hardcopy.o \
|
||||||
$(OUTDIR)/hashtab.o \
|
$(OUTDIR)/hashtab.o \
|
||||||
|
$(OUTDIR)/indent.o \
|
||||||
$(OUTDIR)/json.o \
|
$(OUTDIR)/json.o \
|
||||||
$(OUTDIR)/list.o \
|
$(OUTDIR)/list.o \
|
||||||
$(OUTDIR)/main.o \
|
$(OUTDIR)/main.o \
|
||||||
@@ -930,7 +931,8 @@ endif
|
|||||||
ifeq (yes, $(USE_STDCPLUS))
|
ifeq (yes, $(USE_STDCPLUS))
|
||||||
LINK = $(CXX)
|
LINK = $(CXX)
|
||||||
ifeq (yes, $(STATIC_STDCPLUS))
|
ifeq (yes, $(STATIC_STDCPLUS))
|
||||||
LIB += -static-libstdc++ -static-libgcc
|
#LIB += -static-libstdc++ -static-libgcc
|
||||||
|
LIB += -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
LINK = $(CC)
|
LINK = $(CC)
|
||||||
@@ -1002,7 +1004,7 @@ endif
|
|||||||
$(MAKE) -C tee clean
|
$(MAKE) -C tee clean
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
INCL = vim.h alloc.h arabic.h ascii.h ex_cmds.h farsi.h feature.h globals.h \
|
INCL = vim.h alloc.h arabic.h ascii.h ex_cmds.h feature.h globals.h \
|
||||||
keymap.h macros.h option.h os_dos.h os_win32.h proto.h regexp.h \
|
keymap.h macros.h option.h os_dos.h os_win32.h proto.h regexp.h \
|
||||||
spell.h structs.h term.h beval.h $(NBDEBUG_INCL)
|
spell.h structs.h term.h beval.h $(NBDEBUG_INCL)
|
||||||
GUI_INCL = gui.h
|
GUI_INCL = gui.h
|
||||||
|
|||||||
@@ -44,12 +44,13 @@ SRC = \
|
|||||||
ex_docmd.c \
|
ex_docmd.c \
|
||||||
ex_eval.c \
|
ex_eval.c \
|
||||||
ex_getln.c \
|
ex_getln.c \
|
||||||
farsi.c \
|
|
||||||
fileio.c \
|
fileio.c \
|
||||||
|
findfile.c \
|
||||||
fold.c \
|
fold.c \
|
||||||
getchar.c \
|
getchar.c \
|
||||||
hardcopy.c \
|
hardcopy.c \
|
||||||
hashtab.c \
|
hashtab.c \
|
||||||
|
indent.c \
|
||||||
json.c \
|
json.c \
|
||||||
list.c \
|
list.c \
|
||||||
main.c \
|
main.c \
|
||||||
@@ -102,12 +103,13 @@ OBJ = o/arabic.o \
|
|||||||
o/ex_docmd.o \
|
o/ex_docmd.o \
|
||||||
o/ex_eval.o \
|
o/ex_eval.o \
|
||||||
o/ex_getln.o \
|
o/ex_getln.o \
|
||||||
o/farsi.o \
|
|
||||||
o/fileio.o \
|
o/fileio.o \
|
||||||
|
o/findfile.o \
|
||||||
o/fold.o \
|
o/fold.o \
|
||||||
o/getchar.o \
|
o/getchar.o \
|
||||||
o/hardcopy.o \
|
o/hardcopy.o \
|
||||||
o/hashtab.o \
|
o/hashtab.o \
|
||||||
|
o/indent.o \
|
||||||
o/json.o \
|
o/json.o \
|
||||||
o/list.o \
|
o/list.o \
|
||||||
o/main.o \
|
o/main.o \
|
||||||
@@ -197,10 +199,10 @@ o/ex_eval.o: ex_eval.c $(SYMS) ex_cmds.h
|
|||||||
|
|
||||||
o/ex_getln.o: ex_getln.c $(SYMS)
|
o/ex_getln.o: ex_getln.c $(SYMS)
|
||||||
|
|
||||||
o/farsi.o: farsi.c $(SYMS)
|
|
||||||
|
|
||||||
o/fileio.o: fileio.c $(SYMS)
|
o/fileio.o: fileio.c $(SYMS)
|
||||||
|
|
||||||
|
o/findfile.o: findfile.c $(SYMS)
|
||||||
|
|
||||||
o/fold.o: fold.c $(SYMS)
|
o/fold.o: fold.c $(SYMS)
|
||||||
|
|
||||||
o/getchar.o: getchar.c $(SYMS)
|
o/getchar.o: getchar.c $(SYMS)
|
||||||
@@ -209,6 +211,8 @@ o/hardcopy.o: hardcopy.c $(SYMS)
|
|||||||
|
|
||||||
o/hashtab.o: hashtab.c $(SYMS)
|
o/hashtab.o: hashtab.c $(SYMS)
|
||||||
|
|
||||||
|
o/indent.o: indent.c $(SYMS)
|
||||||
|
|
||||||
o/json.o: json.c $(SYMS)
|
o/json.o: json.c $(SYMS)
|
||||||
|
|
||||||
o/list.o: list.c $(SYMS)
|
o/list.o: list.c $(SYMS)
|
||||||
|
|||||||
@@ -92,8 +92,8 @@ LINK32_FLAGS= oldnames.lib kernel32.lib user32.lib gdi32.lib version.lib comdlg3
|
|||||||
# ADD LINK32 oldnames.lib kernel32.lib user32.lib gdi32.lib version.lib comdlg32.lib comctl32.lib advapi32.lib shell32.lib ole32.lib uuid.lib /nologo /machine:I386 /nodefaultlib
|
# ADD LINK32 oldnames.lib kernel32.lib user32.lib gdi32.lib version.lib comdlg32.lib comctl32.lib advapi32.lib shell32.lib ole32.lib uuid.lib /nologo /machine:I386 /nodefaultlib
|
||||||
# SUBTRACT LINK32 /incremental:yes
|
# SUBTRACT LINK32 /incremental:yes
|
||||||
|
|
||||||
RSC_PROJ= /l 0x409 /d "FEAT_GUI_W32"
|
RSC_PROJ= /l 0x409 /d "FEAT_GUI_MSWIN"
|
||||||
# ADD RSC /l 0x409 /d "FEAT_GUI_W32"
|
# ADD RSC /l 0x409 /d "FEAT_GUI_MSWIN"
|
||||||
|
|
||||||
!IF "$(CFG)" == "Vim - Win32 Release gvim OLE"
|
!IF "$(CFG)" == "Vim - Win32 Release gvim OLE"
|
||||||
|
|
||||||
@@ -105,8 +105,8 @@ INTDIR=.\oleRel
|
|||||||
VIM=gvim
|
VIM=gvim
|
||||||
EXTRAS="$(INTDIR)/if_ole.obj" "$(INTDIR)/vim.res" "$(INTDIR)/gui.obj" "$(INTDIR)/gui_w32.obj" "$(INTDIR)/gui_beval.obj" "$(INTDIR)/os_w32exe.obj"
|
EXTRAS="$(INTDIR)/if_ole.obj" "$(INTDIR)/vim.res" "$(INTDIR)/gui.obj" "$(INTDIR)/gui_w32.obj" "$(INTDIR)/gui_beval.obj" "$(INTDIR)/os_w32exe.obj"
|
||||||
|
|
||||||
CPP_PROJ=$(CPP_PROJ) /Zi /O2 /D "NDEBUG" /D "FEAT_GUI_W32" /D "DYNAMIC_GETTEXT" /D "FEAT_OLE" /Fd.\oleRel/ /Fo.\oleRel/
|
CPP_PROJ=$(CPP_PROJ) /Zi /O2 /D "NDEBUG" /D "FEAT_GUI_MSWIN" /D "DYNAMIC_GETTEXT" /D "FEAT_OLE" /Fd.\oleRel/ /Fo.\oleRel/
|
||||||
# ADD CPP /Zi /O2 /D "NDEBUG" /D "FEAT_GUI_W32" /D "DYNAMIC_GETTEXT" /D "FEAT_OLE" /Fd.\oleRel/ /Fo.\oleRel/
|
# ADD CPP /Zi /O2 /D "NDEBUG" /D "FEAT_GUI_MSWIN" /D "DYNAMIC_GETTEXT" /D "FEAT_OLE" /Fd.\oleRel/ /Fo.\oleRel/
|
||||||
|
|
||||||
RSC_PROJ=$(RSC_PROJ) /I ".\oleRel" /d "NDEBUG" /d "FEAT_OLE" /fo.\oleRel\vim.res
|
RSC_PROJ=$(RSC_PROJ) /I ".\oleRel" /d "NDEBUG" /d "FEAT_OLE" /fo.\oleRel\vim.res
|
||||||
# ADD RSC /I ".\oleRel" /d "NDEBUG" /d "FEAT_OLE" /fo.\oleRel\vim.res
|
# ADD RSC /I ".\oleRel" /d "NDEBUG" /d "FEAT_OLE" /fo.\oleRel\vim.res
|
||||||
@@ -124,8 +124,8 @@ INTDIR=.\oleDbg
|
|||||||
VIM=gvimd
|
VIM=gvimd
|
||||||
EXTRAS="$(INTDIR)/if_ole.obj" "$(INTDIR)/vim.res" "$(INTDIR)/gui.obj" "$(INTDIR)/gui_w32.obj" "$(INTDIR)/gui_beval.obj" "$(INTDIR)/os_w32exe.obj"
|
EXTRAS="$(INTDIR)/if_ole.obj" "$(INTDIR)/vim.res" "$(INTDIR)/gui.obj" "$(INTDIR)/gui_w32.obj" "$(INTDIR)/gui_beval.obj" "$(INTDIR)/os_w32exe.obj"
|
||||||
|
|
||||||
CPP_PROJ=$(CPP_PROJ) /Zi /Od /D "_DEBUG" /D "FEAT_GUI_W32" /D "DYNAMIC_GETTEXT" /D "FEAT_OLE" /Fd.\oleDbg/ /Fo.\oleDbg/
|
CPP_PROJ=$(CPP_PROJ) /Zi /Od /D "_DEBUG" /D "FEAT_GUI_MSWIN" /D "DYNAMIC_GETTEXT" /D "FEAT_OLE" /Fd.\oleDbg/ /Fo.\oleDbg/
|
||||||
# ADD CPP /Zi /Od /D "_DEBUG" /D "FEAT_GUI_W32" /D "DYNAMIC_GETTEXT" /D "FEAT_OLE" /Fd.\oleDbg/ /Fo.\oleDbg/
|
# ADD CPP /Zi /Od /D "_DEBUG" /D "FEAT_GUI_MSWIN" /D "DYNAMIC_GETTEXT" /D "FEAT_OLE" /Fd.\oleDbg/ /Fo.\oleDbg/
|
||||||
|
|
||||||
RSC_PROJ=$(RSC_PROJ) /I .\oleDbg /d "_DEBUG" /d "FEAT_OLE" /fo.\oleDbg\vim.res
|
RSC_PROJ=$(RSC_PROJ) /I .\oleDbg /d "_DEBUG" /d "FEAT_OLE" /fo.\oleDbg\vim.res
|
||||||
# ADD RSC /I .\oleDbg /d "_DEBUG" /d "FEAT_OLE" /fo.\oleDbg\vim.res
|
# ADD RSC /I .\oleDbg /d "_DEBUG" /d "FEAT_OLE" /fo.\oleDbg\vim.res
|
||||||
@@ -144,8 +144,8 @@ INTDIR=.\gRel
|
|||||||
VIM=gvim
|
VIM=gvim
|
||||||
EXTRAS="$(INTDIR)/vim.res" "$(INTDIR)/gui.obj" "$(INTDIR)/gui_w32.obj" "$(INTDIR)/gui_beval.obj" "$(INTDIR)/os_w32exe.obj"
|
EXTRAS="$(INTDIR)/vim.res" "$(INTDIR)/gui.obj" "$(INTDIR)/gui_w32.obj" "$(INTDIR)/gui_beval.obj" "$(INTDIR)/os_w32exe.obj"
|
||||||
|
|
||||||
CPP_PROJ=$(CPP_PROJ) /Zi /O2 /D "NDEBUG" /D "FEAT_GUI_W32" /Fd.\gRel/ /Fo.\gRel/
|
CPP_PROJ=$(CPP_PROJ) /Zi /O2 /D "NDEBUG" /D "FEAT_GUI_MSWIN" /Fd.\gRel/ /Fo.\gRel/
|
||||||
# ADD CPP /Zi /O2 /D "NDEBUG" /D "FEAT_GUI_W32" /Fd.\gRel/ /Fo.\gRel/
|
# ADD CPP /Zi /O2 /D "NDEBUG" /D "FEAT_GUI_MSWIN" /Fd.\gRel/ /Fo.\gRel/
|
||||||
|
|
||||||
RSC_PROJ=$(RSC_PROJ) /d "NDEBUG" /fo.\gRel\vim.res
|
RSC_PROJ=$(RSC_PROJ) /d "NDEBUG" /fo.\gRel\vim.res
|
||||||
# ADD RSC /d "NDEBUG" /fo.\gRel\vim.res
|
# ADD RSC /d "NDEBUG" /fo.\gRel\vim.res
|
||||||
@@ -163,8 +163,8 @@ INTDIR=.\gDbg
|
|||||||
VIM=gvimd
|
VIM=gvimd
|
||||||
EXTRAS="$(INTDIR)/vim.res" "$(INTDIR)/gui.obj" "$(INTDIR)/gui_w32.obj" "$(INTDIR)/gui_beval.obj" "$(INTDIR)/os_w32exe.obj"
|
EXTRAS="$(INTDIR)/vim.res" "$(INTDIR)/gui.obj" "$(INTDIR)/gui_w32.obj" "$(INTDIR)/gui_beval.obj" "$(INTDIR)/os_w32exe.obj"
|
||||||
|
|
||||||
CPP_PROJ=$(CPP_PROJ) /Zi /Od /D "_DEBUG" /D "FEAT_GUI_W32" /Fd.\gDbg/ /Fo.\gDbg/
|
CPP_PROJ=$(CPP_PROJ) /Zi /Od /D "_DEBUG" /D "FEAT_GUI_MSWIN" /Fd.\gDbg/ /Fo.\gDbg/
|
||||||
# ADD CPP /Zi /Od /D "_DEBUG" /D "FEAT_GUI_W32" /Fd.\gDbg/ /Fo.\gDbg/
|
# ADD CPP /Zi /Od /D "_DEBUG" /D "FEAT_GUI_MSWIN" /Fd.\gDbg/ /Fo.\gDbg/
|
||||||
|
|
||||||
RSC_PROJ=$(RSC_PROJ) /d "_DEBUG" /fo.\gDbg\vim.res
|
RSC_PROJ=$(RSC_PROJ) /d "_DEBUG" /fo.\gDbg\vim.res
|
||||||
# ADD RSC /d "_DEBUG" /fo.\gDbg\vim.res
|
# ADD RSC /d "_DEBUG" /fo.\gDbg\vim.res
|
||||||
@@ -228,12 +228,13 @@ LINK32_OBJS= \
|
|||||||
"$(INTDIR)/ex_docmd.obj" \
|
"$(INTDIR)/ex_docmd.obj" \
|
||||||
"$(INTDIR)/ex_eval.obj" \
|
"$(INTDIR)/ex_eval.obj" \
|
||||||
"$(INTDIR)/ex_getln.obj" \
|
"$(INTDIR)/ex_getln.obj" \
|
||||||
"$(INTDIR)/farsi.obj" \
|
|
||||||
"$(INTDIR)/fileio.obj" \
|
"$(INTDIR)/fileio.obj" \
|
||||||
|
"$(INTDIR)/findfile.obj" \
|
||||||
"$(INTDIR)/fold.obj" \
|
"$(INTDIR)/fold.obj" \
|
||||||
"$(INTDIR)/getchar.obj" \
|
"$(INTDIR)/getchar.obj" \
|
||||||
"$(INTDIR)/hardcopy.obj" \
|
"$(INTDIR)/hardcopy.obj" \
|
||||||
"$(INTDIR)/hashtab.obj" \
|
"$(INTDIR)/hashtab.obj" \
|
||||||
|
"$(INTDIR)/indent.obj" \
|
||||||
"$(INTDIR)/json.obj" \
|
"$(INTDIR)/json.obj" \
|
||||||
"$(INTDIR)/list.obj" \
|
"$(INTDIR)/list.obj" \
|
||||||
"$(INTDIR)/main.obj" \
|
"$(INTDIR)/main.obj" \
|
||||||
@@ -411,11 +412,11 @@ SOURCE=.\ex_getln.c
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\farsi.c
|
SOURCE=.\fileio.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
#
|
||||||
SOURCE=.\fileio.c
|
SOURCE=.\findfile.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
@@ -434,6 +435,10 @@ SOURCE=.\hardcopy.c
|
|||||||
SOURCE=.\hashtab.c
|
SOURCE=.\hashtab.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
#
|
||||||
|
SOURCE=.\indent.c
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\gui.c
|
SOURCE=.\gui.c
|
||||||
|
|
||||||
@@ -503,7 +508,7 @@ SOURCE=.\if_ole.cpp
|
|||||||
# Begin Custom Build
|
# Begin Custom Build
|
||||||
|
|
||||||
"$(INTDIR)\if_ole.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\if_ole.h"
|
"$(INTDIR)\if_ole.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\if_ole.h"
|
||||||
cl.exe /nologo /MT /W3 /GX /I ".\proto" /D "WIN32" /c /Zi /O2 /D "NDEBUG" /D "FEAT_GUI_W32" /D "FEAT_OLE" /Fd.\oleRel/ /Fo.\oleRel/ /I ".\oleRel" .\if_ole.cpp
|
cl.exe /nologo /MT /W3 /GX /I ".\proto" /D "WIN32" /c /Zi /O2 /D "NDEBUG" /D "FEAT_GUI_MSWIN" /D "FEAT_OLE" /Fd.\oleRel/ /Fo.\oleRel/ /I ".\oleRel" .\if_ole.cpp
|
||||||
@rem This is the default rule with /I "$(IntDir)" added
|
@rem This is the default rule with /I "$(IntDir)" added
|
||||||
|
|
||||||
# End Custom Build
|
# End Custom Build
|
||||||
@@ -514,7 +519,7 @@ SOURCE=.\if_ole.cpp
|
|||||||
# Begin Custom Build
|
# Begin Custom Build
|
||||||
|
|
||||||
"$(INTDIR)\if_ole.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\if_ole.h"
|
"$(INTDIR)\if_ole.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\if_ole.h"
|
||||||
cl.exe /nologo /MT /W3 /GX /I ".\proto" /D "WIN32" /c /Zi /Od /D "_DEBUG" /D "FEAT_GUI_W32" /D "FEAT_OLE" /Fd.\oleDbg/ /Fo.\oleDbg/ /I ".\oleDbg" .\if_ole.cpp
|
cl.exe /nologo /MT /W3 /GX /I ".\proto" /D "WIN32" /c /Zi /Od /D "_DEBUG" /D "FEAT_GUI_MSWIN" /D "FEAT_OLE" /Fd.\oleDbg/ /Fo.\oleDbg/ /I ".\oleDbg" .\if_ole.cpp
|
||||||
@rem This is the default rule with /I "$(IntDir)" added
|
@rem This is the default rule with /I "$(IntDir)" added
|
||||||
|
|
||||||
# End Custom Build
|
# End Custom Build
|
||||||
|
|||||||
@@ -54,12 +54,13 @@ SRC = arabic.c \
|
|||||||
ex_docmd.c \
|
ex_docmd.c \
|
||||||
ex_eval.c \
|
ex_eval.c \
|
||||||
ex_getln.c \
|
ex_getln.c \
|
||||||
farsi.c \
|
|
||||||
fileio.c \
|
fileio.c \
|
||||||
|
findfile.c \
|
||||||
fold.c \
|
fold.c \
|
||||||
getchar.c \
|
getchar.c \
|
||||||
hardcopy.c \
|
hardcopy.c \
|
||||||
hashtab.c \
|
hashtab.c \
|
||||||
|
indent.c \
|
||||||
json.c \
|
json.c \
|
||||||
list.c \
|
list.c \
|
||||||
main.c \
|
main.c \
|
||||||
@@ -114,12 +115,13 @@ OBJ = obj/arabic.o \
|
|||||||
obj/ex_docmd.o \
|
obj/ex_docmd.o \
|
||||||
obj/ex_eval.o \
|
obj/ex_eval.o \
|
||||||
obj/ex_getln.o \
|
obj/ex_getln.o \
|
||||||
obj/farsi.o \
|
|
||||||
obj/fileio.o \
|
obj/fileio.o \
|
||||||
|
obj/findfile.o \
|
||||||
obj/fold.o \
|
obj/fold.o \
|
||||||
obj/getchar.o \
|
obj/getchar.o \
|
||||||
obj/hardcopy.o \
|
obj/hardcopy.o \
|
||||||
obj/hashtab.o \
|
obj/hashtab.o \
|
||||||
|
obj/indent.o \
|
||||||
obj/json.o \
|
obj/json.o \
|
||||||
obj/list.o \
|
obj/list.o \
|
||||||
obj/main.o \
|
obj/main.o \
|
||||||
@@ -172,12 +174,13 @@ PRO = proto/arabic.pro \
|
|||||||
proto/ex_docmd.pro \
|
proto/ex_docmd.pro \
|
||||||
proto/ex_eval.pro \
|
proto/ex_eval.pro \
|
||||||
proto/ex_getln.pro \
|
proto/ex_getln.pro \
|
||||||
proto/farsi.pro \
|
|
||||||
proto/fileio.pro \
|
proto/fileio.pro \
|
||||||
|
proto/findfile.pro \
|
||||||
proto/fold.pro \
|
proto/fold.pro \
|
||||||
proto/getchar.pro \
|
proto/getchar.pro \
|
||||||
proto/hardcopy.pro \
|
proto/hardcopy.pro \
|
||||||
proto/hashtab.pro \
|
proto/hashtab.pro \
|
||||||
|
proto/indent.pro \
|
||||||
proto/json.pro \
|
proto/json.pro \
|
||||||
proto/list.pro \
|
proto/list.pro \
|
||||||
proto/main.pro \
|
proto/main.pro \
|
||||||
@@ -311,12 +314,12 @@ obj/ex_eval.o: ex_eval.c ex_cmds.h
|
|||||||
obj/ex_getln.o: ex_getln.c
|
obj/ex_getln.o: ex_getln.c
|
||||||
$(CCSYM) $@ ex_getln.c
|
$(CCSYM) $@ ex_getln.c
|
||||||
|
|
||||||
obj/farsi.o: farsi.c
|
|
||||||
$(CCSYM) $@ farsi.c
|
|
||||||
|
|
||||||
obj/fileio.o: fileio.c
|
obj/fileio.o: fileio.c
|
||||||
$(CCSYM) $@ fileio.c
|
$(CCSYM) $@ fileio.c
|
||||||
|
|
||||||
|
obj/findfile.o: findfile.c
|
||||||
|
$(CCSYM) $@ findfile.c
|
||||||
|
|
||||||
obj/fold.o: fold.c
|
obj/fold.o: fold.c
|
||||||
$(CCSYM) $@ fold.c
|
$(CCSYM) $@ fold.c
|
||||||
|
|
||||||
@@ -329,6 +332,9 @@ obj/hardcopy.o: hardcopy.c
|
|||||||
obj/hashtab.o: hashtab.c
|
obj/hashtab.o: hashtab.c
|
||||||
$(CCSYM) $@ hashtab.c
|
$(CCSYM) $@ hashtab.c
|
||||||
|
|
||||||
|
obj/indent.o: indent.c
|
||||||
|
$(CCSYM) $@ indent.c
|
||||||
|
|
||||||
obj/json.o: json.c
|
obj/json.o: json.c
|
||||||
$(CCSYM) $@ json.c
|
$(CCSYM) $@ json.c
|
||||||
|
|
||||||
|
|||||||
@@ -42,12 +42,13 @@ SRC = arabic.c \
|
|||||||
ex_docmd.c \
|
ex_docmd.c \
|
||||||
ex_eval.c \
|
ex_eval.c \
|
||||||
ex_getln.c \
|
ex_getln.c \
|
||||||
farsi.c \
|
|
||||||
fileio.c \
|
fileio.c \
|
||||||
|
findfile.c \
|
||||||
fold.c \
|
fold.c \
|
||||||
getchar.c \
|
getchar.c \
|
||||||
hardcopy.c \
|
hardcopy.c \
|
||||||
hashtab.c \
|
hashtab.c \
|
||||||
|
indent.c \
|
||||||
json.c \
|
json.c \
|
||||||
list.c \
|
list.c \
|
||||||
main.c \
|
main.c \
|
||||||
|
|||||||
@@ -626,6 +626,16 @@ CFLAGS = $(CFLAGS) /MP
|
|||||||
!endif
|
!endif
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
# VC10 or later has stdint.h.
|
||||||
|
!if $(MSVC_MAJOR) >= 10
|
||||||
|
CFLAGS = $(CFLAGS) -DHAVE_STDINT_H
|
||||||
|
!endif
|
||||||
|
|
||||||
|
# Static code analysis generally available starting with VS2012 (VC11) or
|
||||||
|
# Windows SDK 7.1 (VC10)
|
||||||
|
!if ("$(ANALYZE)" == "yes") && ($(MSVC_MAJOR) >= 10)
|
||||||
|
CFLAGS=$(CFLAGS) /analyze
|
||||||
|
!endif
|
||||||
|
|
||||||
!ifdef NODEBUG
|
!ifdef NODEBUG
|
||||||
VIM = vim
|
VIM = vim
|
||||||
@@ -649,17 +659,6 @@ OPTFLAG = $(OPTFLAG) /GL
|
|||||||
CFLAGS=$(CFLAGS) $(WP64CHECK)
|
CFLAGS=$(CFLAGS) $(WP64CHECK)
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# VC10 or later has stdint.h.
|
|
||||||
!if $(MSVC_MAJOR) >= 10
|
|
||||||
CFLAGS = $(CFLAGS) -DHAVE_STDINT_H
|
|
||||||
!endif
|
|
||||||
|
|
||||||
# Static code analysis generally available starting with VS2012 (VC11) or
|
|
||||||
# Windows SDK 7.1 (VC10)
|
|
||||||
!if ("$(ANALYZE)" == "yes") && ($(MSVC_MAJOR) >= 10)
|
|
||||||
CFLAGS=$(CFLAGS) /analyze
|
|
||||||
!endif
|
|
||||||
|
|
||||||
CFLAGS = $(CFLAGS) $(OPTFLAG) -DNDEBUG $(CPUARG)
|
CFLAGS = $(CFLAGS) $(OPTFLAG) -DNDEBUG $(CPUARG)
|
||||||
RCFLAGS = $(rcflags) $(rcvars) -DNDEBUG
|
RCFLAGS = $(rcflags) $(rcvars) -DNDEBUG
|
||||||
! ifdef USE_MSVCRT
|
! ifdef USE_MSVCRT
|
||||||
@@ -694,7 +693,7 @@ CFLAGS = $(CFLAGS) /Zl /MTd
|
|||||||
!include Make_all.mak
|
!include Make_all.mak
|
||||||
!include testdir\Make_all.mak
|
!include testdir\Make_all.mak
|
||||||
|
|
||||||
INCL = vim.h alloc.h arabic.h ascii.h ex_cmds.h farsi.h feature.h globals.h \
|
INCL = vim.h alloc.h arabic.h ascii.h ex_cmds.h feature.h globals.h \
|
||||||
keymap.h macros.h option.h os_dos.h os_win32.h proto.h regexp.h \
|
keymap.h macros.h option.h os_dos.h os_win32.h proto.h regexp.h \
|
||||||
spell.h structs.h term.h beval.h $(NBDEBUG_INCL)
|
spell.h structs.h term.h beval.h $(NBDEBUG_INCL)
|
||||||
|
|
||||||
@@ -719,12 +718,13 @@ OBJ = \
|
|||||||
$(OUTDIR)\ex_docmd.obj \
|
$(OUTDIR)\ex_docmd.obj \
|
||||||
$(OUTDIR)\ex_eval.obj \
|
$(OUTDIR)\ex_eval.obj \
|
||||||
$(OUTDIR)\ex_getln.obj \
|
$(OUTDIR)\ex_getln.obj \
|
||||||
$(OUTDIR)\farsi.obj \
|
|
||||||
$(OUTDIR)\fileio.obj \
|
$(OUTDIR)\fileio.obj \
|
||||||
|
$(OUTDIR)\findfile.obj \
|
||||||
$(OUTDIR)\fold.obj \
|
$(OUTDIR)\fold.obj \
|
||||||
$(OUTDIR)\getchar.obj \
|
$(OUTDIR)\getchar.obj \
|
||||||
$(OUTDIR)\hardcopy.obj \
|
$(OUTDIR)\hardcopy.obj \
|
||||||
$(OUTDIR)\hashtab.obj \
|
$(OUTDIR)\hashtab.obj \
|
||||||
|
$(OUTDIR)\indent.obj \
|
||||||
$(OUTDIR)\json.obj \
|
$(OUTDIR)\json.obj \
|
||||||
$(OUTDIR)\list.obj \
|
$(OUTDIR)\list.obj \
|
||||||
$(OUTDIR)\main.obj \
|
$(OUTDIR)\main.obj \
|
||||||
@@ -790,8 +790,8 @@ OBJ = $(OBJ) $(OUTDIR)\dimm_i.obj $(OUTDIR)\glbl_ime.obj
|
|||||||
|
|
||||||
!if "$(GUI)" == "yes"
|
!if "$(GUI)" == "yes"
|
||||||
SUBSYSTEM = windows
|
SUBSYSTEM = windows
|
||||||
CFLAGS = $(CFLAGS) -DFEAT_GUI_W32
|
CFLAGS = $(CFLAGS) -DFEAT_GUI_MSWIN
|
||||||
RCFLAGS = $(RCFLAGS) -DFEAT_GUI_W32
|
RCFLAGS = $(RCFLAGS) -DFEAT_GUI_MSWIN
|
||||||
VIM = g$(VIM)
|
VIM = g$(VIM)
|
||||||
GUI_INCL = \
|
GUI_INCL = \
|
||||||
gui.h
|
gui.h
|
||||||
@@ -1402,10 +1402,10 @@ $(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)
|
||||||
|
|
||||||
$(OUTDIR)/farsi.obj: $(OUTDIR) farsi.c $(INCL)
|
|
||||||
|
|
||||||
$(OUTDIR)/fileio.obj: $(OUTDIR) fileio.c $(INCL)
|
$(OUTDIR)/fileio.obj: $(OUTDIR) fileio.c $(INCL)
|
||||||
|
|
||||||
|
$(OUTDIR)/findfile.obj: $(OUTDIR) findfile.c $(INCL)
|
||||||
|
|
||||||
$(OUTDIR)/fold.obj: $(OUTDIR) fold.c $(INCL)
|
$(OUTDIR)/fold.obj: $(OUTDIR) fold.c $(INCL)
|
||||||
|
|
||||||
$(OUTDIR)/getchar.obj: $(OUTDIR) getchar.c $(INCL)
|
$(OUTDIR)/getchar.obj: $(OUTDIR) getchar.c $(INCL)
|
||||||
@@ -1414,6 +1414,8 @@ $(OUTDIR)/hardcopy.obj: $(OUTDIR) hardcopy.c $(INCL)
|
|||||||
|
|
||||||
$(OUTDIR)/hashtab.obj: $(OUTDIR) hashtab.c $(INCL)
|
$(OUTDIR)/hashtab.obj: $(OUTDIR) hashtab.c $(INCL)
|
||||||
|
|
||||||
|
$(OUTDIR)/indent.obj: $(OUTDIR) indent.c $(INCL)
|
||||||
|
|
||||||
$(OUTDIR)/gui.obj: $(OUTDIR) gui.c $(INCL) $(GUI_INCL)
|
$(OUTDIR)/gui.obj: $(OUTDIR) gui.c $(INCL) $(GUI_INCL)
|
||||||
|
|
||||||
$(OUTDIR)/gui_beval.obj: $(OUTDIR) gui_beval.c $(INCL) $(GUI_INCL)
|
$(OUTDIR)/gui_beval.obj: $(OUTDIR) gui_beval.c $(INCL) $(GUI_INCL)
|
||||||
@@ -1640,11 +1642,12 @@ proto.h: \
|
|||||||
proto/ex_docmd.pro \
|
proto/ex_docmd.pro \
|
||||||
proto/ex_eval.pro \
|
proto/ex_eval.pro \
|
||||||
proto/ex_getln.pro \
|
proto/ex_getln.pro \
|
||||||
proto/farsi.pro \
|
|
||||||
proto/fileio.pro \
|
proto/fileio.pro \
|
||||||
|
proto/findfile.pro \
|
||||||
proto/getchar.pro \
|
proto/getchar.pro \
|
||||||
proto/hardcopy.pro \
|
proto/hardcopy.pro \
|
||||||
proto/hashtab.pro \
|
proto/hashtab.pro \
|
||||||
|
proto/indent.pro \
|
||||||
proto/json.pro \
|
proto/json.pro \
|
||||||
proto/list.pro \
|
proto/list.pro \
|
||||||
proto/main.pro \
|
proto/main.pro \
|
||||||
|
|||||||
@@ -107,12 +107,13 @@ SRC = \
|
|||||||
ex_docmd.c \
|
ex_docmd.c \
|
||||||
ex_eval.c \
|
ex_eval.c \
|
||||||
ex_getln.c \
|
ex_getln.c \
|
||||||
farsi.c \
|
|
||||||
fileio.c \
|
fileio.c \
|
||||||
|
findfile.c \
|
||||||
fold.c \
|
fold.c \
|
||||||
getchar.c \
|
getchar.c \
|
||||||
hardcopy.c \
|
hardcopy.c \
|
||||||
hashtab.c \
|
hashtab.c \
|
||||||
|
indent.c \
|
||||||
json.c \
|
json.c \
|
||||||
list.c \
|
list.c \
|
||||||
main.c \
|
main.c \
|
||||||
@@ -166,12 +167,13 @@ OBJ = \
|
|||||||
ex_docmd.o \
|
ex_docmd.o \
|
||||||
ex_eval.o \
|
ex_eval.o \
|
||||||
ex_getln.o \
|
ex_getln.o \
|
||||||
farsi.o \
|
|
||||||
fileio.o \
|
fileio.o \
|
||||||
|
findfile.o \
|
||||||
fold.o \
|
fold.o \
|
||||||
getchar.o \
|
getchar.o \
|
||||||
hardcopy.o \
|
hardcopy.o \
|
||||||
hashtab.o \
|
hashtab.o \
|
||||||
|
indent.o \
|
||||||
json.o \
|
json.o \
|
||||||
list.o \
|
list.o \
|
||||||
main.o \
|
main.o \
|
||||||
@@ -225,12 +227,13 @@ PRO = \
|
|||||||
proto/ex_docmd.pro \
|
proto/ex_docmd.pro \
|
||||||
proto/ex_eval.pro \
|
proto/ex_eval.pro \
|
||||||
proto/ex_getln.pro \
|
proto/ex_getln.pro \
|
||||||
proto/farsi.pro \
|
|
||||||
proto/fileio.pro \
|
proto/fileio.pro \
|
||||||
|
proto/findfile.pro \
|
||||||
proto/fold.pro \
|
proto/fold.pro \
|
||||||
proto/getchar.pro \
|
proto/getchar.pro \
|
||||||
proto/hardcopy.pro \
|
proto/hardcopy.pro \
|
||||||
proto/hashtab.pro \
|
proto/hashtab.pro \
|
||||||
|
proto/indent.pro \
|
||||||
proto/json.pro \
|
proto/json.pro \
|
||||||
proto/list.pro \
|
proto/list.pro \
|
||||||
proto/main.pro \
|
proto/main.pro \
|
||||||
@@ -356,10 +359,10 @@ ex_eval.o: ex_eval.c ex_cmds.h
|
|||||||
proto/ex_eval.pro: ex_eval.c ex_cmds.h
|
proto/ex_eval.pro: ex_eval.c ex_cmds.h
|
||||||
ex_getln.o: ex_getln.c
|
ex_getln.o: ex_getln.c
|
||||||
proto/ex_getln.pro: ex_getln.c
|
proto/ex_getln.pro: ex_getln.c
|
||||||
farsi.o: farsi.c
|
|
||||||
proto/farsi.pro: farsi.c
|
|
||||||
fileio.o: fileio.c
|
fileio.o: fileio.c
|
||||||
proto/fileio.pro: fileio.c
|
proto/fileio.pro: fileio.c
|
||||||
|
findfile.o: findfile.c
|
||||||
|
proto/findfile.pro: findfile.c
|
||||||
fold.o: fold.c
|
fold.o: fold.c
|
||||||
proto/fold.pro: fold.c
|
proto/fold.pro: fold.c
|
||||||
getchar.o: getchar.c
|
getchar.o: getchar.c
|
||||||
@@ -368,6 +371,8 @@ hardcopy.o: hardcopy.c
|
|||||||
proto/hardcopy.pro: hardcopy.c
|
proto/hardcopy.pro: hardcopy.c
|
||||||
hashtab.o: hashtab.c
|
hashtab.o: hashtab.c
|
||||||
proto/hashtab.pro: hashtab.c
|
proto/hashtab.pro: hashtab.c
|
||||||
|
indent.o: indent.c
|
||||||
|
proto/indent.pro: indent.c
|
||||||
json.o: json.c
|
json.o: json.c
|
||||||
proto/json.pro: json.c
|
proto/json.pro: json.c
|
||||||
list.o: list.c
|
list.o: list.c
|
||||||
|
|||||||
208
src/Make_vms.mms
208
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: 2019 Jan 18
|
# Last change: 2019 Feb 16
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -312,23 +312,31 @@ 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 autocmd.c beval.c blob.c blowfish.c buffer.c charset.c crypt.c crypt_zip.c dict.c diff.c digraph.c edit.c eval.c \
|
SRC = arabic.c autocmd.c beval.c blob.c blowfish.c buffer.c charset.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 \
|
crypt.c crypt_zip.c dict.c diff.c digraph.c edit.c eval.c evalfunc.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 \
|
ex_cmds.c ex_cmds2.c ex_docmd.c ex_eval.c ex_getln.c if_cscope.c \
|
||||||
misc2.c move.c normal.c ops.c option.c popupmnu.c quickfix.c regexp.c search.c sha256.c sign.c \
|
if_xcmdsrv.c fileio.c findfile.c fold.c getchar.c hardcopy.c \
|
||||||
spell.c spellfile.c syntax.c tag.c term.c termlib.c textprop.c ui.c undo.c userfunc.c version.c screen.c \
|
hashtab.c indent.c json.c list.c main.c mark.c menu.c mbyte.c \
|
||||||
window.c os_unix.c os_vms.c pathdef.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 sign.c \
|
||||||
|
spell.c spellfile.c syntax.c tag.c term.c termlib.c textprop.c ui.c \
|
||||||
|
undo.c userfunc.c version.c screen.c window.c os_unix.c os_vms.c \
|
||||||
|
pathdef.c
|
||||||
$(GUI_SRC) $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) \
|
$(GUI_SRC) $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) \
|
||||||
$(RUBY_SRC) $(HANGULIN_SRC) $(MZSCH_SRC) $(XDIFF_SRC)
|
$(RUBY_SRC) $(HANGULIN_SRC) $(MZSCH_SRC) $(XDIFF_SRC)
|
||||||
|
|
||||||
OBJ = arabic.obj autocmd.obj beval.obj blob.obj blowfish.obj buffer.obj charset.obj crypt.obj crypt_zip.obj dict.obj diff.obj digraph.obj \
|
OBJ = arabic.obj autocmd.obj beval.obj blob.obj blowfish.obj buffer.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 \
|
charset.obj crypt.obj crypt_zip.obj dict.obj diff.obj digraph.obj \
|
||||||
if_xcmdsrv.obj farsi.obj fileio.obj fold.obj getchar.obj hardcopy.obj hashtab.obj json.obj list.obj main.obj mark.obj \
|
edit.obj eval.obj evalfunc.obj ex_cmds.obj ex_cmds2.obj ex_docmd.obj \
|
||||||
menu.obj memfile.obj memline.obj message.obj misc1.obj misc2.obj \
|
ex_eval.obj ex_getln.obj if_cscope.obj if_xcmdsrv.obj \
|
||||||
move.obj mbyte.obj normal.obj ops.obj option.obj popupmnu.obj quickfix.obj \
|
fileio.obj findfile.obj fold.obj getchar.obj hardcopy.obj hashtab.obj \
|
||||||
regexp.obj search.obj sha256.obj sign.obj spell.obj spellfile.obj syntax.obj tag.obj term.obj termlib.obj textprop.obj \
|
indent.obj json.obj list.obj main.obj mark.obj menu.obj memfile.obj \
|
||||||
ui.obj undo.obj userfunc.obj screen.obj version.obj window.obj os_unix.obj \
|
memline.obj message.obj misc1.obj misc2.obj move.obj mbyte.obj \
|
||||||
os_vms.obj pathdef.obj if_mzsch.obj\
|
normal.obj ops.obj option.obj popupmnu.obj quickfix.obj regexp.obj \
|
||||||
|
search.obj sha256.obj sign.obj spell.obj spellfile.obj syntax.obj \
|
||||||
|
tag.obj term.obj termlib.obj textprop.obj ui.obj undo.obj \
|
||||||
|
userfunc.obj screen.obj version.obj window.obj os_unix.obj os_vms.obj \
|
||||||
|
pathdef.obj if_mzsch.obj \
|
||||||
$(GUI_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(TCL_OBJ) \
|
$(GUI_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(TCL_OBJ) \
|
||||||
$(RUBY_OBJ) $(HANGULIN_OBJ) $(MZSCH_OBJ) $(XDIFF_OBJ)
|
$(RUBY_OBJ) $(HANGULIN_OBJ) $(MZSCH_OBJ) $(XDIFF_OBJ)
|
||||||
|
|
||||||
@@ -506,274 +514,278 @@ blob.obj : blob.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 \
|
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 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 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 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 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 \
|
||||||
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 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 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 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 \
|
||||||
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 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 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 \
|
||||||
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 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 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 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 \
|
||||||
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 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 \
|
||||||
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 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 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 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 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 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 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 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 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 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 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 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 arabic.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 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 arabic.h
|
||||||
|
findfile.obj : findfile.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 [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
|
globals.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 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 \
|
||||||
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 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 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 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 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 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 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 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 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 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 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 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 arabic.h if_mzsch.h
|
||||||
|
indent.obj : indent.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 \
|
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 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 \
|
||||||
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 \
|
||||||
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 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 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 \
|
||||||
arabic.h farsi.c arabic.c
|
arabic.h 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 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 \
|
||||||
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 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 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 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 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 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 \
|
||||||
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 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 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 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 \
|
||||||
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 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 \
|
||||||
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 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 \
|
||||||
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 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 \
|
||||||
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 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 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 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 \
|
||||||
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 \
|
||||||
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 arabic.h
|
||||||
sign.obj : sign.c vim.h [.auto]config.h feature.h os_unix.h \
|
sign.obj : sign.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 \
|
||||||
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 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 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 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 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 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 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 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 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 \
|
||||||
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 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 \
|
||||||
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 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 \
|
||||||
arabic.h
|
arabic.h
|
||||||
textprop.obj : textprop.c vim.h [.auto]config.h feature.h os_unix.h \
|
textprop.obj : textprop.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 \
|
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 \
|
||||||
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 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 \
|
||||||
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 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 \
|
||||||
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 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 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 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 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 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 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 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 \
|
||||||
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 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 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 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 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 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 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 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 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 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 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 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 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 \
|
||||||
[-.pixmaps]tb_print.xpm [-.pixmaps]tb_cut.xpm [-.pixmaps]tb_copy.xpm \
|
[-.pixmaps]tb_print.xpm [-.pixmaps]tb_cut.xpm [-.pixmaps]tb_copy.xpm \
|
||||||
@@ -793,60 +805,60 @@ gui_x11.obj : gui_x11.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 \
|
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 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 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 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 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 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 \
|
||||||
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 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 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 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 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 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 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 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 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 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 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 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 arabic.h version.h
|
||||||
beval.obj : beval.c vim.h [.auto]config.h feature.h os_unix.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 \
|
ascii.h keymap.h term.h macros.h structs.h regexp.h \
|
||||||
gui.h beval.h option.h ex_cmds.h proto.h \
|
gui.h beval.h option.h ex_cmds.h proto.h \
|
||||||
globals.h farsi.h arabic.h
|
globals.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 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 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 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 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 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 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 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 arabic.h version.h
|
||||||
gui_xmdlg.obj : gui_xmdlg.c [.auto]config.h vim.h feature.h os_unix.h
|
gui_xmdlg.obj : gui_xmdlg.c [.auto]config.h vim.h feature.h os_unix.h
|
||||||
gui_xmebw.obj : gui_xmebw.c [.auto]config.h vim.h feature.h os_unix.h
|
gui_xmebw.obj : gui_xmebw.c [.auto]config.h vim.h feature.h os_unix.h
|
||||||
xdiffi.obj : [.xdiff]xdiffi.c [.xdiff]xinclude.h [.auto]config.h vim.h feature.h os_unix.h
|
xdiffi.obj : [.xdiff]xdiffi.c [.xdiff]xinclude.h [.auto]config.h vim.h feature.h os_unix.h
|
||||||
|
|||||||
246
src/Makefile
246
src/Makefile
@@ -472,11 +472,8 @@ CClink = $(CC)
|
|||||||
# Uncomment this when you want to include the Cscope interface.
|
# Uncomment this when you want to include the Cscope interface.
|
||||||
#CONF_OPT_CSCOPE = --enable-cscope
|
#CONF_OPT_CSCOPE = --enable-cscope
|
||||||
|
|
||||||
# WORKSHOP - Sun Visual Workshop interface. Only works with Motif!
|
|
||||||
#CONF_OPT_WORKSHOP = --enable-workshop
|
|
||||||
|
|
||||||
# NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome.
|
# NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome.
|
||||||
# Motif version must have XPM libraries (see |workshop-xpm|).
|
# Motif version must have XPM libraries (see |netbeans-xpm|).
|
||||||
# Uncomment this when you do not want the netbeans interface.
|
# Uncomment this when you do not want the netbeans interface.
|
||||||
#CONF_OPT_NETBEANS = --disable-netbeans
|
#CONF_OPT_NETBEANS = --disable-netbeans
|
||||||
|
|
||||||
@@ -495,9 +492,9 @@ CClink = $(CC)
|
|||||||
# MULTIBYTE - To edit multi-byte characters.
|
# MULTIBYTE - To edit multi-byte characters.
|
||||||
# This is now always enabled.
|
# This is now always enabled.
|
||||||
|
|
||||||
# When building with at least "big" features, right-left, Arabic and Farsi
|
# When building with at least "big" features, right-left and Arabic
|
||||||
# features are enabled. Use this to disable them.
|
# features are enabled. Use this to disable them.
|
||||||
#CONF_OPT_MULTIBYTE = --disable-rightleft --disable-farsi --disable-arabic
|
#CONF_OPT_MULTIBYTE = --disable-rightleft --disable-arabic
|
||||||
|
|
||||||
# NLS - National Language Support
|
# NLS - National Language Support
|
||||||
# Uncomment this when you do not want to support translated messages, even
|
# Uncomment this when you do not want to support translated messages, even
|
||||||
@@ -610,6 +607,8 @@ CClink = $(CC)
|
|||||||
#CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes
|
#CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes
|
||||||
|
|
||||||
# Use this with GCC to check for mistakes, unused arguments, etc.
|
# Use this with GCC to check for mistakes, unused arguments, etc.
|
||||||
|
# Note: If you use -Wextra and get warnings in GTK code about function
|
||||||
|
# parameters, you can add -Wno-cast-function-type
|
||||||
#CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
|
#CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
|
||||||
# Add -Wpedantic to find // comments and other C99 constructs.
|
# Add -Wpedantic to find // comments and other C99 constructs.
|
||||||
# Better disable Perl and Python to avoid a lot of warnings.
|
# Better disable Perl and Python to avoid a lot of warnings.
|
||||||
@@ -704,7 +703,7 @@ SANITIZER_LIBS = $(SANITIZER_CFLAGS)
|
|||||||
|
|
||||||
# Uncomment this line to have Vim call abort() when an internal error is
|
# Uncomment this line to have Vim call abort() when an internal error is
|
||||||
# detected. Useful when using a tool to find errors.
|
# detected. Useful when using a tool to find errors.
|
||||||
#ABORT_CLFAGS = -DABORT_ON_INTERNAL_ERROR
|
#ABORT_CFLAGS = -DABORT_ON_INTERNAL_ERROR
|
||||||
|
|
||||||
#####################################################
|
#####################################################
|
||||||
### Specific systems, check if yours is listed! ### {{{
|
### Specific systems, check if yours is listed! ### {{{
|
||||||
@@ -1472,7 +1471,7 @@ VTERM_CFLAGS = -Ilibvterm/include
|
|||||||
PRE_DEFS = -Iproto $(DEFS) $(GUI_DEFS) $(GUI_IPATH) $(CPPFLAGS) $(EXTRA_IPATHS)
|
PRE_DEFS = -Iproto $(DEFS) $(GUI_DEFS) $(GUI_IPATH) $(CPPFLAGS) $(EXTRA_IPATHS)
|
||||||
POST_DEFS = $(X_CFLAGS) $(MZSCHEME_CFLAGS) $(EXTRA_DEFS)
|
POST_DEFS = $(X_CFLAGS) $(MZSCHEME_CFLAGS) $(EXTRA_DEFS)
|
||||||
|
|
||||||
ALL_CFLAGS = $(PRE_DEFS) $(CFLAGS) $(PROFILE_CFLAGS) $(SANITIZER_CFLAGS) $(LEAK_CFLAGS) $(ABORT_CLFAGS) $(POST_DEFS)
|
ALL_CFLAGS = $(PRE_DEFS) $(CFLAGS) $(PROFILE_CFLAGS) $(SANITIZER_CFLAGS) $(LEAK_CFLAGS) $(ABORT_CFLAGS) $(POST_DEFS)
|
||||||
|
|
||||||
# Exclude $CFLAGS for osdef.sh, for Mac 10.4 some flags don't work together
|
# Exclude $CFLAGS for osdef.sh, for Mac 10.4 some flags don't work together
|
||||||
# with "-E".
|
# with "-E".
|
||||||
@@ -1591,14 +1590,15 @@ BASIC_SRC = \
|
|||||||
ex_docmd.c \
|
ex_docmd.c \
|
||||||
ex_eval.c \
|
ex_eval.c \
|
||||||
ex_getln.c \
|
ex_getln.c \
|
||||||
farsi.c \
|
|
||||||
fileio.c \
|
fileio.c \
|
||||||
|
findfile.c \
|
||||||
fold.c \
|
fold.c \
|
||||||
getchar.c \
|
getchar.c \
|
||||||
hardcopy.c \
|
hardcopy.c \
|
||||||
hashtab.c \
|
hashtab.c \
|
||||||
if_cscope.c \
|
if_cscope.c \
|
||||||
if_xcmdsrv.c \
|
if_xcmdsrv.c \
|
||||||
|
indent.c \
|
||||||
json.c \
|
json.c \
|
||||||
list.c \
|
list.c \
|
||||||
main.c \
|
main.c \
|
||||||
@@ -1703,8 +1703,8 @@ OBJ_COMMON = \
|
|||||||
objects/ex_docmd.o \
|
objects/ex_docmd.o \
|
||||||
objects/ex_eval.o \
|
objects/ex_eval.o \
|
||||||
objects/ex_getln.o \
|
objects/ex_getln.o \
|
||||||
objects/farsi.o \
|
|
||||||
objects/fileio.o \
|
objects/fileio.o \
|
||||||
|
objects/findfile.o \
|
||||||
objects/fold.o \
|
objects/fold.o \
|
||||||
objects/getchar.o \
|
objects/getchar.o \
|
||||||
objects/hardcopy.o \
|
objects/hardcopy.o \
|
||||||
@@ -1712,6 +1712,7 @@ OBJ_COMMON = \
|
|||||||
$(HANGULIN_OBJ) \
|
$(HANGULIN_OBJ) \
|
||||||
objects/if_cscope.o \
|
objects/if_cscope.o \
|
||||||
objects/if_xcmdsrv.o \
|
objects/if_xcmdsrv.o \
|
||||||
|
objects/indent.o \
|
||||||
objects/list.o \
|
objects/list.o \
|
||||||
objects/mark.o \
|
objects/mark.o \
|
||||||
objects/memline.o \
|
objects/memline.o \
|
||||||
@@ -1828,8 +1829,8 @@ PRO_AUTO = \
|
|||||||
ex_docmd.pro \
|
ex_docmd.pro \
|
||||||
ex_eval.pro \
|
ex_eval.pro \
|
||||||
ex_getln.pro \
|
ex_getln.pro \
|
||||||
farsi.pro \
|
|
||||||
fileio.pro \
|
fileio.pro \
|
||||||
|
findfile.pro \
|
||||||
fold.pro \
|
fold.pro \
|
||||||
getchar.pro \
|
getchar.pro \
|
||||||
hardcopy.pro \
|
hardcopy.pro \
|
||||||
@@ -1842,6 +1843,7 @@ PRO_AUTO = \
|
|||||||
if_python3.pro \
|
if_python3.pro \
|
||||||
if_ruby.pro \
|
if_ruby.pro \
|
||||||
if_xcmdsrv.pro \
|
if_xcmdsrv.pro \
|
||||||
|
indent.pro \
|
||||||
json.pro \
|
json.pro \
|
||||||
list.pro \
|
list.pro \
|
||||||
main.pro \
|
main.pro \
|
||||||
@@ -2991,12 +2993,12 @@ objects/ex_eval.o: ex_eval.c
|
|||||||
objects/ex_getln.o: ex_getln.c
|
objects/ex_getln.o: ex_getln.c
|
||||||
$(CCC) -o $@ ex_getln.c
|
$(CCC) -o $@ ex_getln.c
|
||||||
|
|
||||||
objects/farsi.o: farsi.c
|
|
||||||
$(CCC) -o $@ farsi.c
|
|
||||||
|
|
||||||
objects/fileio.o: fileio.c
|
objects/fileio.o: fileio.c
|
||||||
$(CCC) -o $@ fileio.c
|
$(CCC) -o $@ fileio.c
|
||||||
|
|
||||||
|
objects/findfile.o: findfile.c
|
||||||
|
$(CCC) -o $@ findfile.c
|
||||||
|
|
||||||
objects/fold.o: fold.c
|
objects/fold.o: fold.c
|
||||||
$(CCC) -o $@ fold.c
|
$(CCC) -o $@ fold.c
|
||||||
|
|
||||||
@@ -3093,6 +3095,9 @@ objects/if_ruby.o: if_ruby.c
|
|||||||
objects/if_tcl.o: if_tcl.c
|
objects/if_tcl.o: if_tcl.c
|
||||||
$(CCC_NF) $(TCL_CFLAGS) $(ALL_CFLAGS) -o $@ if_tcl.c
|
$(CCC_NF) $(TCL_CFLAGS) $(ALL_CFLAGS) -o $@ if_tcl.c
|
||||||
|
|
||||||
|
objects/indent.o: indent.c
|
||||||
|
$(CCC) -o $@ indent.c
|
||||||
|
|
||||||
objects/json.o: json.c
|
objects/json.o: json.c
|
||||||
$(CCC) -o $@ json.c
|
$(CCC) -o $@ json.c
|
||||||
|
|
||||||
@@ -3381,281 +3386,286 @@ $(APPDIR)/Contents:
|
|||||||
objects/arabic.o: arabic.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/arabic.o: arabic.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/autocmd.o: autocmd.c vim.h protodef.h auto/config.h feature.h \
|
objects/autocmd.o: autocmd.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h os_unix.h os_mac.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h proto.h globals.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/beval.o: beval.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/beval.o: beval.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/blob.o: blob.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/blob.o: blob.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/blowfish.o: blowfish.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/blowfish.o: blowfish.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/buffer.o: buffer.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/buffer.o: buffer.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
proto.h globals.h arabic.h version.h
|
||||||
objects/charset.o: charset.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/charset.o: charset.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/crypt.o: crypt.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/crypt.o: crypt.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/crypt_zip.o: crypt_zip.c vim.h protodef.h auto/config.h feature.h \
|
objects/crypt_zip.o: crypt_zip.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/dict.o: dict.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/dict.o: dict.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/diff.o: diff.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/diff.o: diff.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h xdiff/xdiff.h vim.h
|
proto.h globals.h arabic.h xdiff/xdiff.h vim.h
|
||||||
objects/digraph.o: digraph.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/digraph.o: digraph.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/edit.o: edit.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/edit.o: edit.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/eval.o: eval.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/eval.o: eval.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
proto.h globals.h arabic.h version.h
|
||||||
objects/evalfunc.o: evalfunc.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/evalfunc.o: evalfunc.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
proto.h globals.h arabic.h version.h
|
||||||
objects/ex_cmds.o: ex_cmds.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/ex_cmds.o: ex_cmds.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
proto.h globals.h arabic.h version.h
|
||||||
objects/ex_cmds2.o: ex_cmds2.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/ex_cmds2.o: ex_cmds2.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
proto.h globals.h arabic.h version.h
|
||||||
objects/ex_docmd.o: ex_docmd.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/ex_docmd.o: ex_docmd.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h ex_cmdidxs.h
|
proto.h globals.h arabic.h ex_cmdidxs.h
|
||||||
objects/ex_eval.o: ex_eval.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/ex_eval.o: ex_eval.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/ex_getln.o: ex_getln.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/ex_getln.o: ex_getln.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/farsi.o: farsi.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
|
||||||
proto.h globals.h farsi.h arabic.h
|
|
||||||
objects/fileio.o: fileio.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/fileio.o: fileio.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
|
objects/findfile.o: findfile.c vim.h protodef.h auto/config.h feature.h \
|
||||||
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
|
proto.h globals.h arabic.h libvterm/include/vterm.h \
|
||||||
|
libvterm/include/vterm_keycodes.h
|
||||||
objects/fold.o: fold.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/fold.o: fold.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/getchar.o: getchar.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/getchar.o: getchar.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/hardcopy.o: hardcopy.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/hardcopy.o: hardcopy.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
proto.h globals.h arabic.h version.h
|
||||||
objects/hashtab.o: hashtab.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/hashtab.o: hashtab.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/if_cscope.o: if_cscope.c vim.h protodef.h auto/config.h feature.h \
|
objects/if_cscope.o: if_cscope.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h if_cscope.h
|
proto.h globals.h arabic.h if_cscope.h
|
||||||
objects/if_xcmdsrv.o: if_xcmdsrv.c vim.h protodef.h auto/config.h feature.h \
|
objects/if_xcmdsrv.o: if_xcmdsrv.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
proto.h globals.h arabic.h version.h
|
||||||
|
objects/indent.o: indent.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
|
proto.h globals.h arabic.h
|
||||||
objects/json.o: json.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/json.o: json.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/list.o: list.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/list.o: list.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/main.o: main.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/main.o: main.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/mark.o: mark.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/mark.o: mark.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/memfile.o: memfile.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/memfile.o: memfile.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/memline.o: memline.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/memline.o: memline.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/menu.o: menu.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/menu.o: menu.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/message.o: message.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/message.o: message.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/misc1.o: misc1.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/misc1.o: misc1.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
proto.h globals.h arabic.h version.h
|
||||||
objects/misc2.o: misc2.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/misc2.o: misc2.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/move.o: move.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/move.o: move.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/mbyte.o: mbyte.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/mbyte.o: mbyte.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/normal.o: normal.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/normal.o: normal.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/ops.o: ops.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/ops.o: ops.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/option.o: option.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/option.o: option.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/os_unix.o: os_unix.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/os_unix.o: os_unix.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h os_unixx.h
|
proto.h globals.h arabic.h os_unixx.h
|
||||||
objects/pathdef.o: auto/pathdef.c vim.h protodef.h auto/config.h feature.h \
|
objects/pathdef.o: auto/pathdef.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/popupmnu.o: popupmnu.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/popupmnu.o: popupmnu.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/pty.o: pty.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/pty.o: pty.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/quickfix.o: quickfix.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/quickfix.o: quickfix.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/regexp.o: regexp.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/regexp.o: regexp.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h regexp_nfa.c
|
proto.h globals.h arabic.h regexp_nfa.c
|
||||||
objects/screen.o: screen.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/screen.o: screen.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/search.o: search.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/search.o: search.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/sha256.o: sha256.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/sha256.o: sha256.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/sign.o: sign.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/sign.o: sign.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/spell.o: spell.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/spell.o: spell.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/spellfile.o: spellfile.c vim.h protodef.h auto/config.h feature.h \
|
objects/spellfile.o: spellfile.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/syntax.o: syntax.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/syntax.o: syntax.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/tag.o: tag.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/tag.o: tag.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/term.o: term.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/term.o: term.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h libvterm/include/vterm.h \
|
proto.h globals.h arabic.h libvterm/include/vterm.h \
|
||||||
libvterm/include/vterm_keycodes.h
|
libvterm/include/vterm_keycodes.h
|
||||||
objects/terminal.o: terminal.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/terminal.o: terminal.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h libvterm/include/vterm.h \
|
proto.h globals.h arabic.h libvterm/include/vterm.h \
|
||||||
libvterm/include/vterm_keycodes.h
|
libvterm/include/vterm_keycodes.h
|
||||||
objects/textprop.o: textprop.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/textprop.o: textprop.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/ui.o: ui.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/ui.o: ui.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/undo.o: undo.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/undo.o: undo.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/userfunc.o: userfunc.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/userfunc.o: userfunc.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/version.o: version.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/version.o: version.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
proto.h globals.h arabic.h version.h
|
||||||
objects/window.o: window.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/window.o: window.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/gui.o: gui.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/gui.o: gui.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/gui_gtk.o: gui_gtk.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/gui_gtk.o: gui_gtk.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h gui_gtk_f.h
|
proto.h globals.h arabic.h gui_gtk_f.h
|
||||||
objects/gui_gtk_f.o: gui_gtk_f.c vim.h protodef.h auto/config.h feature.h \
|
objects/gui_gtk_f.o: gui_gtk_f.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h gui_gtk_f.h
|
proto.h globals.h arabic.h gui_gtk_f.h
|
||||||
objects/gui_motif.o: gui_motif.c vim.h protodef.h auto/config.h feature.h \
|
objects/gui_motif.o: gui_motif.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h gui_xmebw.h ../pixmaps/alert.xpm \
|
proto.h globals.h arabic.h gui_xmebw.h ../pixmaps/alert.xpm \
|
||||||
../pixmaps/error.xpm ../pixmaps/generic.xpm ../pixmaps/info.xpm \
|
../pixmaps/error.xpm ../pixmaps/generic.xpm ../pixmaps/info.xpm \
|
||||||
../pixmaps/quest.xpm gui_x11_pm.h ../pixmaps/tb_new.xpm \
|
../pixmaps/quest.xpm gui_x11_pm.h ../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 \
|
||||||
@@ -3676,15 +3686,15 @@ objects/gui_motif.o: gui_motif.c vim.h protodef.h auto/config.h feature.h \
|
|||||||
objects/gui_xmdlg.o: gui_xmdlg.c vim.h protodef.h auto/config.h feature.h \
|
objects/gui_xmdlg.o: gui_xmdlg.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/gui_xmebw.o: gui_xmebw.c vim.h protodef.h auto/config.h feature.h \
|
objects/gui_xmebw.o: gui_xmebw.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h gui_xmebwp.h gui_xmebw.h
|
proto.h globals.h arabic.h gui_xmebwp.h gui_xmebw.h
|
||||||
objects/gui_athena.o: gui_athena.c vim.h protodef.h auto/config.h feature.h \
|
objects/gui_athena.o: gui_athena.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h gui_at_sb.h gui_x11_pm.h \
|
proto.h globals.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 \
|
||||||
@@ -3703,85 +3713,85 @@ objects/gui_athena.o: gui_athena.c vim.h protodef.h auto/config.h feature.h \
|
|||||||
objects/gui_gtk_x11.o: gui_gtk_x11.c vim.h protodef.h auto/config.h feature.h \
|
objects/gui_gtk_x11.o: gui_gtk_x11.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h auto/gui_gtk_gresources.h gui_gtk_f.h \
|
proto.h globals.h arabic.h auto/gui_gtk_gresources.h gui_gtk_f.h \
|
||||||
../runtime/vim32x32.xpm ../runtime/vim16x16.xpm ../runtime/vim48x48.xpm
|
../runtime/vim32x32.xpm ../runtime/vim16x16.xpm ../runtime/vim48x48.xpm
|
||||||
objects/gui_x11.o: gui_x11.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/gui_x11.o: gui_x11.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h ../runtime/vim32x32.xpm \
|
proto.h globals.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 protodef.h auto/config.h feature.h \
|
objects/gui_at_sb.o: gui_at_sb.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h gui_at_sb.h
|
proto.h globals.h arabic.h gui_at_sb.h
|
||||||
objects/gui_at_fs.o: gui_at_fs.c vim.h protodef.h auto/config.h feature.h \
|
objects/gui_at_fs.o: gui_at_fs.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h gui_at_sb.h
|
proto.h globals.h arabic.h gui_at_sb.h
|
||||||
objects/json_test.o: json_test.c main.c vim.h protodef.h auto/config.h feature.h \
|
objects/json_test.o: json_test.c main.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h json.c
|
proto.h globals.h arabic.h json.c
|
||||||
objects/kword_test.o: kword_test.c main.c vim.h protodef.h auto/config.h \
|
objects/kword_test.o: kword_test.c main.c vim.h protodef.h auto/config.h \
|
||||||
feature.h os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h \
|
feature.h os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h \
|
||||||
option.h beval.h proto/gui_beval.pro structs.h regexp.h gui.h alloc.h \
|
option.h beval.h proto/gui_beval.pro structs.h regexp.h gui.h alloc.h \
|
||||||
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h charset.c
|
ex_cmds.h spell.h proto.h globals.h arabic.h charset.c
|
||||||
objects/memfile_test.o: memfile_test.c main.c vim.h protodef.h auto/config.h \
|
objects/memfile_test.o: memfile_test.c main.c vim.h protodef.h auto/config.h \
|
||||||
feature.h os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h \
|
feature.h os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h \
|
||||||
option.h beval.h proto/gui_beval.pro structs.h regexp.h gui.h alloc.h \
|
option.h beval.h proto/gui_beval.pro structs.h regexp.h gui.h alloc.h \
|
||||||
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h memfile.c
|
ex_cmds.h spell.h proto.h globals.h arabic.h memfile.c
|
||||||
objects/message_test.o: message_test.c main.c vim.h protodef.h auto/config.h \
|
objects/message_test.o: message_test.c main.c vim.h protodef.h auto/config.h \
|
||||||
feature.h os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h \
|
feature.h os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h \
|
||||||
option.h beval.h proto/gui_beval.pro structs.h regexp.h gui.h alloc.h \
|
option.h beval.h proto/gui_beval.pro structs.h regexp.h gui.h alloc.h \
|
||||||
ex_cmds.h spell.h proto.h globals.h farsi.h arabic.h message.c
|
ex_cmds.h spell.h proto.h globals.h arabic.h message.c
|
||||||
objects/hangulin.o: hangulin.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/hangulin.o: hangulin.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/if_lua.o: if_lua.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/if_lua.o: if_lua.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/if_mzsch.o: if_mzsch.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/if_mzsch.o: if_mzsch.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h if_mzsch.h
|
proto.h globals.h arabic.h if_mzsch.h
|
||||||
objects/if_perl.o: auto/if_perl.c vim.h protodef.h auto/config.h feature.h \
|
objects/if_perl.o: auto/if_perl.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/if_perlsfio.o: if_perlsfio.c vim.h protodef.h auto/config.h feature.h \
|
objects/if_perlsfio.o: if_perlsfio.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/if_python.o: if_python.c vim.h protodef.h auto/config.h feature.h \
|
objects/if_python.o: if_python.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h if_py_both.h
|
proto.h globals.h arabic.h if_py_both.h
|
||||||
objects/if_python3.o: if_python3.c vim.h protodef.h auto/config.h feature.h \
|
objects/if_python3.o: if_python3.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h if_py_both.h
|
proto.h globals.h arabic.h if_py_both.h
|
||||||
objects/if_tcl.o: if_tcl.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/if_tcl.o: if_tcl.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/if_ruby.o: if_ruby.c protodef.h auto/config.h vim.h feature.h os_unix.h \
|
objects/if_ruby.o: if_ruby.c protodef.h auto/config.h vim.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
proto.h globals.h arabic.h version.h
|
||||||
objects/gui_beval.o: gui_beval.c vim.h protodef.h auto/config.h feature.h \
|
objects/gui_beval.o: gui_beval.c vim.h protodef.h auto/config.h feature.h \
|
||||||
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/netbeans.o: netbeans.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/netbeans.o: netbeans.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h version.h
|
proto.h globals.h arabic.h version.h
|
||||||
objects/channel.o: channel.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
objects/channel.o: channel.c vim.h protodef.h auto/config.h feature.h os_unix.h \
|
||||||
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
|
||||||
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
|
||||||
proto.h globals.h farsi.h arabic.h
|
proto.h globals.h arabic.h
|
||||||
objects/gui_gtk_gresources.o: auto/gui_gtk_gresources.c
|
objects/gui_gtk_gresources.o: auto/gui_gtk_gresources.c
|
||||||
objects/encoding.o: libvterm/src/encoding.c libvterm/src/vterm_internal.h \
|
objects/encoding.o: libvterm/src/encoding.c libvterm/src/vterm_internal.h \
|
||||||
libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \
|
libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \
|
||||||
@@ -3813,7 +3823,7 @@ objects/xdiffi.o: xdiff/xdiffi.c xdiff/xinclude.h auto/config.h \
|
|||||||
macros.h option.h beval.h proto/gui_beval.pro \
|
macros.h option.h beval.h proto/gui_beval.pro \
|
||||||
structs.h regexp.h gui.h alloc.h \
|
structs.h regexp.h gui.h alloc.h \
|
||||||
ex_cmds.h spell.h proto.h globals.h \
|
ex_cmds.h spell.h proto.h globals.h \
|
||||||
farsi.h arabic.h xdiff/xtypes.h xdiff/xutils.h \
|
arabic.h xdiff/xtypes.h xdiff/xutils.h \
|
||||||
xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
|
xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
|
||||||
objects/xemit.o: xdiff/xemit.c xdiff/xinclude.h auto/config.h \
|
objects/xemit.o: xdiff/xemit.c xdiff/xinclude.h auto/config.h \
|
||||||
xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
|
xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
|
||||||
@@ -3822,7 +3832,7 @@ objects/xemit.o: xdiff/xemit.c xdiff/xinclude.h auto/config.h \
|
|||||||
macros.h option.h beval.h proto/gui_beval.pro \
|
macros.h option.h beval.h proto/gui_beval.pro \
|
||||||
structs.h regexp.h gui.h alloc.h \
|
structs.h regexp.h gui.h alloc.h \
|
||||||
ex_cmds.h spell.h proto.h globals.h \
|
ex_cmds.h spell.h proto.h globals.h \
|
||||||
farsi.h arabic.h xdiff/xtypes.h xdiff/xutils.h \
|
arabic.h xdiff/xtypes.h xdiff/xutils.h \
|
||||||
xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
|
xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
|
||||||
objects/xprepare.o: xdiff/xprepare.c xdiff/xinclude.h auto/config.h \
|
objects/xprepare.o: xdiff/xprepare.c xdiff/xinclude.h auto/config.h \
|
||||||
xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
|
xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
|
||||||
@@ -3831,7 +3841,7 @@ objects/xprepare.o: xdiff/xprepare.c xdiff/xinclude.h auto/config.h \
|
|||||||
macros.h option.h beval.h proto/gui_beval.pro \
|
macros.h option.h beval.h proto/gui_beval.pro \
|
||||||
structs.h regexp.h gui.h alloc.h \
|
structs.h regexp.h gui.h alloc.h \
|
||||||
ex_cmds.h spell.h proto.h globals.h \
|
ex_cmds.h spell.h proto.h globals.h \
|
||||||
farsi.h arabic.h xdiff/xtypes.h xdiff/xutils.h \
|
arabic.h xdiff/xtypes.h xdiff/xutils.h \
|
||||||
xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
|
xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
|
||||||
objects/xutils.o: xdiff/xutils.c xdiff/xinclude.h auto/config.h \
|
objects/xutils.o: xdiff/xutils.c xdiff/xinclude.h auto/config.h \
|
||||||
xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
|
xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
|
||||||
@@ -3840,7 +3850,7 @@ objects/xutils.o: xdiff/xutils.c xdiff/xinclude.h auto/config.h \
|
|||||||
macros.h option.h beval.h proto/gui_beval.pro \
|
macros.h option.h beval.h proto/gui_beval.pro \
|
||||||
structs.h regexp.h gui.h alloc.h \
|
structs.h regexp.h gui.h alloc.h \
|
||||||
ex_cmds.h spell.h proto.h globals.h \
|
ex_cmds.h spell.h proto.h globals.h \
|
||||||
farsi.h arabic.h xdiff/xtypes.h xdiff/xutils.h \
|
arabic.h xdiff/xtypes.h xdiff/xutils.h \
|
||||||
xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
|
xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
|
||||||
objects/xhistogram.o: xdiff/xhistogram.c xdiff/xinclude.h auto/config.h \
|
objects/xhistogram.o: xdiff/xhistogram.c xdiff/xinclude.h auto/config.h \
|
||||||
xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
|
xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
|
||||||
@@ -3849,7 +3859,7 @@ objects/xhistogram.o: xdiff/xhistogram.c xdiff/xinclude.h auto/config.h \
|
|||||||
macros.h option.h beval.h proto/gui_beval.pro \
|
macros.h option.h beval.h proto/gui_beval.pro \
|
||||||
structs.h regexp.h gui.h alloc.h \
|
structs.h regexp.h gui.h alloc.h \
|
||||||
ex_cmds.h spell.h proto.h globals.h \
|
ex_cmds.h spell.h proto.h globals.h \
|
||||||
farsi.h arabic.h xdiff/xtypes.h xdiff/xutils.h \
|
arabic.h xdiff/xtypes.h xdiff/xutils.h \
|
||||||
xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
|
xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
|
||||||
objects/xpatience.o: xdiff/xpatience.c xdiff/xinclude.h auto/config.h \
|
objects/xpatience.o: xdiff/xpatience.c xdiff/xinclude.h auto/config.h \
|
||||||
xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
|
xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
|
||||||
@@ -3858,5 +3868,5 @@ objects/xpatience.o: xdiff/xpatience.c xdiff/xinclude.h auto/config.h \
|
|||||||
macros.h option.h beval.h proto/gui_beval.pro \
|
macros.h option.h beval.h proto/gui_beval.pro \
|
||||||
structs.h regexp.h gui.h alloc.h \
|
structs.h regexp.h gui.h alloc.h \
|
||||||
ex_cmds.h spell.h proto.h globals.h \
|
ex_cmds.h spell.h proto.h globals.h \
|
||||||
farsi.h arabic.h xdiff/xtypes.h xdiff/xutils.h \
|
arabic.h xdiff/xtypes.h xdiff/xutils.h \
|
||||||
xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
|
xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
|
||||||
|
|||||||
@@ -22,8 +22,10 @@ Most code can be found in a file with an obvious name (incomplete list):
|
|||||||
diff.c diff mode (vimdiff)
|
diff.c diff mode (vimdiff)
|
||||||
eval.c expression evaluation
|
eval.c expression evaluation
|
||||||
fileio.c reading and writing files
|
fileio.c reading and writing files
|
||||||
|
findfile.c search for files in 'path'
|
||||||
fold.c folding
|
fold.c folding
|
||||||
getchar.c getting characters and key mapping
|
getchar.c getting characters and key mapping
|
||||||
|
indent.c C and Lisp indentation
|
||||||
mark.c marks
|
mark.c marks
|
||||||
mbyte.c multi-byte character handling
|
mbyte.c multi-byte character handling
|
||||||
memfile.c storing lines for buffers in a swapfile
|
memfile.c storing lines for buffers in a swapfile
|
||||||
|
|||||||
@@ -578,9 +578,6 @@ arabic_shape(
|
|||||||
/* half-shape current and previous character */
|
/* half-shape current and previous character */
|
||||||
shape_c = half_shape(prev_c);
|
shape_c = half_shape(prev_c);
|
||||||
|
|
||||||
/* Save away current character */
|
|
||||||
curr_c = c;
|
|
||||||
|
|
||||||
curr_laa = A_firstc_laa(c, *c1p);
|
curr_laa = A_firstc_laa(c, *c1p);
|
||||||
prev_laa = A_firstc_laa(prev_c, prev_c1);
|
prev_laa = A_firstc_laa(prev_c, prev_c1);
|
||||||
|
|
||||||
|
|||||||
15
src/auto/configure
vendored
15
src/auto/configure
vendored
@@ -1498,7 +1498,7 @@ Optional Features:
|
|||||||
--enable-multibyte Include multibyte editing support.
|
--enable-multibyte Include multibyte editing support.
|
||||||
--disable-rightleft Do not include Right-to-Left language support.
|
--disable-rightleft Do not include Right-to-Left language support.
|
||||||
--disable-arabic Do not include Arabic language support.
|
--disable-arabic Do not include Arabic language support.
|
||||||
--disable-farsi Do not include Farsi language support.
|
--disable-farsi Deprecated.
|
||||||
--enable-hangulinput Include Hangul input support.
|
--enable-hangulinput Include Hangul input support.
|
||||||
--enable-xim Include XIM input support.
|
--enable-xim Include XIM input support.
|
||||||
--enable-fontset Include X fontset output support.
|
--enable-fontset Include X fontset output support.
|
||||||
@@ -7980,24 +7980,11 @@ $as_echo "yes" >&6; }
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --disable-farsi argument" >&5
|
|
||||||
$as_echo_n "checking --disable-farsi argument... " >&6; }
|
|
||||||
# Check whether --enable-farsi was given.
|
# Check whether --enable-farsi was given.
|
||||||
if test "${enable_farsi+set}" = set; then :
|
if test "${enable_farsi+set}" = set; then :
|
||||||
enableval=$enable_farsi;
|
enableval=$enable_farsi;
|
||||||
else
|
|
||||||
enable_farsi="yes"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$enable_farsi" = "yes"; then
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
$as_echo "no" >&6; }
|
|
||||||
else
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
||||||
$as_echo "yes" >&6; }
|
|
||||||
$as_echo "#define DISABLE_FARSI 1" >>confdefs.h
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --enable-hangulinput argument" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --enable-hangulinput argument" >&5
|
||||||
$as_echo_n "checking --enable-hangulinput argument... " >&6; }
|
$as_echo_n "checking --enable-hangulinput argument... " >&6; }
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ typedef struct BalloonEvalStruct
|
|||||||
int y;
|
int y;
|
||||||
unsigned int state; /* Button/Modifier key state */
|
unsigned int state; /* Button/Modifier key state */
|
||||||
# else
|
# else
|
||||||
# if !defined(FEAT_GUI_W32)
|
# if !defined(FEAT_GUI_MSWIN)
|
||||||
Widget target; /* widget we are monitoring */
|
Widget target; /* widget we are monitoring */
|
||||||
Widget balloonShell;
|
Widget balloonShell;
|
||||||
Widget balloonLabel;
|
Widget balloonLabel;
|
||||||
@@ -63,7 +63,7 @@ typedef struct BalloonEvalStruct
|
|||||||
BeState showState; /* tells us whats currently going on */
|
BeState showState; /* tells us whats currently going on */
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# if !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_W32)
|
# if !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_MSWIN)
|
||||||
Dimension screen_width; /* screen width in pixels */
|
Dimension screen_width; /* screen width in pixels */
|
||||||
Dimension screen_height; /* screen height in pixels */
|
Dimension screen_height; /* screen height in pixels */
|
||||||
# endif
|
# endif
|
||||||
@@ -76,7 +76,7 @@ typedef struct BalloonEvalStruct
|
|||||||
int *vts; // vartabstop setting for this buffer
|
int *vts; // vartabstop setting for this buffer
|
||||||
#endif
|
#endif
|
||||||
char_u *msg;
|
char_u *msg;
|
||||||
#ifdef FEAT_GUI_W32
|
#ifdef FEAT_GUI_MSWIN
|
||||||
void *tofree;
|
void *tofree;
|
||||||
#endif
|
#endif
|
||||||
} BalloonEval;
|
} BalloonEval;
|
||||||
|
|||||||
@@ -232,6 +232,8 @@ string2blob(char_u *str)
|
|||||||
blob_T *blob = blob_alloc();
|
blob_T *blob = blob_alloc();
|
||||||
char_u *s = str;
|
char_u *s = str;
|
||||||
|
|
||||||
|
if (blob == NULL)
|
||||||
|
return NULL;
|
||||||
if (s[0] != '0' || (s[1] != 'z' && s[1] != 'Z'))
|
if (s[0] != '0' || (s[1] != 'z' && s[1] != 'Z'))
|
||||||
goto failed;
|
goto failed;
|
||||||
s += 2;
|
s += 2;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user