aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #20140 from dundargoc/refactor/char_u/12bfredl2022-10-15
|\ | | | | refactor: replace char_u with char 12: remove `STRLEN` part 2
| * refactor: replace char_u with charDundar Göc2022-10-15
| | | | | | | | Work on https://github.com/neovim/neovim/issues/459
* | Merge pull request #20670 from zeertzjq/vim-9.0.0737zeertzjq2022-10-15
|\ \ | | | | | | vim-patch:9.0.{partial:0737,0754}: lisp indent fixes
| * | vim-patch:9.0.0754: 'indentexpr' overrules lisp indenting in one situationzeertzjq2022-10-15
| | | | | | | | | | | | | | | | | | Problem: 'indentexpr' overrules lisp indenting in one situation. Solution: Add "else" to keep the lisp indent. (issue vim/vim#11327) https://github.com/vim/vim/commit/a79b35b5781ae770334cec781d17fec3875f8108
| * | vim-patch:partial:9.0.0737: Lisp word only recognized when a space followszeertzjq2022-10-15
| |/ | | | | | | | | | | | | | | | | Problem: Lisp word only recognized when a space follows. Solution: Also match a word at the end of a line. Rename the test. Use a compiled function to avoid backslashes. https://github.com/vim/vim/commit/d26c5805bcbd630dab0478c2d22503a6e32a83c1 Keep the old Test_lisp_indent().
* / refactor(shada.c): clint (#20599)Lewis Russell2022-10-15
|/
* Merge pull request #20663 from zeertzjq/vim-9.0.0753zeertzjq2022-10-15
|\ | | | | vim-patch:partial:{3e79c97c18c5,9da17d7c5707,9.0.0753}
| * vim-patch:partial:9.0.0753: some Ex commands are not in the help indexzeertzjq2022-10-15
| | | | | | | | | | | | | | | | | | Problem: Some Ex commands are not in the help index. Solution: Add the missing commands. Add a script to check all Ex commands are in the help index. (Yee Cheng Chin, closes vim/vim#11371) https://github.com/vim/vim/commit/b77bdce120d7e140d0d0bd535ec9febdef78993d Only port index.txt docs for :star and :horizontal.
| * vim-patch:partial:9da17d7c5707zeertzjq2022-10-15
| | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/9da17d7c57071c306565da6a35c3704db1916b78 Only port index.txt, syntax.txt and uganda.txt.
| * vim-patch:partial:3e79c97c18c5zeertzjq2022-10-15
| | | | | | | | | | | | | | Update runtime files; use compiled functions https://github.com/vim/vim/commit/3e79c97c18c50f97797ab13ed81c4011eba9aba0 Only port uganda.txt.
* | Merge #20634 fix(windows): set console icon later in startupJustin M. Keyes2022-10-15
|\ \
| * | refactor(windows): move os_icon_xx functionsJustin M. Keyes2022-10-14
| | |
| * | fix(windows): set console icon later in startupJustin M. Keyes2022-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Windows console icon is set early in startup, but there are some cases where `os_exit` is called and we don't restore the original icon. Solution: - Move `os_icon_init()` later in the startup sequence, and only if `use_builtin_ui==true`. - Rename functions: use `os_` prefix for platform-specific code.
* | | docs(dev-style): remove rule about variable declarations (#20446)kylo2522022-10-15
| |/ |/| | | | | The other style rules such as "initialize variables in the declaration" should already take care of this rule automatically.
* | Merge pull request #20662 from zeertzjq/vim-9.0.0614zeertzjq2022-10-15
|\ \ | | | | | | vim-patch:8.1.0342,9.0.{0614,0616}: SpellFileMissing autocmd may delete buffer
| * | vim-patch:9.0.0616: spell test fails because error message changedzeertzjq2022-10-15
| | | | | | | | | | | | | | | | | | Problem: Spell test fails because error message changed. Solution: Adjust expected error message. https://github.com/vim/vim/commit/371951d0c34d4f44b50ad8bc8d30a4ef7effade6
| * | vim-patch:9.0.0614: SpellFileMissing autocmd may delete bufferzeertzjq2022-10-15
| | | | | | | | | | | | | | | | | | Problem: SpellFileMissing autocmd may delete buffer. Solution: Disallow deleting the current buffer to avoid using freed memory. https://github.com/vim/vim/commit/ef976323e770315b5fca544efb6b2faa25674d15
| * | vim-patch:8.1.0342: crash when a callback deletes a window that is being usedzeertzjq2022-10-15
|/ / | | | | | | | | | | | | | | | | | | | | Problem: Crash when a callback deletes a window that is being used. Solution: Do not unload a buffer that is being displayed while redrawing the screen. Also avoid invoking callbacks while redrawing. (closes vim/vim#2107) https://github.com/vim/vim/commit/94f01956a583223dafe24135489d0ab1100ab0ad Omit parse_queued_messages(): N/A. Cherry-pick a break statement from patch 8.1.0425.
* | vim-patch:9.0.0752: Rprofile files are not recognized (#20658)Christian Clason2022-10-15
| | | | | | | | | | Problem: Rprofile files are not recognized. Solution: Recognize Rprofile files as "r". (closes vim/vim#11369) https://github.com/vim/vim/commit/7e120ffccbf81ae8acac28f11fbd5eab79a1630d
* | vim-patch:9.0.0750: crash when popup closed in callback (#20659)zeertzjq2022-10-15
| | | | | | | | | | Problem: Crash when popup closed in callback. (Maxim Kim) Solution: In syntax_end_parsing() check that syn_block is valid. https://github.com/vim/vim/commit/0abd6cf62d65180dc2c40d67cd95f13b0691f7ea
* | Merge pull request #20645 from lewis6991/fix/decor_redraw_same_idLewis Russell2022-10-14
|\ \ | |/ |/| fix(decoration): redraw correctly when re-using ids
| * fix(decoration): redraw correctly when re-using idsLewis Russell2022-10-14
| | | | | | | | | | | | | | | | 00cfc1d (from #20249) reduced the amount of unnecessary redraws. This surfaced an issue where if and extmark with a specific ID is repositioned to a different row, the decorations from the old row were not redrawn and removed. This change fixes that by redrawing the old row.
* | fix(completion): set pum_size even if ext_popupmenu is used (#20648)zeertzjq2022-10-14
| | | | | | | | This allows CompleteChanged event to get the correct `v:event.size`. It should be harmless and more consistent to also set `pum_array`.
* | docs: fix/remove invalid URLs #20647Justin M. Keyes2022-10-14
| |
* | build: fix incorrect clang-tidy identifier rules (#20650)dundargoc2022-10-14
| | | | | | Also remove identifier rules that are C++ only.
* | fix(lua): on_yank error with blockwise multibyte region #20162Daniel Zhang2022-10-14
|/ | | | | Prevent out of range error when calling `str_byteindex`. Use `vim.str_byteindex(bufline, #bufline)` to cacluate utf length of `bufline`. fix #20161
* Merge pull request #20545 from lewis6991/remove_cscopeLewis Russell2022-10-14
|\
| * refactor(tag): remove return type from do_tag()Lewis Russell2022-10-13
| |
| * feat(cscope)!: removeLewis Russell2022-10-13
| |
* | build(deps): bump vimdoc (help) parser to v1.2.1 #20642Justin M. Keyes2022-10-13
| |
* | vim-patch:9.0.0747: too many #ifdefs (#20641)zeertzjq2022-10-14
|/ | | | | | Problem: Too many #ifdefs. Solution: Gradudate the +cmdline_info feature. (Martin Tournoij, closes vim/vim#11330) https://github.com/vim/vim/commit/ba43e76fcd5b2da57dbaa4d9a555793fe8ac344e
* docs: fix typos (#20509)dundargoc2022-10-13
| | | Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* feat(windows): show icon in terminal titlebar, taskbar #20607Enan Ajmain2022-10-13
| | | closes #20071
* vim-patch:9.0.0738: cannot suppress completion "scanning" messages (#20633)zeertzjq2022-10-13
| | | | | Problem: Cannot suppress completion "scanning" messages. Solution: Add the "C" flag in 'shortmess'. (Bjorn Linse, closes vim/vim#11354) https://github.com/vim/vim/commit/91ccbad5ded8bcf2cc93a873ff2c3179b0c548c7
* vim-patch:8.2.4735: quickfix tests can be a bit hard to read (#20631)zeertzjq2022-10-13
| | | | | | | | Problem: Quickfix tests can be a bit hard to read. Solution: Use heredoc instead of strings and line continuation. (Yegappan Lakshmanan, closes vim/vim#10145) https://github.com/vim/vim/commit/4a7724a4406f639edd3f93f3542626811cf56719 Cherry-pick a typo fix from patch 8.2.3637.
* Merge pull request #20630 from zeertzjq/vim-9.0.0260zeertzjq2022-10-13
|\ | | | | vim-patch:9.0.{0260,0286}: quickfix fixes
| * vim-patch:9.0.0286: using freed memory when location list changed in autocmdzeertzjq2022-10-13
| | | | | | | | | | | | | | Problem: Using freed memory when location list changed in autocmd. Solution: Return QF_ABORT and handle it. (Yegappan Lakshmanan, closes vim/vim#10993) https://github.com/vim/vim/commit/6d24a51b94beb1991cddce221f90b455e2d50db7
| * vim-patch:9.0.0260: using freed memory when using 'quickfixtextfunc' recursivelyzeertzjq2022-10-13
|/ | | | | | | | Problem: Using freed memory when using 'quickfixtextfunc' recursively. Solution: Do not allow for recursion. https://github.com/vim/vim/commit/d6c67629ed05aae436164eec474832daf8ba7420 Cherry-pick Test_qflist_statusmsg() from patch 8.2.4617.
* Merge pull request #20629 from zeertzjq/vim-8.2.4453zeertzjq2022-10-13
|\ | | | | vim-patch:8.2.{4453,4462}
| * vim-patch:8.2.4462: not enough testing for quickfix codezeertzjq2022-10-13
| | | | | | | | | | | | | | | | | | | | Problem: Not enough testing for quickfix code. Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan, closes vim/vim#9839) https://github.com/vim/vim/commit/9c9be05b17ececb1515a2f41a4dedbf848d3d8b6 Omit Test_helpgrep_vim9_restore_cpo(). Cherry-pick test_quickfix.vim change from patch 8.2.0644.
| * vim-patch:8.2.4453: :helpgrep may free an option that was not allocatedzeertzjq2022-10-13
|/ | | | | | | Problem: :helpgrep may free an option that was not allocated. (Yegappan Lakshmanan) Solution: Check if the value was allocated. https://github.com/vim/vim/commit/4791fcd82565adcc60b86830e0bb6cd5b6eea0a6
* vim-patch:9.0.0727: help in the repository differs from patched version too ↵zeertzjq2022-10-13
| | | | | | | much (#20627) Problem: Help in the repository differs from patched version too much. Solution: Make a patch for a few help files. https://github.com/vim/vim/commit/7c6cd443757348aa987eed87506549ab6b2079fe
* refactor: clint (#20600)Lewis Russell2022-10-12
|
* fix(clint): disable whitespace/newline #20619Lewis Russell2022-10-12
| | | This rule is already mostly covered by uncrustify.
* vim-patch:9.0.0731: clang-tidy configuration files are not recognized (#20620)Christian Clason2022-10-12
| | | | | Problem: clang-tidy configuration files are not recognized. Solution: Recognize clang-tidy files as yaml. (closes vim/vim#11350) https://github.com/vim/vim/commit/af40f9af335e0c8b167eac31ceace45b6a2e0565
* refactor(search.c): clint (#20598)Lewis Russell2022-10-12
|
* build: add clang-tidy configuration file (#15601)kylo2522022-10-12
| | | Add a project-style compliant clang-tidy configuration file in the root directory. This configuration will take priority over users own configuration files, so noisy warnings have been removed even though they may be useful, at least for the time being.
* Merge pull request #20606 from zeertzjq/vim-8.2.4523zeertzjq2022-10-12
|\ | | | | vim-patch:8.2.4523: when gvim is started maximized the 'window' option isn't set
| * test: add a test for #20605zeertzjq2022-10-12
| |
| * vim-patch:8.2.4523: when gvim is started maximized the 'window' option isn't setzeertzjq2022-10-12
|/ | | | | | | | Problem: When gvim is started maximized the 'window' option isn't set properly. (Christian J. Robinson) Solution: Check if 'windows' was already set or not. (Ken Takata, closes vim/vim#9904) https://github.com/vim/vim/commit/6ca883dd8a585a85acdf9303b434211ea91872a7