Changeset 21a5e24
- Timestamp:
- Aug 4, 2013, 7:18:46 PM (11 years ago)
- Branches:
- clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- ecf65a0
- Parents:
- 622dedff
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/vim-7.3-branch_update-8.patch
r622dedff r21a5e24 1 1 Submitted By: William Harrington (kb0iic at cross-lfs dot org) 2 Date: 2013-0 6-072 Date: 2013-08-04 3 3 Initial Package Version: 7.3 4 4 Origin: Upstream 5 5 Upstream Status: Applied 6 Description: Contains all upstream patches up to 7.3.1 140.6 Description: Contains all upstream patches up to 7.3.1314. 7 7 8 8 diff -Naur vim73.orig/.hg_archival.txt vim73/.hg_archival.txt 9 9 --- vim73.orig/.hg_archival.txt 1970-01-01 00:00:00.000000000 +0000 10 +++ vim73/.hg_archival.txt 2013-0 6-07 17:07:05.315660159 +000010 +++ vim73/.hg_archival.txt 2013-08-04 19:09:07.480619939 +0000 11 11 @@ -0,0 +1,5 @@ 12 12 +repo: 770908d1cb47c04be0aef5c173b17ab8be6b6476 13 +node: 6a602c36cb7c5b3af71fb242f8b9ac6fe3afd77913 +node: 29e57603bf6f3a2e3c178a63d332ed4d2eccfa82 14 14 +branch: default 15 +latesttag: v7-3-1 14016 +latesttagdistance: 115 +latesttag: v7-3-1313 16 +latesttagdistance: 2 17 17 diff -Naur vim73.orig/.hgignore vim73/.hgignore 18 18 --- vim73.orig/.hgignore 1970-01-01 00:00:00.000000000 +0000 19 +++ vim73/.hgignore 2013-0 6-07 17:07:05.368993340+000020 @@ -0,0 +1, 56@@19 +++ vim73/.hgignore 2013-08-04 19:09:07.490619909 +0000 20 @@ -0,0 +1,61 @@ 21 21 +syntax: glob 22 22 + … … 59 59 +gvimext.lib 60 60 + 61 +# Mac OSX 62 +src/xxd/xxd.dSYM 63 + 61 64 +# All platforms 62 65 +*.rej … … 65 68 +*.swp 66 69 +*~ 70 +*.pyc 67 71 +src/po/vim.pot 68 72 + … … 75 79 +src/testdir/tiny.vim 76 80 +src/testdir/test*.out 81 +src/testdir/test.log 77 82 diff -Naur vim73.orig/.hgtags vim73/.hgtags 78 83 --- vim73.orig/.hgtags 1970-01-01 00:00:00.000000000 +0000 79 +++ vim73/.hgtags 2013-0 6-07 17:07:05.388993283+000080 @@ -0,0 +1,2 479@@84 +++ vim73/.hgtags 2013-08-04 19:09:07.507286525 +0000 85 @@ -0,0 +1,2652 @@ 81 86 +004eb98eb3c30714cb6a24ec3e810275080a8413 v7-1-117 82 87 +006e9c8a6a8ad354a5cb6adcce6ebfceddeb20ee v7-0079 … … 2558 2563 +3b5a023a45434e825b8dbeed551cf7f4578243f6 v7-3-1139 2559 2564 +7fde662e1db24077abbe26e6d78c286928f5c9b6 v7-3-1140 2565 +10673b3531ebcc18467d04bb806036cbee1b8e2b v7-3-1141 2566 +65cef998f860b3745880622cba74135bfa249ae2 v7-3-1142 2567 +66e849c4558aca6c522026882159b41994d0c0c1 v7-3-1143 2568 +8360a59aa04b8668e377a66d1fc46e9e52b35110 v7-3-1144 2569 +a30e3762957d61966152040315d160f860433576 v7-3-1145 2570 +e3f9e33fb28c367aac7b2270b6fd304fd755b6d4 v7-3-1146 2571 +3cd3cc1e91193a0b45e6aff1373cd4802e595a16 v7-3-1147 2572 +220bdea4f57919c290d92b1f6c83a7252cd660b6 v7-3-1148 2573 +66803af09906a828b9f41d7ae0f7a379137eaf99 v7-3-1149 2574 +3dbd251777de232c168d87650acda5fec408146c v7-3-1150 2575 +4d7e3df04256790855f7a6dc289f32ffc04da133 v7-3-1151 2576 +9909e44879b9f80679fd05af19a423b2673b2301 v7-3-1152 2577 +bc3f4804cf470cec5773d8842743efb760f69102 v7-3-1153 2578 +6419ee8098c80f0418081c73b790b09c61f13c3a v7-3-1154 2579 +bf1e6326df1104cabc04b8490f9456dbda901fd2 v7-3-1155 2580 +8c4324e6f4779ee316361511ff783f6344750be9 v7-3-1156 2581 +2f1ee97f5f23a5f9e1c572ed4afb50fb79ce7a35 v7-3-1157 2582 +46077370bc605815f5e41cbfc925120a913acbaa v7-3-1158 2583 +208a6c04e6b8221c1f5187391d86c5b57e61445b v7-3-1159 2584 +60301d4d16827a961019d72a78e811f41326c680 v7-3-1160 2585 +ff393592644960783e9a1c7c7959a8cbb0954673 v7-3-1161 2586 +b8eabb6a96871321bec8526fa04ba1ff1a96780e v7-3-1162 2587 +70b1178dec7919120632cdeee6056e38108356a7 v7-3-1163 2588 +4db0bf9f1b44d1f0d42a1863732dfaef73c9971d v7-3-1164 2589 +05b8436873d48055cbd24f043548092755d77be7 v7-3-1165 2590 +d59ff2114733a526847ea38d093897f496f73ffc v7-3-1166 2591 +81dedcd648216d6b3fc6b967368fef23d8ee1154 v7-3-1167 2592 +ed47632fd1498d50e31ab5b30aac403de3db2496 v7-3-1168 2593 +a83fb2bd8c8ea8865f460f7d82d8ebff8202cced v7-3-1169 2594 +14c2e63caec65cca0d315e82f90b5e1d84430487 v7-3-1170 2595 +fc7f985df53745d157182585b01ee5dadb722a62 v7-3-1171 2596 +96e154e825a7441274a615e7d7fdbe68e5534ee9 v7-3-1172 2597 +b584d361e7461c79728585f16f408984b0234fdd v7-3-1173 2598 +52850ef928f85755f005267c1f02fe9e9f898c99 v7-3-1174 2599 +84a8d1ba81c393dcc3a45eb3b20fb6ac5f18df7b v7-3-1175 2600 +e48cabe984537b06cfa945926844c4af96799331 v7-3-1176 2601 +e79a20f07daa91051435208887cc31b245555046 v7-3-1177 2602 +c4d4f0fc12b9b8665d6859680155797be960c36f v7-3-1178 2603 +d84833983de7708de27774e3f01e7ffc8c03eec6 v7-3-1179 2604 +04b8912a9c85e72728a2cd6a4f8e6aee82525b31 v7-3-1180 2605 +b7bb20390111b75616eb66558aa9517901eb0144 v7-3-1181 2606 +fa98c2b030ed5ac8d8c8139405d20ad6c611c065 v7-3-1182 2607 +044d23a64c177549b4b5e3183642f3a5b286d14f v7-3-1183 2608 +9e36c6b1ebf4554a24bd879965f348b81ad5ca6a v7-3-1184 2609 +6d935f45c489b346f06aef5b1bdd87cb98b8400b v7-3-1185 2610 +7b8991e084f9bea2dde9ceef7a245254d656b6f9 v7-3-1186 2611 +fefd8d33a7ea43f86d6e5a2ab30440140ada14f6 v7-3-1187 2612 +6f7ed9b799a3db282f0fc076d8232752716a4e00 v7-3-1188 2613 +dc78a26f6f64bb1330b9027559ce0c8fe54ba1de v7-3-1189 2614 +25d64a4edc0b0f3f17330a7b12f3c1ca141ccfb3 v7-3-1190 2615 +4c42efb4c0982d305ec9ee99bb3bddfaeec2cf87 v7-3-1191 2616 +07b9c48a30e973833ee70d38633934f6fc2177d8 v7-3-1192 2617 +8b46c37c4b843039e5a543be98978e79ff6f3d31 v7-3-1193 2618 +91136a41f83f3716e7ccb4f2402216ea215a4acf v7-3-1194 2619 +4837fd61be52d420c69fcde0621cd5ecc298d2b6 v7-3-1195 2620 +56fbf60e94766a202ee71749eea19a862695c92f v7-3-1196 2621 +2fc1f3346bfb3229f35455101a5944e6785a02af v7-3-1197 2622 +517fa1a34c7cf1c8fb04d43976ad6c381f48cebd v7-3-1198 2623 +be2973afe77045bd749c63c46ea02f61efa55862 v7-3-1199 2624 +2945fe016b936c9e3a89db48692495c83f1843a1 v7-3-1200 2625 +d8f65e6238fa2bac706f1a4868e8d38ad71ded64 v7-3-1201 2626 +1707ddb6f5aed99b69fff8a66dc3eb8ab40d7f46 v7-3-1202 2627 +ba328b4a990ee460cc907ec59aabee8d872b7768 v7-3-1203 2628 +0792cc5133ce1f37ad9e1d49804100b28d0a391b v7-3-1204 2629 +d02448031708fca0df590f46f850e33acc9f9651 v7-3-1205 2630 +8dd2769ab75c07d88feb49d1dd489a1282854217 v7-3-1206 2631 +6ae32a64e153d7275058d965e0c1c12d106bc7de v7-3-1207 2632 +784e342ddcaeb260ffaab5f0dd30ec5db832842e v7-3-1208 2633 +afb00cc8caacb8969705ffae0316bb9c01156e7f v7-3-1209 2634 +7155782d94fb88e47e252b159dd677c31a3f14e8 v7-3-1210 2635 +1cf02fbe6281c8efe63f866470b6c44d5835125c v7-3-1211 2636 +81e623ff2e554695c372b7b06bd826c6298bb8b5 v7-3-1212 2637 +ae05437a744a3b6f87d6f3304a19e5256849bb1c v7-3-1213 2638 +bcb84438bb5bf27101b25ffb2c2267ab6ff0e946 v7-3-1214 2639 +8bbd0ff486b3cfa711e0a7f305b4a0241bd5dd52 v7-3-1215 2640 +b89aa3374b7fe64968421f4e20cf22cd3e95713b v7-3-1216 2641 +613651492c1905f62cbbcbfc616d7935234badab v7-3-1217 2642 +d10ede931224a9818a98a58bd9382f77728ced1b v7-3-1218 2643 +eb5c3508cd7da14f8d3337ca4dfabe4122ded20c v7-3-1219 2644 +ba7db05e1482457a36b19ed608f820275fafb9f7 v7-3-1220 2645 +9f7b92f232d31450fd04ecec3e89b027c0f28b02 v7-3-1221 2646 +07831d280e90a87ab9f42a9c96775ef2bc0cdedf v7-3-1222 2647 +5cd32322154c1c5970194eb5300eec2ddb8ccc30 v7-3-1223 2648 +0a379dea13c97df4ec2ba1487dd50c1e8ba0c912 v7-3-1224 2649 +27b008d5b7ac5fab02c6934b87f258bc4715aed6 v7-3-1225 2650 +b34d719b13cd9dd44485600e5cd939814b9b065f v7-3-1226 2651 +5cee875f30961cf1adadf386b7e2764ea8aeeb64 v7-3-1227 2652 +620d9b59d4ed9deaac614c707c71257907b1dd21 v7-3-1228 2653 +b6e693e1f9461e5020e4cafa1c6e1de24776e11b v7-3-1229 2654 +f5c822e5a0eba6f490d0be9f6892de929295be87 v7-3-1230 2655 +537bbfff0c5c0bc2307a85133f59f07b00c55e41 v7-3-1231 2656 +a594ce86b5eade96cb84415b3b027abe611c2238 v7-3-1232 2657 +4ed713442c51625160cd0bca612d9a3417e4ba14 v7-3-1233 2658 +f4969f8f66e974584e8e7815d0a262c5dca79638 v7-3-1234 2659 +9ae0fe46777674504e0f372e68cfb8e0be81b2ee v7-3-1235 2660 +39980afcf54aafdb9255424adf5808af45ab2242 v7-3-1236 2661 +5b2c8f3b390632e1e57a3839f040146f6798a969 v7-3-1237 2662 +048c69ebe8eecb218320030d9ea41fe4f6290848 v7-3-1238 2663 +e130cc3d17af412971143b8420d6e7b1cbd13ff2 v7-3-1239 2664 +bc9125136c69a4feecb4b68912fa04380f42b77f v7-3-1240 2665 +c8747604696795a300f6ff05091813d691f9a488 v7-3-1241 2666 +b4a2eaf28b51327b4e56b4eacf4b5d72a52560f6 v7-3-1242 2667 +8a7d3a73adabaad5e9fe079acf6431982145c7d1 v7-3-1243 2668 +b4a71dbdb78790ca423103ad5deb71b1df9b5b04 v7-3-1244 2669 +43329b2b5b79ed2e1017869ee2e0b1caeaf2f0f6 v7-3-1245 2670 +a1b41dabc682ed8f8770a12c2d3a227eb348885b v7-3-1246 2671 +f451d60ab8ec56d02a7b5f2d5c16187566279886 v7-3-1247 2672 +3717d569027d8ec8b62e42e33f91333ac22ce6ba v7-3-1248 2673 +b614332f7df2f6f471bb4bd93767becd7844b90c v7-3-1249 2674 +6aecf486bb347ac6885afe36d62ddbbf2457f898 v7-3-1250 2675 +788f4802967766b7f3d6dce83cc027baef422f4a v7-3-1251 2676 +875a0aeb301c3fb2be8a79f2d82e324d80caf4f3 v7-3-1252 2677 +d6a7dea44a8667d834e463b8658cf85ea938112d v7-3-1253 2678 +5eff37e92f03771aee77a3688d79a73e5b6107e9 v7-3-1254 2679 +f8d307ebd74a4097f7083ea8117be0433f00c7ce v7-3-1255 2680 +322441058afca6a8aa52d34eda9fa307608354d3 v7-3-1256 2681 +5751284311f37399cb7a66d99fe317de4ae86ea9 v7-3-1257 2682 +c9e2ccc53f2e119e247da7fc9111b6b9c9385d93 v7-3-1258 2683 +7ab94cb688bebd694109442be4dd6edb6ebe3c85 v7-3-1259 2684 +7aa4e0822dec0840770d9f41052a772a887cd213 v7-3-1260 2685 +1cf89d38aa7628b55f1a45a5325adc83abe85dc2 v7-3-1261 2686 +5e0b6a9282df8b9435da372cad77482f1f5b20aa v7-3-1262 2687 +a02575cd564ade1019ea89db07c1c1d0c4b5418c v7-3-1263 2688 +558c815e1a38d7ac2fc61c4155aabf8e81a14034 v7-3-1264 2689 +53c1b30632df47993bc00947078dd31a226c9a97 v7-3-1265 2690 +bbe4bd64c68c64afaa6636e8c3e9a9a6241e91cb v7-3-1266 2691 +cabdcfe72dc398fd67bbbe02cff5e11e4dc2506e v7-3-1267 2692 +72fcf674e545eb87bb4ea996df56e4eb7c04f6cc v7-3-1268 2693 +350239b0e9eb063d9f84dfa4bc7a2b47d78e9afb v7-3-1269 2694 +35b6fc57a2868b235284d914820da0815e62d54b v7-3-1270 2695 +034abed357a1a2fabe624ed59ea49ebdec09d790 v7-3-1271 2696 +a00cd1839ac4f3467e1e51e619b4c65ce4e0ee81 v7-3-1272 2697 +30910831e5b0f0eb28a8eea7412f5ec9f3533ab2 v7-3-1273 2698 +761cef8f5d1d42e315fb85765ee90857981fec06 v7-3-1274 2699 +8875401008da99a39878478a293f833f68481ffc v7-3-1275 2700 +d2f9f67924e77ec3d90164dd6ff2e50c5107faf0 v7-3-1276 2701 +6a7ae677d6a1f116b685fa0f892052e20003eaad v7-3-1277 2702 +cf52d2a8c05cd037c049abef0f58fd918146f3bb v7-3-1278 2703 +cca600e6092839efeb3795db863916959921bb0e v7-3-1279 2704 +1cacf785299e771ca463c493c8c870e395c09cd0 v7-3-1280 2705 +19ed30f7cef76224ef39ceadefb64387eb986342 v7-3-1281 2706 +22ac43fb6d30ad1097d0c7e8937b28efcb162137 v7-3-1282 2707 +d6ceddc0be86e46a5a9a696e36c54b9d133f2203 v7-3-1283 2708 +7b20dc8041645778eeb2f7823a4c1c647f735d24 v7-3-1284 2709 +14e7a115d54d2c095f31ccda2d04fbcf775dacde v7-3-1285 2710 +6ddc1785c4ff3779c18f5c313da591a052388b2d v7-3-1286 2711 +34c629c3b4bab5fc755e83869d929f8cb322bfcd v7-3-1287 2712 +8b7baf39a345aecf00a6116b5da211b51c6e3457 v7-3-1288 2713 +1ed945570d47e9a60694ed1ef3a5b208243657e9 v7-3-1289 2714 +08d4c11cdaed2c5d95e2c0be3b0df91d01f52b84 v7-3-1290 2715 +a6ddcab6a240d22f965c4961bb93ddfea6a74c73 v7-3-1291 2716 +cad8d29b0bc0356a49a455296e5e79eb6f38139d v7-3-1292 2717 +18b43970fb7a796ab740e65baa4ff2ba46f929a8 v7-3-1293 2718 +11d0c6df1d7bdc399b34a8cc70f354d6ee908661 v7-3-1294 2719 +93cccad6a26b439728bf3c155ed5532001a2f2ab v7-3-1295 2720 +c3a82208e143e4cd4a3b9d9b1716eb9d876bf462 v7-3-1296 2721 +cb0a5c9c0f9bcc6c5a18ed97762206309d3e334c v7-3-1297 2722 +dafd77a15d44cced4e405a9fcfe67fc48a02004a v7-3-1298 2723 +f063be86b6323f396e6d3a7be73e860e636eb51d v7-3-1299 2724 +56bc3698f8c6ac275a9a05b64ae056de619d226b v7-3-1300 2725 +6cabac58f26fe9d8b608542d9fdbfed3fc437c90 v7-3-1301 2726 +5569d11ef585033ef40e4402cd6a52453e4d13d9 v7-3-1302 2727 +6e611380b4cf586f210de94d92a4f158b6900a5f v7-3-1303 2728 +46d6318d5b965b77278ea252b25209468214dd2d v7-3-1304 2729 +6f24376028af97c93b426cdbd46379795be7cdfd v7-3-1305 2730 +71859e71b1f902c28b8842bc7092dd155b8c7f88 v7-3-1306 2731 +3dafc80e781b8d5ed12d6107a2c804067aeafd90 v7-3-1307 2732 +71e066e10a4789eeb9553aa08f9ca8e7eec96532 v7-3-1308 2733 +a686295448918b7066bc52e3fd9748e6702c2219 v7-3-1309 2734 +b49784c49d537fabe083cc3f8cc460629bb6957f v7-3-1310 2735 +28e6f5f889683fe161b7bc260bd02b742157fc5b v7-3-1311 2736 +80bab8b1a30db72b7eda880b0442ab0b0f4a1611 v7-3-1312 2737 +afbc9dd67cea81e73d64f7ecce47dfcd35d48865 v7-3-1313 2560 2738 diff -Naur vim73.orig/Filelist vim73/Filelist 2561 2739 --- vim73.orig/Filelist 2010-08-07 11:04:57.000000000 +0000 2562 +++ vim73/Filelist 2013-0 6-07 17:07:05.425659845+00002740 +++ vim73/Filelist 2013-08-04 19:09:07.513953172 +0000 2563 2741 @@ -39,6 +39,7 @@ 2564 2742 src/mark.c \ … … 2585 2763 src/xxd/xxd.c \ 2586 2764 src/main.aap \ 2587 @@ -80,6 +83, 7@@2765 @@ -80,6 +83,16 @@ 2588 2766 src/testdir/test[0-9]*.ok \ 2589 2767 src/testdir/test49.vim \ 2590 2768 src/testdir/test60.vim \ 2591 2769 + src/testdir/test83-tags? \ 2770 + src/testdir/python2/*.py \ 2771 + src/testdir/python3/*.py \ 2772 + src/testdir/pythonx/*.py \ 2773 + src/testdir/pythonx/topmodule/__init__.py \ 2774 + src/testdir/pythonx/topmodule/submodule/__init__.py \ 2775 + src/testdir/pythonx/topmodule/submodule/subsubmodule/__init__.py \ 2776 + src/testdir/pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py \ 2777 + src/testdir/python_after/*.py \ 2778 + src/testdir/python_before/*.py \ 2592 2779 src/proto.h \ 2593 2780 src/proto/blowfish.pro \ 2594 2781 src/proto/buffer.pro \ 2595 @@ -128,6 +1 32,7 @@2782 @@ -128,6 +141,7 @@ 2596 2783 src/proto/ui.pro \ 2597 2784 src/proto/undo.pro \ … … 2601 2788 2602 2789 2603 @@ -259,8 +2 64,10 @@2790 @@ -259,8 +273,10 @@ 2604 2791 src/Make_mvc.mak \ 2605 2792 src/Make_w16.mak \ … … 2612 2799 src/dlldata.c \ 2613 2800 src/dosinst.c \ 2614 @@ -311,6 +3 18,7 @@2801 @@ -311,6 +327,7 @@ 2615 2802 src/xxd/Make_bc5.mak \ 2616 2803 src/xxd/Make_cyg.mak \ … … 2620 2807 nsis/gvim.nsi \ 2621 2808 nsis/README.txt \ 2622 @@ -345,6 +3 53,13 @@2809 @@ -345,6 +362,13 @@ 2623 2810 src/vim*.ico \ 2624 2811 src/vim.tlb \ … … 2634 2821 nsis/icons/*.bmp \ 2635 2822 nsis/icons/*.ico \ 2636 @@ -426,20 +4 41,14 @@2823 @@ -426,20 +450,14 @@ 2637 2824 $(SRC_VMS) \ 2638 2825 README_os390.txt \ … … 2656 2843 src/toolbar.phi \ 2657 2844 2658 @@ -466,6 +4 75,7 @@2845 @@ -466,6 +484,7 @@ 2659 2846 runtime/macros/hanoi/hanoi.vim \ 2660 2847 runtime/macros/hanoi/poster \ … … 2664 2851 runtime/macros/less.vim \ 2665 2852 runtime/macros/life/click.me \ 2666 @@ -669,6 +6 79,8 @@2853 @@ -669,6 +688,8 @@ 2667 2854 2668 2855 # generic language files … … 2673 2860 runtime/doc/*-fr.UTF-8.1 \ 2674 2861 runtime/doc/*-it.1 \ 2675 @@ -685,7 + 697,17 @@2862 @@ -685,7 +706,17 @@ 2676 2863 runtime/tutor/Makefile \ 2677 2864 runtime/tutor/tutor.utf-8 \ … … 2694 2881 diff -Naur vim73.orig/Makefile vim73/Makefile 2695 2882 --- vim73.orig/Makefile 2010-08-15 12:23:34.000000000 +0000 2696 +++ vim73/Makefile 2013-0 6-07 17:07:05.432326493+00002883 +++ vim73/Makefile 2013-08-04 19:09:07.517286495 +0000 2697 2884 @@ -23,6 +23,9 @@ 2698 2885 # has run can result in compiling with $(CC) empty. … … 2715 2902 @echo "If there are problems, cd to the src directory and run make there" 2716 2903 cd src && $(MAKE) $@ 2904 @@ -122,36 +128,20 @@ 2905 # PC: 2906 # - Run make on Unix to update the ".mo" files. 2907 # - "make dossrc" and "make dosrt". Unpack the archives on a PC. 2908 -# 16 bit DOS version: (OBSOLETE, 16 bit version doesn't build) 2909 -# - Set environment for compiling with Borland C++ 3.1. 2910 -# - "bmake -f Make_bc3.mak BOR=E:\borlandc" (compiling xxd might fail, in that 2911 -# case set environment for compiling with Borland C++ 4.0 and do 2912 -# "make -f make_bc3.mak BOR=E:\BC4 xxd/xxd.exe"). 2913 -# NOTE: this currently fails because Vim is too big. 2914 -# - "make test" and check the output. 2915 -# - Rename the executables to "vimd16.exe", "xxdd16.exe", "installd16.exe" and 2916 -# "uninstald16.exe". 2917 -# 32 bit DOS version: 2918 -# - Set environment for compiling with DJGPP; "gmake -f Make_djg.mak". 2919 -# - "rm testdir/*.out", "gmake -f Make_djg.mak test" and check the output for 2920 -# "ALL DONE". 2921 -# - Rename the executables to "vimd32.exe", "xxdd32.exe", "installd32.exe" and 2922 -# "uninstald32.exe". 2923 # Win32 console version: 2924 -# - Set environment for Visual C++ 2008, e.g.: 2925 -# "E:\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat". Or, when using the 2926 -# Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the paths when necessary). 2927 -# For Windows 98/ME the 2003 version is required, but then it won't work on 2928 -# Windows 7 and 64 bit. 2929 -# - "nmake -f Make_mvc.mak" 2930 +# - Set environment for Visual C++ 2008, e.g.: "msvc2008.bat" Or: 2931 +# "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat". 2932 +# Or, when using the Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the 2933 +# paths when necessary). 2934 +# For Windows 98/ME the 2003 version is required, but then the executable 2935 +# won't work on Windows 7 and 64 bit. 2936 +# - "nmake -f Make_mvc.mak" (use the same path as for vcvars32.bat) 2937 # - "rm testdir/*.out", "nmake -f Make_mvc.mak test" and check the output. 2938 -# - Rename the executables to "vimw32.exe", "xxdw32.exe". 2939 +# - Rename vim.exe to vimw32.exe, xxd/xxd.exe to xxdw32.exe. 2940 # - Rename vim.pdb to vimw32.pdb. 2941 -# - When building the Win32s version later, delete vimrun.exe, install.exe and 2942 -# uninstal.exe. Otherwise rename executables to installw32.exe and 2943 -# uninstalw32.exe. 2944 +# - Rename install.exe to installw32.exe and uninstal.exe to uninstalw32.exe. 2945 # Win32 GUI version: 2946 -# - "nmake -f Make_mvc.mak GUI=yes. 2947 +# - "nmake -f Make_mvc.mak GUI=yes" 2948 # - move "gvim.exe" to here (otherwise the OLE version will overwrite it). 2949 # - Move gvim.pdb to here. 2950 # - Delete vimrun.exe, install.exe and uninstal.exe. 2951 @@ -161,23 +151,13 @@ 2952 # - Rename "gvim.exe" to "gvim_ole.exe". 2953 # - Rename gvim.pdb to "gvim_ole.pdb". 2954 # - Delete install.exe and uninstal.exe. 2955 -# - If building the Win32s version delete vimrun.exe. 2956 -# Win32s GUI version: 2957 -# - Set environment for Visual C++ 4.1 (requires a new console window): 2958 -# "vcvars32.bat" (use the path for VC 4.1 e:\msdev\bin) 2959 -# - "nmake -f Make_mvc.mak GUI=yes INTL=no clean" (use the path for VC 4.1) 2960 -# - "nmake -f Make_mvc.mak GUI=yes INTL=no" (use the path for VC 4.1) 2961 -# - Rename "gvim.exe" to "gvim_w32s.exe". 2962 -# - Rename "install.exe" to "installw32.exe" 2963 -# - Rename "uninstal.exe" to "uninstalw32.exe" 2964 -# - The produced uninstalw32.exe and vimrun.exe are used. 2965 # Create the archives: 2966 # - Copy all the "*.exe" files to where this Makefile is. 2967 # - Copy all the "*.pdb" files to where this Makefile is. 2968 # - "make dosbin". 2969 # NSIS self installing exe: 2970 # - To get NSIS see http://nsis.sourceforge.net 2971 -# - Make sure gvim_ole.exe, vimd32.exe, vimw32.exe, installw32.exe, 2972 +# - Make sure gvim_ole.exe, vimw32.exe, installw32.exe, 2973 # uninstalw32.exe and xxdw32.exe have been build as mentioned above. 2974 # - copy these files (get them from a binary archive or build them): 2975 # gvimext.dll in src/GvimExt 2976 @@ -190,7 +170,44 @@ 2977 # - go to ../nsis and do "makensis gvim.nsi" (takes a few minutes). 2978 # - Copy gvim##.exe to the dist directory. 2979 # 2980 -# OS/2: (OBSOLETE, OS/2 version is no longer distributed) 2981 +# 64 bit builds (these are not in the normal distribution, the 32 bit build 2982 +# works just fine on 64 bit systems). 2983 +# Like the console and GUI version, but first run vcvars64.bat or 2984 +# "..\VC\vcvarsall.bat x86_amd64". 2985 +# - "nmake -f Make_mvc.mak" 2986 +# - "nmake -f Make_mvc.mak GUI=yes" 2987 +# Or run src/bigvim64.bat for an OLE version. 2988 +# 2989 +# OBSOLETE systems: You can build this if you have an appropriate system. 2990 +# 2991 +# 16 bit DOS version: (doesn't build anywhere) 2992 +# - Set environment for compiling with Borland C++ 3.1. 2993 +# - "bmake -f Make_bc3.mak BOR=E:\borlandc" (compiling xxd might fail, in that 2994 +# case set environment for compiling with Borland C++ 4.0 and do 2995 +# "make -f make_bc3.mak BOR=E:\BC4 xxd/xxd.exe"). 2996 +# NOTE: this currently fails because Vim is too big. 2997 +# - "make test" and check the output. 2998 +# - Rename the executables to "vimd16.exe", "xxdd16.exe", "installd16.exe" and 2999 +# "uninstald16.exe". 3000 +# 3001 +# 32 bit DOS version: (requires Windows XP or earlier) 3002 +# - Set environment for compiling with DJGPP; "gmake -f Make_djg.mak". 3003 +# - "rm testdir/*.out", "gmake -f Make_djg.mak test" and check the output for 3004 +# "ALL DONE". 3005 +# - Rename the executables to "vimd32.exe", "xxdd32.exe", "installd32.exe" and 3006 +# "uninstald32.exe". 3007 +# 3008 +# Win32s GUI version: (requires very old compiler) 3009 +# - Set environment for Visual C++ 4.1 (requires a new console window): 3010 +# "vcvars32.bat" (use the path for VC 4.1 e:\msdev\bin) 3011 +# - "nmake -f Make_mvc.mak GUI=yes INTL=no clean" (use the path for VC 4.1) 3012 +# - "nmake -f Make_mvc.mak GUI=yes INTL=no" (use the path for VC 4.1) 3013 +# - Rename "gvim.exe" to "gvim_w32s.exe". 3014 +# - Rename "install.exe" to "installw32.exe" 3015 +# - Rename "uninstal.exe" to "uninstalw32.exe" 3016 +# - The produced uninstalw32.exe and vimrun.exe are used. 3017 +# 3018 +# OS/2: (requires an OS/2 system) 3019 # - Unpack the Unix archive. 3020 # - "make -f Make_os2.mak". 3021 # - Rename the executables to vimos2.exe, xxdos2.exe and teeos2.exe and copy 3022 @@ -289,6 +306,8 @@ 3023 $(LANG_SRC) \ 3024 | (cd dist/$(VIMRTDIR); tar xf -) 3025 # Need to use a "distclean" config.mk file 3026 +# Note: this file is not included in the repository to avoid problems, but it's 3027 +# OK to put it in the archive. 3028 cp -f src/config.mk.dist dist/$(VIMRTDIR)/src/auto/config.mk 3029 # Create an empty config.h file, make dependencies require it 3030 touch dist/$(VIMRTDIR)/src/auto/config.h 2717 3031 diff -Naur vim73.orig/README.txt vim73/README.txt 2718 3032 --- vim73.orig/README.txt 2010-08-15 12:23:19.000000000 +0000 2719 +++ vim73/README.txt 2013-0 6-07 17:07:05.462326407+00003033 +++ vim73/README.txt 2013-08-04 19:09:07.517286495 +0000 2720 3034 @@ -97,10 +97,12 @@ 2721 3035 If you have problems, have a look at the Vim FAQ: … … 2736 3050 diff -Naur vim73.orig/README_extra.txt vim73/README_extra.txt 2737 3051 --- vim73.orig/README_extra.txt 2010-08-15 12:23:19.000000000 +0000 2738 +++ vim73/README_extra.txt 2013-0 6-07 17:07:05.605659331+00003052 +++ vim73/README_extra.txt 2013-08-04 19:09:07.530619788 +0000 2739 3053 @@ -13,9 +13,6 @@ 2740 3054 … … 2747 3061 src/os_beos.* Files for the BeOS port. 2748 3062 3063 diff -Naur vim73.orig/nsis/gvim.nsi vim73/nsis/gvim.nsi 3064 --- vim73.orig/nsis/gvim.nsi 2010-08-15 12:23:23.000000000 +0000 3065 +++ vim73/nsis/gvim.nsi 2013-08-04 19:09:07.557286375 +0000 3066 @@ -5,7 +5,7 @@ 3067 # WARNING: if you make changes to this script, look out for $0 to be valid, 3068 # because uninstall deletes most files in $0. 3069 3070 -# Location of gvim_ole.exe, vimd32.exe, GvimExt/*, etc. 3071 +# Location of gvim_ole.exe, vimw32.exe, GvimExt/*, etc. 3072 !define VIMSRC "..\src" 3073 3074 # Location of runtime files 3075 @@ -40,7 +40,7 @@ 3076 ComponentText "This will install Vim ${VER_MAJOR}.${VER_MINOR} on your computer." 3077 DirText "Choose a directory to install Vim (must end in 'vim')" 3078 Icon icons\vim_16c.ico 3079 -# NSIS2 uses a different strategy with six diferent images in a strip... 3080 +# NSIS2 uses a different strategy with six different images in a strip... 3081 #EnabledBitmap icons\enabled.bmp 3082 #DisabledBitmap icons\disabled.bmp 3083 UninstallText "This will uninstall Vim ${VER_MAJOR}.${VER_MINOR} from your system." 3084 @@ -56,6 +56,9 @@ 3085 !packhdr temp.dat "upx --best --compress-icons=1 temp.dat" 3086 !endif 3087 3088 +SetCompressor /SOLID lzma 3089 +XPStyle on 3090 + 3091 # This adds '\vim' to the user choice automagically. The actual value is 3092 # obtained below with ReadINIStr. 3093 InstallDir "$PROGRAMFILES\Vim" 3094 @@ -247,11 +250,10 @@ 3095 ReadRegStr $R0 HKLM \ 3096 "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion 3097 IfErrors 0 lbl_winnt 3098 - # Windows 95/98/ME 3099 - File /oname=vim.exe ${VIMSRC}\vimd32.exe 3100 + # Windows 95/98/ME: not supported 3101 Goto lbl_done 3102 lbl_winnt: 3103 - # Windows NT/2000/XT 3104 + # Windows NT/2000/XP and later 3105 File /oname=vim.exe ${VIMSRC}\vimw32.exe 3106 lbl_done: 3107 StrCpy $2 "$2 vim view vimdiff" 2749 3108 diff -Naur vim73.orig/runtime/autoload/ada.vim vim73/runtime/autoload/ada.vim 2750 3109 --- vim73.orig/runtime/autoload/ada.vim 2010-05-15 11:03:31.000000000 +0000 2751 +++ vim73/runtime/autoload/ada.vim 2013-0 6-07 17:07:06.515656734+00003110 +++ vim73/runtime/autoload/ada.vim 2013-08-04 19:09:07.603952901 +0000 2752 3111 @@ -29,6 +29,8 @@ 2753 3112 if version < 700 … … 2771 3130 diff -Naur vim73.orig/runtime/autoload/ccomplete.vim vim73/runtime/autoload/ccomplete.vim 2772 3131 --- vim73.orig/runtime/autoload/ccomplete.vim 2010-05-15 11:03:31.000000000 +0000 2773 +++ vim73/runtime/autoload/ccomplete.vim 2013-0 6-07 17:07:06.532323353+00003132 +++ vim73/runtime/autoload/ccomplete.vim 2013-08-04 19:09:07.607286224 +0000 2774 3133 @@ -1,8 +1,10 @@ 2775 3134 " Vim completion script … … 2802 3161 diff -Naur vim73.orig/runtime/autoload/clojurecomplete.vim vim73/runtime/autoload/clojurecomplete.vim 2803 3162 --- vim73.orig/runtime/autoload/clojurecomplete.vim 1970-01-01 00:00:00.000000000 +0000 2804 +++ vim73/runtime/autoload/clojurecomplete.vim 2013-0 6-07 17:07:06.545656648+00003163 +++ vim73/runtime/autoload/clojurecomplete.vim 2013-08-04 19:09:07.607286224 +0000 2805 3164 @@ -0,0 +1,20 @@ 2806 3165 +" Vim completion script … … 2826 3185 diff -Naur vim73.orig/runtime/autoload/getscript.vim vim73/runtime/autoload/getscript.vim 2827 3186 --- vim73.orig/runtime/autoload/getscript.vim 2010-05-15 11:03:31.000000000 +0000 2828 +++ vim73/runtime/autoload/getscript.vim 2013-0 6-07 17:07:06.592323181 +00003187 +++ vim73/runtime/autoload/getscript.vim 2013-08-04 19:09:07.613952871 +0000 2829 3188 @@ -1,8 +1,8 @@ 2830 3189 " --------------------------------------------------------------------- … … 2943 3302 diff -Naur vim73.orig/runtime/autoload/htmlcomplete.vim vim73/runtime/autoload/htmlcomplete.vim 2944 3303 --- vim73.orig/runtime/autoload/htmlcomplete.vim 2010-05-15 11:03:31.000000000 +0000 2945 +++ vim73/runtime/autoload/htmlcomplete.vim 2013-0 6-07 17:07:06.638989715+00003304 +++ vim73/runtime/autoload/htmlcomplete.vim 2013-08-04 19:09:07.617286194 +0000 2946 3305 @@ -1,7 +1,7 @@ 2947 3306 " Vim completion script … … 2963 3322 diff -Naur vim73.orig/runtime/autoload/netrw.vim vim73/runtime/autoload/netrw.vim 2964 3323 --- vim73.orig/runtime/autoload/netrw.vim 2010-07-27 14:55:00.000000000 +0000 2965 +++ vim73/runtime/autoload/netrw.vim 2013-0 6-07 17:07:06.742322753+00003324 +++ vim73/runtime/autoload/netrw.vim 2013-08-04 19:09:07.633952811 +0000 2966 3325 @@ -1,10 +1,10 @@ 2967 3326 " netrw.vim: Handles file transfer and remote directory listing across … … 15327 15686 diff -Naur vim73.orig/runtime/autoload/netrwFileHandlers.vim vim73/runtime/autoload/netrwFileHandlers.vim 15328 15687 --- vim73.orig/runtime/autoload/netrwFileHandlers.vim 2010-05-15 11:03:30.000000000 +0000 15329 +++ vim73/runtime/autoload/netrwFileHandlers.vim 2013-0 6-07 17:07:06.775655991 +000015688 +++ vim73/runtime/autoload/netrwFileHandlers.vim 2013-08-04 19:09:07.633952811 +0000 15330 15689 @@ -1,9 +1,9 @@ 15331 15690 " netrwFileHandlers: contains various extension-based file handlers for … … 15401 15760 diff -Naur vim73.orig/runtime/autoload/netrwSettings.vim vim73/runtime/autoload/netrwSettings.vim 15402 15761 --- vim73.orig/runtime/autoload/netrwSettings.vim 2010-05-15 11:03:29.000000000 +0000 15403 +++ vim73/runtime/autoload/netrwSettings.vim 2013-0 6-07 17:07:06.792322610+000015762 +++ vim73/runtime/autoload/netrwSettings.vim 2013-08-04 19:09:07.637286134 +0000 15404 15763 @@ -1,8 +1,8 @@ 15405 15764 " netrwSettings.vim: makes netrw settings simpler … … 15534 15893 diff -Naur vim73.orig/runtime/autoload/phpcomplete.vim vim73/runtime/autoload/phpcomplete.vim 15535 15894 --- vim73.orig/runtime/autoload/phpcomplete.vim 2010-05-15 11:03:30.000000000 +0000 15536 +++ vim73/runtime/autoload/phpcomplete.vim 2013-0 6-07 17:07:06.818989201 +000015895 +++ vim73/runtime/autoload/phpcomplete.vim 2013-08-04 19:09:07.643952781 +0000 15537 15896 @@ -1,7 +1,7 @@ 15538 15897 " Vim completion script … … 15562 15921 let classlocation = phpcomplete#GetClassLocation(extends_class) 15563 15922 if filereadable(classlocation) 15923 diff -Naur vim73.orig/runtime/autoload/rubycomplete.vim vim73/runtime/autoload/rubycomplete.vim 15924 --- vim73.orig/runtime/autoload/rubycomplete.vim 2010-05-27 13:54:35.000000000 +0000 15925 +++ vim73/runtime/autoload/rubycomplete.vim 2013-08-04 19:09:07.650619427 +0000 15926 @@ -1,9 +1,7 @@ 15927 " Vim completion script 15928 " Language: Ruby 15929 " Maintainer: Mark Guzman <segfault@hasno.info> 15930 -" Last Change: 2009 Sep 28 15931 -" URL: http://vim-ruby.rubyforge.org 15932 -" Anon CVS: See above site 15933 +" URL: https://github.com/vim-ruby/vim-ruby 15934 " Release Coordinator: Doug Kearns <dougkearns@gmail.com> 15935 " Maintainer Version: 0.8.1 15936 " ---------------------------------------------------------------------------- 15937 @@ -12,16 +10,23 @@ 15938 " ---------------------------------------------------------------------------- 15939 15940 " {{{ requirement checks 15941 + 15942 +function! s:ErrMsg(msg) 15943 + echohl ErrorMsg 15944 + echo a:msg 15945 + echohl None 15946 +endfunction 15947 + 15948 if !has('ruby') 15949 - s:ErrMsg( "Error: Rubycomplete requires vim compiled with +ruby" ) 15950 - s:ErrMsg( "Error: falling back to syntax completion" ) 15951 + call s:ErrMsg( "Error: Rubycomplete requires vim compiled with +ruby" ) 15952 + call s:ErrMsg( "Error: falling back to syntax completion" ) 15953 " lets fall back to syntax completion 15954 setlocal omnifunc=syntaxcomplete#Complete 15955 finish 15956 endif 15957 15958 if version < 700 15959 - s:ErrMsg( "Error: Required vim >= 7.0" ) 15960 + call s:ErrMsg( "Error: Required vim >= 7.0" ) 15961 finish 15962 endif 15963 " }}} requirement checks 15964 @@ -51,12 +56,6 @@ 15965 " {{{ vim-side support functions 15966 let s:rubycomplete_debug = 0 15967 15968 -function! s:ErrMsg(msg) 15969 - echohl ErrorMsg 15970 - echo a:msg 15971 - echohl None 15972 -endfunction 15973 - 15974 function! s:dprint(msg) 15975 if s:rubycomplete_debug == 1 15976 echom a:msg 15977 @@ -133,7 +132,7 @@ 15978 let stopline = 1 15979 let vtp = '' 15980 let pos = getpos('.') 15981 - let sstr = '^\s*#\s*@var\s*'.a:v.'\>\s\+[^ \t]\+\s*$' 15982 + let sstr = '^\s*#\s*@var\s*'.escape(a:v, '*').'\>\s\+[^ \t]\+\s*$' 15983 let [lnum,lcol] = searchpos(sstr,'nb',stopline) 15984 if lnum != 0 && lcol != 0 15985 call setpos('.',pos) 15986 @@ -275,7 +274,7 @@ 15987 pare = /^\s*class\s*(.*)\s*<\s*(.*)\s*\n/.match( classdef ) 15988 load_buffer_class( $2 ) if pare != nil && $2 != name # load parent class if needed 15989 15990 - mixre = /.*\n\s*include\s*(.*)\s*\n/.match( classdef ) 15991 + mixre = /.*\n\s*(include|prepend)\s*(.*)\s*\n/.match( classdef ) 15992 load_buffer_module( $2 ) if mixre != nil && $2 != name # load mixins if needed 15993 15994 begin 15995 @@ -364,6 +363,10 @@ 15996 print txt if @@debug 15997 end 15998 15999 + def escape_vim_singlequote_string(str) 16000 + str.to_s.gsub(/'/,"\\'") 16001 + end 16002 + 16003 def get_buffer_entity_list( type ) 16004 # this will be a little expensive. 16005 loading_allowed = VIM::evaluate("exists('g:rubycomplete_buffer_loading') && g:rubycomplete_buffer_loading") 16006 @@ -526,9 +529,9 @@ 16007 end 16008 16009 def clean_sel(sel, msg) 16010 - sel.delete_if { |x| x == nil } 16011 - sel.uniq! 16012 - sel.grep(/^#{Regexp.quote(msg)}/) if msg != nil 16013 + ret = sel.reject{|x|x.nil?}.uniq 16014 + ret = ret.grep(/^#{Regexp.quote(msg)}/) if msg != nil 16015 + ret 16016 end 16017 16018 def get_rails_view_methods 16019 @@ -767,10 +770,10 @@ 16020 constants = clean_sel( constants, message ) 16021 16022 valid = [] 16023 - valid += methods.collect { |m| { :name => m, :type => 'm' } } 16024 - valid += variables.collect { |v| { :name => v, :type => 'v' } } 16025 - valid += classes.collect { |c| { :name => c, :type => 't' } } 16026 - valid += constants.collect { |d| { :name => d, :type => 'd' } } 16027 + valid += methods.collect { |m| { :name => m.to_s, :type => 'm' } } 16028 + valid += variables.collect { |v| { :name => v.to_s, :type => 'v' } } 16029 + valid += classes.collect { |c| { :name => c.to_s, :type => 't' } } 16030 + valid += constants.collect { |d| { :name => d.to_s, :type => 'd' } } 16031 valid.sort! { |x,y| x[:name] <=> y[:name] } 16032 16033 outp = "" 16034 @@ -779,7 +782,7 @@ 16035 rg.step(150) do |x| 16036 stpos = 0+x 16037 enpos = 150+x 16038 - valid[stpos..enpos].each { |c| outp += "{'word':'%s','item':'%s','kind':'%s'}," % [ c[:name], c[:name], c[:type] ] } 16039 + valid[stpos..enpos].each { |c| outp += "{'word':'%s','item':'%s','kind':'%s'}," % [ c[:name], c[:name], c[:type] ].map{|x|escape_vim_singlequote_string(x)} } 16040 outp.sub!(/,$/, '') 16041 16042 VIM::command("call extend(g:rubycomplete_completions, [%s])" % outp) 15564 16043 diff -Naur vim73.orig/runtime/autoload/spellfile.vim vim73/runtime/autoload/spellfile.vim 15565 16044 --- vim73.orig/runtime/autoload/spellfile.vim 2010-05-15 11:03:31.000000000 +0000 15566 +++ vim73/runtime/autoload/spellfile.vim 2013-0 6-07 17:07:06.878989030+000016045 +++ vim73/runtime/autoload/spellfile.vim 2013-08-04 19:09:07.650619427 +0000 15567 16046 @@ -1,6 +1,6 @@ 15568 16047 " Vim script to download a missing spell file … … 15601 16080 diff -Naur vim73.orig/runtime/autoload/sqlcomplete.vim vim73/runtime/autoload/sqlcomplete.vim 15602 16081 --- vim73.orig/runtime/autoload/sqlcomplete.vim 2010-08-01 13:55:41.000000000 +0000 15603 +++ vim73/runtime/autoload/sqlcomplete.vim 2013-0 6-07 17:07:06.892322325+000016082 +++ vim73/runtime/autoload/sqlcomplete.vim 2013-08-04 19:09:07.653952751 +0000 15604 16083 @@ -1,16 +1,63 @@ 15605 16084 " Vim OMNI completion script for SQL … … 16326 16805 diff -Naur vim73.orig/runtime/autoload/syntaxcomplete.vim vim73/runtime/autoload/syntaxcomplete.vim 16327 16806 --- vim73.orig/runtime/autoload/syntaxcomplete.vim 2010-07-29 19:21:15.000000000 +0000 16328 +++ vim73/runtime/autoload/syntaxcomplete.vim 2013-0 6-07 17:07:06.905655620+000016807 +++ vim73/runtime/autoload/syntaxcomplete.vim 2013-08-04 19:09:07.653952751 +0000 16329 16808 @@ -1,38 +1,80 @@ 16330 16809 " Vim completion script … … 17043 17522 diff -Naur vim73.orig/runtime/autoload/tar.vim vim73/runtime/autoload/tar.vim 17044 17523 --- vim73.orig/runtime/autoload/tar.vim 2010-08-10 00:02:24.000000000 +0000 17045 +++ vim73/runtime/autoload/tar.vim 2013-0 6-07 17:07:06.915655592+000017524 +++ vim73/runtime/autoload/tar.vim 2013-08-04 19:09:07.657286074 +0000 17046 17525 @@ -1,13 +1,13 @@ 17047 17526 " tar.vim: Handles browsing tarfiles … … 17301 17780 diff -Naur vim73.orig/runtime/autoload/tohtml.vim vim73/runtime/autoload/tohtml.vim 17302 17781 --- vim73.orig/runtime/autoload/tohtml.vim 2010-08-12 19:59:40.000000000 +0000 17303 +++ vim73/runtime/autoload/tohtml.vim 2013-0 6-07 17:07:06.928988887+000017782 +++ vim73/runtime/autoload/tohtml.vim 2013-08-04 19:09:07.657286074 +0000 17304 17783 @@ -1,6 +1,6 @@ 17305 17784 " Vim autoload file for the tohtml plugin. 17306 17785 " Maintainer: Ben Fritz <fritzophrenic@gmail.com> 17307 17786 -" Last Change: 2010 Aug 12 17308 +" Last Change: 2013 May 3117787 +" Last Change: 2013 Jun 19 17309 17788 " 17310 17789 " Additional contributors: … … 17682 18161 - call add(html, '<table border="1" width="100%">') 17683 18162 + if !empty(s:settings.prevent_copy) 17684 + call add(html, "<body onload='FixCharWidth(); JumpToLine();'>")18163 + call add(html, "<body onload='FixCharWidth();".(s:settings.line_ids ? " JumpToLine();" : "")."'>") 17685 18164 + call add(html, "<!-- hidden divs used by javascript to get the width of a char -->") 17686 18165 + call add(html, "<div id='oneCharWidth'>0</div>") … … 17688 18167 + call add(html, "<div id='oneEmWidth' style='width: 1em;'></div>") 17689 18168 + else 17690 + call add(html, '<body onload="JumpToLine();">')18169 + call add(html, '<body'.(s:settings.line_ids ? ' onload="JumpToLine();"' : '').'>') 17691 18170 + endif 17692 + call add(html, "<table border='1' width='100%' id='vimCodeElement '>")18171 + call add(html, "<table border='1' width='100%' id='vimCodeElement".s:settings.id_suffix."'>") 17693 18172 17694 18173 call add(html, '<tr>') … … 17728 18207 + " clean out id on the main content container because we already set it on 17729 18208 + " the table 17730 + let temp[0] = substitute(temp[0], " id='vimCodeElement '", "", "")18209 + let temp[0] = substitute(temp[0], " id='vimCodeElement[^']*'", "", "") 17731 18210 " undo deletion of start and end part 17732 18211 " so we can later save the file as valid html … … 17800 18279 + \ ' if (inputWidth > goodWidth) {', 17801 18280 + \ ' while (ratio < 100*goodWidth/emWidth && ratio < 100) {', 17802 + \ ' ratio += 5;',17803 + \ ' }',17804 + \ ' document.getElementById("vimCodeElement").className = "em"+ratio;',18281 + \ ' ratio += 5;', 18282 + \ ' }', 18283 + \ ' document.getElementById("vimCodeElement'.s:settings.id_suffix.'").className = "em"+ratio;', 17805 18284 + \ ' }', 17806 18285 + \ '}' … … 17828 18307 + \ " /* navigate upwards in the DOM tree to open all folds containing the line */", 17829 18308 + \ " var node = lineElem;", 17830 + \ " while (node && node.id != 'vimCodeElement ')",18309 + \ " while (node && node.id != 'vimCodeElement".s:settings.id_suffix."')", 17831 18310 + \ " {", 17832 18311 + \ " if (node.className == 'closed-fold')", … … 17925 18404 " just restore the known options if we've already retrieved them 17926 18405 return s:settings 17927 @@ -289,21 +707,2 4@@18406 @@ -289,21 +707,25 @@ 17928 18407 let g:html_use_xhtml = g:use_xhtml 17929 18408 endif … … 17957 18436 + call tohtml#GetOption(user_settings, 'whole_filler', 0 ) 17958 18437 + call tohtml#GetOption(user_settings, 'use_xhtml', 0 ) 18438 + call tohtml#GetOption(user_settings, 'line_ids', user_settings.number_lines ) 17959 18439 + " }}} 17960 18440 … … 17964 18444 " hover opening implies dynamic folding 17965 18445 if user_settings.hover_unfold 17966 @@ -324,6 +74 5,8 @@18446 @@ -324,6 +746,8 @@ 17967 18447 " dynamic folding implies css 17968 18448 if user_settings.dynamic_folds … … 17973 18453 17974 18454 " if we're not using CSS we cannot use a pre section because <font> tags 17975 @@ -332,47 +75 5,154@@18455 @@ -332,47 +756,168 @@ 17976 18456 let user_settings.no_pre = 1 17977 18457 endif … … 18025 18505 + let user_settings.encoding = '' " trigger detection using &encoding 18026 18506 + endif 18507 + endif 18508 + 18509 + " else from 'encoding' if possible 18510 + if &l:fileencoding == '' || user_settings.encoding == '' 18511 + let user_settings.vim_encoding = &encoding 18512 + call tohtml#CharsetFromEncoding(user_settings) 18027 18513 endif 18028 18514 - if vim_encoding == 'latin1' … … 18045 18531 - let user_settings.encoding = 'GBK' 18046 18532 - elseif vim_encoding =~ '^ucs\|^utf' 18047 +18048 + " else from 'encoding' if possible18049 + if &l:fileencoding == '' || user_settings.encoding == ''18050 + let user_settings.vim_encoding = &encoding18051 + call tohtml#CharsetFromEncoding(user_settings)18052 + endif18053 18533 + 18054 18534 + " else default to UTF-8 and warn user … … 18101 18581 + let user_settings.no_invalid = 0 18102 18582 + endif 18583 + 18584 + if exists('g:html_id_expr') 18585 + let user_settings.id_suffix = eval(g:html_id_expr) 18586 + if user_settings.id_suffix !~ '^[-_:.A-Za-z0-9]*$' 18587 + echohl WarningMsg 18588 + echomsg '2html: g:html_id_expr evaluated to invalid string for HTML id attributes' 18589 + echomsg '2html: Omitting user-specified suffix' 18590 + echohl None 18591 + sleep 3 18592 + let user_settings.id_suffix="" 18593 + endif 18594 + else 18595 + let user_settings.id_suffix="" 18596 + endif 18103 18597 18104 18598 " TODO: font … … 18157 18651 diff -Naur vim73.orig/runtime/autoload/vimball.vim vim73/runtime/autoload/vimball.vim 18158 18652 --- vim73.orig/runtime/autoload/vimball.vim 2010-05-15 11:03:30.000000000 +0000 18159 +++ vim73/runtime/autoload/vimball.vim 2013-0 6-07 17:07:06.945655506+000018653 +++ vim73/runtime/autoload/vimball.vim 2013-08-04 19:09:07.660619397 +0000 18160 18654 @@ -1,9 +1,9 @@ 18161 18655 " vimball.vim : construct a file containing both paths and files … … 18478 18972 " Modelines: {{{1 18479 18973 " vim: fdm=marker 18974 diff -Naur vim73.orig/runtime/autoload/xmlcomplete.vim vim73/runtime/autoload/xmlcomplete.vim 18975 --- vim73.orig/runtime/autoload/xmlcomplete.vim 2010-05-15 11:03:31.000000000 +0000 18976 +++ vim73/runtime/autoload/xmlcomplete.vim 2013-08-04 19:09:07.683952660 +0000 18977 @@ -1,7 +1,7 @@ 18978 " Vim completion script 18979 " Language: XML 18980 " Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl ) 18981 -" Last Change: 2006 Aug 15 18982 +" Last Change: 2013 Jun 29 18983 " Version: 1.9 18984 " 18985 " Changelog: 18986 @@ -475,12 +475,12 @@ 18987 endfunction 18988 18989 function! s:SetKeywords() 18990 - let g:IsKeywordBak=&iskeyword 18991 - let &iskeyword='33-255' 18992 + let s:IsKeywordBak=&l:iskeyword 18993 + let &l:iskeyword='33-255' 18994 endfunction 18995 18996 function! s:RestoreKeywords() 18997 - let &iskeyword=g:IsKeywordBak 18998 + let &l:iskeyword=s:IsKeywordBak 18999 endfunction 19000 19001 function! s:Push(el, sname) 18480 19002 diff -Naur vim73.orig/runtime/autoload/zip.vim vim73/runtime/autoload/zip.vim 18481 19003 --- vim73.orig/runtime/autoload/zip.vim 2010-05-15 11:03:30.000000000 +0000 18482 +++ vim73/runtime/autoload/zip.vim 2013-0 6-07 17:07:07.148988259+000019004 +++ vim73/runtime/autoload/zip.vim 2013-08-04 19:09:07.683952660 +0000 18483 19005 @@ -1,10 +1,10 @@ 18484 19006 " zip.vim: Handles browsing zipfiles … … 18487 19009 -" Version: 23 18488 19010 -" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM> 18489 +" Date: Apr 17, 201318490 +" Version: 2 619011 +" Date: Jul 02, 2013 19012 +" Version: 27 18491 19013 +" Maintainer: Charles E Campbell <NdrOchip@ScampbellPfamily.AbizM-NOSPAM> 18492 19014 " License: Vim License (see vim's :help license) 18493 19015 -" Copyright: Copyright (C) 2005-2008 Charles E. Campbell, Jr. {{{1 18494 +" Copyright: Copyright (C) 2005-201 2Charles E. Campbell {{{119016 +" Copyright: Copyright (C) 2005-2013 Charles E. Campbell {{{1 18495 19017 " Permission is hereby granted to use and distribute this code, 18496 19018 " with or without modifications, provided that this copyright 18497 19019 " notice is copied with it. Like anything else that's free, 18498 @@ -19,7 +19,7 @@ 19020 @@ -13,13 +13,14 @@ 19021 " this plugin, you agree that in no event will the copyright 19022 " holder be liable for any damages resulting from the use 19023 " of this software. 19024 +"redraw!|call DechoSep()|call inputsave()|call input("Press <cr> to continue")|call inputrestore() 19025 19026 " --------------------------------------------------------------------- 19027 " Load Once: {{{1 18499 19028 if &cp || exists("g:loaded_zip") 18500 19029 finish 18501 19030 endif 18502 19031 -let g:loaded_zip= "v23" 18503 +let g:loaded_zip= "v2 6"19032 +let g:loaded_zip= "v27" 18504 19033 if v:version < 702 18505 19034 echohl WarningMsg 18506 19035 echo "***warning*** this version of zip needs vim 7.2" 18507 @@ -103,38 +103,26 @@ 19036 @@ -28,6 +29,7 @@ 19037 endif 19038 let s:keepcpo= &cpo 19039 set cpo&vim 19040 +"DechoTabOn 19041 19042 let s:zipfile_escape = ' ?&;\' 19043 let s:ERROR = 2 19044 @@ -60,6 +62,16 @@ 19045 " zip#Browse: {{{2 19046 fun! zip#Browse(zipfile) 19047 " call Dfunc("zip#Browse(zipfile<".a:zipfile.">)") 19048 + " sanity check: insure that the zipfile has "PK" as its first two letters 19049 + " (zipped files have a leading PK as a "magic cookie") 19050 + if !filereadable(a:zipfile) || readfile(a:zipfile, "", 1)[0] !~ '^PK' 19051 + exe "noautocmd e ".fnameescape(a:zipfile) 19052 +" call Dret("zip#Browse : not a zipfile<".a:zipfile.">") 19053 + return 19054 +" else " Decho 19055 +" call Decho("zip#Browse: a:zipfile<".a:zipfile."> passed PK test - its a zip file") 19056 + endif 19057 + 19058 let repkeep= &report 19059 set report=10 19060 19061 @@ -103,38 +115,26 @@ 18508 19062 set ft=tar 18509 19063 … … 18552 19106 setlocal noma nomod ro 18553 19107 noremap <silent> <buffer> <cr> :call <SID>ZipBrowseSelect()<cr> 18554 @@ -200,16 + 188,27@@19108 @@ -200,16 +200,28 @@ 18555 19109 else 18556 19110 let zipfile = substitute(a:fname,'^.\{-}zipfile:\(.\{-}\)::[^\\].*$','\1','') … … 18568 19122 + " but allows zipfile:... entries in quickfix lists 18569 19123 + let temp = tempname() 19124 +" call Decho("using temp file<".temp.">") 18570 19125 + let fn = expand('%:p') 18571 19126 + exe "sil! !".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1).' > '.temp … … 18580 19135 " cleanup 18581 19136 - 0d 18582 + keepj 0d19137 + " keepj 0d " used to be needed for the ...r! ... method 18583 19138 set nomod 18584 19139 18585 19140 let &report= repkeep 18586 @@ -278,7 +2 77,7 @@19141 @@ -278,7 +290,7 @@ 18587 19142 18588 19143 if fname =~ '/' … … 18593 19148 endif 18594 19149 " call Decho("mkdir(dirpath<".dirpath.">,p)") 18595 @@ -290,7 + 289,7 @@19150 @@ -290,7 +302,7 @@ 18596 19151 " call Decho("zipfile<".zipfile."> fname<".fname.">") 18597 19152 … … 18604 19159 diff -Naur vim73.orig/runtime/colors/koehler.vim vim73/runtime/colors/koehler.vim 18605 19160 --- vim73.orig/runtime/colors/koehler.vim 2010-05-15 11:03:31.000000000 +0000 18606 +++ vim73/runtime/colors/koehler.vim 2013-0 6-07 17:07:07.305654478+000019161 +++ vim73/runtime/colors/koehler.vim 2013-08-04 19:09:07.697285954 +0000 18607 19162 @@ -2,7 +2,7 @@ 18608 19163 " vim: tw=0 ts=4 sw=4 … … 18625 19180 diff -Naur vim73.orig/runtime/colors/ron.vim vim73/runtime/colors/ron.vim 18626 19181 --- vim73.orig/runtime/colors/ron.vim 2010-05-15 11:03:31.000000000 +0000 18627 +++ vim73/runtime/colors/ron.vim 2013-0 6-07 17:07:07.348987688+000019182 +++ vim73/runtime/colors/ron.vim 2013-08-04 19:09:07.700619277 +0000 18628 19183 @@ -2,7 +2,7 @@ 18629 19184 " vim: tw=0 ts=4 sw=4 … … 18664 19219 diff -Naur vim73.orig/runtime/compiler/cs.vim vim73/runtime/compiler/cs.vim 18665 19220 --- vim73.orig/runtime/compiler/cs.vim 2010-05-15 11:03:29.000000000 +0000 18666 +++ vim73/runtime/compiler/cs.vim 2013-0 6-07 17:07:07.458987374+000019221 +++ vim73/runtime/compiler/cs.vim 2013-08-04 19:09:07.710619247 +0000 18667 19222 @@ -1,19 +1,26 @@ 18668 19223 " Vim compiler file … … 18699 19254 diff -Naur vim73.orig/runtime/compiler/decada.vim vim73/runtime/compiler/decada.vim 18700 19255 --- vim73.orig/runtime/compiler/decada.vim 2010-05-15 11:03:29.000000000 +0000 18701 +++ vim73/runtime/compiler/decada.vim 2013-0 6-07 17:07:07.485653965+000019256 +++ vim73/runtime/compiler/decada.vim 2013-08-04 19:09:07.713952570 +0000 18702 19257 @@ -15,11 +15,11 @@ 18703 19258 " Help Page: compiler-decada … … 18727 19282 diff -Naur vim73.orig/runtime/compiler/erlang.vim vim73/runtime/compiler/erlang.vim 18728 19283 --- vim73.orig/runtime/compiler/erlang.vim 1970-01-01 00:00:00.000000000 +0000 18729 +++ vim73/runtime/compiler/erlang.vim 2013-0 6-07 17:07:07.515653879+000019284 +++ vim73/runtime/compiler/erlang.vim 2013-08-04 19:09:07.717285894 +0000 18730 19285 @@ -0,0 +1,13 @@ 18731 19286 +" Vim compiler file … … 18742 19297 + 18743 19298 +CompilerSet errorformat=%f:%l:\ %m 19299 diff -Naur vim73.orig/runtime/compiler/eruby.vim vim73/runtime/compiler/eruby.vim 19300 --- vim73.orig/runtime/compiler/eruby.vim 2010-05-27 20:14:24.000000000 +0000 19301 +++ vim73/runtime/compiler/eruby.vim 2013-08-04 19:09:07.717285894 +0000 19302 @@ -1,9 +1,7 @@ 19303 " Vim compiler file 19304 " Language: eRuby 19305 " Maintainer: Doug Kearns <dougkearns@gmail.com> 19306 -" Last Change: 2008 Aug 1 19307 -" URL: http://vim-ruby.rubyforge.org 19308 -" Anon CVS: See above site 19309 +" URL: https://github.com/vim-ruby/vim-ruby 19310 " Release Coordinator: Doug Kearns <dougkearns@gmail.com> 19311 19312 if exists("current_compiler") 18744 19313 diff -Naur vim73.orig/runtime/compiler/g95.vim vim73/runtime/compiler/g95.vim 18745 19314 --- vim73.orig/runtime/compiler/g95.vim 1970-01-01 00:00:00.000000000 +0000 18746 +++ vim73/runtime/compiler/g95.vim 2013-0 6-07 17:07:07.602320298+000019315 +++ vim73/runtime/compiler/g95.vim 2013-08-04 19:09:07.723952540 +0000 18747 19316 @@ -0,0 +1,28 @@ 18748 19317 +" Compiler: G95 … … 18776 19345 diff -Naur vim73.orig/runtime/compiler/gcc.vim vim73/runtime/compiler/gcc.vim 18777 19346 --- vim73.orig/runtime/compiler/gcc.vim 2010-05-30 15:24:23.000000000 +0000 18778 +++ vim73/runtime/compiler/gcc.vim 2013-0 6-07 17:07:07.618986917+000019347 +++ vim73/runtime/compiler/gcc.vim 2013-08-04 19:09:07.727285863 +0000 18779 19348 @@ -1,7 +1,7 @@ 18780 19349 " Vim compiler file … … 18810 19379 diff -Naur vim73.orig/runtime/compiler/gfortran.vim vim73/runtime/compiler/gfortran.vim 18811 19380 --- vim73.orig/runtime/compiler/gfortran.vim 1970-01-01 00:00:00.000000000 +0000 18812 +++ vim73/runtime/compiler/gfortran.vim 2013-0 6-07 17:07:07.632320213 +000019381 +++ vim73/runtime/compiler/gfortran.vim 2013-08-04 19:09:07.727285863 +0000 18813 19382 @@ -0,0 +1,27 @@ 18814 19383 +" Compiler: GNU Fortran Compiler … … 18841 19410 diff -Naur vim73.orig/runtime/compiler/gnat.vim vim73/runtime/compiler/gnat.vim 18842 19411 --- vim73.orig/runtime/compiler/gnat.vim 2010-05-15 11:03:29.000000000 +0000 18843 +++ vim73/runtime/compiler/gnat.vim 2013-0 6-07 17:07:07.648986832+000019412 +++ vim73/runtime/compiler/gnat.vim 2013-08-04 19:09:07.727285863 +0000 18844 19413 @@ -17,11 +17,11 @@ 18845 19414 " Help Page: compiler-gnat … … 18869 19438 diff -Naur vim73.orig/runtime/compiler/haml.vim vim73/runtime/compiler/haml.vim 18870 19439 --- vim73.orig/runtime/compiler/haml.vim 1970-01-01 00:00:00.000000000 +0000 18871 +++ vim73/runtime/compiler/haml.vim 2013-0 6-07 17:07:07.652320155+000019440 +++ vim73/runtime/compiler/haml.vim 2013-08-04 19:09:07.727285863 +0000 18872 19441 @@ -0,0 +1,28 @@ 18873 19442 +" Vim compiler file … … 18901 19470 diff -Naur vim73.orig/runtime/compiler/hp_acc.vim vim73/runtime/compiler/hp_acc.vim 18902 19471 --- vim73.orig/runtime/compiler/hp_acc.vim 2010-05-15 11:03:29.000000000 +0000 18903 +++ vim73/runtime/compiler/hp_acc.vim 2013-0 6-07 17:07:07.712319984+000019472 +++ vim73/runtime/compiler/hp_acc.vim 2013-08-04 19:09:07.730619187 +0000 18904 19473 @@ -2,7 +2,7 @@ 18905 19474 " Compiler: HP aCC … … 18930 19499 diff -Naur vim73.orig/runtime/compiler/ifort.vim vim73/runtime/compiler/ifort.vim 18931 19500 --- vim73.orig/runtime/compiler/ifort.vim 1970-01-01 00:00:00.000000000 +0000 18932 +++ vim73/runtime/compiler/ifort.vim 2013-0 6-07 17:07:07.762319841+000019501 +++ vim73/runtime/compiler/ifort.vim 2013-08-04 19:09:07.730619187 +0000 18933 19502 @@ -0,0 +1,27 @@ 18934 19503 +" Compiler: Intel Fortran Compiler … … 18961 19530 diff -Naur vim73.orig/runtime/compiler/intel.vim vim73/runtime/compiler/intel.vim 18962 19531 --- vim73.orig/runtime/compiler/intel.vim 2010-05-15 11:03:29.000000000 +0000 18963 +++ vim73/runtime/compiler/intel.vim 2013-0 6-07 17:07:07.768986489+000019532 +++ vim73/runtime/compiler/intel.vim 2013-08-04 19:09:07.733952510 +0000 18964 19533 @@ -1,12 +1,14 @@ 18965 19534 " Vim compiler file … … 18987 19556 diff -Naur vim73.orig/runtime/compiler/irix5_c.vim vim73/runtime/compiler/irix5_c.vim 18988 19557 --- vim73.orig/runtime/compiler/irix5_c.vim 2010-05-15 11:03:29.000000000 +0000 18989 +++ vim73/runtime/compiler/irix5_c.vim 2013-0 6-07 17:07:07.778986461+000019558 +++ vim73/runtime/compiler/irix5_c.vim 2013-08-04 19:09:07.733952510 +0000 18990 19559 @@ -1,12 +1,14 @@ 18991 19560 " Vim compiler file … … 19013 19582 diff -Naur vim73.orig/runtime/compiler/irix5_cpp.vim vim73/runtime/compiler/irix5_cpp.vim 19014 19583 --- vim73.orig/runtime/compiler/irix5_cpp.vim 2010-05-15 11:03:29.000000000 +0000 19015 +++ vim73/runtime/compiler/irix5_cpp.vim 2013-0 6-07 17:07:07.795653080 +000019584 +++ vim73/runtime/compiler/irix5_cpp.vim 2013-08-04 19:09:07.733952510 +0000 19016 19585 @@ -1,12 +1,14 @@ 19017 19586 " Vim compiler file … … 19039 19608 diff -Naur vim73.orig/runtime/compiler/mcs.vim vim73/runtime/compiler/mcs.vim 19040 19609 --- vim73.orig/runtime/compiler/mcs.vim 2010-05-15 11:03:29.000000000 +0000 19041 +++ vim73/runtime/compiler/mcs.vim 2013-0 6-07 17:07:07.822319670+000019610 +++ vim73/runtime/compiler/mcs.vim 2013-08-04 19:09:07.737285833 +0000 19042 19611 @@ -1,7 +1,8 @@ 19043 19612 " Vim compiler file … … 19072 19641 diff -Naur vim73.orig/runtime/compiler/mips_c.vim vim73/runtime/compiler/mips_c.vim 19073 19642 --- vim73.orig/runtime/compiler/mips_c.vim 2010-05-15 11:03:29.000000000 +0000 19074 +++ vim73/runtime/compiler/mips_c.vim 2013-0 6-07 17:07:07.852319585+000019643 +++ vim73/runtime/compiler/mips_c.vim 2013-08-04 19:09:07.740619157 +0000 19075 19644 @@ -1,12 +1,14 @@ 19076 19645 " Vim compiler file … … 19098 19667 diff -Naur vim73.orig/runtime/compiler/mipspro_c89.vim vim73/runtime/compiler/mipspro_c89.vim 19099 19668 --- vim73.orig/runtime/compiler/mipspro_c89.vim 2010-05-15 11:03:29.000000000 +0000 19100 +++ vim73/runtime/compiler/mipspro_c89.vim 2013-0 6-07 17:07:07.855652908+000019669 +++ vim73/runtime/compiler/mipspro_c89.vim 2013-08-04 19:09:07.740619157 +0000 19101 19670 @@ -1,12 +1,14 @@ 19102 19671 " Vim compiler file … … 19124 19693 diff -Naur vim73.orig/runtime/compiler/mipspro_cpp.vim vim73/runtime/compiler/mipspro_cpp.vim 19125 19694 --- vim73.orig/runtime/compiler/mipspro_cpp.vim 2010-05-15 11:03:29.000000000 +0000 19126 +++ vim73/runtime/compiler/mipspro_cpp.vim 2013-0 6-07 17:07:07.868986204+000019695 +++ vim73/runtime/compiler/mipspro_cpp.vim 2013-08-04 19:09:07.740619157 +0000 19127 19696 @@ -1,12 +1,14 @@ 19128 19697 " Vim compiler file … … 19150 19719 diff -Naur vim73.orig/runtime/compiler/msbuild.vim vim73/runtime/compiler/msbuild.vim 19151 19720 --- vim73.orig/runtime/compiler/msbuild.vim 1970-01-01 00:00:00.000000000 +0000 19152 +++ vim73/runtime/compiler/msbuild.vim 2013-0 6-07 17:07:07.882319499+000019721 +++ vim73/runtime/compiler/msbuild.vim 2013-08-04 19:09:07.743952480 +0000 19153 19722 @@ -0,0 +1,21 @@ 19154 19723 +" Vim compiler file … … 19173 19742 +let &cpo = s:keepcpo 19174 19743 +unlet s:keepcpo 19744 diff -Naur vim73.orig/runtime/compiler/ocaml.vim vim73/runtime/compiler/ocaml.vim 19745 --- vim73.orig/runtime/compiler/ocaml.vim 1970-01-01 00:00:00.000000000 +0000 19746 +++ vim73/runtime/compiler/ocaml.vim 2013-08-04 19:09:07.747285803 +0000 19747 @@ -0,0 +1,44 @@ 19748 +" Vim Compiler File 19749 +" Compiler: ocaml 19750 +" Maintainer: See ftplugin/ocaml.vim (?) 19751 +" Last Change: June 2013 by Marc Weber 19752 +" 19753 +" Marc Weber's comments: 19754 +" Setting makeprg doesn't make sense, because there is ocamlc, ocamlopt, 19755 +" ocamake and whatnot. So which one to use? 19756 +" 19757 +" This error format was moved from ftplugin/ocaml.vim to this file, 19758 +" because ftplugin is the wrong file to set an error format 19759 +" and the error format itself is annoying because it joins many lines in this 19760 +" error case: 19761 +" 19762 +" Error: The implementation foo.ml does not match the interface foo.cmi: 19763 +" Modules do not match case. 19764 +" 19765 +" So having it here makes people opt-in 19766 + 19767 + 19768 +if exists("current_compiler") 19769 + finish 19770 +endif 19771 +let current_compiler = "ocaml" 19772 + 19773 +let s:cpo_save = &cpo 19774 +set cpo&vim 19775 + 19776 +CompilerSet errorformat = 19777 + \%EFile\ \"%f\"\\,\ line\ %l\\,\ characters\ %c-%*\\d:, 19778 + \%EFile\ \"%f\"\\,\ line\ %l\\,\ character\ %c:%m, 19779 + \%+EReference\ to\ unbound\ regexp\ name\ %m, 19780 + \%Eocamlyacc:\ e\ -\ line\ %l\ of\ \"%f\"\\,\ %m, 19781 + \%Wocamlyacc:\ w\ -\ %m, 19782 + \%-Zmake%.%#, 19783 + \%C%m, 19784 + \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f', 19785 + \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f', 19786 + \%D%*\\a:\ Entering\ directory\ `%f', 19787 + \%X%*\\a:\ Leaving\ directory\ `%f', 19788 + \%DMaking\ %*\\a\ in\ %f 19789 + 19790 +let &cpo = s:cpo_save 19791 +unlet s:cpo_save 19792 diff -Naur vim73.orig/runtime/compiler/rake.vim vim73/runtime/compiler/rake.vim 19793 --- vim73.orig/runtime/compiler/rake.vim 1970-01-01 00:00:00.000000000 +0000 19794 +++ vim73/runtime/compiler/rake.vim 2013-08-04 19:09:07.750619127 +0000 19795 @@ -0,0 +1,35 @@ 19796 +" Vim compiler file 19797 +" Language: Rake 19798 +" Maintainer: Tim Pope <vimNOSPAM@tpope.org> 19799 +" URL: https://github.com/vim-ruby/vim-ruby 19800 +" Release Coordinator: Doug Kearns <dougkearns@gmail.com> 19801 + 19802 +if exists("current_compiler") 19803 + finish 19804 +endif 19805 +let current_compiler = "rake" 19806 + 19807 +if exists(":CompilerSet") != 2 " older Vim always used :setlocal 19808 + command -nargs=* CompilerSet setlocal <args> 19809 +endif 19810 + 19811 +let s:cpo_save = &cpo 19812 +set cpo-=C 19813 + 19814 +CompilerSet makeprg=rake 19815 + 19816 +CompilerSet errorformat= 19817 + \%D(in\ %f), 19818 + \%\\s%#from\ %f:%l:%m, 19819 + \%\\s%#from\ %f:%l:, 19820 + \%\\s%##\ %f:%l:%m, 19821 + \%\\s%##\ %f:%l, 19822 + \%\\s%#[%f:%l:\ %#%m, 19823 + \%\\s%#%f:%l:\ %#%m, 19824 + \%\\s%#%f:%l:, 19825 + \%m\ [%f:%l]: 19826 + 19827 +let &cpo = s:cpo_save 19828 +unlet s:cpo_save 19829 + 19830 +" vim: nowrap sw=2 sts=2 ts=8: 19831 diff -Naur vim73.orig/runtime/compiler/rspec.vim vim73/runtime/compiler/rspec.vim 19832 --- vim73.orig/runtime/compiler/rspec.vim 2010-05-27 20:15:02.000000000 +0000 19833 +++ vim73/runtime/compiler/rspec.vim 2013-08-04 19:09:07.753952450 +0000 19834 @@ -1,9 +1,7 @@ 19835 " Vim compiler file 19836 " Language: RSpec 19837 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> 19838 -" Last Change: 2009 Dec 22 19839 -" URL: http://vim-ruby.rubyforge.org 19840 -" Anon CVS: See above site 19841 +" URL: https://github.com/vim-ruby/vim-ruby 19842 " Release Coordinator: Doug Kearns <dougkearns@gmail.com> 19843 19844 if exists("current_compiler") 19845 @@ -18,21 +16,15 @@ 19846 let s:cpo_save = &cpo 19847 set cpo-=C 19848 19849 -CompilerSet makeprg=spec 19850 +CompilerSet makeprg=rspec 19851 19852 CompilerSet errorformat= 19853 - \%+W'%.%#'\ FAILED, 19854 - \%+I'%.%#'\ FIXED, 19855 - \%-Cexpected:%.%#, 19856 - \%-C\ \ \ \ \ got:%.%#, 19857 + \%f:%l:\ %tarning:\ %m, 19858 \%E%.%#:in\ `load':\ %f:%l:%m, 19859 - \%C%f:%l:, 19860 - \%W%f:%l:\ warning:\ %m, 19861 - \%E%f:%l:in\ %*[^:]:\ %m, 19862 - \%E%f:%l:\ %m, 19863 - \%-Z%\tfrom\ %f:%l, 19864 - \%-Z%p^%.%#, 19865 - \%-C%.%#, 19866 + \%E%f:%l:in\ `%*[^']':\ %m, 19867 + \%-Z\ \ \ \ \ \#\ %f:%l:%.%#, 19868 + \%E\ \ %\\d%\\+)%.%#, 19869 + \%C\ \ \ \ \ %m, 19870 \%-G%.%# 19871 19872 let &cpo = s:cpo_save 19175 19873 diff -Naur vim73.orig/runtime/compiler/rst.vim vim73/runtime/compiler/rst.vim 19176 19874 --- vim73.orig/runtime/compiler/rst.vim 2010-05-15 11:03:29.000000000 +0000 19177 +++ vim73/runtime/compiler/rst.vim 2013-0 6-07 17:07:07.988985861+000019875 +++ vim73/runtime/compiler/rst.vim 2013-08-04 19:09:07.753952450 +0000 19178 19876 @@ -9,7 +9,7 @@ 19179 19877 let current_compiler = "rst" … … 19185 19883 setlocal errorformat= 19186 19884 \%f:%l:\ (%tEBUG/0)\ %m, 19885 diff -Naur vim73.orig/runtime/compiler/ruby.vim vim73/runtime/compiler/ruby.vim 19886 --- vim73.orig/runtime/compiler/ruby.vim 2010-05-27 20:15:39.000000000 +0000 19887 +++ vim73/runtime/compiler/ruby.vim 2013-08-04 19:09:07.753952450 +0000 19888 @@ -1,33 +1,10 @@ 19889 " Vim compiler file 19890 " Language: Ruby 19891 " Function: Syntax check and/or error reporting 19892 -" Maintainer: Tim Hammerquist <timh at rubyforge.org> 19893 -" Last Change: 2008 Aug 1 19894 -" URL: http://vim-ruby.rubyforge.org 19895 -" Anon CVS: See above site 19896 +" Maintainer: Tim Pope <vimNOSPAM@tpope.org> 19897 +" URL: https://github.com/vim-ruby/vim-ruby 19898 " Release Coordinator: Doug Kearns <dougkearns@gmail.com> 19899 " ---------------------------------------------------------------------------- 19900 -" 19901 -" Changelog: 19902 -" 0.2: script saves and restores 'cpoptions' value to prevent problems with 19903 -" line continuations 19904 -" 0.1: initial release 19905 -" 19906 -" Contributors: 19907 -" Hugh Sasse <hgs@dmu.ac.uk> 19908 -" Doug Kearns <djkea2@gus.gscit.monash.edu.au> 19909 -" 19910 -" Todo: 19911 -" match error type %m 19912 -" 19913 -" Comments: 19914 -" I know this file isn't perfect. If you have any questions, suggestions, 19915 -" patches, etc., please don't hesitate to let me know. 19916 -" 19917 -" This is my first experience with 'errorformat' and compiler plugins and 19918 -" I welcome any input from more experienced (or clearer-thinking) 19919 -" individuals. 19920 -" ---------------------------------------------------------------------------- 19921 19922 if exists("current_compiler") 19923 finish 19924 diff -Naur vim73.orig/runtime/compiler/rubyunit.vim vim73/runtime/compiler/rubyunit.vim 19925 --- vim73.orig/runtime/compiler/rubyunit.vim 2010-05-27 20:15:23.000000000 +0000 19926 +++ vim73/runtime/compiler/rubyunit.vim 2013-08-04 19:09:07.757285773 +0000 19927 @@ -1,9 +1,7 @@ 19928 " Vim compiler file 19929 " Language: Test::Unit - Ruby Unit Testing Framework 19930 " Maintainer: Doug Kearns <dougkearns@gmail.com> 19931 -" Last Change: 2008 Aug 1 19932 -" URL: http://vim-ruby.rubyforge.org 19933 -" Anon CVS: See above site 19934 +" URL: https://github.com/vim-ruby/vim-ruby 19935 " Release Coordinator: Doug Kearns <dougkearns@gmail.com> 19936 19937 if exists("current_compiler") 19187 19938 diff -Naur vim73.orig/runtime/compiler/sass.vim vim73/runtime/compiler/sass.vim 19188 19939 --- vim73.orig/runtime/compiler/sass.vim 1970-01-01 00:00:00.000000000 +0000 19189 +++ vim73/runtime/compiler/sass.vim 2013-0 6-07 17:07:08.008985804+000019940 +++ vim73/runtime/compiler/sass.vim 2013-08-04 19:09:07.757285773 +0000 19190 19941 @@ -0,0 +1,30 @@ 19191 19942 +" Vim compiler file … … 19221 19972 diff -Naur vim73.orig/runtime/compiler/tex.vim vim73/runtime/compiler/tex.vim 19222 19973 --- vim73.orig/runtime/compiler/tex.vim 2010-05-15 11:03:29.000000000 +0000 19223 +++ vim73/runtime/compiler/tex.vim 2013-0 6-07 17:07:08.085652252+000019974 +++ vim73/runtime/compiler/tex.vim 2013-08-04 19:09:07.760619097 +0000 19224 19975 @@ -1,11 +1,13 @@ 19225 19976 " Vim compiler file … … 19257 20008 diff -Naur vim73.orig/runtime/compiler/xbuild.vim vim73/runtime/compiler/xbuild.vim 19258 20009 --- vim73.orig/runtime/compiler/xbuild.vim 1970-01-01 00:00:00.000000000 +0000 19259 +++ vim73/runtime/compiler/xbuild.vim 2013-0 6-07 17:07:08.128985461+000020010 +++ vim73/runtime/compiler/xbuild.vim 2013-08-04 19:09:07.763952420 +0000 19260 20011 @@ -0,0 +1,22 @@ 19261 20012 +" Vim compiler file … … 19281 20032 +let &cpo = s:keepcpo 19282 20033 +unlet s:keepcpo 20034 diff -Naur vim73.orig/runtime/compiler/xmllint.vim vim73/runtime/compiler/xmllint.vim 20035 --- vim73.orig/runtime/compiler/xmllint.vim 2010-05-15 11:03:29.000000000 +0000 20036 +++ vim73/runtime/compiler/xmllint.vim 2013-08-04 19:09:07.763952420 +0000 20037 @@ -1,8 +1,7 @@ 20038 " Vim compiler file 20039 " Compiler: xmllint 20040 -" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au> 20041 -" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/xmllint.vim 20042 -" Last Change: 2004 Nov 27 20043 +" Maintainer: Doug Kearns <dougkearns@gmail.com> 20044 +" Last Change: 2013 Jun 1 20045 20046 if exists("current_compiler") 20047 finish 20048 @@ -18,10 +17,8 @@ 20049 20050 CompilerSet makeprg=xmllint\ --valid\ --noout\ 20051 20052 -CompilerSet errorformat=%E%f:%l:\ error:\ %m, 20053 - \%W%f:%l:\ warning:\ %m, 20054 - \%E%f:%l:\ validity\ error:\ %m, 20055 - \%W%f:%l:\ validity\ warning:\ %m, 20056 +CompilerSet errorformat=%+E%f:%l:\ %.%#\ error\ :\ %m, 20057 + \%+W%f:%l:\ %.%#\ warning\ :\ %m, 20058 \%-Z%p^, 20059 \%-G%.%# 20060 19283 20061 diff -Naur vim73.orig/runtime/doc/arabic.txt vim73/runtime/doc/arabic.txt 19284 20062 --- vim73.orig/runtime/doc/arabic.txt 2010-08-15 12:23:19.000000000 +0000 19285 +++ vim73/runtime/doc/arabic.txt 2013-0 6-07 17:07:08.218985204+000020063 +++ vim73/runtime/doc/arabic.txt 2013-08-04 19:09:07.770619066 +0000 19286 20064 @@ -1,4 +1,4 @@ 19287 20065 -*arabic.txt* For Vim version 7.3. Last change: 2005 Mar 29 … … 19301 20079 diff -Naur vim73.orig/runtime/doc/autocmd.txt vim73/runtime/doc/autocmd.txt 19302 20080 --- vim73.orig/runtime/doc/autocmd.txt 2010-08-15 12:23:19.000000000 +0000 19303 +++ vim73/runtime/doc/autocmd.txt 2013-0 6-07 17:07:08.242318471+000020081 +++ vim73/runtime/doc/autocmd.txt 2013-08-04 19:09:07.773952390 +0000 19304 20082 @@ -1,4 +1,4 @@ 19305 20083 -*autocmd.txt* For Vim version 7.3. Last change: 2010 Jul 22 19306 +*autocmd.txt* For Vim version 7.3. Last change: 2013 May 1920084 +*autocmd.txt* For Vim version 7.3. Last change: 2013 Jun 15 19307 20085 19308 20086 … … 19378 20156 CursorHold When the user doesn't press a key for the time 19379 20157 specified with 'updatetime'. Not re-triggered 19380 @@ -502,10 +519,12 @@ 20158 @@ -496,16 +513,18 @@ 20159 CursorHoldI Just like CursorHold, but in Insert mode. 20160 20161 *CursorMoved* 20162 -CursorMoved After the cursor was moved in Normal mode. 20163 - Also when the text of the cursor line has been 20164 - changed, e.g., with "x", "rx" or "p". 20165 +CursorMoved After the cursor was moved in Normal or Visual 20166 + mode. Also when the text of the cursor line 20167 + has been changed, e.g., with "x", "rx" or "p". 19381 20168 Not triggered when there is typeahead or when 19382 20169 an operator is pending. … … 19529 20316 diff -Naur vim73.orig/runtime/doc/change.txt vim73/runtime/doc/change.txt 19530 20317 --- vim73.orig/runtime/doc/change.txt 2010-08-15 12:23:19.000000000 +0000 19531 +++ vim73/runtime/doc/change.txt 2013-0 6-07 17:07:08.275651709+000020318 +++ vim73/runtime/doc/change.txt 2013-08-04 19:09:07.780619036 +0000 19532 20319 @@ -1,4 +1,4 @@ 19533 20320 -*change.txt* For Vim version 7.3. Last change: 2010 Jul 29 … … 19942 20729 diff -Naur vim73.orig/runtime/doc/cmdline.txt vim73/runtime/doc/cmdline.txt 19943 20730 --- vim73.orig/runtime/doc/cmdline.txt 2010-08-15 12:23:19.000000000 +0000 19944 +++ vim73/runtime/doc/cmdline.txt 2013-0 6-07 17:07:08.295651652+000020731 +++ vim73/runtime/doc/cmdline.txt 2013-08-04 19:09:07.783952360 +0000 19945 20732 @@ -1,4 +1,4 @@ 19946 20733 -*cmdline.txt* For Vim version 7.3. Last change: 2010 May 07 … … 20169 20956 diff -Naur vim73.orig/runtime/doc/debug.txt vim73/runtime/doc/debug.txt 20170 20957 --- vim73.orig/runtime/doc/debug.txt 2010-08-15 12:23:20.000000000 +0000 20171 +++ vim73/runtime/doc/debug.txt 2013-0 6-07 17:07:08.328984890 +000020958 +++ vim73/runtime/doc/debug.txt 2013-08-04 19:09:07.783952360 +0000 20172 20959 @@ -1,4 +1,4 @@ 20173 20960 -*debug.txt* For Vim version 7.3. Last change: 2010 Jul 20 … … 20242 21029 diff -Naur vim73.orig/runtime/doc/develop.txt vim73/runtime/doc/develop.txt 20243 21030 --- vim73.orig/runtime/doc/develop.txt 2010-08-15 12:23:20.000000000 +0000 20244 +++ vim73/runtime/doc/develop.txt 2013-0 6-07 17:07:08.365651452+000021031 +++ vim73/runtime/doc/develop.txt 2013-08-04 19:09:07.787285683 +0000 20245 21032 @@ -1,4 +1,4 @@ 20246 21033 -*develop.txt* For Vim version 7.3. Last change: 2008 Dec 17 … … 20277 21064 diff -Naur vim73.orig/runtime/doc/diff.txt vim73/runtime/doc/diff.txt 20278 21065 --- vim73.orig/runtime/doc/diff.txt 2010-08-15 12:23:20.000000000 +0000 20279 +++ vim73/runtime/doc/diff.txt 2013-0 6-07 17:07:08.375651424+000021066 +++ vim73/runtime/doc/diff.txt 2013-08-04 19:09:07.790619006 +0000 20280 21067 @@ -1,4 +1,4 @@ 20281 21068 -*diff.txt* For Vim version 7.3. Last change: 2010 Jul 31 … … 20393 21180 diff -Naur vim73.orig/runtime/doc/digraph.txt vim73/runtime/doc/digraph.txt 20394 21181 --- vim73.orig/runtime/doc/digraph.txt 2010-08-15 12:23:20.000000000 +0000 20395 +++ vim73/runtime/doc/digraph.txt 2013-0 6-07 17:07:08.392318043+000021182 +++ vim73/runtime/doc/digraph.txt 2013-08-04 19:09:07.793952330 +0000 20396 21183 @@ -1,4 +1,4 @@ 20397 21184 -*digraph.txt* For Vim version 7.3. Last change: 2010 Apr 11 … … 21809 22596 diff -Naur vim73.orig/runtime/doc/editing.txt vim73/runtime/doc/editing.txt 21810 22597 --- vim73.orig/runtime/doc/editing.txt 2010-08-15 12:23:20.000000000 +0000 21811 +++ vim73/runtime/doc/editing.txt 2013-0 6-07 17:07:08.435651253 +000022598 +++ vim73/runtime/doc/editing.txt 2013-08-04 19:09:07.797285653 +0000 21812 22599 @@ -1,4 +1,4 @@ 21813 22600 -*editing.txt* For Vim version 7.3. Last change: 2010 Jul 28 … … 21996 22783 diff -Naur vim73.orig/runtime/doc/eval.txt vim73/runtime/doc/eval.txt 21997 22784 --- vim73.orig/runtime/doc/eval.txt 2010-08-15 12:23:20.000000000 +0000 21998 +++ vim73/runtime/doc/eval.txt 2013-0 6-07 17:07:08.518984348+000022785 +++ vim73/runtime/doc/eval.txt 2013-08-04 19:09:07.810618946 +0000 21999 22786 @@ -1,4 +1,4 @@ 22000 22787 -*eval.txt* For Vim version 7.3. Last change: 2010 Aug 15 22001 +*eval.txt* For Vim version 7.3. Last change: 2013 May 2122788 +*eval.txt* For Vim version 7.3. Last change: 2013 Jun 11 22002 22789 22003 22790 … … 22364 23151 List items from {expr} to {max} 22365 23152 readfile( {fname} [, {binary} [, {max}]]) 22366 @@ -1872,6 +1906, 8@@23153 @@ -1872,6 +1906,10 @@ 22367 23154 resolve( {filename}) String get filename a shortcut points to 22368 23155 reverse( {list}) List reverse {list} in-place 22369 23156 round( {expr}) Float round off {expr} 23157 +screenattr( {row}, {col}) Number attribute at screen position 23158 +screenchar( {row}, {col}) Number character at screen position 22370 23159 +screencol() Number current cursor column 22371 23160 +screenrow() Number current cursor row … … 22373 23162 Number search for {pattern} 22374 23163 searchdecl( {name} [, {global} [, {thisblock}]]) 22375 @@ -1898,20 +193 4,23 @@23164 @@ -1898,20 +1936,23 @@ 22376 23165 settabwinvar( {tabnr}, {winnr}, {varname}, {val}) set {varname} in window 22377 23166 {winnr} in tab page {tabnr} to {val} … … 22399 23188 str2nr( {expr} [, {base}]) Number convert String to Number 22400 23189 strchars( {expr}) Number character length of the String {expr} 22401 @@ -1927,13 +196 6,14 @@23190 @@ -1927,13 +1968,14 @@ 22402 23191 Number last index of {needle} in {haystack} 22403 23192 strtrans( {expr}) String translate string to make it printable … … 22415 23204 system( {expr} [, {input}]) String output of shell command/filter {expr} 22416 23205 tabpagebuflist( [{arg}]) List list of buffer numbers in tab page 22417 @@ -1949,13 +19 89,14 @@23206 @@ -1949,13 +1991,14 @@ 22418 23207 toupper( {expr}) String the String {expr} switched to uppercase 22419 23208 tr( {src}, {fromstr}, {tostr}) String translate chars of {src} in {fromstr} … … 22431 23220 wincol() Number window column of the cursor 22432 23221 winheight( {nr}) Number height of window {nr} 22433 @@ -1967,6 +20 08,7 @@23222 @@ -1967,6 +2010,7 @@ 22434 23223 winwidth( {nr}) Number width of window {nr} 22435 23224 writefile( {list}, {fname} [, {binary}]) … … 22439 23228 abs({expr}) *abs()* 22440 23229 Return the absolute value of {expr}. When {expr} evaluates to 22441 @@ -2006,6 +20 48,13 @@23230 @@ -2006,6 +2050,13 @@ 22442 23231 Use |insert()| to add an item at another position. 22443 23232 … … 22453 23242 When {expr} is a |List|: Append each item of the |List| as a 22454 23243 text line below line {lnum} in the current buffer. 22455 @@ -2250,14 +2 299,17 @@23244 @@ -2250,14 +2301,17 @@ 22456 23245 redo it is the number of the redone change. After undo it is 22457 23246 one less than the number of the undone change. … … 22474 23263 cindent({lnum}) *cindent()* 22475 23264 Get the amount of indent for line {lnum} according the C 22476 @@ -2277,7 +23 29,7 @@23265 @@ -2277,7 +2331,7 @@ 22477 23266 position given with {expr}. The accepted positions are: 22478 23267 . the cursor position … … 22483 23272 returned) 22484 23273 Additionally {expr} can be [lnum, col]: a |List| with the line 22485 @@ -2531,6 +258 3,8 @@23274 @@ -2531,6 +2585,8 @@ 22486 23275 which is 0 if the file was deleted successfully, and non-zero 22487 23276 when the deletion failed. … … 22492 23281 *did_filetype()* 22493 23282 did_filetype() Returns non-zero when autocommands are being executed and the 22494 @@ -2708,1 3 +2762,15@@23283 @@ -2708,16 +2764,19 @@ 22495 23284 {only available when compiled with the |+float| feature} 22496 23285 … … 22512 23301 22513 23302 If the expansion fails, the result is an empty string. A name 22514 for a non-existing file is not included. 22515 @@ -2731,6 +2787,7 @@ 23303 - for a non-existing file is not included. 23304 + for a non-existing file is not included, unless {expr} does 23305 + not start with '%', '#' or '<', see below. 23306 23307 When {expr} starts with '%', '#' or '<', the expansion is done 23308 like for the |cmdline-special| variables with their associated 23309 @@ -2731,6 +2790,7 @@ 22516 23310 <abuf> autocmd buffer number (as a String!) 22517 23311 <amatch> autocmd matched name … … 22521 23315 <cWORD> WORD under the cursor 22522 23316 <client> the {clientid} of the last received 22523 @@ -2767,10 +282 4,10 @@23317 @@ -2767,10 +2827,10 @@ 22524 23318 When {expr} does not start with '%', '#' or '<', it is 22525 23319 expanded like a file name is expanded on the command line. … … 22536 23330 < 22537 23331 Expand() can also be used to expand variables and environment 22538 @@ -3043,7 +310 0,7 @@23332 @@ -3043,7 +3103,7 @@ 22539 23333 {name} can be a user defined function or an internal function. 22540 23334 … … 22545 23339 references. There is hardly ever a need to invoke this 22546 23340 function, as it is automatically done when Vim runs out of 22547 @@ -3053,7 +311 0,7 @@23341 @@ -3053,7 +3113,7 @@ 22548 23342 This is useful if you have deleted a very big |List| and/or 22549 23343 |Dictionary| with circular references in a script that runs … … 22554 23348 done before. This is useful when checking for memory leaks. 22555 23349 22556 @@ -3091,7 +31 48,7 @@23350 @@ -3091,7 +3151,7 @@ 22557 23351 Example: > 22558 23352 :let lines = getbufline(bufnr("myfile"), 1, "$") … … 22563 23357 {varname} in buffer {expr}. Note that the name without "b:" 22564 23358 must be used. 22565 @@ -3101,8 +31 58,8 @@23359 @@ -3101,8 +3161,8 @@ 22566 23360 doesn't work for a global variable, window-local variable or 22567 23361 window-local option. … … 22574 23368 :let bufmodified = getbufvar(1, "&mod") 22575 23369 :echo "todo myvar = " . getbufvar("todo", "myvar") 22576 @@ -3129,6 +318 6,8 @@23370 @@ -3129,6 +3189,8 @@ 22577 23371 one-byte character it is the character itself as a number. 22578 23372 Use nr2char() to convert it to a String. … … 22583 23377 returned. The position can then be found in |v:mouse_col|, 22584 23378 |v:mouse_lnum| and |v:mouse_win|. This example positions the 22585 @@ -3167,10 +322 6,11 @@23379 @@ -3167,10 +3229,11 @@ 22586 23380 2 shift 22587 23381 4 control … … 22599 23393 character itself are obtained. Thus Shift-a results in "A" 22600 23394 without a modifier. 22601 @@ -3187,7 +32 47,8 @@23395 @@ -3187,7 +3250,8 @@ 22602 23396 Return the position of the cursor in the command line as a 22603 23397 byte count. The first column is 1. … … 22609 23403 22610 23404 getcmdtype() *getcmdtype()* 22611 @@ -3200,8 +326 1,8 @@23405 @@ -3200,8 +3264,8 @@ 22612 23406 @ |input()| command 22613 23407 - |:insert| or |:append| command … … 22620 23414 22621 23415 *getcwd()* 22622 @@ -3239,8 +330 0,9 @@23416 @@ -3239,8 +3303,9 @@ 22623 23417 "rwx" flags represent, in turn, the permissions of the owner 22624 23418 of the file, the group the file belongs to, and other users. … … 22631 23425 the string "rw-r--r--" or even "rw-------". 22632 23426 22633 @@ -3374,26 +343 6,30 @@23427 @@ -3374,26 +3439,30 @@ 22634 23428 <CTRL-V> is one character with value 0x16. 22635 23429 If {regname} is not specified, |v:register| is used. … … 22667 23461 :let list_is_on = gettabwinvar(1, 2, '&list') 22668 23462 :echo "myvar = " . gettabwinvar(3, 1, 'myvar') 22669 @@ -3408,24 +347 4,31 @@23463 @@ -3408,24 +3477,31 @@ 22670 23464 the top of the GUI Vim window. The result will be -1 if the 22671 23465 information is not available. … … 22707 23501 For most systems backticks can be used to get files names from 22708 23502 any external command. Example: > 22709 @@ -3511,6 +358 4,9 @@23503 @@ -3511,6 +3587,9 @@ 22710 23504 "search" or "/" search pattern history 22711 23505 "expr" or "=" typed expression history … … 22717 23511 shifted to become the newest entry. 22718 23512 The result is a Number: 1 if the operation was successful, 22719 @@ -3694,10 +377 0,10 @@23513 @@ -3694,10 +3773,10 @@ 22720 23514 Like |input()|, but when the GUI is running and text dialogs 22721 23515 are supported, a dialog window pops up to input the text. … … 22732 23526 omitted an empty string is returned. 22733 23527 Hitting <Enter> works like pressing the OK button. Hitting 22734 @@ -3759,6 +383 5,11 @@23528 @@ -3759,6 +3838,11 @@ 22735 23529 Note that when {item} is a |List| it is inserted as a single 22736 23530 item. Use |extend()| to concatenate |Lists|. … … 22744 23538 The result is a Number, which is non-zero when a directory 22745 23539 with the name {directory} exists. If {directory} doesn't 22746 @@ -3897,11 +39 78,12 @@23540 @@ -3897,11 +3981,12 @@ 22747 23541 Return the byte count from the start of the buffer for line 22748 23542 {lnum}. This includes the end-of-line character, depending on … … 22759 23553 disabled at compile time, -1 is returned. 22760 23554 Also see |byte2line()|, |go| and |:goto|. 22761 @@ -3941,6 +402 3,20 @@23555 @@ -3941,6 +4026,20 @@ 22762 23556 < -2.0 22763 23557 {only available when compiled with the |+float| feature} … … 22780 23574 {expr} must be a |List| or a |Dictionary|. 22781 23575 Replace each item in {expr} with the result of evaluating 22782 @@ -3959,30 +405 5,58 @@23576 @@ -3959,30 +4058,58 @@ 22783 23577 22784 23578 The operation is done in-place. If you want a |List| or … … 22847 23641 then the global mappings. 22848 23642 This function can be used to map a key even when it's already 22849 @@ -4031,6 +415 5,7 @@23643 @@ -4031,6 +4158,7 @@ 22850 23644 {pat} matches. 22851 23645 A match at the first character or |List| item returns zero. … … 22855 23649 :echo match("testing", "ing") " results in 4 22856 23650 :echo match([1, 'x'], '\a') " results in 1 22857 @@ -4236,7 +436 1,7 @@23651 @@ -4236,7 +4364,7 @@ 22858 23652 22859 23653 mzeval({expr}) *mzeval()* … … 22864 23658 Pairs (including lists and improper lists) and vectors are 22865 23659 returned as Vim |Lists|. 22866 @@ -4259,14 +438 4,16 @@23660 @@ -4259,14 +4387,16 @@ 22867 23661 below it, zero is returned. 22868 23662 See also |prevnonblank()|. … … 22884 23678 characters. nr2char(0) is a real NUL and terminates the 22885 23679 string, thus results in an empty string. 22886 @@ -4295,6 +442 2,13 @@23680 @@ -4295,6 +4425,13 @@ 22887 23681 call setpos('.', save_cursor) 22888 23682 < Also see |setpos()|. … … 22898 23692 Shorten directory names in the path {expr} and return the 22899 23693 result. The tail, the file name, is kept as-is. The other 22900 @@ -4334,6 +44 68,7 @@23694 @@ -4334,6 +4471,7 @@ 22901 23695 22902 23696 Often used items are: … … 22906 23700 %.9s string truncated to 9 bytes 22907 23701 %c single byte 22908 @@ -4448,6 +458 3,10 @@23702 @@ -4448,6 +4586,10 @@ 22909 23703 s The text of the String argument is used. If a 22910 23704 precision is specified, no more bytes than the number … … 22917 23711 *printf-f* *E807* 22918 23712 f The Float argument is converted into a string of the 22919 @@ -4500,6 +46 39,29 @@23713 @@ -4500,6 +4642,29 @@ 22920 23714 This can be used to avoid some things that would remove the 22921 23715 popup menu. … … 22947 23741 range({expr} [, {max} [, {stride}]]) *range()* 22948 23742 Returns a |List| with Numbers: 22949 @@ -4727,12 +48 89,35@@23743 @@ -4727,12 +4892,50 @@ 22950 23744 echo round(-4.5) 22951 23745 < -5.0 … … 22953 23747 - 22954 23748 - 23749 + 23750 +screenattr(row, col) *screenattr()* 23751 + Like screenchar(), but return the attribute. This is a rather 23752 + arbitrary number that can only be used to compare to the 23753 + attribute at other positions. 23754 + 23755 +screenchar(row, col) *screenchar()* 23756 + The result is a Number, which is the character at position 23757 + [row, col] on the screen. This works for every possible 23758 + screen position, also status lines, window separators and the 23759 + command line. The top left position is row one, column one 23760 + The character excludes composing characters. For double-byte 23761 + encodings it may only be the first byte. 23762 + This is mainly to be used for testing. 23763 + Returns -1 when row or col is out of range. 22955 23764 + 22956 23765 +screencol() *screencol()* … … 22985 23794 'b' search backward instead of forward 22986 23795 'c' accept a match at the cursor position 22987 @@ -4760,15 +49 45,12 @@23796 @@ -4760,15 +4963,12 @@ 22988 23797 A zero value is equal to not giving the argument. 22989 23798 … … 23002 23811 With the 'p' flag the returned value is one more than the 23003 23812 first sub-match in \(\). One if none of them matched but the 23004 @@ -4987,7 +51 69,8 @@23813 @@ -4987,7 +5187,8 @@ 23005 23814 line. 23006 23815 … … 23012 23821 When {lnum} is just below the last line the {text} will be 23013 23822 added as a new line. 23014 @@ -4998,7 +51 81,7 @@23823 @@ -4998,7 +5199,7 @@ 23015 23824 will be set to the items in the list. Example: > 23016 23825 :call setline(5, ['aaa', 'bbb', 'ccc']) … … 23021 23830 :endfor 23022 23831 < Note: The '[ and '] marks are not set. 23023 @@ -5112,8 +5 295,9 @@23832 @@ -5112,8 +5313,9 @@ 23024 23833 23025 23834 If {options} contains no register settings, then the default … … 23033 23842 Examples: > 23034 23843 :call setreg(v:register, @*) 23035 @@ -5136,8 +53 20,6 @@23844 @@ -5136,8 +5338,6 @@ 23036 23845 |t:var| 23037 23846 Note that the variable name without "t:" must be used. … … 23042 23851 23043 23852 settabwinvar({tabnr}, {winnr}, {varname}, {val}) *settabwinvar()* 23044 @@ -5150,8 +53 32,6 @@23853 @@ -5150,8 +5350,6 @@ 23045 23854 doesn't work for a global or local buffer variable. 23046 23855 For a local buffer option the global value is unchanged. … … 23051 23860 :call settabwinvar(1, 1, "&list", 0) 23052 23861 :call settabwinvar(3, 2, "myvar", "foobar") 23053 @@ -5163,6 +53 43,11 @@23862 @@ -5163,6 +5361,11 @@ 23054 23863 :call setwinvar(1, "&list", 0) 23055 23864 :call setwinvar(2, "myvar", "foobar") … … 23063 23872 Escape {string} for use as a shell command argument. 23064 23873 On MS-Windows and MS-DOS, when 'shellslash' is not set, it 23065 @@ -5189,6 +53 74,23 @@23874 @@ -5189,6 +5392,23 @@ 23066 23875 :call system("chmod +w -- " . shellescape(expand("%"))) 23067 23876 … … 23087 23896 Simplify the file name as much as possible without changing 23088 23897 the meaning. Shortcuts (on MS-Windows) or symbolic links (on 23089 @@ -5228,7 +54 30,7 @@23898 @@ -5228,7 +5448,7 @@ 23090 23899 {only available when compiled with the |+float| feature} 23091 23900 … … 23096 23905 want a list to remain unmodified make a copy first: > 23097 23906 :let sortedlist = sort(copy(mylist)) 23098 @@ -5236,6 +54 38,8 @@23907 @@ -5236,6 +5456,8 @@ 23099 23908 Numbers sort after Strings, |Lists| after Numbers. 23100 23909 For sorting text in the current buffer use |:sort|. … … 23105 23914 is called to compare items. The function is invoked with two 23106 23915 items as argument and must return zero if they are equal, 1 or 23107 @@ -5316,7 +55 20,8 @@23916 @@ -5316,7 +5538,8 @@ 23108 23917 empty each white-separated sequence of characters becomes an 23109 23918 item. … … 23115 23924 {keepempty} argument is given and it's non-zero. 23116 23925 Other empty items are kept when {pattern} matches at least one 23117 @@ -5416,8 +56 21,8 @@23926 @@ -5416,8 +5639,8 @@ 23118 23927 {haystack} of the first occurrence of the String {needle}. 23119 23928 If {start} is specified, the search starts at index {start}. … … 23126 23935 For pattern searches use |match()|. 23127 23936 -1 is returned if the {needle} does not occur in {haystack}. 23128 @@ -5507,9 +57 12,11 @@23937 @@ -5507,9 +5730,11 @@ 23129 23938 Also see |strlen()|, |strdisplaywidth()| and |strchars()|. 23130 23939 … … 23141 23950 :s/\d\+/\=submatch(0) + 1/ 23142 23951 < This finds the first number in the line and adds one to it. 23143 @@ -5517,26 +57 24,37 @@23952 @@ -5517,26 +5742,37 @@ 23144 23953 23145 23954 substitute({expr}, {pat}, {sub}, {flags}) *substitute()* … … 23188 23997 The result is a Number, which is the syntax ID at the position 23189 23998 {lnum} and {col} in the current window. 23190 @@ -5558,20 +57 76,6 @@23999 @@ -5558,20 +5794,6 @@ 23191 24000 :echo synIDattr(synID(line("."), col("."), 1), "name") 23192 24001 < … … 23209 24018 The result is a String, which is the {what} attribute of 23210 24019 syntax ID {synID}. This can be used to obtain information 23211 @@ -5612,6 +58 16,20 @@24020 @@ -5612,6 +5834,20 @@ 23212 24021 highlight the character. Highlight links given with 23213 24022 ":highlight link" are followed. … … 23230 24039 Return a |List|, which is the stack of syntax items at the 23231 24040 position {lnum} and {col} in the current window. Each item in 23232 @@ -5674,9 +5 892,9 @@24041 @@ -5674,9 +5910,9 @@ 23233 24042 omitted the current tab page is used. 23234 24043 When {arg} is invalid the number zero is returned. … … 23242 24051 < Note that a buffer may appear in more than one window. 23243 24052 23244 @@ -5737,8 +59 55,9 @@24053 @@ -5737,8 +5973,9 @@ 23245 24054 If there are no matching tags, then an empty list is returned. 23246 24055 … … 23254 24063 Refer to |'tags'| for information about how the tags file is 23255 24064 located by Vim. Refer to |tags-file-format| for the format of 23256 @@ -5839,6 +60 58,8 @@24065 @@ -5839,6 +6076,8 @@ 23257 24066 the undo file exists. 23258 24067 {name} is always expanded to the full path, since that is what … … 23263 24072 When compiled without the +persistent_undo option this always 23264 24073 returns an empty string. 23265 @@ -5898,13 +61 19,13 @@24074 @@ -5898,13 +6137,13 @@ 23266 24075 would be of unlimited width. When there is a <Tab> at the 23267 24076 position, the returned Number will be the column at the end of … … 23279 24088 beyond the end of the line can be returned. |'virtualedit'| 23280 24089 The accepted positions are: 23281 @@ -5947,6 +61 68,18 @@24090 @@ -5947,6 +6186,18 @@ 23282 24091 Dictionary or Float is not a Number or String, thus does not 23283 24092 cause the mode to be cleared. … … 23298 24107 winbufnr({nr}) The result is a Number, which is the number of the buffer 23299 24108 associated with window {nr}. When {nr} is zero, the number of 23300 @@ -5979,8 +62 12,9 @@24109 @@ -5979,8 +6230,9 @@ 23301 24110 winnr([{arg}]) The result is a Number, which is the number of the current 23302 24111 window. The top window has number 1. … … 23310 24119 If there is no previous window or it is in another tab page 0 23311 24120 is returned. 23312 @@ -6056,8 +6 290,16 @@24121 @@ -6056,8 +6308,16 @@ 23313 24122 To copy a file byte for byte: > 23314 24123 :let fl = readfile("foo", "b") … … 23327 24136 There are three types of features: 23328 24137 1. Features that are only supported when they have been enabled when Vim 23329 @@ -6084,6 +63 26,7 @@24138 @@ -6084,6 +6344,7 @@ 23330 24139 beos BeOS version of Vim. 23331 24140 browse Compiled with |:browse| support, and browse() will … … 23335 24144 byte_offset Compiled with support for 'o' in 'statusline' 23336 24145 cindent Compiled with 'cindent' support. 23337 @@ -6093,17 +63 36,17 @@24146 @@ -6093,17 +6354,17 @@ 23338 24147 cmdline_hist Compiled with |cmdline-history| support. 23339 24148 cmdline_info Compiled with 'showcmd' and 'ruler' support. … … 23355 24164 emacs_tags Compiled with support for Emacs tags. 23356 24165 eval Compiled with expression evaluation support. Always 23357 @@ -6126,15 +63 69,15 @@24166 @@ -6126,15 +6387,15 @@ 23358 24167 gettext Compiled with message translation |multi-lang| 23359 24168 gui Compiled with GUI enabled. … … 23373 24182 iconv Can use iconv() for conversion. 23374 24183 insert_expand Compiled with support for CTRL-X expansion commands in 23375 @@ -6156,30 +6 399,32 @@24184 @@ -6156,30 +6417,32 @@ 23376 24185 mksession Compiled with support for |:mksession|. 23377 24186 modify_fname Compiled with file name modifiers. |filename-modifiers| … … 23410 24219 quickfix Compiled with |quickfix| support. 23411 24220 reltime Compiled with |reltime()| support. 23412 @@ -6190,11 +64 35,11 @@24221 @@ -6190,11 +6453,11 @@ 23413 24222 signs Compiled with |:sign| support. 23414 24223 smartindent Compiled with 'smartindent' support. … … 23423 24232 syntax_items There are active syntax highlighting items for the 23424 24233 current buffer. 23425 @@ -6215,9 +64 60,9 @@24234 @@ -6215,9 +6478,9 @@ 23426 24235 toolbar Compiled with support for |gui-toolbar|. 23427 24236 unix Unix version of Vim. … … 23435 24244 visual Compiled with Visual mode. 23436 24245 visualextra Compiled with extra Visual mode commands. 23437 @@ -6226,16 +64 71,18 @@24246 @@ -6226,16 +6489,18 @@ 23438 24247 vreplace Compiled with |gR| and |gr| commands. 23439 24248 wildignore Compiled with 'wildignore' option. … … 23458 24267 xsmp_interact Compiled with interactive X session management support. 23459 24268 xterm_clipboard Compiled with support for xterm clipboard. 23460 @@ -6308,7 +65 55,7 @@24269 @@ -6308,7 +6573,7 @@ 23461 24270 < 23462 24271 See |:verbose-cmd| for more information. … … 23467 24276 Define a new function by the name {name}. The name 23468 24277 must be made of alphanumeric characters and '_', and 23469 @@ -6338,6 +6 585,8 @@24278 @@ -6338,6 +6603,8 @@ 23470 24279 is excluded, ":{range}call" will call the function for 23471 24280 each line in the range, with the cursor on the start … … 23476 24285 When the [abort] argument is added, the function will 23477 24286 abort as soon as an error is detected. 23478 @@ -6569,9 +68 18,9 @@24287 @@ -6569,9 +6836,9 @@ 23479 24288 ============================================================================== 23480 24289 6. Curly braces names *curly-braces-names* … … 23489 24298 23490 24299 When Vim encounters this, it evaluates the expression inside the braces, puts 23491 @@ -6607,6 +68 56,11 @@24300 @@ -6607,6 +6874,11 @@ 23492 24301 23493 24302 This would call the function "my_func_whizz(parameter)". … … 23501 24310 7. Commands *expression-commands* 23502 24311 23503 @@ -6741,7 + 6995,8 @@24312 @@ -6741,7 +7013,8 @@ 23504 24313 :let [{name}, ..., ; {lastname}] -= {expr1} 23505 24314 Like above, but append/add/subtract the value for each … … 23511 24320 variable names may be given. Special names recognized 23512 24321 here: *E738* 23513 @@ -7027,7 +7 282,9 @@24322 @@ -7027,7 +7300,9 @@ 23514 24323 is terminated. 23515 24324 Example: > … … 23524 24333 diff -Naur vim73.orig/runtime/doc/evim-fr.1 vim73/runtime/doc/evim-fr.1 23525 24334 --- vim73.orig/runtime/doc/evim-fr.1 2010-05-15 11:04:00.000000000 +0000 23526 +++ vim73/runtime/doc/evim-fr.1 2013-0 6-07 17:07:08.552317586+000024335 +++ vim73/runtime/doc/evim-fr.1 2013-08-04 19:09:07.813952269 +0000 23527 24336 @@ -1,4 +1,4 @@ 23528 24337 -.TH EVIM 1 "16 février 2002 February 16" … … 23538 24347 diff -Naur vim73.orig/runtime/doc/evim-fr.UTF-8.1 vim73/runtime/doc/evim-fr.UTF-8.1 23539 24348 --- vim73.orig/runtime/doc/evim-fr.UTF-8.1 2010-05-15 11:04:00.000000000 +0000 23540 +++ vim73/runtime/doc/evim-fr.UTF-8.1 2013-0 6-07 17:07:08.558984234+000024349 +++ vim73/runtime/doc/evim-fr.UTF-8.1 2013-08-04 19:09:07.813952269 +0000 23541 24350 @@ -1,4 +1,4 @@ 23542 24351 -.TH EVIM 1 "16 février 2002 February 16" … … 23552 24361 diff -Naur vim73.orig/runtime/doc/filetype.txt vim73/runtime/doc/filetype.txt 23553 24362 --- vim73.orig/runtime/doc/filetype.txt 2010-08-15 12:23:20.000000000 +0000 23554 +++ vim73/runtime/doc/filetype.txt 2013-0 6-07 17:07:08.652317301+000024363 +++ vim73/runtime/doc/filetype.txt 2013-08-04 19:09:07.827285563 +0000 23555 24364 @@ -1,4 +1,4 @@ 23556 24365 -*filetype.txt* For Vim version 7.3. Last change: 2008 Jul 15 … … 23589 24398 diff -Naur vim73.orig/runtime/doc/fold.txt vim73/runtime/doc/fold.txt 23590 24399 --- vim73.orig/runtime/doc/fold.txt 2010-08-15 12:23:20.000000000 +0000 23591 +++ vim73/runtime/doc/fold.txt 2013-0 6-07 17:07:08.665650596+000024400 +++ vim73/runtime/doc/fold.txt 2013-08-04 19:09:07.827285563 +0000 23592 24401 @@ -60,7 +60,7 @@ 23593 24402 The nesting of folds is limited with 'foldnestmax'. … … 23601 24410 diff -Naur vim73.orig/runtime/doc/ft_ada.txt vim73/runtime/doc/ft_ada.txt 23602 24411 --- vim73.orig/runtime/doc/ft_ada.txt 2010-08-15 12:23:20.000000000 +0000 23603 +++ vim73/runtime/doc/ft_ada.txt 2013-0 6-07 17:07:08.678983891+000024412 +++ vim73/runtime/doc/ft_ada.txt 2013-08-04 19:09:07.830618886 +0000 23604 24413 @@ -6,20 +6,20 @@ 23605 24414 ADA *ada.vim* … … 23668 24477 diff -Naur vim73.orig/runtime/doc/ft_sql.txt vim73/runtime/doc/ft_sql.txt 23669 24478 --- vim73.orig/runtime/doc/ft_sql.txt 2010-08-15 12:23:20.000000000 +0000 23670 +++ vim73/runtime/doc/ft_sql.txt 2013-0 6-07 17:07:08.692317187+000024479 +++ vim73/runtime/doc/ft_sql.txt 2013-08-04 19:09:07.830618886 +0000 23671 24480 @@ -1,4 +1,4 @@ 23672 24481 -*ft_sql.txt* For Vim version 7.3. Last change: 2010 Jul 20 … … 23713 24522 diff -Naur vim73.orig/runtime/doc/gui.txt vim73/runtime/doc/gui.txt 23714 24523 --- vim73.orig/runtime/doc/gui.txt 2010-08-15 12:23:20.000000000 +0000 23715 +++ vim73/runtime/doc/gui.txt 2013-0 6-07 17:07:08.705650482+000024524 +++ vim73/runtime/doc/gui.txt 2013-08-04 19:09:07.833952209 +0000 23716 24525 @@ -1,4 +1,4 @@ 23717 24526 -*gui.txt* For Vim version 7.3. Last change: 2010 May 14 23718 +*gui.txt* For Vim version 7.3. Last change: 201 1 Jul 2224527 +*gui.txt* For Vim version 7.3. Last change: 2013 Jun 12 23719 24528 23720 24529 23721 24530 VIM REFERENCE MANUAL by Bram Moolenaar 23722 @@ -147,6 +147,15 @@ 24531 @@ -93,10 +93,16 @@ 24532 terminal version. 24533 24534 Recommended place for your personal GUI initializations: 24535 - Unix $HOME/.gvimrc 24536 - OS/2 $HOME/.gvimrc or $VIM/.gvimrc 24537 - MS-DOS and Win32 $HOME/_gvimrc or $VIM/_gvimrc 24538 - Amiga s:.gvimrc or $VIM/.gvimrc 24539 + Unix $HOME/.gvimrc or $HOME/.vim/gvimrc 24540 + OS/2 $HOME/.gvimrc, $HOME/vimfiles/gvimrc 24541 + or $VIM/.gvimrc 24542 + MS-DOS and Win32 $HOME/_gvimrc, $HOME/vimfiles/gvimrc 24543 + or $VIM/_gvimrc 24544 + Amiga s:.gvimrc, home:.gvimrc, home:vimfiles:gvimrc 24545 + or $VIM/.gvimrc 24546 + 24547 +The personal initialization files are searched in the order specified above 24548 +and only the first one that is found is read. 24549 24550 There are a number of options which only have meaning in the GUI version of 24551 Vim. These are 'guicursor', 'guifont', 'guipty' and 'guioptions'. They are 24552 @@ -147,6 +153,15 @@ 23723 24553 If you are running the X Window System, you can get information about the 23724 24554 window Vim is running in with this command: > … … 23736 24566 ============================================================================== 23737 24567 2. Scrollbars *gui-scrollbars* 23738 @@ -156,26 +1 65,26 @@24568 @@ -156,26 +171,26 @@ 23739 24569 23740 24570 The interface looks like this (with ":set guioptions=mlrb"): … … 23785 24615 diff -Naur vim73.orig/runtime/doc/gui_w16.txt vim73/runtime/doc/gui_w16.txt 23786 24616 --- vim73.orig/runtime/doc/gui_w16.txt 2010-08-15 12:23:20.000000000 +0000 23787 +++ vim73/runtime/doc/gui_w16.txt 2013-0 6-07 17:07:08.715650453 +000024617 +++ vim73/runtime/doc/gui_w16.txt 2013-08-04 19:09:07.837285533 +0000 23788 24618 @@ -16,7 +16,7 @@ 23789 24619 … … 23797 24627 diff -Naur vim73.orig/runtime/doc/gui_w32.txt vim73/runtime/doc/gui_w32.txt 23798 24628 --- vim73.orig/runtime/doc/gui_w32.txt 2010-08-15 12:23:20.000000000 +0000 23799 +++ vim73/runtime/doc/gui_w32.txt 2013-0 6-07 17:07:08.755650339+000024629 +++ vim73/runtime/doc/gui_w32.txt 2013-08-04 19:09:07.837285533 +0000 23800 24630 @@ -1,4 +1,4 @@ 23801 24631 -*gui_w32.txt* For Vim version 7.3. Last change: 2007 Aug 30 … … 23853 24683 diff -Naur vim73.orig/runtime/doc/gui_x11.txt vim73/runtime/doc/gui_x11.txt 23854 24684 --- vim73.orig/runtime/doc/gui_x11.txt 2010-08-15 12:23:20.000000000 +0000 23855 +++ vim73/runtime/doc/gui_x11.txt 2013-0 6-07 17:07:08.765650311+000024685 +++ vim73/runtime/doc/gui_x11.txt 2013-08-04 19:09:07.840618856 +0000 23856 24686 @@ -1,4 +1,4 @@ 23857 24687 -*gui_x11.txt* For Vim version 7.3. Last change: 2010 Jul 20 … … 23871 24701 diff -Naur vim73.orig/runtime/doc/hebrew.txt vim73/runtime/doc/hebrew.txt 23872 24702 --- vim73.orig/runtime/doc/hebrew.txt 2010-08-15 12:23:20.000000000 +0000 23873 +++ vim73/runtime/doc/hebrew.txt 2013-0 6-07 17:07:08.812316844+000024703 +++ vim73/runtime/doc/hebrew.txt 2013-08-04 19:09:07.843952179 +0000 23874 24704 @@ -93,7 +93,7 @@ 23875 24705 This is also the keymap when 'keymap=hebrew' is set. The advantage of … … 23883 24713 diff -Naur vim73.orig/runtime/doc/help.txt vim73/runtime/doc/help.txt 23884 24714 --- vim73.orig/runtime/doc/help.txt 2010-08-15 12:23:20.000000000 +0000 23885 +++ vim73/runtime/doc/help.txt 2013-0 6-07 17:07:08.822316815+000024715 +++ vim73/runtime/doc/help.txt 2013-08-04 19:09:07.843952179 +0000 23886 24716 @@ -1,4 +1,4 @@ 23887 24717 -*help.txt* For Vim version 7.3. Last change: 2010 Jul 20 … … 23910 24740 diff -Naur vim73.orig/runtime/doc/helphelp.txt vim73/runtime/doc/helphelp.txt 23911 24741 --- vim73.orig/runtime/doc/helphelp.txt 2010-08-15 12:23:20.000000000 +0000 23912 +++ vim73/runtime/doc/helphelp.txt 2013-0 6-07 17:07:08.842316758+000024742 +++ vim73/runtime/doc/helphelp.txt 2013-08-04 19:09:07.847285503 +0000 23913 24743 @@ -1,4 +1,4 @@ 23914 24744 -*helphelp.txt* For Vim version 7.3. Last change: 2010 Jul 29 … … 23971 24801 diff -Naur vim73.orig/runtime/doc/if_cscop.txt vim73/runtime/doc/if_cscop.txt 23972 24802 --- vim73.orig/runtime/doc/if_cscop.txt 2010-08-15 12:23:20.000000000 +0000 23973 +++ vim73/runtime/doc/if_cscop.txt 2013-0 6-07 17:07:08.862316701+000024803 +++ vim73/runtime/doc/if_cscop.txt 2013-08-04 19:09:07.850618826 +0000 23974 24804 @@ -1,4 +1,4 @@ 23975 24805 -*if_cscop.txt* For Vim version 7.3. Last change: 2009 Mar 18 … … 24027 24857 diff -Naur vim73.orig/runtime/doc/if_lua.txt vim73/runtime/doc/if_lua.txt 24028 24858 --- vim73.orig/runtime/doc/if_lua.txt 2010-08-15 12:23:20.000000000 +0000 24029 +++ vim73/runtime/doc/if_lua.txt 2013-0 6-07 17:07:08.868983349 +000024859 +++ vim73/runtime/doc/if_lua.txt 2013-08-04 19:09:07.853952149 +0000 24030 24860 @@ -1,4 +1,4 @@ 24031 24861 -*if_lua.txt* For Vim version 7.3. Last change: 2010 Jul 22 … … 24034 24864 24035 24865 VIM REFERENCE MANUAL by Luis Carvalho 24036 @@ -8,8 +8,1 1@@24866 @@ -8,8 +8,12 @@ 24037 24867 24038 24868 1. Commands |lua-commands| … … 24042 24872 +3. List userdata |lua-list| 24043 24873 +4. Dict userdata |lua-dict| 24044 +5. Buffer userdata |lua-buffer| 24045 +6. Window userdata |lua-window| 24046 +7. The luaeval function |lua-luaeval| 24874 +5. Funcref userdata |lua-funcref| 24875 +6. Buffer userdata |lua-buffer| 24876 +7. Window userdata |lua-window| 24877 +8. The luaeval function |lua-luaeval| 24047 24878 24048 24879 {Vi does not have any of these commands} 24049 24880 24050 @@ -56,13 + 59,14 @@24881 @@ -56,13 +60,14 @@ 24051 24882 < 24052 24883 … … 24070 24901 Examples: 24071 24902 > 24072 @@ -88,11 +9 2,9 @@24903 @@ -88,11 +93,9 @@ 24073 24904 All these commands execute a Lua chunk from either the command line (:lua and 24074 24905 :luado) or a file (:luafile) with the given line [range]. Similarly to the Lua … … 24085 24916 Lua uses the "vim" module (see |lua-vim|) to issue commands to Vim 24086 24917 and manage buffers (|lua-buffer|) and windows (|lua-window|). However, 24087 @@ -108,9 +11 0,9@@24918 @@ -108,9 +111,31 @@ 24088 24919 module also includes routines for buffer, window, and current line queries, 24089 24920 Vim evaluation and command execution, and others. … … 24092 24923 - "value" is a buffer userdata and 'false' 24093 24924 - otherwise (see |lua-buffer|). 24094 + vim.list() Returns an empty list (see |List|). 24095 + 24096 + vim.dict() Returns an empty dictionary (see |Dictionary|). 24925 + vim.list([arg]) Returns an empty list or, if "arg" is a Lua 24926 + table with numeric keys 1, ..., n (a 24927 + "sequence"), returns a list l such that l[i] = 24928 + arg[i] for i = 1, ..., n (see |List|). 24929 + Non-numeric keys are not used to initialize 24930 + the list. See also |lua-eval| for conversion 24931 + rules. Example: > 24932 + :lua t = {math.pi, false, say = 'hi'} 24933 + :echo luaeval('vim.list(t)') 24934 + :" [3.141593, 0], 'say' is ignored 24935 +< 24936 + vim.dict([arg]) Returns an empty dictionary or, if "arg" is a 24937 + Lua table, returns a dict d such that d[k] = 24938 + arg[k] for all string keys k in "arg" (see 24939 + |Dictionary|). Number keys are converted to 24940 + strings. Keys that are not strings are not 24941 + used to initialize the dictionary. See also 24942 + |lua-eval| for conversion rules. Example: > 24943 + :lua t = {math.pi, false, say = 'hi'} 24944 + :echo luaeval('vim.dict(t)') 24945 + :" {'say': 'hi'}, numeric keys ignored 24946 +< 24947 + vim.funcref({name}) Returns a Funcref to function {name} (see 24948 + |Funcref|). It is equivalent to Vim's 24949 + "function". 24097 24950 24098 24951 vim.buffer([arg]) If "arg" is a number, returns buffer with 24099 24952 number "arg" in the buffer list or, if "arg" 24100 @@ -121,16 +1 23,21 @@24953 @@ -121,16 +146,21 @@ 24101 24954 'true' returns the first buffer in the buffer 24102 24955 list or else the current buffer. … … 24114 24967 + vim.type({arg}) Returns the type of {arg}. It is equivalent to 24115 24968 + Lua's "type" function, but returns "list", 24116 + "dict", " buffer", or "window" if {arg} is a24117 + list, dictionary, buffer, or window,24118 + respectively. Examples: >24969 + "dict", "funcref", "buffer", or "window" if 24970 + {arg} is a list, dictionary, funcref, buffer, 24971 + or window, respectively. Examples: > 24119 24972 + :lua l = vim.list() 24120 24973 + :lua print(type(l), vim.type(l)) … … 24124 24977 Examples: > 24125 24978 :lua vim.command"set tw=60" 24126 @@ -141,7 +1 48,7 @@24979 @@ -141,7 +171,7 @@ 24127 24980 Vim strings and numbers are directly converted 24128 24981 to Lua strings and numbers respectively. Vim … … 24133 24986 :lua tw = vim.eval"&tw" 24134 24987 :lua print(vim.eval"{'a': 'one'}".a) 24135 @@ -157,7 +1 64,72@@24988 @@ -157,7 +187,105 @@ 24136 24989 24137 24990 … … 24203 25056 + 24204 25057 +============================================================================== 24205 +5. Buffer userdata *lua-buffer* 25058 +5. Funcref userdata *lua-funcref* 25059 + 25060 +Funcref userdata represent funcref variables in Vim. Funcrefs that were 25061 +defined with a "dict" attribute need to be obtained as a dictionary key 25062 +in order to have "self" properly assigned to the dictionary (see examples 25063 +below.) A funcref "f" has the following properties: 25064 + 25065 +Properties 25066 +---------- 25067 + o "#f" is the name of the function referenced by "f" 25068 + o "f(...)" calls the function referenced by "f" (with arguments) 25069 + 25070 +Examples: 25071 +> 25072 + :function I(x) 25073 + : return a:x 25074 + : endfunction 25075 + :let R = function('I') 25076 + :lua i1 = vim.funcref('I') 25077 + :lua i2 = vim.eval('R') 25078 + :lua print(#i1, #i2) -- both 'I' 25079 + :lua print(i1, i2, #i2(i1) == #i1(i2)) 25080 + :function Mylen() dict 25081 + : return len(self.data) 25082 + : endfunction 25083 + :let mydict = {'data': [0, 1, 2, 3]} 25084 + :lua d = vim.eval('mydict'); d.len = vim.funcref('Mylen') 25085 + :echo mydict.len() 25086 + :lua l = d.len -- assign d as 'self' 25087 + :lua print(l()) 25088 +< 25089 + 25090 +============================================================================== 25091 +6. Buffer userdata *lua-buffer* 24206 25092 24207 25093 Buffer userdata represent vim buffers. A buffer userdata "b" has the following 24208 25094 properties and methods: 24209 @@ -209,7 + 281,7 @@25095 @@ -209,7 +337,7 @@ 24210 25096 < 24211 25097 24212 25098 ============================================================================== 24213 25099 -4. Window userdata *lua-window* 24214 + 6. Window userdata *lua-window*25100 +7. Window userdata *lua-window* 24215 25101 24216 25102 Window objects represent vim windows. A window userdata "w" has the following 24217 25103 properties and methods: 24218 @@ -241,4 +3 13,29@@25104 @@ -241,4 +369,35 @@ 24219 25105 < 24220 25106 24221 25107 ============================================================================== 24222 25108 - vim:tw=78:ts=8:ft=help:norl: 24223 + 7. The luaeval function *lua-luaeval* *lua-eval*25109 +8. The luaeval function *lua-luaeval* *lua-eval* 24224 25110 + 24225 25111 +The (dual) equivalent of "vim.eval" for passing Lua values to Vim is … … 24233 25119 + end 24234 25120 +< 24235 +Note that "_A" receives the argument to "luaeval". Examples: > 25121 +Note that "_A" receives the argument to "luaeval". Lua numbers, strings, and 25122 +list, dict, and funcref userdata are converted to their Vim respective types, 25123 +while Lua booleans are converted to numbers. An error is thrown if conversion 25124 +of any of the remaining Lua types, including userdata other than lists, dicts, 25125 +and funcrefs, is attempted. 25126 + 25127 +Examples: > 24236 25128 + 24237 25129 + :echo luaeval('math.pi') … … 24249 25141 diff -Naur vim73.orig/runtime/doc/if_mzsch.txt vim73/runtime/doc/if_mzsch.txt 24250 25142 --- vim73.orig/runtime/doc/if_mzsch.txt 2010-08-15 12:23:20.000000000 +0000 24251 +++ vim73/runtime/doc/if_mzsch.txt 2013-0 6-07 17:07:08.878983320+000025143 +++ vim73/runtime/doc/if_mzsch.txt 2013-08-04 19:09:07.853952149 +0000 24252 25144 @@ -1,4 +1,4 @@ 24253 25145 -*if_mzsch.txt* For Vim version 7.3. Last change: 2010 Feb 11 … … 24328 25220 diff -Naur vim73.orig/runtime/doc/if_perl.txt vim73/runtime/doc/if_perl.txt 24329 25221 --- vim73.orig/runtime/doc/if_perl.txt 2010-08-15 12:23:20.000000000 +0000 24330 +++ vim73/runtime/doc/if_perl.txt 2013-0 6-07 17:07:08.902316587+000025222 +++ vim73/runtime/doc/if_perl.txt 2013-08-04 19:09:07.857285472 +0000 24331 25223 @@ -1,4 +1,4 @@ 24332 25224 -*if_perl.txt* For Vim version 7.3. Last change: 2010 Jul 21 … … 24368 25260 diff -Naur vim73.orig/runtime/doc/if_pyth.txt vim73/runtime/doc/if_pyth.txt 24369 25261 --- vim73.orig/runtime/doc/if_pyth.txt 2010-08-15 12:23:20.000000000 +0000 24370 +++ vim73/runtime/doc/if_pyth.txt 2013-0 6-07 17:07:08.912316559+000025262 +++ vim73/runtime/doc/if_pyth.txt 2013-08-04 19:09:07.860618796 +0000 24371 25263 @@ -1,4 +1,4 @@ 24372 25264 -*if_pyth.txt* For Vim version 7.3. Last change: 2010 Aug 13 24373 +*if_pyth.txt* For Vim version 7.3. Last change: 2013 Jun 0225265 +*if_pyth.txt* For Vim version 7.3. Last change: 2013 Jun 28 24374 25266 24375 25267 … … 24438 25330 :[range]pyf[ile] {file} 24439 25331 Execute the Python script in {file}. The whole 24440 @@ -150,7 +171,2 1@@25332 @@ -150,7 +171,27 @@ 24441 25333 [{'cmd': '/^eval_expr(arg, nextcmd)$/', 'static': 0, 'name': 24442 25334 'eval_expr', 'kind': 'f', 'filename': './src/eval.c'}] … … 24451 25343 + Like |strwidth()|: returns number of display cells str occupies, tab 24452 25344 + is counted as one cell. 25345 + 25346 +vim.foreach_rtp(callable) *python-foreach_rtp* 25347 + Call the given callable for each path in 'runtimepath' until either 25348 + callable returns something but None, the exception is raised or there 25349 + are no longer paths. If stopped in case callable returned non-None, 25350 + vim.foreach_rtp function returns the value returned by callable. 24453 25351 + 24454 25352 +vim.chdir(*args, **kwargs) *python-chdir* … … 24461 25359 Error object of the "vim" module 24462 25360 24463 @@ -170,12 +2 05,12 @@25361 @@ -170,12 +211,12 @@ 24464 25362 to which the variables referred. 24465 25363 … … 24476 25374 vim.windows *python-windows* 24477 25375 A sequence object providing access to the list of vim windows. The 24478 @@ -184,13 +2 19,28 @@25376 @@ -184,13 +225,28 @@ 24479 25377 :py w in vim.windows # Membership test 24480 25378 :py n = len(vim.windows) # Number of elements … … 24507 25405 24508 25406 The last case deserves a little explanation. When the :python or 24509 @@ -198,6 +2 48,42 @@25407 @@ -198,6 +254,42 @@ 24510 25408 "current range". A range is a bit like a buffer, but with all access 24511 25409 restricted to a subset of lines. See |python-range| for more details. … … 24550 25448 Output from Python *python-output* 24551 25449 Vim displays all Python code output in the Vim message area. Normal 24552 @@ -222,8 +308,9 @@ 25450 @@ -214,6 +306,88 @@ 25451 supported, and may cause the program to crash. This should probably be 25452 fixed. 25453 25454 + *python2-directory* *python3-directory* *pythonx-directory* 25455 +Python 'runtimepath' handling *python-special-path* 25456 + 25457 +In python vim.VIM_SPECIAL_PATH special directory is used as a replacement for 25458 +the list of paths found in 'runtimepath': with this directory in sys.path and 25459 +vim.path_hooks in sys.path_hooks python will try to load module from 25460 +{rtp}/python2 (or python3) and {rtp}/pythonx (for both python versions) for 25461 +each {rtp} found in 'runtimepath'. 25462 + 25463 +Implementation is similar to the following, but written in C: > 25464 + 25465 + from imp import find_module, load_module 25466 + import vim 25467 + import sys 25468 + 25469 + class VimModuleLoader(object): 25470 + def __init__(self, module): 25471 + self.module = module 25472 + 25473 + def load_module(self, fullname, path=None): 25474 + return self.module 25475 + 25476 + def _find_module(fullname, oldtail, path): 25477 + idx = oldtail.find('.') 25478 + if idx > 0: 25479 + name = oldtail[:idx] 25480 + tail = oldtail[idx+1:] 25481 + fmr = find_module(name, path) 25482 + module = load_module(fullname[:-len(oldtail)] + name, *fmr) 25483 + return _find_module(fullname, tail, module.__path__) 25484 + else: 25485 + fmr = find_module(fullname, path) 25486 + return load_module(fullname, *fmr) 25487 + 25488 + # It uses vim module itself in place of VimPathFinder class: it does not 25489 + # matter for python which object has find_module function attached to as 25490 + # an attribute. 25491 + class VimPathFinder(object): 25492 + @classmethod 25493 + def find_module(cls, fullname, path=None): 25494 + try: 25495 + return VimModuleLoader(_find_module(fullname, fullname, path or vim._get_paths())) 25496 + except ImportError: 25497 + return None 25498 + 25499 + @classmethod 25500 + def load_module(cls, fullname, path=None): 25501 + return _find_module(fullname, fullname, path or vim._get_paths()) 25502 + 25503 + def hook(path): 25504 + if path == vim.VIM_SPECIAL_PATH: 25505 + return VimPathFinder 25506 + else: 25507 + raise ImportError 25508 + 25509 + sys.path_hooks.append(hook) 25510 + 25511 +vim.VIM_SPECIAL_PATH *python-VIM_SPECIAL_PATH* 25512 + String constant used in conjunction with vim path hook. If path hook 25513 + installed by vim is requested to handle anything but path equal to 25514 + vim.VIM_SPECIAL_PATH constant it raises ImportError. In the only other 25515 + case it uses special loader. 25516 + 25517 + Note: you must not use value of this constant directly, always use 25518 + vim.VIM_SPECIAL_PATH object. 25519 + 25520 +vim.find_module(...) *python-find_module* 25521 +vim.path_hook(path) *python-path_hook* 25522 + Methods or objects used to implement path loading as described above. 25523 + You should not be using any of these directly except for vim.path_hook 25524 + in case you need to do something with sys.meta_path. It is not 25525 + guaranteed that any of the objects will exist in the future vim 25526 + versions. 25527 + 25528 +vim._get_paths *python-_get_paths* 25529 + Methods returning a list of paths which will be searched for by path 25530 + hook. You should not rely on this method being present in future 25531 + versions, but can use it for debugging. 25532 + 25533 + It returns a list of {rtp}/python2 (or {rtp}/python3) and 25534 + {rtp}/pythonx directories for each {rtp} in 'runtimepath'. 25535 + 25536 ============================================================================== 25537 3. Buffer objects *python-buffer* 25538 25539 @@ -222,8 +396,9 @@ 24553 25540 - from indexing vim.buffers (|python-buffers|) 24554 25541 - from the "buffer" attribute of a window (|python-window|) … … 24562 25549 You can also treat buffer objects as sequence objects. In this context, they 24563 25550 act as if they were lists (yes, they are mutable) of strings, with each 24564 @@ -238,6 + 325,24 @@25551 @@ -238,6 +413,24 @@ 24565 25552 line numbers, which start from 1. This is particularly relevant when dealing 24566 25553 with marks (see below) which use vim line numbers. … … 24587 25574 b.append(str) Append a line to the buffer 24588 25575 b.append(str, nr) Idem, below line "nr" 24589 @@ -256,6 + 361,8 @@25576 @@ -256,6 +449,8 @@ 24590 25577 A trailing '\n' is allowed and ignored, so that you can do: > 24591 25578 :py b.append(f.readlines()) … … 24596 25583 :py print b.name # write the buffer file name 24597 25584 :py b[0] = "hello!!!" # replace the top line 24598 @@ -267,6 + 374,9 @@25585 @@ -267,6 +462,9 @@ 24599 25586 :py n = len(b) # number of lines 24600 25587 :py (row,col) = b.mark('a') # named mark … … 24606 25593 ============================================================================== 24607 25594 4. Range objects *python-range* 24608 @@ -294,6 +4 04,8 @@25595 @@ -294,6 +492,8 @@ 24609 25596 for Python's built-in list objects. 24610 25597 r.append(list, nr) Idem, after line "nr" … … 24615 25602 # Send all lines in a range to the default printer 24616 25603 vim.command("%d,%dhardcopy!" % (r.start+1,r.end+1)) 24617 @@ -304,6 + 416,8 @@25604 @@ -304,6 +504,8 @@ 24618 25605 Window objects represent vim windows. You can obtain them in a number of ways: 24619 25606 - via vim.current.window (|python-current|) … … 24624 25611 You can manipulate window objects only through their attributes. They have no 24625 25612 methods, and no sequence or other interface. 24626 @@ -314,11 + 428,167 @@25613 @@ -314,11 +516,167 @@ 24627 25614 This is a tuple, (row,col). 24628 25615 height (read-write) The window height, in rows … … 24654 25641 +Window object type is available using "Window" attribute of vim module. 24655 25642 + 24656 +============================================================================== 25643 ============================================================================== 25644 -6. Dynamic loading *python-dynamic* 24657 25645 +6. Tab page objects *python-tabpage* 24658 25646 + … … 24787 25775 +functions to evaluate Python expressions and pass their values to VimL. 24788 25776 + 24789 ============================================================================== 24790 -6. Dynamic loading *python-dynamic* 25777 +============================================================================== 24791 25778 +9. Dynamic loading *python-dynamic* 24792 25779 24793 25780 On MS-Windows the Python library can be loaded dynamically. The |:version| 24794 25781 output then includes |+python/dyn|. 24795 @@ -335,12 +6 05,17 @@25782 @@ -335,12 +693,17 @@ 24796 25783 sure edit "gvim.exe" and search for "python\d*.dll\c". 24797 25784 … … 24815 25802 Vim can be built in four ways (:version output): 24816 25803 1. No Python support (-python, -python3) 24817 @@ -355,7 + 630,7 @@25804 @@ -355,7 +718,7 @@ 24818 25805 When doing this on Linux/Unix systems and importing global symbols, this leads 24819 25806 to a crash when the second Python version is used. So either global symbols … … 24824 25811 *E836* *E837* 24825 25812 Vim's configuration script makes a guess for all libraries based on one 24826 @@ -377,6 + 652,18@@25813 @@ -377,6 +740,23 @@ 24827 25814 3. You undefine PY_NO_RTLD_GLOBAL in auto/config.h after configuration. This 24828 25815 may crash Vim though. 24829 25816 25817 + *E880* 25818 +Raising SystemExit exception in python isn't endorsed way to quit vim, use: > 25819 + :py vim.command("qall!") 25820 +< 25821 + 24830 25822 + *has-python* 24831 25823 +You can test what Python version is available with: > … … 24845 25837 diff -Naur vim73.orig/runtime/doc/if_ruby.txt vim73/runtime/doc/if_ruby.txt 24846 25838 --- vim73.orig/runtime/doc/if_ruby.txt 2010-08-15 12:23:20.000000000 +0000 24847 +++ vim73/runtime/doc/if_ruby.txt 2013-0 6-07 17:07:08.922316530+000025839 +++ vim73/runtime/doc/if_ruby.txt 2013-08-04 19:09:07.863952119 +0000 24848 25840 @@ -1,4 +1,4 @@ 24849 25841 -*if_ruby.txt* For Vim version 7.3. Last change: 2010 Jul 20 … … 24891 25883 diff -Naur vim73.orig/runtime/doc/if_tcl.txt vim73/runtime/doc/if_tcl.txt 24892 25884 --- vim73.orig/runtime/doc/if_tcl.txt 2010-08-15 12:23:20.000000000 +0000 24893 +++ vim73/runtime/doc/if_tcl.txt 2013-0 6-07 17:07:08.952316444+000025885 +++ vim73/runtime/doc/if_tcl.txt 2013-08-04 19:09:07.867285442 +0000 24894 25886 @@ -1,4 +1,4 @@ 24895 25887 -*if_tcl.txt* For Vim version 7.3. Last change: 2008 Aug 16 … … 24911 25903 diff -Naur vim73.orig/runtime/doc/indent.txt vim73/runtime/doc/indent.txt 24912 25904 --- vim73.orig/runtime/doc/indent.txt 2010-08-15 12:23:20.000000000 +0000 24913 +++ vim73/runtime/doc/indent.txt 2013-0 6-07 17:07:08.968983063+000025905 +++ vim73/runtime/doc/indent.txt 2013-08-04 19:09:07.867285442 +0000 24914 25906 @@ -1,4 +1,4 @@ 24915 25907 -*indent.txt* For Vim version 7.3. Last change: 2010 Jul 30 24916 +*indent.txt* For Vim version 7.3. Last change: 2013 May 2025908 +*indent.txt* For Vim version 7.3. Last change: 2013 Jun 13 24917 25909 24918 25910 … … 25383 26375 Do loops ~ 25384 26376 All do loops are left unindented by default. Do loops can be unstructured in 25385 @@ -537,6 +714, 20@@26377 @@ -537,6 +714,64 @@ 25386 26378 to get do loops indented in .f90 files and left alone in Fortran files with 25387 26379 other extensions such as .for. … … 25401 26393 + let b:fortran_indent_less=1 25402 26394 + 26395 + 26396 +HTML *ft-html-indent* *html-indent* *html-indenting* 26397 + 26398 +This is about variables you can set in your vimrc to customize HTML indenting. 26399 + 26400 +You can set the indent for the first line after <script> and <style> 26401 +"blocktags" (default "zero"): > 26402 + 26403 + :let g:html_indent_script1 = "inc" 26404 + :let g:html_indent_style1 = "inc" 26405 +< 26406 + VALUE MEANING ~ 26407 + "zero" zero indent 26408 + "auto" auto indent (same indent as the blocktag) 26409 + "inc" auto indent + one indent step 26410 + 26411 +Many tags increase the indent for what follows per default (see "Add Indent 26412 +Tags" in the script). You can add further tags with: > 26413 + 26414 + :let g:html_indent_inctags = "html,body,head,tbody" 26415 + 26416 +You can also remove such tags with: > 26417 + 26418 + :let g:html_indent_autotags = "th,td,tr,tfoot,thead" 26419 + 26420 +Default value is empty for both variables. Note: the initial "inctags" are 26421 +only defined once per Vim session. 26422 + 26423 +User variables are only read when the script is sourced. To enable your 26424 +changes during a session, without reloading the HTML file, you can manually 26425 +do: > 26426 + 26427 + :call HtmlIndent_CheckUserSettings() 26428 + 26429 +Detail: 26430 + Calculation of indent inside "blocktags" with "alien" content: 26431 + BLOCKTAG INDENT EXPR WHEN APPLICABLE ~ 26432 + <script> : {customizable} if first line of block 26433 + : cindent(v:lnum) if attributes empty or contain "java" 26434 + : -1 else (vbscript, tcl, ...) 26435 + <style> : {customizable} if first line of block 26436 + : GetCSSIndent() else 26437 + <!-- --> : -1 26438 + 25403 26439 25404 26440 PHP *ft-php-indent* *php-indent* *php-indenting* 25405 26441 25406 @@ -549,12 +7 40,12 @@26442 @@ -549,12 +784,12 @@ 25407 26443 :%s /\r$//g 25408 26444 … … 25419 26455 *php-comment* 25420 26456 To not enable auto-formating of comments by default (if you want to use your 25421 @@ -562,10 +7 53,21 @@26457 @@ -562,10 +797,21 @@ 25422 26458 :let g:PHP_autoformatcomment = 0 25423 26459 … … 25425 26461 -added, see|fo-table|for more information. 25426 26462 +added, see |fo-table| for more information. 25427 +------------- 25428 + 26463 ------------- 26464 26465 -To add an extra indent to every PHP lines with N being the number of 25429 26466 +To add extra indentation to single-line comments: > 25430 26467 + :let g:PHP_outdentSLComments = N … … 25436 26473 + // Comment 25437 26474 + /* Comment */ 25438 ------------- 25439 25440 -To add an extra indent to every PHP lines with N being the number of 26475 +------------- 26476 + 25441 26477 +To add extra indentation to every PHP lines with N being the number of 25442 26478 'shiftwidth' to add: > 25443 26479 :let g:PHP_default_indenting = N 25444 26480 25445 @@ -581,7 + 783,7 @@26481 @@ -581,7 +827,7 @@ 25446 26482 25447 26483 $command_hist = TRUE; … … 25452 26488 25453 26489 To indent PHP tags as the surrounding code: > 25454 @@ -613,8 +8 15,10 @@26490 @@ -613,8 +859,10 @@ 25455 26491 To indent 'case:' and 'default:' statements in switch() blocks: > 25456 26492 :let g:PHP_vintage_case_default_indent = 1 … … 25465 26501 25466 26502 PYTHON *ft-python-indent* 25467 @@ -631,6 +8 35,43 @@26503 @@ -631,6 +879,43 @@ 25468 26504 let g:pyindent_continue = '&sw * 2' 25469 26505 … … 25511 26547 diff -Naur vim73.orig/runtime/doc/index.txt vim73/runtime/doc/index.txt 25512 26548 --- vim73.orig/runtime/doc/index.txt 2010-08-15 12:23:20.000000000 +0000 25513 +++ vim73/runtime/doc/index.txt 2013-0 6-07 17:07:08.978983035+000026549 +++ vim73/runtime/doc/index.txt 2013-08-04 19:09:07.873952089 +0000 25514 26550 @@ -1,4 +1,4 @@ 25515 26551 -*index.txt* For Vim version 7.3. Last change: 2010 Jul 21 25516 +*index.txt* For Vim version 7.3. Last change: 2013 Jun 0626552 +*index.txt* For Vim version 7.3. Last change: 2013 Jun 21 25517 26553 25518 26554 … … 25625 26661 |gv| gv reselect the previous Visual area 25626 26662 |gw| gw{motion} 2 format Nmove text and keep cursor 25627 @@ -951,11 +958,13 @@ 26663 @@ -794,6 +801,10 @@ 26664 |zE| zE eliminate all folds 26665 |zF| zF create a fold for N lines 26666 |zG| zG mark word as good spelled word 26667 +|zH| zH when 'wrap' off scroll half a screenwidth 26668 + to the right 26669 +|zL| zL when 'wrap' off scroll half a screenwidth 26670 + to the left 26671 |zM| zM set 'foldlevel' to zero 26672 |zN| zN set 'foldenable' 26673 |zO| zO open folds recursively 26674 @@ -951,11 +962,13 @@ 25628 26675 "Completion" below refers to context-sensitive completion. It will complete 25629 26676 file names, tags, commands etc. as appropriate. … … 25640 26687 front of the cursor 25641 26688 |c_CTRL-E| CTRL-E cursor to end of command-line 25642 @@ -1004,8 +101 3,8 @@26689 @@ -1004,8 +1017,8 @@ 25643 26690 CTRL-Z not used (reserved for suspend) 25644 26691 |c_<Esc>| <Esc> abandon command-line without executing it … … 25651 26698 CTRL-\ a - d reserved for extensions 25652 26699 |c_CTRL-\_e| CTRL-\ e {expr} replace the command line with the result of 25653 @@ -1046,6 +105 5,8 @@26700 @@ -1046,6 +1059,8 @@ 25654 26701 mentioning any arguments. The optional part of the command name is inside []. 25655 26702 The commands are sorted on the non-optional part of their name. … … 25660 26707 |:!!| :!! repeat last ":!" command 25661 26708 |:#| :# same as ":number" 25662 @@ -1125,7 +11 36,7 @@26709 @@ -1125,7 +1140,7 @@ 25663 26710 |:cgetbuffer| :cgetb[uffer] get errors from buffer 25664 26711 |:cgetexpr| :cgete[xpr] get errors from expr … … 25669 26716 |:checkpath| :che[ckpath] list included files 25670 26717 |:checktime| :checkt[ime] check timestamp of loaded buffers 25671 @@ -1256,7 +12 67,7 @@26718 @@ -1256,7 +1271,7 @@ 25672 26719 |:k| :k set a mark 25673 26720 |:keepalt| :keepa[lt] following command keeps the alternate file … … 25678 26725 |:lNfile| :lNf[ile] go to last entry in previous file 25679 26726 |:list| :l[ist] print lines 25680 @@ -1374,7 +138 5,7 @@26727 @@ -1374,7 +1389,7 @@ 25681 26728 |:promptrepl| :promptr[epl] open GUI dialog for search/replace 25682 26729 |:perldo| :perld[o] execute Perl command for each line … … 25687 26734 |:preserve| :pre[serve] write all text to swap file 25688 26735 |:previous| :prev[ious] go to previous file in argument list 25689 @@ -1392,8 +140 3,10 @@26736 @@ -1392,8 +1407,10 @@ 25690 26737 |:pwd| :pw[d] print current directory 25691 26738 |:py3| :py3 execute Python 3 command … … 25698 26745 |:quit| :q[uit] quit current window (when one window quit Vim) 25699 26746 |:quitall| :quita[ll] quit Vim 25700 @@ -1460,7 +147 3,7 @@26747 @@ -1460,7 +1477,7 @@ 25701 26748 |:slast| :sla[st] split window and go to last file in the 25702 26749 argument list … … 25707 26754 |:smenu| :sme[nu] add menu for Select mode 25708 26755 |:snext| :sn[ext] split window and go to next file in the 25709 @@ -1497,6 +151 0,7 @@26756 @@ -1497,6 +1514,7 @@ 25710 26757 |:sview| :sv[iew] split window and edit file read-only 25711 26758 |:swapname| :sw[apname] show the name of the current swap file … … 25717 26764 diff -Naur vim73.orig/runtime/doc/insert.txt vim73/runtime/doc/insert.txt 25718 26765 --- vim73.orig/runtime/doc/insert.txt 2010-08-15 12:23:20.000000000 +0000 25719 +++ vim73/runtime/doc/insert.txt 2013-0 6-07 17:07:09.012316273+000026766 +++ vim73/runtime/doc/insert.txt 2013-08-04 19:09:07.877285412 +0000 25720 26767 @@ -1,4 +1,4 @@ 25721 26768 -*insert.txt* For Vim version 7.3. Last change: 2010 Jul 29 25722 +*insert.txt* For Vim version 7.3. Last change: 2013 Apr 1226769 +*insert.txt* For Vim version 7.3. Last change: 2013 Jul 04 25723 26770 25724 26771 25725 26772 VIM REFERENCE MANUAL by Bram Moolenaar 25726 @@ -380,7 +380,16 @@ 26773 @@ -136,6 +136,8 @@ 26774 too. 26775 When the result is a Float it's automatically 26776 converted to a String. 26777 + When append() or setline() is invoked the undo 26778 + sequence will be broken. 26779 See |registers| about registers. {not in Vi} 26780 26781 CTRL-R CTRL-R {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-R* 26782 @@ -380,7 +382,16 @@ 25727 26783 end of the line, it will be put on the last character in the line. In 25728 26784 mappings it's often better to use <Esc> (first put an "x" in the text, <Esc> … … 25742 26798 The shifted cursor keys are not available on all terminals. 25743 26799 25744 @@ -394,7 +40 3,12 @@26800 @@ -394,7 +405,12 @@ 25745 26801 25746 26802 This redefines the backspace key to start a new undo sequence. You can now … … 25756 26812 Using CTRL-O splits undo: the text typed before and after it is undone 25757 26813 separately. If you want to avoid this (e.g., in a mapping) you might be able 25758 @@ -479,7 +49 3,7 @@26814 @@ -479,7 +495,7 @@ 25759 26815 *ins-smarttab* 25760 26816 When the 'smarttab' option is on, a <Tab> inserts 'shiftwidth' positions at … … 25765 26821 used for ">>" and the like. {not in Vi} 25766 26822 25767 @@ -555,12 +5 69,11 @@26823 @@ -555,12 +571,11 @@ 25768 26824 In 'list' mode, Virtual Replace mode acts as if it was not in 'list' mode, 25769 26825 unless "L" is in 'cpoptions'. … … 25783 26839 This mode is very useful for editing <Tab> separated columns in tables, for 25784 26840 entering new data while keeping all the columns aligned. 25785 @@ -1006,8 +10 19,13 @@26841 @@ -1006,8 +1021,13 @@ 25786 26842 number between zero and the cursor column "col('.')". This involves looking 25787 26843 at the characters just before the cursor and including those characters that … … 25799 26855 On the second invocation the arguments are: 25800 26856 a:findstart 0 25801 @@ -1017,6 +103 5,23 @@26857 @@ -1017,6 +1037,23 @@ 25802 26858 The function must return a List with the matching words. These matches 25803 26859 usually include the "a:base" text. When there are no matches return an empty … … 25823 26879 Each list item can either be a string or a Dictionary. When it is a string it 25824 26880 is used as the completion. When it is a Dictionary it can contain these 25825 @@ -1034,17 +10 69,21 @@26881 @@ -1034,17 +1071,21 @@ 25826 26882 items that only differ in case are added 25827 26883 dup when non-zero this match will be added even when an … … 25849 26905 The "kind" item uses a single letter to indicate the kind of completion. This 25850 26906 may be used to show the completion differently (different color or icon). 25851 @@ -1060,9 +1 099,9 @@26907 @@ -1060,9 +1101,9 @@ 25852 26908 list! Call |complete_check()| now and then to allow the user to press a key 25853 26909 while still searching for matches. Stop searching when it returns non-zero. … … 25862 26918 An example that completes the names of the months: > 25863 26919 fun! CompleteMonths(findstart, base) 25864 @@ -1767,6 +1806,11 @@ 26920 @@ -1429,9 +1470,9 @@ 26921 minimal language-sensitive completion. 26922 26923 To enable syntax code completion you can run: > 26924 - setlocal omnifunc=syntaxcomplete#Complete 26925 + setlocal omnifunc=syntaxcomplete#Complete 26926 26927 -You can automate this by placing the following in your vimrc (after any 26928 +You can automate this by placing the following in your |.vimrc| (after any 26929 ":filetype" command): > 26930 if has("autocmd") && exists("+omnifunc") 26931 autocmd Filetype * 26932 @@ -1448,7 +1489,7 @@ 26933 a look at the PHP filetype to see how this works. 26934 26935 If you edit a file called, index.php, run the following command: > 26936 - :syntax list 26937 + syntax list 26938 26939 The first thing you will notice is that there are many different syntax groups. 26940 The PHP language can include elements from different languages like HTML, 26941 @@ -1457,24 +1498,38 @@ 26942 groups are included by default with the PHP: phpEnvVar, phpIntVar, 26943 phpFunctions. 26944 26945 +If you wish non-filetype syntax items to also be included, you can use a 26946 +regular expression syntax (added in version 13.0 of autoload\syntaxcomplete.vim) 26947 +to add items. Looking at the output from ":syntax list" while editing a PHP file 26948 +I can see some of these entries: > 26949 + htmlArg,htmlTag,htmlTagName,javaScriptStatement,javaScriptGlobalObjects 26950 + 26951 +To pick up any JavaScript and HTML keyword syntax groups while editing a PHP 26952 +file, you can use 3 different regexs, one for each language. Or you can 26953 +simply restrict the include groups to a particular value, without using 26954 +a regex string: > 26955 + let g:omni_syntax_group_include_php = 'php\w\+,javaScript\w\+,html\w\+' 26956 + let g:omni_syntax_group_include_php = 'phpFunctions,phpMethods' 26957 +< 26958 +The basic form of this variable is: > 26959 + let g:omni_syntax_group_include_{filetype} = 'regex,comma,separated' 26960 + 26961 The PHP language has an enormous number of items which it knows how to syntax 26962 -highlight. This means these items will be available within the omni 26963 -completion list. Some people may find this list unwieldy or are only 26964 -interested in certain items. 26965 +highlight. These these items will be available within the omni completion 26966 +list. 26967 26968 -There are two ways to prune this list (if necessary). If you find certain 26969 -syntax groups you do not wish displayed you can add the following to your 26970 -vimrc: > 26971 - let g:omni_syntax_group_exclude_php = 'phpCoreConstant,phpConstant' 26972 +Some people may find this list unwieldy or are only interested in certain 26973 +items. There are two ways to prune this list (if necessary). If you find 26974 +certain syntax groups you do not wish displayed you can use two different 26975 +methods to identify these groups. The first specifically lists the syntax 26976 +groups by name. The second uses a regular expression to identify both 26977 +syntax groups. Simply add one the following to your vimrc: > 26978 + let g:omni_syntax_group_exclude_php = 'phpCoreConstant,phpConstant' 26979 + let g:omni_syntax_group_exclude_php = 'php\w*Constant' 26980 26981 Add as many syntax groups to this list by comma separating them. The basic 26982 form of this variable is: > 26983 - let g:omni_syntax_group_exclude_{filetype} = 'comma,separated,list' 26984 - 26985 -For completeness the opposite is also true. Creating this variable in your 26986 -vimrc will only include the items in the phpFunctions and phpMethods syntax 26987 -groups: > 26988 - let g:omni_syntax_group_include_php = 'phpFunctions,phpMethods' 26989 + let g:omni_syntax_group_exclude_{filetype} = 'regex,comma,separated' 26990 26991 You can create as many of these variables as you need, varying only the 26992 filetype at the end of the variable name. 26993 @@ -1515,6 +1570,9 @@ 26994 To retrieve all syntax items for both the sqlOperator and sqlType groups: > 26995 echo OmniSyntaxList( ['sqlOperator', 'sqlType'] ) 26996 26997 +A regular expression can also be used: > 26998 + echo OmniSyntaxList( ['sql\w\+'] ) 26999 + 27000 From within a plugin, you would typically assign the output to a List: > 27001 let myKeywords = [] 27002 let myKeywords = OmniSyntaxList( ['sqlKeyword'] ) 27003 @@ -1767,6 +1825,11 @@ 25865 27004 containing only a ".". Watch out for lines starting with a backslash, see 25866 27005 |line-continuation|. … … 25874 27013 ":append" and ":insert" don't work properly in between ":if" and 25875 27014 ":endif", ":for" and ":endfor", ":while" and ":endwhile". 25876 @@ -1825,13 +18 69,15 @@27015 @@ -1825,13 +1888,15 @@ 25877 27016 See |++opt| for the possible values of [++opt]. 25878 27017 … … 25893 27032 diff -Naur vim73.orig/runtime/doc/intro.txt vim73/runtime/doc/intro.txt 25894 27033 --- vim73.orig/runtime/doc/intro.txt 2010-08-15 12:23:20.000000000 +0000 25895 +++ vim73/runtime/doc/intro.txt 2013-0 6-07 17:07:09.022316245+000027034 +++ vim73/runtime/doc/intro.txt 2013-08-04 19:09:07.880618736 +0000 25896 27035 @@ -1,4 +1,4 @@ 25897 27036 -*intro.txt* For Vim version 7.3. Last change: 2010 Jul 20 25898 +*intro.txt* For Vim version 7.3. Last change: 201 2 Sep 0527037 +*intro.txt* For Vim version 7.3. Last change: 2013 Jun 17 25899 27038 25900 27039 … … 25913 27052 from the time that is spent on improving Vim! Always give a reproducible 25914 27053 example and try to find out which settings or other things influence the 25915 @@ -300,7 +302,7 @@ 27054 @@ -259,6 +261,7 @@ 27055 I wish to thank all the people that sent me bug reports and suggestions. The 27056 list is too long to mention them all here. Vim would not be the same without 27057 the ideas from all these people: They keep Vim alive! 27058 +*love* *peace* *friendship* *gross-national-happiness* 27059 27060 27061 In this documentation there are several references to other versions of Vi: 27062 @@ -300,7 +303,7 @@ 25916 27063 25917 27064 [] Characters in square brackets are optional. … … 25922 27069 or iterate the command. If no number is given, a count of one 25923 27070 is used, unless otherwise noted. Note that in this manual the 25924 @@ -392,6 +39 4,8 @@27071 @@ -392,6 +395,8 @@ 25925 27072 *quotecommandquote* 25926 27073 "command" A reference to a command that you can type is enclosed in … … 25931 27078 *key-notation* *key-codes* *keycodes* 25932 27079 These names for keys are used in the documentation. They can also be used 25933 @@ -616,7 +62 0,6 @@27080 @@ -616,7 +621,6 @@ 25934 27081 Command-line *3 -- -- :start -- -- 25935 27082 Ex :vi -- -- -- -- -- … … 25939 27086 25940 27087 *1 Go from Normal mode to Insert mode by giving the command "i", "I", "a", 25941 @@ -703,7 +70 6,7 @@27088 @@ -703,7 +707,7 @@ 25942 27089 (see below). The 'linebreak' option can be set to wrap at a blank character. 25943 27090 … … 25948 27095 +-----------------------+ 25949 27096 |some line | 25950 @@ -715,7 +71 8,7 @@27097 @@ -715,7 +719,7 @@ 25951 27098 Thus the '~' lines indicate that the end of the buffer was reached. 25952 27099 … … 25957 27104 +-----------------------+ 25958 27105 |first line | 25959 @@ -730,7 +73 3,7 @@27106 @@ -730,7 +734,7 @@ 25960 27107 When the "lastline" flag is present in the 'display' option, you will not see 25961 27108 '@' characters at the left side of window. If the last line doesn't fit … … 25968 27115 diff -Naur vim73.orig/runtime/doc/map.txt vim73/runtime/doc/map.txt 25969 27116 --- vim73.orig/runtime/doc/map.txt 2010-08-15 12:23:21.000000000 +0000 25970 +++ vim73/runtime/doc/map.txt 2013-0 6-07 17:07:09.045649511+000027117 +++ vim73/runtime/doc/map.txt 2013-08-04 19:09:07.887285382 +0000 25971 27118 @@ -1,4 +1,4 @@ 25972 27119 -*map.txt* For Vim version 7.3. Last change: 2010 Jul 31 25973 +*map.txt* For Vim version 7.3. Last change: 2013 May 0527120 +*map.txt* For Vim version 7.3. Last change: 2013 Jun 29 25974 27121 25975 27122 … … 25993 27140 25994 27141 :map |mapmode-nvo| 25995 @@ -226,7 +228,7 @@ 27142 @@ -157,9 +159,9 @@ 27143 27144 1.2 SPECIAL ARGUMENTS *:map-arguments* 27145 27146 -"<buffer>", "<silent>", "<special>", "<script>", "<expr>" and "<unique>" can 27147 -be used in any order. They must appear right after the command, before any 27148 -other arguments. 27149 +"<buffer>", "<nowait>", "<silent>", "<special>", "<script>", "<expr>" and 27150 +"<unique>" can be used in any order. They must appear right after the 27151 +command, before any other arguments. 27152 27153 *:map-local* *:map-<buffer>* *E224* *E225* 27154 If the first argument to one of these commands is "<buffer>" the mapping will 27155 @@ -167,12 +169,23 @@ 27156 :map <buffer> ,w /[.,;]<CR> 27157 Then you can map ",w" to something else in another buffer: > 27158 :map <buffer> ,w /[#&!]<CR> 27159 -The local buffer mappings are used before the global ones. 27160 +The local buffer mappings are used before the global ones. See <nowait> below 27161 +to make a short local mapping not taking effect when a longer global one 27162 +exists. 27163 The "<buffer>" argument can also be used to clear mappings: > 27164 :unmap <buffer> ,w 27165 :mapclear <buffer> 27166 Local mappings are also cleared when a buffer is deleted, but not when it is 27167 unloaded. Just like local option values. 27168 +Also see |map-precedence|. 27169 + 27170 + *:map-<nowait>* *:map-nowait* 27171 +When defining a buffer-local mapping for "," there may be a global mapping 27172 +that starts with ",". Then you need to type another character for Vim to know 27173 +whether to use the "," mapping or the longer one. To avoid this add the 27174 +<nowait> argument. Then the mapping will be used when it matches, Vim does 27175 +not wait for more characters to be typed. However, if the characters were 27176 +already type they are used. 27177 27178 *:map-<silent>* *:map-silent* 27179 To define a mapping which will not be echoed on the command line, add 27180 @@ -226,7 +239,7 @@ 25996 27181 25997 27182 For abbreviations |v:char| is set to the character that was typed to trigger … … 26002 27187 Be very careful about side effects! The expression is evaluated while 26003 27188 obtaining characters, you may very well make the command dysfunctional. 26004 @@ -235,11 +2 37,18 @@27189 @@ -235,11 +248,18 @@ 26005 27190 - Editing another buffer. 26006 27191 - The |:normal| command. … … 26023 27208 let counter = 0 26024 27209 inoremap <expr> <C-L> ListItem() 26025 @@ -480,9 + 489,9 @@27210 @@ -480,9 +500,9 @@ 26026 27211 have to type CTRL-V two times). Unfortunately, you cannot do this in a vimrc 26027 27212 file. … … 26036 27221 :map! <F8> <Nop> 26037 27222 < 26038 @@ -495,7 +5 04,7 @@27223 @@ -495,7 +515,7 @@ 26039 27224 :set encoding=utf-8 26040 27225 The mapping for <M-C> is defined with the latin1 encoding, resulting in a 0xc3 … … 26045 27230 26046 27231 *<Leader>* *mapleader* 26047 @@ -518,7 +5 27,7 @@27232 @@ -518,7 +538,7 @@ 26048 27233 <LocalLeader> is just like <Leader>, except that it uses "maplocalleader" 26049 27234 instead of "mapleader". <LocalLeader> is to be used for mappings which are … … 26054 27239 In a global plugin <Leader> should be used and in a filetype plugin 26055 27240 <LocalLeader>. "mapleader" and "maplocalleader" can be equal. Although, if 26056 @@ -542,6 +5 51,7 @@27241 @@ -542,6 +562,7 @@ 26057 27242 <Char-123> character 123 26058 27243 <Char-033> character 27 … … 26062 27247 Upper and lowercase differences are ignored. 26063 27248 26064 @@ -934,11 +944,12 @@ 27249 @@ -644,6 +665,17 @@ 27250 you type slowly, or your system is slow, reset the 'timeout' option. Then you 27251 might want to set the 'ttimeout' option. 27252 27253 + *map-precedence* 27254 +Buffer-local mappings (defined using |:map-<buffer>|) take precedence over 27255 +global mappings. When a buffer-local mapping is the same as a global mapping, 27256 +Vim will use the buffer-local mapping. In addition, Vim will use a complete 27257 +mapping immediately if it was defined with <nowait>, even if a longer mapping 27258 +has the same prefix. For example, given the following two mappings: > 27259 + :map <buffer> <nowait> \a :echo "Local \a"<CR> 27260 + :map \abc :echo "Global \abc"<CR> 27261 +When typing \a the buffer-local mapping will be used immediately. Vim will 27262 +not wait for more characters to see if the user might be typing \abc. 27263 + 27264 *map-keys-fails* 27265 There are situations where key codes might not be recognized: 27266 - Vim can only read part of the key code. Mostly this is only the first 27267 @@ -934,11 +966,12 @@ 26065 27268 avoid that a typed {lhs} is expanded, since 26066 27269 command-line abbreviations apply here. … … 26076 27279 *:una* *:unabbreviate* 26077 27280 :una[bbreviate] {lhs} Remove abbreviation for {lhs} from the list. If none 26078 @@ -948,12 +9 59,12 @@27281 @@ -948,12 +981,12 @@ 26079 27282 expansion insert a CTRL-V (type it twice). 26080 27283 … … 26091 27294 in Vi} 26092 27295 26093 @@ -962,12 +9 73,12 @@27296 @@ -962,12 +995,12 @@ 26094 27297 in Vi} 26095 27298 … … 26106 27309 26107 27310 *:iuna* *:iunabbrev* 26108 @@ -975,18 + 986,18 @@27311 @@ -975,18 +1008,18 @@ 26109 27312 Vi} 26110 27313 … … 26129 27332 26130 27333 *using_CTRL-V* 26131 @@ -1093,16 +11 04,20 @@27334 @@ -1093,16 +1126,20 @@ 26132 27335 26133 27336 For starters: See section |40.2| in the user manual. … … 26159 27362 When using a user-defined command, the command can be abbreviated. However, if 26160 27363 an abbreviation is not unique, an error will be issued. Furthermore, a 26161 @@ -1173,13 +1 188,15 @@27364 @@ -1173,13 +1210,15 @@ 26162 27365 command can take arguments, using the -nargs attribute. Valid cases are: 26163 27366 … … 26178 27381 Note that arguments are used as text, not as expressions. Specifically, 26179 27382 "s:var" will use the script-local variable in the script where the command was 26180 @@ -1202,23 +12 19,32@@27383 @@ -1202,23 +1241,33 @@ 26181 27384 26182 27385 -complete=augroup autocmd groups … … 26205 27408 + -complete=sign |:sign| suboptions 26206 27409 -complete=syntax syntax file names |'syntax'| 27410 + -complete=syntime |:syntime| suboptions 26207 27411 -complete=tag tags 26208 27412 -complete=tag_listfiles tags, file names are shown when CTRL-D is hit … … 26211 27415 -complete=custom,{func} custom completion, defined via {func} 26212 27416 -complete=customlist,{func} custom completion, defined via {func} 26213 @@ -1285,7 +13 11,8 @@27417 @@ -1285,7 +1334,8 @@ 26214 27418 -range Range allowed, default is current line 26215 27419 -range=% Range allowed, default is whole file (1,$) … … 26223 27427 diff -Naur vim73.orig/runtime/doc/mbyte.txt vim73/runtime/doc/mbyte.txt 26224 27428 --- vim73.orig/runtime/doc/mbyte.txt 2010-08-15 12:23:21.000000000 +0000 26225 +++ vim73/runtime/doc/mbyte.txt 2013-0 6-07 17:07:09.072316102+000027429 +++ vim73/runtime/doc/mbyte.txt 2013-08-04 19:09:07.890618706 +0000 26226 27430 @@ -1,4 +1,4 @@ 26227 27431 -*mbyte.txt* For Vim version 7.3. Last change: 2010 Jul 26 … … 26339 27543 diff -Naur vim73.orig/runtime/doc/message.txt vim73/runtime/doc/message.txt 26340 27544 --- vim73.orig/runtime/doc/message.txt 2010-08-15 12:23:21.000000000 +0000 26341 +++ vim73/runtime/doc/message.txt 2013-0 6-07 17:07:09.098982692+000027545 +++ vim73/runtime/doc/message.txt 2013-08-04 19:09:07.893952029 +0000 26342 27546 @@ -1,4 +1,4 @@ 26343 27547 -*message.txt* For Vim version 7.3. Last change: 2010 Aug 10 … … 26393 27597 diff -Naur vim73.orig/runtime/doc/mlang.txt vim73/runtime/doc/mlang.txt 26394 27598 --- vim73.orig/runtime/doc/mlang.txt 2010-08-15 12:23:21.000000000 +0000 26395 +++ vim73/runtime/doc/mlang.txt 2013-0 6-07 17:07:09.105649340+000027599 +++ vim73/runtime/doc/mlang.txt 2013-08-04 19:09:07.893952029 +0000 26396 27600 @@ -1,4 +1,4 @@ 26397 27601 -*mlang.txt* For Vim version 7.3. Last change: 2010 Jul 20 … … 26420 27624 diff -Naur vim73.orig/runtime/doc/motion.txt vim73/runtime/doc/motion.txt 26421 27625 --- vim73.orig/runtime/doc/motion.txt 2010-08-15 12:23:21.000000000 +0000 26422 +++ vim73/runtime/doc/motion.txt 2013-0 6-07 17:07:09.138982578+000027626 +++ vim73/runtime/doc/motion.txt 2013-08-04 19:09:07.897285352 +0000 26423 27627 @@ -1,4 +1,4 @@ 26424 27628 -*motion.txt* For Vim version 7.3. Last change: 2010 May 14 … … 26558 27762 diff -Naur vim73.orig/runtime/doc/netbeans.txt vim73/runtime/doc/netbeans.txt 26559 27763 --- vim73.orig/runtime/doc/netbeans.txt 2010-08-15 12:23:21.000000000 +0000 26560 +++ vim73/runtime/doc/netbeans.txt 2013-0 6-07 17:07:09.158982521+000027764 +++ vim73/runtime/doc/netbeans.txt 2013-08-04 19:09:07.900618676 +0000 26561 27765 @@ -1,4 +1,4 @@ 26562 27766 -*netbeans.txt* For Vim version 7.3. Last change: 2010 Jul 20 … … 26621 27825 diff -Naur vim73.orig/runtime/doc/options.txt vim73/runtime/doc/options.txt 26622 27826 --- vim73.orig/runtime/doc/options.txt 2010-08-15 12:23:21.000000000 +0000 26623 +++ vim73/runtime/doc/options.txt 2013-0 6-07 17:07:09.192315759 +000027827 +++ vim73/runtime/doc/options.txt 2013-08-04 19:09:07.913951969 +0000 26624 27828 @@ -1,4 +1,4 @@ 26625 27829 -*options.txt* For Vim version 7.3. Last change: 2010 Aug 15 26626 +*options.txt* For Vim version 7.3. Last change: 2013 Jun 0427830 +*options.txt* For Vim version 7.3. Last change: 2013 Jun 29 26627 27831 26628 27832 … … 26690 27894 command, not when assigning a value to an option with ":let". 26691 27895 26692 @@ -684,6 +701,10 @@ 27896 @@ -465,39 +482,42 @@ 27897 There are two forms of modelines. The first form: 27898 [text]{white}{vi:|vim:|ex:}[white]{options} 27899 27900 -[text] any text or empty 27901 -{white} at least one blank character (<Space> or <Tab>) 27902 -{vi:|vim:|ex:} the string "vi:", "vim:" or "ex:" 27903 -[white] optional white space 27904 -{options} a list of option settings, separated with white space or ':', 27905 - where each part between ':' is the argument for a ":set" 27906 - command (can be empty) 27907 +[text] any text or empty 27908 +{white} at least one blank character (<Space> or <Tab>) 27909 +{vi:|vim:|ex:} the string "vi:", "vim:" or "ex:" 27910 +[white] optional white space 27911 +{options} a list of option settings, separated with white space 27912 + or ':', where each part between ':' is the argument 27913 + for a ":set" command (can be empty) 27914 27915 -Example: 27916 +Examples: 27917 vi:noai:sw=3 ts=6 ~ 27918 + vim: tw=77 ~ 27919 27920 The second form (this is compatible with some versions of Vi): 27921 27922 - [text]{white}{vi:|vim:|ex:}[white]se[t] {options}:[text] 27923 + [text]{white}{vi:|vim:|Vim:|ex:}[white]se[t] {options}:[text] 27924 27925 -[text] any text or empty 27926 -{white} at least one blank character (<Space> or <Tab>) 27927 -{vi:|vim:|ex:} the string "vi:", "vim:" or "ex:" 27928 -[white] optional white space 27929 -se[t] the string "set " or "se " (note the space) 27930 -{options} a list of options, separated with white space, which is the 27931 - argument for a ":set" command 27932 -: a colon 27933 -[text] any text or empty 27934 +[text] any text or empty 27935 +{white} at least one blank character (<Space> or <Tab>) 27936 +{vi:|vim:|Vim:|ex:} the string "vi:", "vim:", "Vim:" or "ex:" 27937 +[white] optional white space 27938 +se[t] the string "set " or "se " (note the space); When 27939 + "Vim" is used it must be "set". 27940 +{options} a list of options, separated with white space, which 27941 + is the argument for a ":set" command 27942 +: a colon 27943 +[text] any text or empty 27944 27945 -Example: 27946 +Examples: 27947 /* vim: set ai tw=75: */ ~ 27948 + /* Vim: set ai tw=75: */ ~ 27949 27950 -The white space before {vi:|vim:|ex:} is required. This minimizes the chance 27951 -that a normal word like "lex:" is caught. There is one exception: "vi:" and 27952 -"vim:" can also be at the start of the line (for compatibility with version 27953 -3.0). Using "ex:" at the start of the line will be ignored (this could be 27954 -short for "example:"). 27955 +The white space before {vi:|vim:|Vim:|ex:} is required. This minimizes the 27956 +chance that a normal word like "lex:" is caught. There is one exception: 27957 +"vi:" and "vim:" can also be at the start of the line (for compatibility with 27958 +version 3.0). Using "ex:" at the start of the line will be ignored (this 27959 +could be short for "example:"). 27960 27961 *modeline-local* 27962 The options are set like with ":setlocal": The new value only applies to the 27963 @@ -513,7 +533,7 @@ 27964 27965 *modeline-version* 27966 If the modeline is only to be used for some versions of Vim, the version 27967 -number can be specified where "vim:" is used: 27968 +number can be specified where "vim:" or "Vim:" is used: 27969 vim{vers}: version {vers} or later 27970 vim<{vers}: version before {vers} 27971 vim={vers}: version {vers} 27972 @@ -684,6 +704,10 @@ 26693 27973 when the system locale is set to one of CJK locales. See Unicode 26694 27974 Standard Annex #11 (http://www.unicode.org/reports/tr11). … … 26701 27981 'antialias' 'anti' boolean (default: off) 26702 27982 global 26703 @@ -729,7 +75 0,7 @@27983 @@ -729,7 +753,7 @@ 26704 27984 - Reset the 'rightleft' option. 26705 27985 - Disable the use of 'keymap' (without changing its value). … … 26710 27990 26711 27991 *'arabicshape'* *'arshape'* 26712 @@ -741,7 +76 2,7 @@27992 @@ -741,7 +765,7 @@ 26713 27993 feature} 26714 27994 When on and 'termbidi' is off, the required visual character … … 26719 27999 a) the changing/morphing of characters based on their location 26720 28000 within a word (initial, medial, final and stand-alone). 26721 @@ -802,7 +82 3,7 @@28001 @@ -802,7 +826,7 @@ 26722 28002 been set. 26723 28003 … … 26728 28008 {not in Vi} 26729 28009 When set to "dark", Vim will try to use colors that look good on a 26730 @@ -836,6 +8 57,12 @@28010 @@ -836,6 +860,12 @@ 26731 28011 color). To get around this, force the GUI window to be opened by 26732 28012 putting a ":gui" command in the .gvimrc file, before where the value … … 26741 28021 depending on the terminal name. Example: > 26742 28022 :if &term == "pcterm" 26743 @@ -965,7 +99 2,7 @@28023 @@ -965,7 +995,7 @@ 26744 28024 - The backup file will be created in the first directory in the list 26745 28025 where this is possible. The directory must exist, Vim will not … … 26750 28030 - A directory "." means to put the backup file in the same directory 26751 28031 as the edited file. 26752 @@ -1026,6 +105 3,11 @@28032 @@ -1026,6 +1056,11 @@ 26753 28033 When $TMPDIR, $TMP or $TEMP is not defined, it is not used for the 26754 28034 default value. "/tmp/*" is only used for Unix. … … 26762 28042 $HOME you must expand it explicitly, e.g.: > 26763 28043 :let backupskip = escape(expand('$HOME'), '\') . '/tmp/*' 26764 @@ -1081,8 +111 3,8 @@28044 @@ -1081,8 +1116,8 @@ 26765 28045 Vim does not try to send a message to an external debugger (Netbeans 26766 28046 or Sun Workshop). … … 26773 28053 It is not allowed to change text or jump to another window while 26774 28054 evaluating 'balloonexpr' |textlock|. 26775 @@ -1198,7 +123 0,8 @@28055 @@ -1198,7 +1233,8 @@ 26776 28056 |:bwipeout| 26777 28057 … … 26783 28063 special kinds of buffers. See |special-buffers|. 26784 28064 26785 @@ -1425,6 +14 58,7 @@28065 @@ -1425,6 +1461,7 @@ 26786 28066 This option is a list of comma separated names. 26787 28067 These names are recognized: … … 26791 28071 for all yank, delete, change and put operations which 26792 28072 would normally go to the unnamed register. When a 26793 @@ -1434,6 +14 68,20 @@28073 @@ -1434,6 +1471,20 @@ 26794 28074 explicitly accessed using the "* notation. Also see 26795 28075 |gui-clipboard|. … … 26812 28092 then whenever Visual mode is started, or the Visual 26813 28093 area extended, Vim tries to become the owner of the 26814 @@ -1445,9 +149 3,16 @@28094 @@ -1445,9 +1496,16 @@ 26815 28095 "autoselect" flag is used. 26816 28096 Also applies to the modeless selection. … … 26829 28109 pasting. When putting text on the clipboard, mark it 26830 28110 as HTML. This works to copy rendered HTML from 26831 @@ -1458,6 +151 3,7 @@28111 @@ -1458,6 +1516,7 @@ 26832 28112 Only supported for GTK version 2 and later. 26833 28113 Only available with the |+multi_byte| feature. … … 26837 28117 Defines a pattern that is matched against the name of 26838 28118 the terminal 'term'. If there is a match, no 26839 @@ -1496,6 +155 2,25 @@28119 @@ -1496,6 +1555,25 @@ 26840 28120 feature} 26841 28121 Number of screen lines to use for the command-line window. |cmdwin| … … 26863 28143 'columns' 'co' number (default 80 or terminal width) 26864 28144 global 26865 @@ -1634,7 +17 09,7 @@28145 @@ -1634,7 +1712,7 @@ 26866 28146 when CTRL-P or CTRL-N are used. It is also used for whole-line 26867 28147 completion |i_CTRL-X_CTRL-L|. It indicates the type of completion … … 26872 28152 b scan other loaded buffers that are in the buffer list 26873 28153 u scan the unloaded buffers that are in the buffer list 26874 @@ -1680,7 +175 5,8 @@28154 @@ -1680,7 +1758,8 @@ 26875 28155 with CTRL-X CTRL-U. |i_CTRL-X_CTRL-U| 26876 28156 See |complete-functions| for an explanation of how the function is … … 26882 28162 *'completeopt'* *'cot'* 26883 28163 'completeopt' 'cot' string (default: "menu,preview") 26884 @@ -2069,6 +214 5,12 @@28164 @@ -2069,6 +2148,12 @@ 26885 28165 *cpo->* 26886 28166 > When appending to a register, put a line break before … … 26895 28175 POSIX flags. These are not included in the Vi default value, except 26896 28176 when $VIM_POSIX was set on startup. |posix| 26897 @@ -2161,6 +224 3,16 @@28177 @@ -2161,6 +2246,16 @@ 26898 28178 Specifies whether to use quickfix window to show cscope results. 26899 28179 See |cscopequickfix|. 26900 28180 26901 + *'cscoperelative'* *'csre'*28181 + *'cscoperelative'* *'csre'* *'nocscoperelative'* *'nocsre'* 26902 28182 +'cscoperelative' 'csre' boolean (default off) 26903 28183 + global … … 26912 28192 'cscopetag' 'cst' boolean (default off) 26913 28193 global 26914 @@ -2782,7 +287 4,7 @@28194 @@ -2782,7 +2877,7 @@ 26915 28195 See |file-formats| and |file-read|. 26916 28196 For the character encoding of the file see 'fileencoding'. … … 26921 28201 'fileformats' is not empty and 'binary' is off. 26922 28202 When this option is set, after starting to edit a file, the 'modified' 26923 @@ -2817,13 +29 09,14 @@28203 @@ -2817,13 +2912,14 @@ 26924 28204 2. If a <NL> is found and 'fileformats' includes "unix", 'fileformat' 26925 28205 is set to "unix". Note that when a <NL> is found without a … … 26943 28223 'fileformats' is used. 26944 28224 When reading a file into an existing buffer, the same is done, but 26945 @@ -2831,6 +292 4,9 @@28225 @@ -2831,6 +2927,9 @@ 26946 28226 file only, the option is not changed. 26947 28227 When 'binary' is set, the value of 'fileformats' is not used. … … 26953 28233 are ":source"ed and for vimrc files, automatic <EOL> detection may be 26954 28234 done: 26955 @@ -2847,6 +294 3,14 @@28235 @@ -2847,6 +2946,14 @@ 26956 28236 NOTE: This option is set to the Vi default value when 'compatible' is 26957 28237 set and to the Vim default value when 'compatible' is reset. … … 26968 28248 'filetype' 'ft' string (default: "") 26969 28249 local to buffer 26970 @@ -2871,8 +297 5,6 @@28250 @@ -2871,8 +2978,6 @@ 26971 28251 This will use the "c" filetype first, then the "doxygen" filetype. 26972 28252 This works both for filetype plugins and for syntax files. More than … … 26977 28257 'S' flag in 'cpoptions'. 26978 28258 Only normal file name characters can be used, "/\*?[|<>" are illegal. 26979 @@ -2966,8 +30 68,8 @@28259 @@ -2966,8 +3071,8 @@ 26980 28260 The expression used for when 'foldmethod' is "expr". It is evaluated 26981 28261 for each line to obtain its fold level. See |fold-expr|. … … 26988 28268 on. 26989 28269 26990 @@ -3044,9 +314 6,11 @@28270 @@ -3044,9 +3149,11 @@ 26991 28271 {not in Vi} 26992 28272 {not available when compiled without the |+folding| … … 27003 28283 than 'foldminlines', a following "zc" may close a containing fold. 27004 28284 27005 @@ -3070,6 +317 4,10 @@28285 @@ -3070,6 +3177,10 @@ 27006 28286 Specifies for which type of commands folds will be opened, if the 27007 28287 command moves the cursor into a closed fold. It is a comma separated … … 27014 28294 all any 27015 28295 block "(", "{", "[[", "[{", etc. 27016 @@ -3084,8 +319 2,6 @@28296 @@ -3084,8 +3195,6 @@ 27017 28297 Also for |[s| and |]s|. 27018 28298 tag jumping to a tag: ":ta", CTRL-T, etc. … … 27023 28303 this option is not used. This means the operator will include the 27024 28304 whole closed fold. 27025 @@ -3105,8 +321 1,8 @@28305 @@ -3105,8 +3214,8 @@ 27026 28306 An expression which is used to specify the text displayed for a closed 27027 28307 fold. See |fold-foldtext|. … … 27034 28314 It is not allowed to change text or jump to another window while 27035 28315 evaluating 'foldtext' |textlock|. 27036 @@ -3151,8 +32 57,8 @@28316 @@ -3151,8 +3260,8 @@ 27037 28317 format function will be used |C-indenting|. 27038 28318 Environment variables are expanded |:set_env|. See |option-backslash| … … 27045 28325 *'formatexpr'* *'fex'* 27046 28326 'formatexpr' 'fex' string (default "") 27047 @@ -3185,8 +329 1,9 @@28327 @@ -3185,8 +3294,9 @@ 27048 28328 When the expression evaluates to non-zero Vim will fall back to using 27049 28329 the internal format mechanism. … … 27057 28337 *'fsync'* *'fs'* 27058 28338 'fsync' 'fs' boolean (default on) 27059 @@ -3338,7 +344 5,7 @@28339 @@ -3338,7 +3448,7 @@ 27060 28340 :highlight Cursor gui=NONE guifg=bg guibg=fg 27061 28341 < … … 27066 28346 global 27067 28347 {not in Vi} 27068 @@ -3470,6 +35 77,10 @@28348 @@ -3470,6 +3580,10 @@ 27069 28349 to set 'guifontwide' at all unless you want to override the choice 27070 28350 made by Pango/Xft. … … 27077 28357 'guiheadroom' 'ghr' number (default 50) 27078 28358 global 27079 @@ -3483,8 +359 4,8 @@28359 @@ -3483,8 +3597,8 @@ 27080 28360 screen. 27081 28361 … … 27088 28368 {not in Vi} 27089 28369 {only available when compiled with GUI enabled} 27090 @@ -3510,6 +362 1,9 @@28370 @@ -3510,6 +3624,9 @@ 27091 28371 windowing system's global selection unless explicitly told to 27092 28372 by a yank or delete operation for the "* register. … … 27098 28378 'A' Autoselect for the modeless selection. Like 'a', but only 27099 28379 applies to the modeless selection. 27100 @@ -3698,9 +381 2,10 @@28380 @@ -3698,9 +3815,10 @@ 27101 28381 'highlight' 'hl' string (default (as a single string): 27102 28382 "8:SpecialKey,@:NonText,d:Directory, … … 27112 28392 C:DiffChange,D:DiffDelete,T:DiffText, 27113 28393 >:SignColumn,B:SpellBad,P:SpellCap, 27114 @@ -3726,6 +384 1,8 @@28394 @@ -3726,6 +3844,8 @@ 27115 28395 |hl-ModeMsg| M Mode (e.g., "-- INSERT --") 27116 28396 |hl-LineNr| n line number for ":number" and ":#" commands, and … … 27121 28401 |hl-StatusLine| s status line of current window |status-line| 27122 28402 |hl-StatusLineNC| S status lines of not-current windows 27123 @@ -3787,14 +390 4,16 @@28403 @@ -3787,14 +3907,16 @@ 27124 28404 are not applied. 27125 28405 See also: 'incsearch' and |:match|. … … 27140 28420 27141 28421 *'history'* *'hi'* 27142 @@ -4003,8 +4122,8 @@ 28422 @@ -3874,6 +3996,26 @@ 28423 Can be overruled by using "\c" or "\C" in the pattern, see 28424 |/ignorecase|. 28425 28426 + *'imactivatefunc'* *'imaf'* 28427 +'imactivatefunc' 'imaf' string (default "") 28428 + global 28429 + {not in Vi} 28430 + {only available when compiled with |+xim| and 28431 + |+GUI_GTK|} 28432 + This option specifies a function that will be called to 28433 + activate/inactivate Input Method. 28434 + 28435 + Example: > 28436 + function ImActivateFunc(active) 28437 + if a:active 28438 + ... do something 28439 + else 28440 + ... do something 28441 + endif 28442 + " return value is not used 28443 + endfunction 28444 + set imactivatefunc=ImActivateFunc 28445 +< 28446 *'imactivatekey'* *'imak'* 28447 'imactivatekey' 'imak' string (default "") 28448 global 28449 @@ -3970,6 +4112,24 @@ 28450 The value 0 may not work correctly with Athena and Motif with some XIM 28451 methods. Use 'imdisable' to disable XIM then. 28452 28453 + *'imstatusfunc'* *'imsf'* 28454 +'imstatusfunc' 'imsf' string (default "") 28455 + global 28456 + {not in Vi} 28457 + {only available when compiled with |+xim| and 28458 + |+GUI_GTK|} 28459 + This option specifies a function that is called to obtain the status 28460 + of Input Method. It must return a positive number when IME is active. 28461 + 28462 + Example: > 28463 + function ImStatusFunc() 28464 + let is_active = ...do something 28465 + return is_active ? 1 : 0 28466 + endfunction 28467 + set imstatusfunc=ImStatusFunc 28468 +< 28469 + NOTE: This function is invoked very often. Keep it fast. 28470 + 28471 *'include'* *'inc'* 28472 'include' 'inc' string (default "^\s*#\s*include") 28473 global or local to buffer |global-local| 28474 @@ -4003,8 +4163,8 @@ 27143 28475 found. Allows doing "gf" on the name after an 'include' statement. 27144 28476 Also used for |<cfile>|. … … 27151 28483 It is not allowed to change text or jump to another window while 27152 28484 evaluating 'includeexpr' |textlock|. 27153 @@ -4047,7 +4 166,8 @@28485 @@ -4047,7 +4207,8 @@ 27154 28486 It is used when a new line is created, for the |=| operator and 27155 28487 in Insert mode as specified with the 'indentkeys' option. … … 27161 28493 The expression is evaluated with |v:lnum| set to the line number for 27162 28494 which the indent is to be computed. The cursor is also in this line 27163 @@ -4067,8 +4 187,8 @@28495 @@ -4067,8 +4228,8 @@ 27164 28496 See |indent-expression|. 27165 28497 NOTE: This option is made empty when 'compatible' is set. … … 27172 28504 It is not allowed to change text or jump to another window while 27173 28505 evaluating 'indentexpr' |textlock|. 27174 @@ -4270,6 +4 390,8 @@28506 @@ -4270,6 +4431,8 @@ 27175 28507 "echo &key". This is to avoid showing it to someone who shouldn't 27176 28508 know. It also means you cannot see it yourself once you have set it, … … 27181 28513 *'keymap'* *'kmp'* *E544* 27182 28514 'keymap' 'kmp' string (default "") 27183 @@ -4495,24 +46 17,31 @@28515 @@ -4495,24 +4658,31 @@ 27184 28516 {not in Vi} 27185 28517 Strings to use in 'list' mode and for the |:list| command. It is a … … 27213 28545 0xA0, 160). Left blank when omitted. 27214 28546 27215 @@ -4601,32 +47 30,15 @@28547 @@ -4601,32 +4771,15 @@ 27216 28548 < This option cannot be set from a |modeline| or in the |sandbox|, for 27217 28549 security reasons. … … 27250 28582 '>' (HTML): > 27251 28583 :set mps+=<:> 27252 @@ -4806,6 +49 18,10 @@28584 @@ -4806,6 +4959,10 @@ 27253 28585 written. A ":set nomodified" command also resets the original 27254 28586 values to the current values and the 'modified' option will be … … 27261 28593 will be ignored. 27262 28594 27263 @@ -4994,7 +51 10,7 @@28595 @@ -4994,7 +5151,7 @@ 27264 28596 respectively; see |CTRL-A| for more info on these commands. 27265 28597 alpha If included, single alphabetical characters will be … … 27270 28602 to be octal. Example: Using CTRL-A on "007" results in "010". 27271 28603 hex If included, numbers starting with "0x" or "0X" will be 27272 @@ -5014,8 +51 30,20 @@28604 @@ -5014,8 +5171,20 @@ 27273 28605 number. 27274 28606 When a long, wrapped line doesn't start with the first character, '-' … … 27293 28625 *'numberwidth'* *'nuw'* 27294 28626 'numberwidth' 'nuw' number (Vim default: 4 Vi default: 8) 27295 @@ -5047,6 +5 175,8 @@28627 @@ -5047,6 +5216,8 @@ 27296 28628 invoked and what it should return. 27297 28629 This option is usually set by a filetype plugin: … … 27302 28634 27303 28635 *'opendevice'* *'odev'* *'noopendevice'* *'noodev'* 27304 @@ -5072,20 +52 02,12 @@28636 @@ -5072,20 +5243,12 @@ 27305 28637 security reasons. 27306 28638 … … 27327 28659 *'paragraphs'* *'para'* 27328 28660 'paragraphs' 'para' string (default "IPLPPPQPP TPHPLIPpLpItpplpipbp") 27329 @@ -5190,7 +53 12,7 @@28661 @@ -5190,7 +5353,7 @@ 27330 28662 recognized as a compressed file. 27331 28663 Only normal file name characters can be used, "/\*?[|<>" are illegal. … … 27336 28668 on OS/2: ".,/emx/include,," 27337 28669 other systems: ".,,") 27338 @@ -5405,6 +55 27,19 @@28670 @@ -5405,6 +5568,19 @@ 27339 28671 matches will be highlighted. This is used to avoid that Vim hangs 27340 28672 when using a very complicated pattern. … … 27356 28688 'relativenumber' 'rnu' boolean (default off) 27357 28689 local to window 27358 @@ -5421,8 +55 56,12 @@28690 @@ -5421,8 +5597,12 @@ 27359 28691 number. 27360 28692 When a long, wrapped line doesn't start with the first character, '-' … … 27371 28703 *'remap'* *'noremap'* 27372 28704 'remap' boolean (default on) 27373 @@ -5843,16 + 5982,20 @@28705 @@ -5843,16 +6023,20 @@ 27374 28706 security reasons. 27375 28707 … … 27396 28728 security reasons. 27397 28729 27398 @@ -5873,9 +60 16,10 @@28730 @@ -5873,9 +6057,10 @@ 27399 28731 For Unix the default it "| tee". The stdout of the compiler is saved 27400 28732 in a file and echoed to the screen. If the 'shell' option is "csh" or … … 27410 28742 and the other initializations, so that when the 'shell' option is set 27411 28743 there, the 'shellpipe' option changes automatically, unless it was 27412 @@ -5954,7 +6 098,8 @@28744 @@ -5954,7 +6139,8 @@ 27413 28745 {not in Vi} 27414 28746 When on, use temp files for shell commands. When off use a pipe. … … 27420 28752 < The advantage of using a pipe is that nobody can read the temp file 27421 28753 and the 'shell' command does not need to support redirection. 27422 @@ -5978,8 +61 23,18 @@28754 @@ -5978,8 +6164,18 @@ 27423 28755 0 and 2: use "shell 'shellcmdflag' cmd" to start external commands 27424 28756 1 and 3: use "shell cmd" to start external commands … … 27439 28771 somewhere: "\"" 27440 28772 for Unix, when using system(): "\"") 27441 @@ -5989,11 +61 44,15 @@28773 @@ -5989,11 +6185,15 @@ 27442 28774 the "!" and ":!" commands. Includes the redirection. See 27443 28775 'shellquote' to exclude the redirection. It's probably not useful … … 27460 28792 security reasons. 27461 28793 27462 @@ -6011,6 +6 170,8 @@28794 @@ -6011,6 +6211,8 @@ 27463 28795 local to buffer 27464 28796 Number of spaces to use for each step of (auto)indent. Used for … … 27469 28801 *'shortmess'* *'shm'* 27470 28802 'shortmess' 'shm' string (Vim default "filnxtToO", Vi default: "", 27471 @@ -6214,7 +6 375,7 @@28803 @@ -6214,7 +6416,7 @@ 27472 28804 Override the 'ignorecase' option if the search pattern contains upper 27473 28805 case characters. Only used when the search pattern is typed and … … 27478 28810 recalling the search pattern from history and hitting <Enter>. 27479 28811 NOTE: This option is reset when 'compatible' is set. 27480 @@ -6228,8 +6 389,9 @@28812 @@ -6228,8 +6430,9 @@ 27481 28813 Do smart autoindenting when starting a new line. Works for C-like 27482 28814 programs, but can also be used for other languages. 'cindent' does … … 27490 28822 An indent is automatically inserted: 27491 28823 - After a line ending in '{'. 27492 @@ -6273,6 +64 35,7 @@28824 @@ -6273,6 +6476,7 @@ 27493 28825 of 8, while being able to edit like it is set to 'sts'. However, 27494 28826 commands like "x" still work on the actual characters. … … 27498 28830 See also |ins-expandtab|. When 'expandtab' is not set, the number of 27499 28831 spaces is minimized by using <Tab>s. 27500 @@ -6467,7 +66 30,7 @@28832 @@ -6467,7 +6671,7 @@ 27501 28833 where it was the last time the buffer was edited. 27502 28834 NOTE: This option is set when 'compatible' is set. … … 27507 28839 global or local to window |global-local| 27508 28840 {not in Vi} 27509 @@ -6480,12 +66 43,15 @@28841 @@ -6480,12 +6684,15 @@ 27510 28842 normal text. Each status line item is of the form: 27511 28843 %-0{minwid}.{maxwid}{item} … … 27524 28856 When there is error while evaluating the option then it will be made 27525 28857 empty to avoid further errors. Otherwise screen updating would loop. 27526 @@ -6533,7 +6 699,7 @@28858 @@ -6533,7 +6740,7 @@ 27527 28859 k S Value of "b:keymap_name" or 'keymap' when |:lmap| mappings are 27528 28860 being used: "<keymap>" … … 27533 28865 o N Byte number in file of byte under cursor, first byte is 1. 27534 28866 Mnemonic: Offset from start of file (with one added) 27535 @@ -6591,8 +6757,8 @@ 28867 @@ -6547,7 +6754,8 @@ 28868 V N Virtual column number as -{num}. Not displayed if equal to 'c'. 28869 p N Percentage through file in lines as in |CTRL-G|. 28870 P S Percentage through file of displayed window. This is like the 28871 - percentage described for 'ruler'. Always 3 in length. 28872 + percentage described for 'ruler'. Always 3 in length, unless 28873 + translated. 28874 a S Argument list status as in default title. ({current} of {max}) 28875 Empty if the argument file count is zero or one. 28876 { NF Evaluate expression between '%{' and '}' and substitute result. 28877 @@ -6591,8 +6799,8 @@ 27536 28878 The variable "actual_curbuf" is set to the 'bufnr()' number of the 27537 28879 real current buffer. … … 27544 28886 It is not allowed to change text or jump to another window while 27545 28887 evaluating 'statusline' |textlock|. 27546 @@ -6705,8 +6 871,8 @@28888 @@ -6705,8 +6913,8 @@ 27547 28889 usetab Like "useopen", but also consider windows in other tab 27548 28890 pages. … … 27555 28897 "split" when both are present. 27556 28898 27557 @@ -6960,7 +71 26,7 @@28899 @@ -6960,7 +7168,7 @@ 27558 28900 {not in Vi} 27559 28901 Encoding used for the terminal. This specifies what character … … 27564 28906 'termencoding' should be "macroman". 27565 28907 In the Win32 console version the default value is the console codepage 27566 @@ -7035,8 +72 01,8 @@28908 @@ -7035,8 +7243,8 @@ 27567 28909 the file should contain words with similar meaning, separated by 27568 28910 non-keyword characters (white space is preferred). Maximum line … … 27575 28917 after a comma are ignored, otherwise spaces are included in the file 27576 28918 name. See |option-backslash| about using backslashes. 27577 @@ -7311,6 +7 477,12 @@28919 @@ -7311,6 +7519,12 @@ 27578 28920 jsbterm JSB term mouse handling. 27579 28921 *pterm-mouse* … … 27588 28930 The mouse handling must be enabled at compile time |+mouse_xterm| 27589 28931 |+mouse_dec| |+mouse_netterm|. 27590 @@ -7323,6 +7 495,7 @@28932 @@ -7323,6 +7537,7 @@ 27591 28933 or "xterm2" already. The main use of this option is to set it to 27592 28934 "xterm", when the terminal name doesn't start with "xterm", but it can … … 27596 28938 95 or higher. This only works when compiled with the |+termresponse| 27597 28939 feature and if |t_RV| is set to the escape sequence to request the 27598 @@ -7362,7 +75 35,7 @@28940 @@ -7362,7 +7577,7 @@ 27599 28941 given, no further entry is used. 27600 28942 See |undo-persistence|. … … 27605 28947 local to buffer 27606 28948 {not in Vi} 27607 @@ -7374,7 +75 47,7 @@28949 @@ -7374,7 +7589,7 @@ 27608 28950 For more information about this feature see |undo-persistence|. 27609 28951 The undo file is not read when 'undoreload' causes the buffer from … … 27614 28956 *'undolevels'* *'ul'* 27615 28957 'undolevels' 'ul' number (default 100, 1000 for Unix, VMS, 27616 @@ -7527,15 +77 00,18 @@28958 @@ -7527,15 +7742,18 @@ 27617 28959 parameter. The following is a list of the identifying characters and 27618 28960 the effect of their value. … … 27635 28977 started with a file name argument, the buffer list is not 27636 28978 restored. If Vim is started without a file name argument, the 27637 @@ -7545,38 +77 21,48 @@28979 @@ -7545,38 +7763,48 @@ 27638 28980 When followed by a number, the number specifies the maximum 27639 28981 number of buffers that are stored. Without a number all … … 27684 29026 ','). This parameter can be given several times. Each 27685 29027 specifies the start of a path for which no marks will be 27686 @@ -7585,6 +7 771,7 @@29028 @@ -7585,6 +7813,7 @@ 27687 29029 also use it for temp files, e.g., for Unix: "r/tmp". Case is 27688 29030 ignored. Maximum length of each 'r' argument is 50 … … 27692 29034 not saved. Currently only applies to registers. The default 27693 29035 "s10" will exclude registers with more than 10 Kbyte of text. 27694 @@ -7736,9 +79 23,9 @@29036 @@ -7736,9 +7965,9 @@ 27695 29037 {not available when compiled without the |+wildignore| 27696 29038 feature} … … 27705 29047 Also see 'suffixes'. 27706 29048 Example: > 27707 @@ -7747,6 +79 34,17 @@29049 @@ -7747,6 +7976,17 @@ 27708 29050 a pattern from the list. This avoids problems when a future version 27709 29051 uses another default. … … 27723 29065 'wildmenu' 'wmnu' boolean (default off) 27724 29066 global 27725 @@ -7761,6 + 7959,7 @@29067 @@ -7761,6 +8001,7 @@ 27726 29068 CTRL-P/CTRL-N, cause the highlight to move to the appropriate match. 27727 29069 When 'wildmode' is used, "wildmenu" mode is used where "full" is … … 27731 29073 the right and/or a "<" is shown on the left. The status line scrolls 27732 29074 as needed. 27733 @@ -8029,8 +82 28,13 @@29075 @@ -8029,8 +8270,13 @@ 27734 29076 {not in Vi} 27735 29077 Make a backup before overwriting a file. The backup is removed after … … 27749 29091 diff -Naur vim73.orig/runtime/doc/os_risc.txt vim73/runtime/doc/os_risc.txt 27750 29092 --- vim73.orig/runtime/doc/os_risc.txt 2010-08-15 12:23:21.000000000 +0000 27751 +++ vim73/runtime/doc/os_risc.txt 2013-0 6-07 17:07:09.345648655 +000029093 +++ vim73/runtime/doc/os_risc.txt 2013-08-04 19:09:07.930618585 +0000 27752 29094 @@ -1,322 +1,12 @@ 27753 29095 -*os_risc.txt* For Vim version 7.3. Last change: 2010 Aug 07 … … 28078 29420 diff -Naur vim73.orig/runtime/doc/os_vms.txt vim73/runtime/doc/os_vms.txt 28079 29421 --- vim73.orig/runtime/doc/os_vms.txt 2010-08-15 12:23:21.000000000 +0000 28080 +++ vim73/runtime/doc/os_vms.txt 2013-0 6-07 17:07:09.365648598+000029422 +++ vim73/runtime/doc/os_vms.txt 2013-08-04 19:09:07.933951909 +0000 28081 29423 @@ -1,4 +1,4 @@ 28082 29424 -*os_vms.txt* For Vim version 7.3. Last change: 2010 Jul 28 … … 28388 29730 diff -Naur vim73.orig/runtime/doc/os_win32.txt vim73/runtime/doc/os_win32.txt 28389 29731 --- vim73.orig/runtime/doc/os_win32.txt 2010-08-15 12:23:21.000000000 +0000 28390 +++ vim73/runtime/doc/os_win32.txt 2013-0 6-07 17:07:09.382315217+000029732 +++ vim73/runtime/doc/os_win32.txt 2013-08-04 19:09:07.933951909 +0000 28391 29733 @@ -1,4 +1,4 @@ 28392 29734 -*os_win32.txt* For Vim version 7.3. Last change: 2010 Jul 20 … … 28435 29777 diff -Naur vim73.orig/runtime/doc/pattern.txt vim73/runtime/doc/pattern.txt 28436 29778 --- vim73.orig/runtime/doc/pattern.txt 2010-08-15 12:23:21.000000000 +0000 28437 +++ vim73/runtime/doc/pattern.txt 2013-0 6-07 17:07:09.388981864+000029779 +++ vim73/runtime/doc/pattern.txt 2013-08-04 19:09:07.937285232 +0000 28438 29780 @@ -1,4 +1,4 @@ 28439 29781 -*pattern.txt* For Vim version 7.3. Last change: 2010 Jul 20 … … 28717 30059 diff -Naur vim73.orig/runtime/doc/pi_getscript.txt vim73/runtime/doc/pi_getscript.txt 28718 30060 --- vim73.orig/runtime/doc/pi_getscript.txt 2010-08-15 12:23:21.000000000 +0000 28719 +++ vim73/runtime/doc/pi_getscript.txt 2013-0 6-07 17:07:09.412315131+000030061 +++ vim73/runtime/doc/pi_getscript.txt 2013-08-04 19:09:07.940618555 +0000 28720 30062 @@ -1,15 +1,21 @@ 28721 30063 -*pi_getscript.txt* For Vim version 7.3. Last change: 2009 Oct 14 … … 28862 30204 diff -Naur vim73.orig/runtime/doc/pi_gzip.txt vim73/runtime/doc/pi_gzip.txt 28863 30205 --- vim73.orig/runtime/doc/pi_gzip.txt 2010-08-15 12:23:21.000000000 +0000 28864 +++ vim73/runtime/doc/pi_gzip.txt 2013-0 6-07 17:07:09.418981779+000030206 +++ vim73/runtime/doc/pi_gzip.txt 2013-08-04 19:09:07.940618555 +0000 28865 30207 @@ -1,4 +1,4 @@ 28866 30208 -*pi_gzip.txt* For Vim version 7.3. Last change: 2002 Oct 29 … … 28880 30222 diff -Naur vim73.orig/runtime/doc/pi_netrw.txt vim73/runtime/doc/pi_netrw.txt 28881 30223 --- vim73.orig/runtime/doc/pi_netrw.txt 2010-08-15 12:23:21.000000000 +0000 28882 +++ vim73/runtime/doc/pi_netrw.txt 2013-0 6-07 17:07:09.482314931+000030224 +++ vim73/runtime/doc/pi_netrw.txt 2013-08-04 19:09:07.950618525 +0000 28883 30225 @@ -1,22 +1,21 @@ 28884 30226 -*pi_netrw.txt* For Vim version 7.3. Last change: 2010 Jul 28 … … 31248 32590 diff -Naur vim73.orig/runtime/doc/pi_paren.txt vim73/runtime/doc/pi_paren.txt 31249 32591 --- vim73.orig/runtime/doc/pi_paren.txt 2010-08-15 12:23:21.000000000 +0000 31250 +++ vim73/runtime/doc/pi_paren.txt 2013-0 6-07 17:07:09.485648255 +000032592 +++ vim73/runtime/doc/pi_paren.txt 2013-08-04 19:09:07.950618525 +0000 31251 32593 @@ -1,4 +1,4 @@ 31252 32594 -*pi_paren.txt* For Vim version 7.3. Last change: 2008 Jun 16 … … 31269 32611 diff -Naur vim73.orig/runtime/doc/pi_tar.txt vim73/runtime/doc/pi_tar.txt 31270 32612 --- vim73.orig/runtime/doc/pi_tar.txt 2010-08-15 12:23:21.000000000 +0000 31271 +++ vim73/runtime/doc/pi_tar.txt 2013-0 6-07 17:07:09.528981465+000032613 +++ vim73/runtime/doc/pi_tar.txt 2013-08-04 19:09:07.953951848 +0000 31272 32614 @@ -1,14 +1,21 @@ 31273 32615 -*pi_tar.txt* For Vim version 7.3. Last change: 2010 Aug 09 … … 31335 32677 diff -Naur vim73.orig/runtime/doc/pi_vimball.txt vim73/runtime/doc/pi_vimball.txt 31336 32678 --- vim73.orig/runtime/doc/pi_vimball.txt 2010-08-15 12:23:21.000000000 +0000 31337 +++ vim73/runtime/doc/pi_vimball.txt 2013-0 6-07 17:07:09.545648084+000032679 +++ vim73/runtime/doc/pi_vimball.txt 2013-08-04 19:09:07.957285172 +0000 31338 32680 @@ -1,4 +1,4 @@ 31339 32681 -*pi_vimball.txt* For Vim version 7.3. Last change: 2010 Apr 12 … … 31406 32748 diff -Naur vim73.orig/runtime/doc/pi_zip.txt vim73/runtime/doc/pi_zip.txt 31407 32749 --- vim73.orig/runtime/doc/pi_zip.txt 2010-08-15 12:23:21.000000000 +0000 31408 +++ vim73/runtime/doc/pi_zip.txt 2013-0 6-07 17:07:09.555648055+000032750 +++ vim73/runtime/doc/pi_zip.txt 2013-08-04 19:09:07.957285172 +0000 31409 32751 @@ -1,30 +1,31 @@ 31410 32752 -*pi_zip.txt* For Vim version 7.3. Last change: 2010 Apr 12 … … 31494 32836 diff -Naur vim73.orig/runtime/doc/quickfix.txt vim73/runtime/doc/quickfix.txt 31495 32837 --- vim73.orig/runtime/doc/quickfix.txt 2010-08-15 12:23:21.000000000 +0000 31496 +++ vim73/runtime/doc/quickfix.txt 2013-0 6-07 17:07:09.592314617+000032838 +++ vim73/runtime/doc/quickfix.txt 2013-08-04 19:09:07.963951818 +0000 31497 32839 @@ -1,4 +1,4 @@ 31498 32840 -*quickfix.txt* For Vim version 7.3. Last change: 2010 Jul 20 … … 31589 32931 diff -Naur vim73.orig/runtime/doc/quickref.txt vim73/runtime/doc/quickref.txt 31590 32932 --- vim73.orig/runtime/doc/quickref.txt 2010-08-15 12:23:21.000000000 +0000 31591 +++ vim73/runtime/doc/quickref.txt 2013-0 6-07 17:07:09.622314532 +000032933 +++ vim73/runtime/doc/quickref.txt 2013-08-04 19:09:07.967285142 +0000 31592 32934 @@ -1,4 +1,4 @@ 31593 32935 -*quickref.txt* For Vim version 7.3. Last change: 2010 Jul 24 31594 +*quickref.txt* For Vim version 7.3. Last change: 2013 May 2032936 +*quickref.txt* For Vim version 7.3. Last change: 2013 Jun 29 31595 32937 31596 32938 … … 31776 33118 'fillchars' 'fcs' characters to use for displaying special items 31777 33119 'fkmap' 'fk' Farsi keyboard mapping 31778 @@ -800,7 +802,7 @@ 33120 @@ -736,10 +738,12 @@ 33121 'iconstring' string to use for the Vim icon text 33122 'ignorecase' 'ic' ignore case in search patterns 33123 'imactivatekey' 'imak' key that activates the X input method 33124 +'imactivatefunc' 'imaf' function to enable/disable the X input method 33125 'imcmdline' 'imc' use IM when starting to edit a command line 33126 'imdisable' 'imd' do not use the IM in any mode 33127 'iminsert' 'imi' use :lmap or IM in Insert mode 33128 'imsearch' 'ims' use :lmap or IM when typing a search pattern 33129 +'imstatusfunc' 'imsf' function to obtain X input method status 33130 'include' 'inc' pattern to be used to find an include file 33131 'includeexpr' 'inex' expression used to process an include line 33132 'incsearch' 'is' highlight match while typing search pattern 33133 @@ -800,7 +804,7 @@ 31779 33134 'omnifunc' 'ofu' function for filetype-specific completion 31780 33135 'opendevice' 'odev' allow reading/writing devices on MS-Windows … … 31785 33140 'paste' allow pasting text 31786 33141 'pastetoggle' 'pt' key code that causes 'paste' to toggle 31787 @@ -822,6 +82 4,7 @@33142 @@ -822,6 +826,7 @@ 31788 33143 'quoteescape' 'qe' escape characters used in a string 31789 33144 'readonly' 'ro' disallow writing the buffer … … 31793 33148 'remap' allow mappings to work recursively 31794 33149 'report' threshold for reporting nr. of lines changed 31795 @@ -850,6 +85 3,7 @@33150 @@ -850,6 +855,7 @@ 31796 33151 'shellslash' 'ssl' use forward slash for shell file names 31797 33152 'shelltemp' 'stmp' whether to use a temp file for shell commands … … 31801 33156 'shiftround' 'sr' round indent to multiple of shiftwidth 31802 33157 'shiftwidth' 'sw' number of spaces to use for (auto)indent step 31803 @@ -934,6 +9 38,7 @@33158 @@ -934,6 +940,7 @@ 31804 33159 'wildchar' 'wc' command-line character for wildcard expansion 31805 33160 'wildcharm' 'wcm' like 'wildchar' but also works when mapped … … 31809 33164 'wildmode' 'wim' mode for 'wildchar' command-line expansion 31810 33165 'wildoptions' 'wop' specifies how command line completion is done 31811 @@ -955,9 +96 0,9 @@33166 @@ -955,9 +962,9 @@ 31812 33167 ------------------------------------------------------------------------------ 31813 33168 *Q_ur* Undo/Redo commands … … 31821 33176 *Q_et* External commands 31822 33177 31823 @@ -1008,7 +101 3,7 @@33178 @@ -1008,7 +1015,7 @@ 31824 33179 C4350, etc.) 31825 33180 |:normal| :norm[al][!] {commands} … … 31830 33185 |:redir| :redir >{file} redirect messages to {file} 31831 33186 |:silent| :silent[!] {command} execute {command} silently 31832 @@ -1084,18 +10 89,18 @@33187 @@ -1084,18 +1091,18 @@ 31833 33188 ------------------------------------------------------------------------------ 31834 33189 *Q_ex* Special Ex characters … … 31855 33210 |:<cword>| <cword> word under the cursor (only where a file name is 31856 33211 expected) 31857 @@ -1168,18 +117 3,18 @@33212 @@ -1168,18 +1175,18 @@ 31858 33213 Without !: Fail if changes have been made to the current buffer. 31859 33214 With !: Discard any changes to the current buffer. … … 31883 33238 ------------------------------------------------------------------------------ 31884 33239 *Q_fl* Using the argument list |argument-list| 31885 @@ -1195,12 +120 0,12 @@33240 @@ -1195,12 +1202,12 @@ 31886 33241 31887 33242 in current window in new window ~ … … 31899 33254 *Q_wq* Writing and quitting 31900 33255 31901 @@ -1377,7 +138 2,7 @@33256 @@ -1377,7 +1384,7 @@ 31902 33257 set foldmethod=indent folding by indent 31903 33258 set foldmethod=expr folding by 'foldexpr' … … 31910 33265 diff -Naur vim73.orig/runtime/doc/quotes.txt vim73/runtime/doc/quotes.txt 31911 33266 --- vim73.orig/runtime/doc/quotes.txt 2010-08-15 12:23:21.000000000 +0000 31912 +++ vim73/runtime/doc/quotes.txt 2013-0 6-07 17:07:09.642314475 +000033267 +++ vim73/runtime/doc/quotes.txt 2013-08-04 19:09:07.970618465 +0000 31913 33268 @@ -1,4 +1,4 @@ 31914 33269 -*quotes.txt* For Vim version 7.3. Last change: 2006 Apr 24 … … 31946 33301 diff -Naur vim73.orig/runtime/doc/repeat.txt vim73/runtime/doc/repeat.txt 31947 33302 --- vim73.orig/runtime/doc/repeat.txt 2010-08-15 12:23:22.000000000 +0000 31948 +++ vim73/runtime/doc/repeat.txt 2013-0 6-07 17:07:09.672314389+000033303 +++ vim73/runtime/doc/repeat.txt 2013-08-04 19:09:07.977285112 +0000 31949 33304 @@ -1,4 +1,4 @@ 31950 33305 -*repeat.txt* For Vim version 7.3. Last change: 2009 Nov 04 … … 31992 33347 diff -Naur vim73.orig/runtime/doc/sign.txt vim73/runtime/doc/sign.txt 31993 33348 --- vim73.orig/runtime/doc/sign.txt 2010-08-15 12:23:22.000000000 +0000 31994 +++ vim73/runtime/doc/sign.txt 2013-0 6-07 17:07:09.742314189+000033349 +++ vim73/runtime/doc/sign.txt 2013-08-04 19:09:07.980618435 +0000 31995 33350 @@ -1,4 +1,4 @@ 31996 33351 -*sign.txt* For Vim version 7.3. Last change: 2010 May 07 … … 32042 33397 diff -Naur vim73.orig/runtime/doc/spell.txt vim73/runtime/doc/spell.txt 32043 33398 --- vim73.orig/runtime/doc/spell.txt 2010-08-15 12:23:22.000000000 +0000 32044 +++ vim73/runtime/doc/spell.txt 2013-0 6-07 17:07:09.755647484+000033399 +++ vim73/runtime/doc/spell.txt 2013-08-04 19:09:07.987285082 +0000 32045 33400 @@ -1,4 +1,4 @@ 32046 33401 -*spell.txt* For Vim version 7.3. Last change: 2010 Apr 11 32047 +*spell.txt* For Vim version 7.3. Last change: 201 1 May 2533402 +*spell.txt* For Vim version 7.3. Last change: 2013 Jun 26 32048 33403 32049 33404 … … 32068 33423 the optimal word tree (Polish, Italian and Hungarian 32069 33424 require several hundred Mbyte). The final result will 32070 @@ -1241,6 +1244,7 @@ 33425 @@ -925,9 +928,13 @@ 33426 Vim allows you to use spell checking for several languages in the same file. 33427 You can list them in the 'spelllang' option. As a consequence all spell files 33428 for the same encoding must use the same word characters, otherwise they can't 33429 -be combined without errors. If you get a warning that the word tables differ 33430 -you may need to generate the .spl file again with |:mkspell|. Check the FOL, 33431 -LOW and UPP lines in the used .aff file. 33432 +be combined without errors. 33433 + 33434 +If you get an E763 warning that the word tables differ you need to update your 33435 +".spl" spell files. If you downloaded the files, get the latest version of 33436 +all spell files you use. Otherwise generate the .spl file again with 33437 +|:mkspell|. If you still get errors check the FOL, LOW and UPP lines in the 33438 +used .aff files. 33439 33440 The XX.ascii.spl spell file generated with the "-ascii" argument will not 33441 contain the table with characters, so that it can be combine with spell files 33442 @@ -1241,6 +1248,7 @@ 32071 33443 Optionally this may be followed by: 32072 33444 * the group appears zero or more times, e.g., sm*e … … 32076 33448 This is similar to the regexp pattern syntax (but not the same!). A few 32077 33449 examples with the sequence of word flags they require: 32078 @@ -1248,6 +125 2,7 @@33450 @@ -1248,6 +1256,7 @@ 32079 33451 COMPOUNDRULE yz yz 32080 33452 COMPOUNDRULE x+z xz xxz xxxz etc. … … 32086 33458 diff -Naur vim73.orig/runtime/doc/starting.txt vim73/runtime/doc/starting.txt 32087 33459 --- vim73.orig/runtime/doc/starting.txt 2010-08-15 12:23:22.000000000 +0000 32088 +++ vim73/runtime/doc/starting.txt 2013-0 6-07 17:07:09.798980694+000033460 +++ vim73/runtime/doc/starting.txt 2013-08-04 19:09:07.990618405 +0000 32089 33461 @@ -1,4 +1,4 @@ 32090 33462 -*starting.txt* For Vim version 7.3. Last change: 2009 Dec 31 32091 +*starting.txt* For Vim version 7.3. Last change: 2013 May 2933463 +*starting.txt* For Vim version 7.3. Last change: 2013 Jun 12 32092 33464 32093 33465 … … 32162 33534 --nofork GUI: Do not fork. Same as |-f|. 32163 33535 *-u* *E282* 32164 @@ -869,6 +875,7 @@ 33536 @@ -751,11 +757,21 @@ 33537 file, but "exrc" is what Vi always used, "vimrc" is a Vim specific 33538 name. Also see |vimrc-intro|. 33539 33540 - Recommended place for your personal initializations: 33541 - Unix $HOME/.vimrc 33542 - OS/2 $HOME/.vimrc or $VIM/.vimrc (or _vimrc) 33543 - MS-DOS and Win32 $HOME/_vimrc or $VIM/_vimrc 33544 - Amiga s:.vimrc or $VIM/.vimrc 33545 + Places for your personal initializations: 33546 + Unix $HOME/.vimrc or $HOME/.vim/vimrc 33547 + OS/2 $HOME/.vimrc, $HOME/vimfiles/vimrc 33548 + or $VIM/.vimrc (or _vimrc) 33549 + MS-Windows $HOME/_vimrc, $HOME/vimfiles/vimrc 33550 + or $VIM/_vimrc 33551 + Amiga s:.vimrc, home:.vimrc, home:vimfiles:vimrc 33552 + or $VIM/.vimrc 33553 + 33554 + The files are searched in the order specified above and only the first 33555 + one that is found is read. 33556 + 33557 + RECOMMENDATION: Put all your Vim configuration stuff in the 33558 + $HOME/.vim/ directory ($HOME/vimfiles/ for MS-Windows). That makes it 33559 + easy to copy it to another system. 33560 33561 If Vim was started with "-u filename", the file "filename" is used. 33562 All following initializations until 4. are skipped. 33563 @@ -785,12 +801,15 @@ 33564 - The environment variable VIMINIT (see also |compatible-default|) (*) 33565 The value of $VIMINIT is used as an Ex command line. 33566 - The user vimrc file(s): 33567 - "$HOME/.vimrc" (for Unix and OS/2) (*) 33568 - "s:.vimrc" (for Amiga) (*) 33569 - "home:.vimrc" (for Amiga) (*) 33570 - "$VIM/.vimrc" (for OS/2 and Amiga) (*) 33571 - "$HOME/_vimrc" (for MS-DOS and Win32) (*) 33572 - "$VIM/_vimrc" (for MS-DOS and Win32) (*) 33573 + "$HOME/.vimrc" (for Unix and OS/2) (*) 33574 + "$HOME/.vim/vimrc" (for Unix and OS/2) (*) 33575 + "s:.vimrc" (for Amiga) (*) 33576 + "home:.vimrc" (for Amiga) (*) 33577 + "home:vimfiles:vimrc" (for Amiga) (*) 33578 + "$VIM/.vimrc" (for OS/2 and Amiga) (*) 33579 + "$HOME/_vimrc" (for MS-DOS and Win32) (*) 33580 + "$HOME/vimfiles/vimrc" (for MS-DOS and Win32) (*) 33581 + "$VIM/_vimrc" (for MS-DOS and Win32) (*) 33582 Note: For Unix, OS/2 and Amiga, when ".vimrc" does not exist, 33583 "_vimrc" is also tried, in case an MS-DOS compatible file 33584 system is used. For MS-DOS and Win32 ".vimrc" is checked 33585 @@ -869,6 +888,7 @@ 32165 33586 12. Execute startup commands 32166 33587 If a "-t" flag was given to Vim, the tag is jumped to. … … 32172 33593 diff -Naur vim73.orig/runtime/doc/syntax.txt vim73/runtime/doc/syntax.txt 32173 33594 --- vim73.orig/runtime/doc/syntax.txt 2010-08-15 12:23:22.000000000 +0000 32174 +++ vim73/runtime/doc/syntax.txt 2013-0 6-07 17:07:09.818980637+000033595 +++ vim73/runtime/doc/syntax.txt 2013-08-04 19:09:08.000618375 +0000 32175 33596 @@ -1,4 +1,4 @@ 32176 33597 -*syntax.txt* For Vim version 7.3. Last change: 2010 Aug 10 32177 +*syntax.txt* For Vim version 7.3. Last change: 2013 Ju n 0633598 +*syntax.txt* For Vim version 7.3. Last change: 2013 Jul 05 32178 33599 32179 33600 … … 32197 33618 32198 33619 NAMING CONVENTIONS *group-name* *{group-name}* *E669* *W18* 32199 @@ -379,140 +381,342 @@ 33620 @@ -377,142 +379,379 @@ 33621 2HTML *2html.vim* *convert-to-HTML* 33622 32200 33623 This is not a syntax file itself, but a script that converts the current 32201 window into HTML. Vim opens a new window in which it builds the HTML file. 32202 32203 +After you save the resulting file, you can view it with any browser. The 32204 +colors should be exactly the same as you see them in Vim. You can jump to 32205 +specific lines by adding (for example) #L123 or #123 to the end of the URL in 32206 +your browser's address bar (#123 only with javascript support). And with 33624 -window into HTML. Vim opens a new window in which it builds the HTML file. 33625 +window into HTML. Vim opens a new window in which it builds the HTML file. 33626 + 33627 +After you save the resulting file, you can view it with any browser. The 33628 +colors should be exactly the same as you see them in Vim. With 33629 +|g:html_line_ids| you can jump to specific lines by adding (for example) #L123 33630 +or #123 to the end of the URL in your browser's address bar. And with 32207 33631 +|g:html_dynamic_folds| enabled, you can show or hide the text that is folded 32208 33632 +in Vim. 32209 + 33633 32210 33634 You are not supposed to set the 'filetype' or 'syntax' option to "2html"! 32211 33635 Source the script to convert the current file: > … … 32268 33692 + respectively. Default range is the entire buffer. 32269 33693 + 32270 + If the current window is part of a |diff|, unless 32271 + |g:html_diff_one_file| is set, :TOhtml will convert 32272 + all windows which are part of the diff in the current 32273 + tab and place them side-by-side in a <table> element 32274 + in the generated HTML. When this happens you can jump 32275 + to lines in specific windows with (for example) #W1L42 32276 + for line 42 in the first diffed window, or #W3L87 for 32277 + line 87 in the third. Omitting the window ID will 32278 + default to the first window if javascript is enabled. 33694 + If the current window is part of a |diff|, unless 33695 + |g:html_diff_one_file| is set, :TOhtml will convert 33696 + all windows which are part of the diff in the current 33697 + tab and place them side-by-side in a <table> element 33698 + in the generated HTML. With |g:html_line_ids| you can 33699 + jump to lines in specific windows with (for example) 33700 + #W1L42 for line 42 in the first diffed window, or 33701 + #W3L87 for line 87 in the third. 32279 33702 + 32280 33703 + Examples: > … … 32286 33709 + *g:html_diff_one_file* 32287 33710 +Default: 0. 32288 +When 0, a ll windows involved in a |diff| in the current tab page are converted32289 + to HTML and placed side-by-side in a <table> element.32290 + When1, only the current buffer is converted.33711 +When 0, and using |:TOhtml| all windows involved in a |diff| in the current tab 33712 +page are converted to HTML and placed side-by-side in a <table> element. When 33713 +1, only the current buffer is converted. 32291 33714 +Example: > 32292 33715 + … … 32345 33768 -If you need to generate markup for really old browsers or some other user 32346 33769 -agent that lacks basic CSS support, use: > 33770 +< 33771 + *g:html_line_ids* 33772 +Default: 1 if |g:html_number_lines| is set, 0 otherwise. 33773 +When 1, adds an HTML id attribute to each line number, or to an empty <span> 33774 +inserted for that purpose if no line numbers are shown. This ID attribute 33775 +takes the form of L123 for single-buffer HTML pages, or W2L123 for diff-view 33776 +pages, and is used to jump to a specific line (in a specific window of a diff 33777 +view). Javascript is inserted to open any closed dynamic folds 33778 +(|g:html_dynamic_folds|) containing the specificed line before jumping. The 33779 +javascript also allows omitting the window ID in the url, and the leading L. 33780 +For example: > 33781 + 33782 + page.html#L123 jumps to line 123 in a single-buffer file 33783 + page.html#123 does the same 33784 + 33785 + diff.html#W1L42 jumps to line 42 in the first window in a diff 33786 + diff.html#42 does the same 32347 33787 +< 32348 33788 + *g:html_use_css* … … 32491 33931 -risk of making some things look a bit different, use: > 32492 33932 +< 33933 + *g:html_id_expr* 33934 +Default: "" 33935 +Dynamic folding and jumping to line IDs rely on unique IDs within the document 33936 +to work. If generated HTML is copied into a larger document, these IDs are no 33937 +longer guaranteed to be unique. Set g:html_id_expr to an expression Vim can 33938 +evaluate to get a unique string to append to each ID used in a given document, 33939 +so that the full IDs will be unique even when combined with other content in a 33940 +larger HTML document. Example, to append _ and the buffer number to each ID: > 33941 + 33942 + :let g:html_id_expr = '"_".bufnr("%")' 33943 +< 33944 +To append a string "_mystring" to the end of each ID: > 33945 + 33946 + :let g:html_id_expr = '"_mystring"' 33947 +< 33948 +Note, when converting a diff view to HTML, the expression will only be 33949 +evaluated for the first window in the diff, and the result used for all the 33950 +windows. 33951 + 32493 33952 + *TOhtml-wrap-text* *g:html_pre_wrap* 32494 33953 +Default: current 'wrap' setting. … … 32644 34103 32645 34104 ABEL *abel.vim* *ft-abel-syntax* 32646 @@ -589,7 + 793,11 @@34105 @@ -589,7 +828,11 @@ 32647 34106 asmsyntax=nasm 32648 34107 Replace "nasm" with the name of the real assembly syntax. This line must be … … 32657 34116 The syntax type can always be overruled for a specific buffer by setting the 32658 34117 b:asmsyntax variable: > 32659 @@ -694,10 +9 02,12 @@34118 @@ -694,10 +937,12 @@ 32660 34119 c_ansi_typedefs ... but do standard ANSI types 32661 34120 c_ansi_constants ... but do standard ANSI constants … … 32671 34130 When 'foldmethod' is set to "syntax" then /* */ comments and { } blocks will 32672 34131 become a fold. If you don't want comments to become a fold use: > 32673 @@ -798,6 +10 08,14 @@34132 @@ -798,6 +1043,14 @@ 32674 34133 The ColdFusion syntax file is based on the HTML syntax file. 32675 34134 … … 32686 34145 32687 34146 This covers the shell named "csh". Note that on some systems tcsh is actually 32688 @@ -806,13 +10 24,13 @@34147 @@ -806,13 +1059,13 @@ 32689 34148 Detecting whether a file is csh or tcsh is notoriously hard. Some systems 32690 34149 symlink /bin/csh to /bin/tcsh, making it almost impossible to distinguish … … 32704 34163 Any script with a tcsh extension or a standard tcsh filename (.tcshrc, 32705 34164 tcsh.tcshrc, tcsh.login) will have filetype tcsh. All other tcsh/csh scripts 32706 @@ -872,8 +1 090,8 @@34165 @@ -872,8 +1125,8 @@ 32707 34166 32708 34167 … … 32715 34174 There are two types of DocBook files: SGML and XML. To specify what type you 32716 34175 are using the "b:docbk_type" variable should be set. Vim does this for you 32717 @@ -889,6 +11 07,10 @@34176 @@ -889,6 +1142,10 @@ 32718 34177 or: > 32719 34178 :set filetype=docbkxml … … 32726 34185 DOSBATCH *dosbatch.vim* *ft-dosbatch-syntax* 32727 34186 32728 @@ -925,9 +11 47,9 @@34187 @@ -925,9 +1182,9 @@ 32729 34188 or > 32730 34189 // vim:syntax=c.doxygen … … 32739 34198 32740 34199 There are a couple of variables that have an effect on syntax highlighting, and 32741 @@ -1026,22 +12 48,24 @@34200 @@ -1026,22 +1283,24 @@ 32742 34201 32743 34202 ERLANG *erlang.vim* *ft-erlang-syntax* … … 32774 34233 Syntax highlighting is available for the most common elements of FlexWiki 32775 34234 syntax. The associated ftplugin script sets some buffer-local options to make 32776 @@ -1093,14 +13 17,12 @@34235 @@ -1093,14 +1352,12 @@ 32777 34236 FORTRAN *fortran.vim* *ft-fortran-syntax* 32778 34237 … … 32784 34243 -automatically available in the default (f95) highlighting. 32785 34244 +Highlighting appropriate for Fortran 2008 is used by default. This choice 32786 +should be appropriate for most users most of the time because Fortran 2008 is 32787 +almost a superset of previous versions (Fortran 2003, 95, 90, and 77). 34245 +should be appropriate for most users most of the time because Fortran 2008 is 34246 +almost a superset of previous versions (Fortran 2003, 95, 90, and 77). 32788 34247 32789 34248 Fortran source code form ~ … … 32793 34252 32794 34253 When you create a new fortran file, the syntax script assumes fixed source 32795 @@ -1181,52 +14 03,54 @@34254 @@ -1181,52 +1438,54 @@ 32796 34255 construct. 32797 34256 … … 32832 34291 +If you use F, the advantage of setting the dialect appropriately is that 32833 34292 +other legacy features excluded from F will be highlighted as todo items and 32834 +that free source form will be assumed. 34293 +that free source form will be assumed. 32835 34294 + 32836 34295 +The dialect can be selected in various ways. If all your fortran files use … … 32875 34334 +now-obsolete values "f77", "f90", "f95", or "elf". Such settings will be 32876 34335 +silently handled as "f08". Users of "elf" may wish to experiment with "F" 32877 +instead. 34336 +instead. 32878 34337 + 32879 34338 +The syntax/fortran.vim script contains embedded comments that tell you how to … … 32881 34340 +non-standard, vendor-supplied intrinsics and (b) to prevent features deleted 32882 34341 +or declared obsolescent in the 2008 standard from being highlighted as todo 32883 +items. 34342 +items. 32884 34343 32885 34344 Limitations ~ 32886 34345 Parenthesis checking does not catch too few closing parentheses. Hollerith 32887 @@ -1541,11 +1 765,6 @@34346 @@ -1541,11 +1800,6 @@ 32888 34347 strings, strings, boolean constants and types (this, super) respectively. I 32889 34348 have opted to chose another background for those statements. … … 32897 34356 creates HTML pages. The standard configuration will highlight this HTML code 32898 34357 similarly to HTML files (see |html.vim|). You can even add Javascript 32899 @@ -1684,19 +19 03,10 @@34358 @@ -1684,19 +1938,10 @@ 32900 34359 32901 34360 LUA *lua.vim* *ft-lua-syntax* … … 32919 34378 :let lua_version = 5 32920 34379 :let lua_subversion = 1 32921 @@ -1868,7 +2 078,7 @@34380 @@ -1868,7 +2113,7 @@ 32922 34381 than you intend to have in your final document. For this reason, the common 32923 34382 practice is to insert a carriage return immediately after all punctuation … … 32928 34387 32929 34388 :let nroff_space_errors = 1 32930 @@ -2085,7 +2295,7 @@ 34389 @@ -1987,9 +2232,11 @@ 34390 34391 There are a number of possible options to the perl syntax highlighting. 34392 34393 -If you use POD files or POD segments, you might: > 34394 +Inline POD highlighting is now turned on by default. If you don't wish 34395 +to have the added complexity of highlighting POD embedded within Perl 34396 +files, you may set the 'perl_include_pod' option to 0: > 34397 34398 - :let perl_include_pod = 1 34399 + :let perl_include_pod = 0 34400 34401 The reduce the complexity of parsing (and increase performance) you can switch 34402 off two elements in the parsing of variable names and contents. > 34403 @@ -2042,13 +2289,20 @@ 34404 34405 :let perl_fold_blocks = 1 34406 34407 -To avoid folding packages or subs when perl_fold is let, let the appropriate 34408 -variable(s): > 34409 +Subroutines are folded by default if 'perl_fold' is set. If you do not want 34410 +this, you can set 'perl_nofold_subs': > 34411 + 34412 + :let perl_nofold_subs = 1 34413 34414 - :unlet perl_nofold_packages 34415 - :unlet perl_nofold_subs 34416 +Anonymous subroutines are not folded by default; you may enable their folding 34417 +via 'perl_fold_anonymous_subs': > 34418 34419 + :let perl_fold_anonymous_subs = 1 34420 34421 +Packages are also folded by default if 'perl_fold' is set. To disable this 34422 +behavior, set 'perl_nofold_packages': > 34423 + 34424 + :let perl_nofold_packages = 1 34425 34426 PHP3 and PHP4 *php.vim* *php3.vim* *ft-php-syntax* *ft-php3-syntax* 34427 34428 @@ -2085,7 +2339,7 @@ 32931 34429 32932 34430 let php_parent_error_close = 1 … … 32937 34435 32938 34436 let php_parent_error_open = 1 32939 @@ -2247,24 +2 457,33 @@34437 @@ -2247,24 +2501,33 @@ 32940 34438 32941 34439 PYTHON *python.vim* *ft-python-syntax* … … 32955 34453 - :let python_highlight_exceptions = 1 32956 34454 + :let python_no_exception_highlight = 1 32957 32958 -For highlighted trailing whitespace and mix of spaces and tabs: 32959 - :let python_highlight_space_errors = 1 34455 + 32960 34456 +For highlighted doctests and code inside: > 32961 34457 + :let python_no_doctest_highlight = 1 … … 32963 34459 + :let python_no_doctest_code_highlight = 1 32964 34460 +(first option implies second one). 32965 + 34461 34462 -For highlighted trailing whitespace and mix of spaces and tabs: 34463 - :let python_highlight_space_errors = 1 32966 34464 +For highlighted trailing whitespace and mix of spaces and tabs: > 32967 34465 + :let python_space_error_highlight = 1 … … 32972 34470 :let python_highlight_all = 1 32973 34471 32974 +Note: only existence of these options matter, not their value. You can replace 34472 +Note: only existence of these options matter, not their value. You can replace 32975 34473 + 1 above with anything. 32976 34474 + … … 32978 34476 QUAKE *quake.vim* *ft-quake-syntax* 32979 34477 32980 @@ -2300,6 +25 19,12 @@34478 @@ -2300,6 +2563,12 @@ 32981 34479 later, and part earlier) adds. 32982 34480 … … 32991 34489 32992 34490 If you notice highlighting errors while scrolling backwards, which are fixed 32993 @@ -2310,6 +25 35,12 @@34491 @@ -2310,6 +2579,12 @@ 32994 34492 displayed line. The default value is 10. The disadvantage of using a larger 32995 34493 number is that redrawing can become slow. … … 33004 34502 RUBY *ruby.vim* *ft-ruby-syntax* 33005 34503 33006 @@ -2537,8 +2 768,41 @@34504 @@ -2537,8 +2812,41 @@ 33007 34505 The default is to use the twice sh_minlines. Set it to a smaller number to 33008 34506 speed up displaying. The disadvantage is that highlight errors may appear. … … 33039 34537 +be highlighted using the awk highlighting syntax. Clearly this may be 33040 34538 +extended to other languages. 34539 + 33041 34540 33042 34541 -SPEEDUP (AspenTech plant simulator) *spup.vim* *ft-spup-syntax* 33043 +33044 34542 +SPEEDUP *spup.vim* *ft-spup-syntax* 33045 34543 +(AspenTech plant simulator) … … 33047 34545 The Speedup syntax file has some options: 33048 34546 33049 @@ -2621,6 +2885,8 @@ 34547 @@ -2610,9 +2918,24 @@ 34548 redrawing can become slow. 34549 34550 34551 -TEX *tex.vim* *ft-tex-syntax* 34552 +TEX *tex.vim* *ft-tex-syntax* *latex-syntax* 34553 + 34554 + Tex Contents~ 34555 + Tex: Want Syntax Folding? |tex-folding| 34556 + Tex: No Spell Checking Wanted |g:tex_nospell| 34557 + Tex: Don't Want Spell Checking In Comments? |tex-nospell| 34558 + Tex: Want Spell Checking in Verbatim Zones? |tex-verb| 34559 + Tex: Run-on Comments or MathZones |tex-runon| 34560 + Tex: Slow Syntax Highlighting? |tex-slow| 34561 + Tex: Want To Highlight More Commands? |tex-morecommands| 34562 + Tex: Excessive Error Highlighting? |tex-error| 34563 + Tex: Need a new Math Group? |tex-math| 34564 + Tex: Starting a New Style? |tex-style| 34565 + Tex: Taking Advantage of Conceal Mode |tex-conceal| 34566 + Tex: Selective Conceal Mode |g:tex_conceal| 34567 + Tex: Controlling iskeyword |g:tex_isk| 34568 34569 - *tex-folding* 34570 + *tex-folding* *g:tex_fold_enabled* 34571 Tex: Want Syntax Folding? ~ 34572 34573 As of version 28 of <syntax/tex.vim>, syntax-based folding of parts, chapters, 34574 @@ -2621,16 +2944,28 @@ 33050 34575 in your <.vimrc>, and :set fdm=syntax. I suggest doing the latter via a 33051 34576 modeline at the end of your LaTeX file: > 33052 34577 % vim: fdm=syntax 33053 34578 +If your system becomes too slow, then you might wish to look into > 33054 + http://vim.wikia.com/wiki/Keep_folds_closed_while_inserting_text34579 + https://vimhelp.appspot.com/vim_faq.txt.html#faq-29.7 33055 34580 < 33056 *tex-nospell* 34581 - *tex-nospell* 34582 + *g:tex_nospell* 34583 + Tex: No Spell Checking Wanted~ 34584 + 34585 +If you don't want spell checking anywhere in your LaTeX document, put > 34586 + let g:tex_nospell=1 34587 +into your .vimrc. If you merely wish to suppress spell checking inside 34588 +comments only, see |g:tex_comment_nospell|. 34589 + 34590 + *tex-nospell* *g:tex_comment_nospell* 33057 34591 Tex: Don't Want Spell Checking In Comments? ~ 33058 @@ -2629,7 +2895,14 @@ 34592 34593 Some folks like to include things like source code in comments and so would 33059 34594 prefer that spell checking be disabled in comments in LaTeX files. To do 33060 34595 this, put the following in your <.vimrc>: > 33061 34596 let g:tex_comment_nospell= 1 33062 34597 -< 33063 +The comment lines > 33064 + % nospell{ 33065 + ... 33066 + % nospell} 33067 +will suppress spell checking between them. These comment lines spelling 33068 +control are known to be fragile; for example, don't include any of the section 33069 +commands (\part, \chapter, \section, \paragraph, etc) inside nospell blocks 33070 +or interleave environments (such as math) across nospell blocks. 33071 *tex-verb* 34598 - *tex-verb* 34599 +If you want to suppress spell checking everywhere inside your LaTeX document, 34600 +see |g:tex_nospell|. 34601 + 34602 + *tex-verb* *g:tex_verbspell* 33072 34603 Tex: Want Spell Checking in Verbatim Zones?~ 33073 34604 33074 @@ -2661,6 +2934,38 @@ 34605 Often verbatim regions are used for things like source code; seldom does 34606 @@ -2638,7 +2973,7 @@ 34607 want your verbatim zones spell-checked, put the following in your <.vimrc>: > 34608 let g:tex_verbspell= 1 34609 < 34610 - *tex-runon* 34611 + *tex-runon* *tex-stopzone* 34612 Tex: Run-on Comments or MathZones ~ 34613 34614 The <syntax/tex.vim> highlighting supports TeX, LaTeX, and some AmsTeX. The 34615 @@ -2651,7 +2986,7 @@ 34616 which will forcibly terminate the highlighting of either a texZone or a 34617 texMathZone. 34618 34619 - *tex-slow* 34620 + *tex-slow* *tex-sync* 34621 Tex: Slow Syntax Highlighting? ~ 34622 34623 If you have a slow computer, you may wish to reduce the values for > 34624 @@ -2661,7 +2996,39 @@ 33075 34625 increase them. This primarily affects synchronizing (i.e. just what group, 33076 34626 if any, is the text at the top of the screen supposed to be in?). 33077 34627 34628 - *tex-morecommands* *tex-package* 33078 34629 +Another cause of slow highlighting is due to syntax-driven folding; see 33079 34630 +|tex-folding| for a way around this. 33080 34631 + 33081 + 34632 + *g:tex_fast* 33082 34633 + 33083 34634 +Finally, if syntax highlighting is still too slow, you may set > … … 33108 34659 +but suppress all the other region-based syntax highlighting. 33109 34660 + 33110 34661 + *tex-morecommands* *tex-package* 33111 34662 Tex: Want To Highlight More Commands? ~ 33112 34663 33113 @@ -2669,7 +2974,9 @@ 34664 LaTeX is a programmable language, and so there are thousands of packages full 34665 @@ -2669,16 +3036,18 @@ 33114 34666 package you'll often wish that the distributed syntax/tex.vim would support 33115 34667 it. However, clearly this is impractical. So please consider using the … … 33120 34672 +http://vim.sf.net/. 33121 34673 33122 *tex-error* 34674 - *tex-error* 34675 + *tex-error* *g:tex_no_error* 33123 34676 Tex: Excessive Error Highlighting? ~ 33124 @@ -2731,6 +3038,7 @@ 33125 following sets of characters: > 34677 34678 The <tex.vim> supports lexical error checking of various sorts. Thus, 34679 although the error checking is ofttimes very useful, it can indicate 34680 errors where none actually are. If this proves to be a problem for you, 34681 you may put in your <.vimrc> the following statement: > 34682 - let tex_no_error=1 34683 + let g:tex_no_error=1 34684 and all error checking by <syntax/tex.vim> will be suppressed. 34685 34686 *tex-math* 34687 @@ -2696,7 +3065,7 @@ 34688 The "starform" variable, if true, implies that your new math group 34689 has a starred form (ie. eqnarray*). 34690 34691 - *tex-style* 34692 + *tex-style* *b:tex_stylish* 34693 Tex: Starting a New Style? ~ 34694 34695 One may use "\makeatletter" in *.tex files, thereby making the use of "@" in 34696 @@ -2723,14 +3092,15 @@ 34697 One way to use this is to have vertically split windows (see |CTRL-W_v|); one 34698 with |'conceallevel'| at 0 and the other at 2; and both using |'scrollbind'|. 34699 34700 - *g:tex_conceal* 34701 + *g:tex_conceal* 34702 Tex: Selective Conceal Mode~ 34703 34704 You may selectively use conceal mode by setting g:tex_conceal in your 34705 -<.vimrc>. By default it is set to "admgs" to enable conceal for the 34706 -following sets of characters: > 34707 +<.vimrc>. By default, g:tex_conceal is set to "admgs" to enable concealment 34708 +for the following sets of characters: > 33126 34709 33127 34710 a = accents/ligatures … … 33130 34713 m = math symbols 33131 34714 g = Greek 33132 @@ -2739,6 +3 047,18@@34715 @@ -2739,6 +3109,25 @@ 33133 34716 By leaving one or more of these out, the associated conceal-character 33134 34717 substitution will not be made. 33135 34718 33136 + *g:tex_isk* 33137 + Tex: Controlling What's In A Keyword~ 33138 + 33139 +(La)Tex keywords normally use the characters 0-9,a-z,A-Z,192-255 only 33140 +but the "_" is the only one that causes problems. So, by default, 33141 +syntax/tex.vim overrides the usual |'iskeyword'| setting (using |:setlocal|) 33142 +with one that works for LaTeX. 33143 + 33144 +However, one may override this iskeyword re-setting by setting the 33145 +variable, g:tex_isk, in one's .vimrc to whatever one wishes and 33146 +it will be used instead. 33147 + 34719 + *g:tex_isk* *g:tex_stylish* 34720 + Tex: Controlling iskeyword~ 34721 + 34722 +Normally, LaTeX keywords support 0-9, a-z, A-z, and 192-255 only. Latex 34723 +keywords don't support the underscore - except when in *.sty files. The 34724 +syntax highlighting script handles this with the following logic: 34725 + 34726 + * If g:tex_stylish exists and is 1 34727 + then the file will be treated as a "sty" file, so the "_" 34728 + will be allowed as part of keywords 34729 + (irregardless of g:tex_isk) 34730 + * Else if the file's suffix is sty, cls, clo, dtx, or ltx, 34731 + then the file will be treated as a "sty" file, so the "_" 34732 + will be allowed as part of keywords 34733 + (irregardless of g:tex_isk) 34734 + 34735 + * If g:tex_isk exists, then it will be used for the local 'iskeyword' 34736 + * Else the local 'iskeyword' will be set to 48-57,a-z,A-Z,192-255 34737 + 33148 34738 33149 34739 TF *tf.vim* *ft-tf-syntax* 33150 34740 33151 @@ -2792,7 +3112,7 @@ 34741 @@ -2748,8 +3137,7 @@ 34742 set "tf_minlines" to the value you desire. Example: > 34743 34744 :let tf_minlines = your choice 34745 - 34746 - 34747 +< 34748 VIM *vim.vim* *ft-vim-syntax* 34749 *g:vimsyn_minlines* *g:vimsyn_maxlines* 34750 There is a trade-off between more accurate syntax highlighting versus screen 34751 @@ -2792,7 +3180,7 @@ 33152 34752 g:vimsyn_folding =~ 'P' : fold python script 33153 34753 g:vimsyn_folding =~ 'r' : fold ruby script … … 33158 34758 Not all error highlighting that syntax/vim.vim does may be correct; VimL is a 33159 34759 difficult language to highlight correctly. A way to suppress error 33160 @@ -3174,6 +3 494,9 @@34760 @@ -3174,6 +3562,9 @@ 33161 34761 :hi par1 ctermfg=red guifg=red 33162 34762 :hi par2 ctermfg=blue guifg=blue … … 33168 34768 ============================================================================== 33169 34769 6. :syntax arguments *:syn-arguments* 33170 @@ -3218,11 +3 541,12 @@34770 @@ -3218,11 +3609,12 @@ 33171 34771 in this way when they have their own highlighting via "matchgroup" 33172 34772 … … 33183 34783 See |hl-Conceal| for highlighting. 33184 34784 33185 @@ -3536,7 +3 860,7 @@34785 @@ -3536,7 +3928,7 @@ 33186 34786 e end of the matched pattern 33187 34787 e+{nr} end of the matched pattern plus {nr} chars to the right … … 33192 34792 Examples: "ms=s+1", "hs=e-2", "lc=3". 33193 34793 33194 @@ -3633,10 + 3957,10 @@34794 @@ -3633,10 +4025,10 @@ 33195 34795 33196 34796 These extra regular expression items are available in region patterns: … … 33207 34807 */\z1* */\z2* */\z3* */\z4* */\z5* 33208 34808 \z1 ... \z9 */\z6* */\z7* */\z8* */\z9* *E66* *E67* 33209 @@ -3711,6 +4 035,9 @@34809 @@ -3711,6 +4103,9 @@ 33210 34810 :syntax match Stuff "( aaa bbb )" contains=@BigGroup 33211 34811 :syntax cluster BigGroup remove=B " no effect, since B isn't in BigGroup … … 33217 34817 ============================================================================== 33218 34818 9. Including syntax files *:syn-include* *E397* 33219 @@ -3750,6 +4 077,9 @@34819 @@ -3750,6 +4145,9 @@ 33220 34820 with his own version, without replacing the file that does the ":syn 33221 34821 include". … … 33227 34827 10. Synchronizing *:syn-sync* *E403* *E404* 33228 34828 33229 @@ -3803,7 +4 133,7 @@34829 @@ -3803,7 +4201,7 @@ 33230 34830 The file will be parsed from the start. This makes syntax highlighting 33231 34831 accurate, but can be slow for long files. Vim caches previously parsed text, … … 33236 34836 33237 34837 Using "fromstart" is equivalent to using "minlines" with a very large number. 33238 @@ -3953,7 +4 283,7 @@34838 @@ -3953,7 +4351,7 @@ 33239 34839 33240 34840 :sy[ntax] list {group-name} … … 33245 34845 :sy[ntax] list @{cluster-name} 33246 34846 33247 @@ -4316,6 +4646,9 @@ 34847 @@ -3986,7 +4384,7 @@ 34848 feature it will output "unknown". 34849 34850 :colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath' 34851 - for the file "colors/{name}.vim. The first one that 34852 + for the file "colors/{name}.vim". The first one that 34853 is found is loaded. 34854 To see the name of the currently active color scheme: > 34855 :colo 34856 @@ -4316,6 +4714,9 @@ 33248 34857 *hl-LineNr* 33249 34858 LineNr Line number for ":number" and ":#" commands, and when 'number' … … 33255 34864 MatchParen The character under the cursor or just before it, if it 33256 34865 is a paired bracket, and its match. |pi_paren.txt| 33257 @@ -4604,7 +4937,7 @@ 34866 @@ -4603,8 +5004,8 @@ 34867 "w:current_syntax". 33258 34868 33259 34869 Once a window has its own syntax, syntax commands executed from other windows 33260 34870 -on the same buffer (including :syntax clear) have no effect. Conversely, 33261 34871 -syntax commands executed from that window do not effect other windows on the 34872 +on the same buffer (including :syntax clear) have no effect. Conversely, 33262 34873 +syntax commands executed from that window do not affect other windows on the 33263 34874 same buffer. 33264 34875 33265 34876 A window with its own syntax reverts to normal behavior when another buffer 33266 @@ -4612,7 + 4945,7 @@34877 @@ -4612,7 +5013,7 @@ 33267 34878 When splitting the window, the new window will use the original syntax. 33268 34879 … … 33273 34884 Most color xterms have only eight colors. If you don't get colors with the 33274 34885 default setup, it should work with these lines in your .vimrc: > 33275 @@ -4754,4 +5 087,63 @@34886 @@ -4754,4 +5155,63 @@ 33276 34887 that Setup / Font / Enable Bold is NOT enabled. 33277 34888 (info provided by John Love-Jensen <eljay@Adobe.COM>) … … 33331 34942 +literal text specify the size of that text (in bytes): 33332 34943 + 33333 +"<\@<=span" 34944 +"<\@<=span" Matches "span" in "<span". This tries matching with "<" in 33334 34945 + many places. 33335 +"<\@1<=span" 34946 +"<\@1<=span" Matches the same, but only tries one byte before "span". 33336 34947 + 33337 34948 + … … 33339 34950 diff -Naur vim73.orig/runtime/doc/tabpage.txt vim73/runtime/doc/tabpage.txt 33340 34951 --- vim73.orig/runtime/doc/tabpage.txt 2010-08-15 12:23:22.000000000 +0000 33341 +++ vim73/runtime/doc/tabpage.txt 2013-0 6-07 17:07:09.825647285+000034952 +++ vim73/runtime/doc/tabpage.txt 2013-08-04 19:09:08.003951698 +0000 33342 34953 @@ -1,4 +1,4 @@ 33343 34954 -*tabpage.txt* For Vim version 7.3. Last change: 2010 Jul 31 … … 33378 34989 diff -Naur vim73.orig/runtime/doc/tags vim73/runtime/doc/tags 33379 34990 --- vim73.orig/runtime/doc/tags 2010-08-15 12:54:29.000000000 +0000 33380 +++ vim73/runtime/doc/tags 2013-0 6-07 17:07:09.852313875+000034991 +++ vim73/runtime/doc/tags 2013-08-04 19:09:08.013951668 +0000 33381 34992 @@ -154,12 +154,14 @@ 33382 34993 'cscopepathcomp' options.txt /*'cscopepathcomp'* … … 33415 35026 'go-T' options.txt /*'go-T'* 33416 35027 'go-a' options.txt /*'go-a'* 33417 @@ -520,6 +525,8 @@ 35028 @@ -336,7 +341,9 @@ 35029 'iconstring' options.txt /*'iconstring'* 35030 'ignorecase' options.txt /*'ignorecase'* 35031 'im' options.txt /*'im'* 35032 +'imactivatefunc' options.txt /*'imactivatefunc'* 35033 'imactivatekey' options.txt /*'imactivatekey'* 35034 +'imaf' options.txt /*'imaf'* 35035 'imak' options.txt /*'imak'* 35036 'imc' options.txt /*'imc'* 35037 'imcmdline' options.txt /*'imcmdline'* 35038 @@ -346,6 +353,8 @@ 35039 'iminsert' options.txt /*'iminsert'* 35040 'ims' options.txt /*'ims'* 35041 'imsearch' options.txt /*'imsearch'* 35042 +'imsf' options.txt /*'imsf'* 35043 +'imstatusfunc' options.txt /*'imstatusfunc'* 35044 'inc' options.txt /*'inc'* 35045 'include' options.txt /*'include'* 35046 'includeexpr' options.txt /*'includeexpr'* 35047 @@ -491,8 +500,10 @@ 35048 'nocopyindent' options.txt /*'nocopyindent'* 35049 'nocp' options.txt /*'nocp'* 35050 'nocrb' options.txt /*'nocrb'* 35051 +'nocscoperelative' options.txt /*'nocscoperelative'* 35052 'nocscopetag' options.txt /*'nocscopetag'* 35053