aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * vim-patch:8.2.3786: test fails because of using Vim9 syntax in legacy functionzeertzjq2023-04-16
| | | | | | | | | | | | | | | | | | | | | | Problem: Test fails because of using Vim9 syntax in legacy function. Solution: Add "call". https://github.com/vim/vim/commit/4f16e9de985c5178e9cf15d69facfec6f15a5e09 Add test_nested_function.vim changes from patches 8.{0.0141,2.1432}. Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.3783: confusing error for using a variable as a functionzeertzjq2023-04-16
| | | | | | | | | | | | | | | | | | | | Problem: Confusing error for using a variable as a function. Solution: If a function is not found but there is a variable, give a more useful error. (issue vim/vim#9310) https://github.com/vim/vim/commit/2ef9156b4284e4a52613c36e3d4667245273a28d Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.2978: warning for uninitialized variablezeertzjq2023-04-16
| | | | | | | | | | | | | | | | | | Problem: Warning for uninitialized variable. Solution: Set return value to FAIL. https://github.com/vim/vim/commit/744aecf8777e86fac6d30f072e90e2de353b8ea1 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.2977: crash when using a null function referencezeertzjq2023-04-16
| | | | | | | | | | | | | | | | | | Problem: Crash when using a null function reference. (Naohiro Ono) Solution: Check for an invalid function name. (closes vim/vim#8367) https://github.com/vim/vim/commit/22db0d549f64aa3d8a6e366b70eb8d7e66933b82 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.2848: crash whn calling partialzeertzjq2023-04-16
| | | | | | | | | | | | | | | | | | Problem: Crash whn calling partial. Solution: Check for NULL pointer. (Dominique Pellé, closes vim/vim#8202) https://github.com/vim/vim/commit/fe8ebdbe5c4e116311c0c0d5937b89ded5c92d01 Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
| * vim-patch:8.2.1945: crash when passing NULL function to reduce()zeertzjq2023-04-16
|/ | | | | | | | | | Problem: Crash when passing NULL function to reduce(). Solution: Check for NULL pointer and give an error. (Dominique Pellé, closes vim/vim#7243) https://github.com/vim/vim/commit/0d90e728fe089ff1bb34d6a17f5591a96b57f734 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.4716: memory allocation failure not tested when defining a ↵zeertzjq2023-04-16
| | | | | | | | | | | | function (#23117) Problem: Memory allocation failure not tested when defining a function. Solution: Add a test. (Yegappan Lakshmanan, closes vim/vim#10127) https://github.com/vim/vim/commit/7c7e19cf50d76568e2637ad66b095044a41c6a82 test_alloc_fail() is N/A. Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* refactor: deprecate checkhealth functionsdundargoc2023-04-15
| | | | | | | | | | | | | | | | | | | | | | | The following functions are deprecated and will be removed in Nvim v0.11: - health#report_start() - health#report_info() - health#report_ok() - health#report_warn() - health#report_error() - vim.health.report_start() - vim.health.report_info() - vim.health.report_ok() - vim.health.report_warn() - vim.health.report_error() Users should instead use these: - vim.health.start() - vim.health.info() - vim.health.ok() - vim.health.warn() - vim.health.error()
* build: various cmake fixesdundargoc2023-04-15
| | | | | - Remove unused function argument from GetBinaryDeps - Remove unused variable LUA_LOAD_PACKAGE_MODULE_SOURCE - Add LUA_FS_MODULE_SOURCE as a dependency of VIM_MODULE_FILE
* fix(health): properly use the value of $PYENV_VERSION (#23109)zeertzjq2023-04-16
|
* Merge pull request #23107 from zeertzjq/vim-9.0.0269zeertzjq2023-04-15
|\ | | | | vim-patch:9.0.{0269,0303,1431}: more getscriptinfo() features
| * refactor: remove FC_DEADzeertzjq2023-04-15
| | | | | | | | It's for Vim9 script only.
| * vim-patch:9.0.1431: getscriptinfo() loops even when specific SID is givenzeertzjq2023-04-15
| | | | | | | | | | | | | | | | Problem: getscriptinfo() loops even when specific SID is given. Solution: Only loop when needed. Give a clearer error message. (closes vim/vim#12207) https://github.com/vim/vim/commit/2d68b722e3bca7532eb0d83ce773934618f12db5
| * vim-patch:9.0.0303: it is not easy to get information about a scriptzeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | | | | | Problem: It is not easy to get information about a script. Solution: Make getscriptinf() return the version. When selecting a specific script return functions and variables. (Yegappan Lakshmanan, closes vim/vim#10991) https://github.com/vim/vim/commit/2f892d8663498c21296ad6661dac1bb8372cfd10 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
| * vim-patch:9.0.0269: getscriptinfo() does not include the versionzeertzjq2023-04-15
|/ | | | | | | | | | | Problem: getscriptinfo() does not include the version. Cannot select entries by script name. Solution: Add the "version" item and the "name" argument. (Yegappan Lakshmanan, closes vim/vim#10962) https://github.com/vim/vim/commit/520f6ef60a59f7b5f3da9199999d13dbe817d3ce Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* build(nix): upgrade nixpkgs to resolve link error (#23101)Will Ruggiano2023-04-15
| | | bump nixpkgs to get the appropriate treesitter version
* Merge pull request #23105 from zeertzjq/vim-8.2.4770zeertzjq2023-04-15
|\ | | | | vim-patch:8.2.{4770,4783,4840,4883,4930,4934},9.0.0104: interpolated string
| * vim-patch:b59ae59a5870zeertzjq2023-04-15
| | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/b59ae59a58706e454ef8c78276f021b1f58466e7 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:3f32a5f1601azeertzjq2023-04-15
| | | | | | | | | | | | | | | | Update runtime files and translations https://github.com/vim/vim/commit/3f32a5f1601ab2b0eba0caad00d4c26fb86a02a2 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:partial:d899e5112079zeertzjq2023-04-15
| | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/d899e51120798d3fb5420abb1f19dddf3f014d05 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0104: going beyond allocated memory when evaluating string ↵zeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | | | | | constant Problem: Going beyond allocated memory when evaluating string constant. Solution: Properly skip over <Key> form. https://github.com/vim/vim/commit/1e56bda9048a9625bce6e660938c834c5c15b07d Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.4934: string interpolation fails when not evaluatingzeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | Problem: String interpolation fails when not evaluating. Solution: Skip the expression when not evaluating. (closes vim/vim#10398) https://github.com/vim/vim/commit/70c41241c2701f26a99085e433925a206ca265a3 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.4930: interpolated string expression requires escapingzeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | Problem: Interpolated string expression requires escaping. Solution: Do not require escaping in the expression. https://github.com/vim/vim/commit/0abc2871c105882ed1c1effb9a7757fad8a395bd Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.4883: string interpolation only works in heredoczeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | | | | | | | Problem: String interpolation only works in heredoc. Solution: Support interpolated strings. Use syntax for heredoc consistent with strings, similar to C#. (closes vim/vim#10327) https://github.com/vim/vim/commit/2eaef106e4a7fc9dc74a7e672b5f550ec1f9786e Cherry-pick Test_Debugger_breakadd_expr() from Vim. Co-authored-by: LemonBoy <thatlemon@gmail.com>
| * vim-patch:8.2.4840: heredoc expression evaluated even when skippingzeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | Problem: Heredoc expression evaluated even when skipping. Solution: Don't evaluate when "skip" is set. (closes vim/vim#10306) https://github.com/vim/vim/commit/05c7f5d3d03440da6f69604f8c06c4e3d90d2a26 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.4783: Coverity warns for leaking memoryzeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | Problem: Coverity warns for leaking memory. Solution: Use another strategy freeing "theline". https://github.com/vim/vim/commit/42ccb8d74700506936567b0eb6d11def5e25e1dd Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.4770: cannot easily mix expression and heredoczeertzjq2023-04-15
|/ | | | | | | | | Problem: Cannot easily mix expression and heredoc. Solution: Support in heredoc. (Yegappan Lakshmanan, closes vim/vim#10138) https://github.com/vim/vim/commit/efbfa867a146fcd93fdec2435597aa4ae7f1325c Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* Merge pull request #23102 from zeertzjq/vim-8.2.1378zeertzjq2023-04-15
|\ | | | | vim-patch:8.2.{1378,3856,4361,4373,4476}
| * vim-patch:8.2.4476: operator name spelled wrongzeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | Problem: Operator name spelled wrong. Solution: Change trinary to ternary. (Goc Dundar, closes vim/vim#9850) https://github.com/vim/vim/commit/e41c1dd8890d3f701253255993f4e9af2d12225c Co-authored-by: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>
| * vim-patch:8.2.4373: expression test failszeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | Problem: Expression test fails. Solution: Make the test work with latest Vim9 syntax. https://github.com/vim/vim/commit/c87aa34dfd68e95e4b1aac96d2274fcd672753ac Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.4361: Vim9: some tests failzeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | Problem: Vim9: some tests fail. Solution: Fix the tests, mostly by removing "s:". https://github.com/vim/vim/commit/62b191c38758c835a577ef091a803b6dd4cd4f49 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.3856: Vim9: not enough testszeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | | | Problem: Vim9: not enough tests. Solution: Run more expression tests also with Vim9. Fix an uncovered problem. https://github.com/vim/vim/commit/fea43e44c008a7ca73b506ddab0f47b63b5d2126 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.1378: cannot put space between function name and parenzeertzjq2023-04-15
|/ | | | | | | | | | | Problem: Cannot put space between function name and paren. Solution: Allow this for backwards compatibility. https://github.com/vim/vim/commit/bbd3e3c357487f7a5bdc704a819f63a7dd0dd66e This fixes a regression from patch 8.2.1365, which isn't ported yet. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* Merge pull request #23099 from zeertzjq/vim-8.2.1014zeertzjq2023-04-15
|\ | | | | vim-patch:8.2.{1014,3329}
| * vim-patch:8.2.3329: v_lock not set when getting value of environment variablezeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | Problem: v_lock not set when getting value of environment variable. Solution: Set v_lock to zero. https://github.com/vim/vim/commit/16e63e6d353c8b7337470644ceac02dc5e569db9 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.1014: using "name" for a string result is confusingzeertzjq2023-04-15
|/ | | | | | | | | Problem: Using "name" for a string result is confusing. Solution: Rename to "end". https://github.com/vim/vim/commit/1e0b7b11db61bd906266d3174fee0bbaf20a101f Co-authored-by: Bram Moolenaar <Bram@vim.org>
* Merge pull request #23097 from zeertzjq/vim-8.2.0101zeertzjq2023-04-15
|\ | | | | vim-patch:8.2.{0101,0102,0103,0104,0633,0634}: null typval tests
| * vim-patch:8.2.0634: crash with null partial and blobzeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | | | Problem: Crash with null partial and blob. Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan, closes vim/vim#5984) https://github.com/vim/vim/commit/92b83ccfda7a1d654ccaaf161a9c8a8e01fbcf76 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.0633: crash when using null partial in filter()zeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | Problem: Crash when using null partial in filter(). Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes vim/vim#5976) https://github.com/vim/vim/commit/9d8d0b5c644ea53364d04403740b3f23e57c1497 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.0104: using channel or job with ":execute" has strange effectszeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | Problem: Using channel or job with ":execute" has strange effects. Solution: Give an error message for Job and Channel. https://github.com/vim/vim/commit/b662591e505e8523634a1c8ddfb7fe44fae880c6 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.0103: using null object with execute() has strange effectszeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | Problem: Using null object with execute() has strange effects. Solution: Give an error message ofr Job and Channel. https://github.com/vim/vim/commit/e2a8f0773e91685843c062b1e48259712d5f2213 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.0102: messages test fails in small versionzeertzjq2023-04-15
| | | | | | | | | | | | | | | | | | Problem: Messages test fails in small version. Solution: Only use test_null_job() when available. https://github.com/vim/vim/commit/da292b07afb7ea5ec9f4b43a7326551922e29f3a Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.0101: crash when passing null object to ":echomsg"zeertzjq2023-04-15
|/ | | | | | | | | Problem: Crash when passing null object to ":echomsg". Solution: Check for NULL pointer. (Yasuhiro Matsumoto, closes vim/vim#5460) https://github.com/vim/vim/commit/9db2afe46d3208775d1c3075bbee073a17f8fdc6 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* build: don't print installed files locallydundargoc2023-04-14
| | | | | | It takes a significant amount of time to install neovim, and doubly so on Windows, due to the sheer amount of files neovim ships with. On CI this information may be important though, so we enable it if the CI_ENABLE option is set to ON.
* vim-patch:8.2.4055: Vim9: line break in expression causes v:errmsg to be ↵zeertzjq2023-04-14
| | | | | | | | | | | fillec (#23090) Problem: Vim9: line break in expression causes v:errmsg to be filled. (Yegappan Lakshmanan) Solution: Do not give an error when skipping over an expression. https://github.com/vim/vim/commit/5e6b9882fe0218ae4878f6ad0561c8654a2277d8 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* Merge pull request #22968 from luukvbaal/evalstcbfredl2023-04-14
|\ | | | | fix(api): update "w_scwidth" in nvim_eval_statusline()
| * fix(api): update "w_scwidth" in nvim_eval_statusline()Luuk van Baal2023-04-09
| | | | | | | | | | | | Problem: `w_scwidth` may be outdated in `nvim_eval_status()`, causing `build_stl_str_hl()` to return an empty `%s` sign segment. Solution: Update `w_scwidth` for `'statuscolumn'` evaluation.
* | vim-patch:8.2.2138: Vim9: "exit_cb" causes Vim to exit (#23087)zeertzjq2023-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Vim9: "exit_cb" causes Vim to exit. Solution: Require white space after a command in Vim9 script. (closes vim/vim#7467) Also fix that Vim9 style heredoc was not always recognized. https://github.com/vim/vim/commit/b5b9480ee936ef4cd0e350c468ef8c5f42fa398b Omit EX_NONWHITE_OK, E1143, E1144: Vim9 script only. Cherry-pick test_vimscript.vim changes from patch 8.2.2141. Cherry-pick E1145 tag from Vim runtime. N/A patches for version.c: vim-patch:8.2.2140: build failure with tiny features Problem: Build failure with tiny features. Solution: Add #ifdef. https://github.com/vim/vim/commit/2a3cd3af455973d678f70303ebdd486f3478bc0d Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | Merge pull request #22869 from lewis6991/refactor/unitannotLewis Russell2023-04-14
|\ \ | | | | | | refactor(unit): add type annotations
| * | refactor(unit): add type annotationsLewis Russell2023-04-14
| | |