aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_functions.vim
Commit message (Collapse)AuthorAge
* test/old: skip Test_strptime() on WindowsJan Edmund Lazo2021-03-27
| | | | | | | | | | | POSIX strptime does not exist in Windows. There is a C++ workaround but I don't know how to use it. Julia ported BSD's "strptime()" but I can't compile the file or embed the relevant code into src/nvim/os/time.c I cannot use "#ifdef" in eval.lua because of function hashing. "#ifdef" is required to point "strptime()" to NULL such that "CheckFunction strptime" fails.
* vim-patch:8.2.0949: strptime() does not use DSTJan Edmund Lazo2021-03-27
| | | | | | Problem: Strptime() does not use DST. Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes vim/vim#6230) https://github.com/vim/vim/commit/ea1233fccf4f52f2b4eaab3788a087878d1336fc
* vim-patch:8.1.2398: strptime() test fails on Japanese MacJan Edmund Lazo2021-03-27
| | | | | | Problem: strptime() test fails on Japanese Mac. Solution: Use %T instead of %X. https://github.com/vim/vim/commit/9a838fe543b69582b0773f7c38a57f16fb32d765
* vim-patch:8.1.2326: cannot parse a date/time stringJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | Problem: Cannot parse a date/time string. Solution: Add strptime(). (Stephen Wall, closes #) https://github.com/vim/vim/commit/10455d43fef041309ce0613fa792c635dd71e3a8 N/A patches for version.c: vim-patch:8.1.2344: Cygwin: warning for using strptime() Problem: Cygwin: warning for using strptime(). Solution: Move defining _XOPEN_SOURCE and __USE_XOPEN to vim.h. (Ken Takata, closes vim/vim#5265) Use 700 for _XOPEN_SOURCE for mkdtemp(). https://github.com/vim/vim/commit/6a228c6463935a73c8f21142cb7368545cfee317
* vim-patch:8.2.2233: cannot convert a byte index into a character index (#13978)kuuote2021-02-22
| | | | | Problem: Cannot convert a byte index into a character index. Solution: Add charidx(). (Yegappan Lakshmanan, closes vim/vim#7561) https://github.com/vim/vim/commit/17793ef23aae0bc94539390ccfe5e63b0ad39ff2
* vim-patch:8.2.2259: Test_Executable() fails when using chroot (#13907)Jan Edmund Lazo2021-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test_Executable() fails when using chroot. Solution: Ignore the difference between "sbin" and "bin". https://github.com/vim/vim/commit/a387083b2f65c2c14b19087c7d7f94ca23de1d48 Cherry-pick Test_Executable() changes from patches v8.1.1921, v8.2.1432 to be in sync with Vim. N/A patches for version.c: vim-patch:8.1.0509: checking cwd not accessible fails for root Problem: Checking cwd not accessible fails for root. (James McCoy) Solution: Skip this part of the test for root. (closes vim/vim#3595) https://github.com/vim/vim/commit/0b38f54730c3f9835ddade01c2263ce0f56c1c0f vim-patch:8.2.2487: terminal shows garbage after double-wide character Problem: Terminal shows garbage after double-wide character with a combining character. (Kyoichiro Yamada) Solution: Libvterm: do not add the width of the combining character to the glyph width. (closes vim/vim#7801) https://github.com/vim/vim/commit/4549dad874244fe933b969e4ac0b41923ee70dc3 vim-patch:8.2.2488: json_encode() gives generic argument error Problem: json_encode() gives generic argument error. Solution: Mention the type that can't be encoded. (issue vim/vim#7802) https://github.com/vim/vim/commit/a853089479b60b829bab1c4a0a737a073415f8a7
* vim-patch:8.2.1804: resolve('/') returns an empty string (#13121)Jan Edmund Lazo2020-10-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: resolve('/') returns an empty string. Solution: Don't remove single slash. (closes vim/vim#7074) https://github.com/vim/vim/commit/50c4e9e08fb0981892e33afb9fe3751aa6df1fa4 Cherry-pick the test rename from Test_resolve() to Test_resolve_unix() from patch 8.1.0894. N/A patches for version.c: vim-patch:8.1.0929: no error when requesting ConPTY but it's not available Problem: No error when requesting ConPTY but it's not available. Solution: Add an error message. (Hirohito Higashi, closes vim/vim#3967) https://github.com/vim/vim/commit/5acd9872580a12ca1138275bf65d1cb9349e2a53 vim-patch:8.1.1535: popup select test fails on Mac Problem: Popup select test fails on Mac. Solution: Skip test if clipboard feature not available. https://github.com/vim/vim/commit/650a63748c349bbb60adb912273e9bedd2b677c5 vim-patch:8.1.1536: popup select test still fails on Mac Problem: Popup select test still fails on Mac. Solution: Set 'clipboard' to "autoselect" https://github.com/vim/vim/commit/1755ec4278ee6dccdbb8030fd5a4cf6054211f81 vim-patch:8.1.1604: popup window scroll test is flaky Problem: Popup window scroll test is flaky. Solution: Add a delay between scroll events. https://github.com/vim/vim/commit/13b47c37a650ab6045680a9e5513ef6ad71ee93f vim-patch:8.1.1668: popup window test is a bit flaky on some systems Problem: Popup window test is a bit flaky on some systems. Solution: Clear the command line. (Naruhiko Nishino, closes vim/vim#4656) https://github.com/vim/vim/commit/8ccabf624ef4eb7ebe3e4d52449bc0bc545810f2 vim-patch:8.1.1935: test for text property popup window is flaky Problem: Test for text property popup window is flaky. Solution: Remove the undo message https://github.com/vim/vim/commit/57441d6fa0ba44be8dc16d6469a8659afc2f3b81 vim-patch:8.1.2347: MacOS: build fails Problem: MacOS: build fails. Solution: Don't define _XOPEN_SOURCE for Mac. https://github.com/vim/vim/commit/84f903326d44db9b75fc3a39d4866f636f9ad4cd vim-patch:8.2.0351: terminal in popup test is still a bit flaky Problem: Terminal in popup test is still a bit flaky. Solution: Clear and redraw before opening the popup. https://github.com/vim/vim/commit/3e919d2924c87eb8fee62603788fcc3ced2a0031 vim-patch:8.2.0752: terminal in popup window test is a bit flaky Problem: Terminal in popup window test is a bit flaky. Solution: Wait for shell job status to be "run". Mark as flaky test. https://github.com/vim/vim/commit/e06a28f5e30f439545ac125d54ffc4e6bd6daada vim-patch:8.2.1087: possible memory leak when file expansion fails Problem: Possible memory leak when file expansion fails. Solution: Clear the grow array when returning FAIL. Use an error message instead of an empty string. https://github.com/vim/vim/commit/566cc8c72bb8036f015a435800f28ef9f6a9a3b6 vim-patch:8.2.1863: json code not sufficiently tested Problem: Json code not sufficiently tested. Solution: Add more test cases. (Dominique Pellé, closes vim/vim#7166) https://github.com/vim/vim/commit/e3c65ce4e59143736bb2e0fba93c21283aa92a35
* vim-patch:8.2.0868: trim() always trims both endsskippi2020-10-17
| | | | | | | Problem: trim() always trims both ends. Solution: Add an argument to only trim the beginning or end. (Yegappan Lakshmanan, closes vim/vim#6126) https://github.com/vim/vim/commit/2245ae18e3480057f98fc0e5d9f18091f32a5de0
* test/old: enable passing testsJan Edmund Lazo2020-09-26
| | | | | | | | | | | Some TODO tests are passing now. test_override('ALL', 1) clears previous overrides so it's safe to comment out and execute the test. Replace test_feedinput() with nvim_input(). Replace test_setmouse with nvim_input_mouse(). Note that test_setmouse is 1-based and nvim_input_mouse is 0-based.
* vim-patch:8.2.0824: still not enough memory allocated when converting stringJan Edmund Lazo2020-09-19
| | | | | | | Problem: Still not enough memory allocated when converting string with special character. Solution: Reserve space for expanding K_SPECIAL. (closes vim/vim#6130) https://github.com/vim/vim/commit/1919371b2b9ddb1a645f40b59adbd89317530882
* vim-patch:8.2.0817: not enough memory allocated when converting stringJan Edmund Lazo2020-09-19
| | | | | | | | | Problem: Not enough memory allocated when converting string with special character. Solution: Reserve space for modifier code. (closes vim/vim#6130) https://github.com/vim/vim/commit/f7271e831614d15d173c7f562cc26f48c2554ce9 Cherry-pick Test_eval(), Test_nr2char() from patch 8.2.0448.
* vim-patch:8.1.1972: no proper test for getchar()Jan Edmund Lazo2020-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No proper test for getchar(). Solution: Add a test with special characters. https://github.com/vim/vim/commit/5d712e4672c6c8cf7f35cfb7d8eb7e8aa24062ac N/A patches for version.c: vim-patch:8.1.0285: compiler warning for conversion Problem: Compiler warning for conversion. Solution: Add a type cast. (Mike Williams) https://github.com/vim/vim/commit/d7cc16357083c4fc4271e25fb36c4fbaee99e0f1 vim-patch:8.1.1782: MS-Windows: system() has temp file error with 'noshelltemp' Problem: MS-Windows: system() has temp file error with 'noshelltemp'. Solution: Check s_dont_use_vimrun. (Ken Takata, closes vim/vim#4754) https://github.com/vim/vim/commit/0e6bfb9b2eb108d96a49ac4f8dc638c2eefeda2b vim-patch:8.2.0240: using memory after it was freed Problem: Using memory after it was freed. (Dominique Pelle) Solution: Do not mix converion buffer with other buffer. https://github.com/vim/vim/commit/408030e8d053fe1c871b2fc366363a30ed98c889 vim-patch:8.2.1549: "r" fails if 'esckeys' is off and modifyOtherKeys is used Problem: The "r" command fails for keys with modifiers if 'esckeys' is off and modifyOtherKeys is used. (Lauri Tirkkonen) Solution: Temporarily disable bracketed paste and modifyOtherKeys if 'esckeys' is off. (closes vim/vim#6809) https://github.com/vim/vim/commit/ca774f67534e6d1843fda9d1dc9a899972d27577 vim-patch:8.2.1676: compiler warnings for function typecast Problem: Compiler warnings for function typecast. Solution: Add an intermediate cast to "void *". https://github.com/vim/vim/commit/a4224860a498eb870280130e00fe6f376b7a2e6b vim-patch:8.2.1696: unused (duplicate) macros Problem: Unused (duplicate) macros. Solution: Remove the macros. https://github.com/vim/vim/commit/2c12f890551bbdf5605472a4d711d48a273685d7
* vim-patch:8.2.1517: cannot easily get the character under the cursorJan Edmund Lazo2020-08-23
| | | | | | Problem: Cannot easily get the character under the cursor. Solution: Add the {chars} argument to strpart(). https://github.com/vim/vim/commit/6c53fca02301ff871cddc1c74c388e23e53a424a
* vim-patch:8.1.1120: cannot easily get directory entry matches #12222Hennadii Chernyshchyk2020-05-05
| | | | | | | Problem: Cannot easily get directory entry matches. Solution: Add the readdir() function. (Yasuhiro Matsumoto, closes vim/vim#2439) https://github.com/vim/vim/commit/543c9b1921d7605498b54afdef518e312f1b4515 closes #12212
* vim-patch:8.2.0507: getbufvar() may get the wrong dictionaryJan Edmund Lazo2020-04-13
| | | | | | Problem: Getbufvar() may get the wrong dictionary. (David le Blanc) Solution: Check for empty name. (closes vim/vim#5878) https://github.com/vim/vim/commit/5259275347667a90fb88d8ea74331f88ad68edfc
* vim-patch:8.1.1568: strftime() test fails on MS-WindowsJan Edmund Lazo2020-03-29
| | | | | | Problem: Strftime() test fails on MS-Windows. Solution: Skip the check for using the $TZ environment variable. https://github.com/vim/vim/commit/87652a7e3b94755084944afec51a0bfcd8b0a0c3
* vim-patch:8.1.1567: localtime_r() does not respond to $TZ changesJan Edmund Lazo2020-03-29
| | | | | | Problem: Localtime_r() does not respond to $TZ changes. Solution: If $TZ changes then call tzset(). (Tom Ryder) https://github.com/vim/vim/commit/db51730df1817fc4b6ecf5a065c69fac518ad821
* vim-patch:8.1.0992: :normal resets reg_executing() result #11398Jan Edmund Lazo2019-11-16
| | | | | | Problem: A :normal command while executing a register resets the reg_executing() result. Solution: Save and restore reg_executing. (closes vim/vim#4066) https://github.com/vim/vim/commit/cce713ddcc0c9ab29926c28e287cbb587a959b08
* vim-patch:8.1.0515: reloading a script gives errors for existing functionserw72019-09-04
| | | | | | Problem: Reloading a script gives errors for existing functions. Solution: Allow redefining a function once when reloading a script. https://github.com/vim/vim/commit/ded5f1bed7ff2d138b3ee0f9610d17290b62692d
* vim-patch:8.1.1932: ml_get errors after append() #10866Marco Hinz2019-08-27
| | | | | | | | Problem: Ml_get errors after using append(). (Alex Genco) Solution: Do not update the cursor twice. https://github.com/vim/vim/commit/d20070274c47668560e02db184e1f8e456c3c326 fix #10847
* vim-patch:8.1.0811: too many #ifdefsDaniel Hahler2019-08-22
| | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter. https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
* oldtest: windows: revert setting shellslash individually (#10189)Daniel Hahler2019-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "oldtests: win: shellslash for cdpath,tags,:find" This reverts commit 6245b4873d5e24fade9aadadf32645bfb3ebfc31. * Revert "oldtests: set shellslash for ":cd" test" This reverts commit eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a. * Revert "oldtests: set shellslash in Test_shellescape()" This reverts commit e428fc4b52d986fec0d544e371b05e8c7e18db93. * Revert "fixup! vim-patch:8.0.1782: no simple way to label quickfix entries" This reverts commit ac1fbc28601a05cdca19f868449c86b8dd70328c. * Revert "test/old: pass Test_statusline on Windows" This reverts commit 6efa3bff09afb0e54ad71278ac60259bf41be286. * Revert "oldtests: set shellslash for Test_non_zero_arg" This reverts commit 42e1e2495cc51f659d505bfec8b72905c19e4094. * Revert "oldtests: set shellslash in Test_true_false_arg()" This reverts commit 8bd194f98aaf8d79886b78f4bd29f9525c1459c8. * Remove unnecessary set shellslash Since #10679 no longer requires individual set shellslash, it is removed. Co-Authored-By: erw7 <erw7.github@gmail.com>
* CI/OpenBSD: run oldtest #10797Edd Barrett2019-08-18
| | | - Test_libcall_libcallnr: pass libc name to dlopen.
* vim-patch:8.1.1740: exepath() doesn't work for "bin/cat" (#10556)Daniel Hahler2019-07-24
| | | | | | | | Problem: Exepath() doesn't work for "bin/cat". Solution: Check for any path separator. (Daniel Hahler, closes vim/vim#4724, closes vim/vim#4710) https://github.com/vim/vim/commit/d08b8c4c04db9433340df38d21f0e26878f28421 Fixes https://github.com/neovim/neovim/issues/10554.
* vim-patch:8.1.1611: bufadd() reuses existing buffer without a nameShougo Matsushita2019-07-06
| | | | | | Problem: Bufadd() reuses existing buffer without a name. Solution: When the name is empty always create a new buffer. https://github.com/vim/vim/commit/892ae723ab95e429222e930cf41b32809567e58e
* vim-patch:8.1.1610: there is no way to add or load a buffer without side effectsShougo Matsushita2019-07-06
| | | | | | Problem: There is no way to add or load a buffer without side effects. Solution: Add the bufadd() and bufload() functions. https://github.com/vim/vim/commit/15e248e37f3925d430f96e945d52d3dc423cdc83
* vim-patch:8.1.0347: some tests fail on SolarisJan Edmund Lazo2019-06-23
| | | | | | | Problem: Some tests fail on Solaris. Solution: Skip writefile test. Fix path to libc.so. Improve test for Turkish case change. (Libor Bukata, Bjorn Linse, closes vim/vim#3403) https://github.com/vim/vim/commit/f1c118be93184e8e57e3e80b1b3383f464ed649e
* vim-patch:8.1.0086: no tests for libcall() and libcallnr()Jan Edmund Lazo2019-06-23
| | | | | | Problem: No tests for libcall() and libcallnr(). Solution: Add tests. (Dominique Pelle, closes vim/vim#2982) https://github.com/vim/vim/commit/1ceebb4efc455dc6c34e0cd2c2adbd00939f038b
* vim-patch:8.1.1077: reg_executing() is reset by calling input()Jan Edmund Lazo2019-05-26
| | | | | | | Problem: reg_executing() is reset by calling input(). Solution: Implement a more generic way to save and restore reg_executing. (Ozaki Kiichi, closes vim/vim#4192) https://github.com/vim/vim/commit/9a2c091a748b380efafe60583698c9afcaab1e46
* vim-patch:8.1.0995: a getchar() call resets the reg_executing() resultJan Edmund Lazo2019-05-26
| | | | | | | Problem: A getchar() call while executing a register resets the reg_executing() result. Solution: Save and restore reg_executing. (closes vim/vim#406 https://github.com/vim/vim/commit/f0fab3046c2b5c4115979347464a802853011220
* vim-patch:8.1.0020: cannot tell whether a register is executing or recordingJan Edmund Lazo2019-05-26
| | | | | | | | | Problem: Cannot tell whether a register is being used for executing or recording. Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi, closes vim/vim#2745) Rename the global variables for consistency. Store the register name in reg_executing. https://github.com/vim/vim/commit/0b6d911e5de1a1c10a23d4c2ee1b0275c474a2dd
* test/win: executable(), exepath() #9516erw72019-04-01
|
* vim-patch:8.1.1095: win: executable() on very long name #9820Jan Edmund Lazo2019-03-31
| | | | | Problem: MS-Windows: executable() fails on very long filename. Solution: (Ken Takata, closes vim/vim#4015) https://github.com/vim/vim/commit/8662189736e6cefb3fe852728adb5341f83973cf
* vim-patch:8.1.0189: function defined in sandbox not testedJan Edmund Lazo2019-03-23
| | | | | | Problem: Function defined in sandbox not tested. Solution: Add a text. https://github.com/vim/vim/commit/d90a144eda047816acffc7a8f297b43a7120710e
* oldtests: set shellslash in Test_shellescape()Jan Edmund Lazo2019-03-08
| | | | Value of "&shell" does not affect "shellescape()".
* vim-patch:8.1.0225: mode() does not indicate using CTRL-O from Insert mode ↵Justin M. Keyes2019-02-24
| | | | | | | (#9644) Problem: Mode() does not indicate using CTRL-O from Insert mode. Solution: Add "niI", "niR" and "niV" to mode() result. (closes vim/vim#3000) https://github.com/vim/vim/commit/612cc3888b136e80485132d9f997ed457dbc5501
* vim-patch:8.1.0511: ml_get error when calling a function with a range (#9207)Jan Edmund Lazo2018-11-06
| | | | | Problem: ml_get error when calling a function with a range. Solution: Don't position the cursor after the last line. https://github.com/vim/vim/commit/9e353b5265bd7fa103caf4e5a9b3c99f344f548e
* vim-patch:8.1.0459: Test_executable fails when there is a dog in the systemJan Edmund Lazo2018-10-08
| | | | | | Problem: Test_executable fails when there is a dog in the system. Solution: Rename the dog. (Hirohito Higashi) https://github.com/vim/vim/commit/a05a0d325c7615439f4a42f00682b2ebad43c8d9
* oldtests: win: fix executable() assertionsJan Edmund Lazo2018-10-08
| | | | | | | | | | | | | | | | | | | | Windows has "Read and execute" permission via ACL but nvim and libuv do not support ACL. Windows does not support the executable bit in chmod-style permissions but it is safe to assume that if the file exists and is readable, then it is most likely executable. This means that win.ini and shell32.dll are "executable" because they exist, are readable, and are in PATH. PATHEXT does not affect the executable permission of a file; it exists to run files on the shell while omitting the file extension. Assume that PATHEXT is intended for cmd.exe only because powershell can execute powershell files (ie. *.ps1) without changing PATHEXT or related cmd.exe environment variable. In the future, nvim should check the outputs of 'assoc' and 'ftype', cmd.exe internal commands, or check the registry. Powershell can be used for ACL if C++/C# API is too difficult to use.
* vim-patch:8.1.0453: MS-Windows: executable() is not reliableJan Edmund Lazo2018-10-07
| | | | | | Problem: MS-Windows: executable() is not reliable. Solution: Use $PATHEXT properly. (Yasuhiro Matsumoto, closes vim/vim#3412) https://github.com/vim/vim/commit/8295666dc2c65e42135b91d5c61e2a140d002333
* vim-patch:8.1.0454: resolve() was not tested with a symlink cycleJan Edmund Lazo2018-10-06
| | | | | | Problem: resolve() was not tested with a symlink cycle. Solution: Add a test. (Dominique Pelle, closes vim/vim#3513) https://github.com/vim/vim/commit/261099070940fb64d4633a766ae3510fffe4171d
* vim-patch:8.1.0303: line2byte() is wrong for last line with 'noeol'Jan Edmund Lazo2018-08-21
| | | | | | Problem: line2byte() is wrong for last line with 'noeol' and 'nofixeol'. Solution: Fix off-by-one error. (Shane Harper, closes vim/vim#3351) https://github.com/vim/vim/commit/c26f7c60532a37a2bf0a5e69aa81081b440dfc38
* vim-patch:8.0.1630: trimming white space is not that easyJan Edmund Lazo2018-08-13
| | | | | | Problem: Trimming white space is not that easy. Solution: Add the trim() function. (Bukn, closes vim/vim#1280) https://github.com/vim/vim/commit/295ac5ab5e840af6051bed5ec9d9acc3c73445de
* vim-patch:8.1.0257: no test for pathshorten()Jan Edmund Lazo2018-08-09
| | | | | | Problem: No test for pathshorten(). Solution: Add a test. (Dominique Pelle, closes vim/vim#3295) https://github.com/vim/vim/commit/bfde0b482d25db43e9fc5a35c771b859b1eb8828
* vim-patch:8.1.0204: inputlist() is not testedJan Edmund Lazo2018-08-09
| | | | | | Problem: inputlist() is not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#3240) https://github.com/vim/vim/commit/947b39e761b8a95cc1bd37ad0c2c30552238809a
* vim-patch:8.1.0008: no test for strwidth()Jan Edmund Lazo2018-08-09
| | | | | | Problem: No test for strwidth(). Solution: Add a test. (Dominique Pelle, closes vim/vim#2931) https://github.com/vim/vim/commit/42ab17b8e32352210c4e273a4a4161a287d2c159
* vim-patch:8.0.1421: accessing invalid memory with overlong byte sequenceJan Edmund Lazo2018-08-09
| | | | | | Problem: Accessing invalid memory with overlong byte sequence. Solution: Check for NUL character. (test by Dominique Pelle, closes vim/vim#2485) https://github.com/vim/vim/commit/e6640ad44e2186bd3642b972115496d347cd1fdd
* vim-patch:8.0.1410: hang when using count() with an empty stringJan Edmund Lazo2018-08-09
| | | | | | Problem: Hang when using count() with an empty string. Solution: Return zero for an empty string. (Dominique Pelle, closes vim/vim#2465) https://github.com/vim/vim/commit/338e47fdfdf0d918dae50a5cbf0cf4f7be45b4f0
* vim-patch:8.0.1105: match() and matchend() are not testedJan Edmund Lazo2018-08-08
| | | | | | Problem: match() and matchend() are not tested. Solution: Add tests. (Ozaki Kiichi, closes vim/vim#2088) https://github.com/vim/vim/commit/1190cf68e27a123cf9f6fb57897782a3b9f7b810
* vim-patch:8.0.0794: checking translations fails with multiple NLJan Edmund Lazo2018-07-23
| | | | | | | Problem: The script to check translations fails if there is more than one NL in one line. Solution: Count the number of NL characters. Make count() accept a string. https://github.com/vim/vim/commit/9966b21a57277986217aa28237d6c247ebd060d7