aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* vim-patch:9.0.1098: code uses too much indent (#21540)zeertzjq2022-12-26
| | | | | | | | Problem: Code uses too much indent. Solution: Use an early return. (Yegappan Lakshmanan, closes vim/vim#11747) https://github.com/vim/vim/commit/465de3a57b815f1188c707e7c083950c81652536 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* fix(showcmd): assert failure with cmdheight=0 (#21536)zeertzjq2022-12-26
|
* Merge pull request #21202 from luukvbaal/statuslinezeertzjq2022-12-26
|\ | | | | feat: add 'showcmdloc' option and statusline item
| * vim-patch:9.0.1061: cannot display 'showcmd' somewhere elseLuuk van Baal2022-12-26
|/ | | | | | | | | Problem: Cannot display 'showcmd' somewhere else. Solution: Add the 'showcmdloc' option. (Luuk van Baal, closes vim/vim#11684) https://github.com/vim/vim/commit/ba936f6f4e85cc1408bc3967f9fd7665d948909b Co-authored-by: Luuk van Baal <luukvbaal@gmail.com>
* fix(mappings): use all buckets in second round of unmap (#21534)zeertzjq2022-12-26
|
* vim-patch:8.2.3737: test fails without the 'autochdir' option (#21529)zeertzjq2022-12-25
| | | | | | | | Problem: Test fails without the 'autochdir' option. Solution: Check that the option is available. (Dominique Pellé, closes vim/vim#9272) https://github.com/vim/vim/commit/8dea145e39a2569153cb63487d3403a46a882189 Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
* vim-patch:8.2.4139: using freed memory in expression abbreviation (#21522)zeertzjq2022-12-24
| | | | | | | | | Problem: Using freed memory if an expression abbreviation deletes the abbreviation. Solution: Do not access the pointer after evaluating the expression. https://github.com/vim/vim/commit/94075b2b0e8e3b75334799d2c082497fbf85ffa1 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.3513: using freed memory when using a timer and searching (#21519)zeertzjq2022-12-24
| | | | | | | | | | | Problem: Using freed memory when using a timer and searching. (Dominique Pellé) Solution: Allocated mr_pattern. https://github.com/vim/vim/commit/a2cff1dbc9c58758977eba3034603e6fe459031b Restore xfree(strcopy) removed in ported patch 8.1.1270. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1092: search error message doesn't show used pattern (#21518)zeertzjq2022-12-24
| | | | | | | | | Problem: Search error message doesn't show used pattern. Solution: Pass the actually used pattern to where the error message is given. (Rob Pilling, closes vim/vim#11742) https://github.com/vim/vim/commit/e86190e7c1297da29d0fc2415fdeca5ecae8d2ba Co-authored-by: Rob Pilling <robpilling@gmail.com>
* vim-patch:9.0.1090: FHIR Shorthand files are not recognized (#21515)Christian Clason2022-12-23
| | | | | | | | | Problem: FHIR Shorthand files are not recognized. Solution: Add a pattern to detect FSH files. (Matthew Gramigna, closes vim/vim#11738) https://github.com/vim/vim/commit/c9207d5d79310bd4628ce46d8db588fac17878a0 Co-authored-by: mgramigna <mgramigna@mitre.org>
* vim-patch:9.0.1089: unnecessary assignment (#21493)luukvbaal2022-12-23
| | | | | | Problem: unnecessary assignment Solution: Remove the assignment. (Luuk van Baal, closes vim/vim#11736) https://github.com/vim/vim/commit/c53e7904b9ac559c7ad6e3acb136027d10aed54e
* ci: remove needs:response label if author responds (#21489)dundargoc2022-12-23
| | | | | | | | | | ci: remove "needs:response" label if author responds The default behavior of the stale action is to indiscriminately remove the `needs:response` label for any activity whatsoever, from anyone. The other option is to turn it off completely, meaning the maintainers needs to manually remove the label themselves when the author responds for an issue to not close automatically. Neither of these behaviors are useful to us.
* fix(options): restore exists() behavior for options (#21510)zeertzjq2022-12-23
| | | | | Duplicating get_option_value() logic for an obscure future refactor isn't really worthwhile, and findoption() isn't used anywhere else outside the options code.
* test(lua/fs_spec): fix vim.fs.dir() test (#21503)zeertzjq2022-12-22
|
* fix(ci): skip test on windows (#21502)Lewis Russell2022-12-22
|
* test(unit): use file:close() properly (#21505)zeertzjq2022-12-22
|
* docs: add security policy (#17338)dundargoc2022-12-22
|
* ci: bump api-docs runner to ubuntu-latest (#21501)dundargoc2022-12-22
| | | | | | This was set explicitly to ubuntu.22.04 as ubuntu-latest pointed to ubuntu.20.04, and we needed 22.04 to have a new enough doxygen version for this job to work. Now that ubuntu-latest points to 22.04 this workaround is no longer needed.
* build(deps): bump LuaJIT to HEAD - a04480e31 (#21500)Christian Clason2022-12-22
|
* Merge pull request #21402 from lewis6991/feat/fs_lsLewis Russell2022-12-22
|\
| * feat(fs): add opts argument to vim.fs.dir()Lewis Russell2022-12-20
| | | | | | | | Added option depth to allow recursively searching a directory tree.
* | Merge pull request #21494 from dundargoc/ci/asan_symbolizebfredl2022-12-22
|\ \ | | | | | | ci: don't use asan_symbolize for the ASAN job
| * | ci: don't use asan_symbolize for the ASAN jobdundargoc2022-12-21
| | | | | | | | | | | | | | | | | | | | | asan_symbolize-14 gives a deprecation as it relies on outdated python features. We can safely stop using asan_symbolize as it's only needed for special cases such as cross compilation which we don't have to worry about.
* | | vim-patch:8.2.5142: startup test fails if there is a status bar (#21496)zeertzjq2022-12-22
|/ / | | | | | | | | | | | | | | | | Problem: Startup test fails if there is a status bar at the top of the screen. (Ernie Rael) Solution: Use a larger vertical offset in the test. https://github.com/vim/vim/commit/fa04eae5a5b9394079bde2d37ce6f9f8a5567d48 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | ci: bump stale action version (#21490)dundargoc2022-12-21
| |
* | fix(decoration): do not reset must_redraw after calling providers (#21459)zeertzjq2022-12-21
| | | | | | | | Resetting must_redraw caused a strange bug #21278, so don't do it. Remove the goto as well, as it doesn't make much sense after #20665.
* | refactor: replace char_u with char 16 - remove STRNCMP (#21208)dundargoc2022-12-21
| | | | | | | | | | refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
* | refactor(win_line): rename attr to vi_attr (#21487)zeertzjq2022-12-21
| | | | | | Vim renamed it in patch 8.1.1391.
* | Merge pull request #21441 from bfredl/neoterminfobfredl2022-12-20
|\ \ | | | | | | refactor(tui): use nvim_echo() for verbose terminfo
| * | refactor(tui): use nvim_echo() for verbose terminfobfredl2022-12-20
| | | | | | | | | | | | | | | | | | This is needed for #18375 for the obvious reasons. note: verbose_terminfo_event is only temporarily needed until the full TUI process refactor is merged.
* | | vim-patch:9.0.1082: some jsonc files are not recognized (#21483)kylo2522022-12-20
|/ / | | | | | | | | | | | | | | | | Problem: Some jsonc files are not recognized. Solution: Add patterns for jsonc and move some from json to jsonc. (closes vim/vim#11711) https://github.com/vim/vim/commit/104b2ff4d0ec9248ba0b979aa3bbccb65fcad422 Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
* | vim-patch:8.2.2912: MS-Windows: most users expect using Unicode (#21482)zeertzjq2022-12-20
| | | | | | | | | | | | | | | | | | | | | | Problem: MS-Windows: most users expect using Unicode. Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata, closes vim/vim#3907) https://github.com/vim/vim/commit/f883d9027c750967b115b82de984ee449ab17aa8 Correct the encoding of the file. Co-authored-by: K.Takata <kentkt@csc.jp>
* | test(old): make test_signs.vim closer to upstream (#21479)zeertzjq2022-12-20
| |
* | test(exrc): add tests for .nvimrc and .nvim.lua (#21478)Munif Tanjim2022-12-20
| |
* | Merge pull request #21477 from zeertzjq/vim-9.0.1078zeertzjq2022-12-20
|\ \ | | | | | | vim-patch:9.0.{1078,1079}
| * | vim-patch:9.0.1079: leaking memory when defining a user command failszeertzjq2022-12-20
| | | | | | | | | | | | | | | | | | | | | Problem: Leaking memory when defining a user command fails. Solution: Free "compl_arg" when needed. (closes vim/vim#11726) https://github.com/vim/vim/commit/33e543038b84af7557ab9ecff500fc4ab98dd2a3
| * | vim-patch:9.0.1078: with the +vartabs feature indent folding may use wrong 'ts'zeertzjq2022-12-20
|/ / | | | | | | | | | | | | Problem: With the +vartabs feature indent folding may use wrong 'tabstop'. Solution: Use the "buf" argument instead of "curbuf". https://github.com/vim/vim/commit/07146ad1d33ba0d36b324873e5c461931e6b025e
* | feat(exrc): support .nvim.lua (#21436)Munif Tanjim2022-12-19
| |
* | fix(lsp): token_edit.data might be null on deletion (#21462)tiagovla2022-12-19
| |
* | fix(tui): set cursor color param as string when required #21407Tom Churchman2022-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: See #20628. Terminals supporting cursor color changing usually set the "user-defined" `Cs` terminfo capability. Most terminals expect the parameter to the capability to be a string (in hex format like `#0099ff` or like `rgb:00/99/ff`), others may expect a number. Nvim currently can't handle string parameters, causing terminals to receive a bogus command. Unfortunately, as the `Cs` capability is "user-defined", there's no strict format. The parameter it takes isn't really standardized. It seems most terminals in use follow xterm; iTerm appears to be an exception. Solution: Use the `Cs` capability more reliable by following terminfo and sending the color in hex format, at the cost of using unibilium string vars. Alternatively, could revert https://github.com/neovim/neovim/commit/34d41baf8a8e4ab8c006b7f29a8106e60e311aa2 and hardcode the specific format required by terminals, instead of reading terminfo. Fixes #20628 Fixes #19607
* | fix(diagnostic): sort diagnostics by column (#21457)tae-soo-kim2022-12-18
| | | | | | Sort diagnostics by column number in quickfix list
* | vim-patch:9.0.1072: screenpos() column result in fold may be too small (#21465)zeertzjq2022-12-18
| | | | | | | | | | | | Problem: screenpos() column result in fold may be too small. Solution: Add space of 'number', sign column, etc. (closes vim/vim#11715) https://github.com/vim/vim/commit/ba2d19193201277397c25c1f5a134ea042542555
* | fix(diagnostic): clear stale cache on reset (#21454)Mathias Fußenegger2022-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | The BufWipeout autocmd is not 100% reliable and may leave stale entries in the cache. This is sort of a hack/workaround to ensure `vim.diagnostic.reset` calls don't fail if there are stale cache entries but instead clears them Fixes errors like Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/diagnostic.lua:1458: Invalid buffer id: 22 stack traceback: [C]: in function 'nvim_exec_autocmds' /usr/share/nvim/runtime/lua/vim/diagnostic.lua:1458: in function 'reset'
* | Merge pull request #21393 from folke/highlight_showChristian Clason2022-12-17
|\ \ | | | | | | | | | feat(lsp): add function to get semantic tokens at cursor feat: `vim.inspect_pos()`, `vim.show_pos()` and `:Inspect[!]`
| * | feat: `vim.inspect_pos`, `vim.show_pos`, `:Inspect`Folke Lemaitre2022-12-17
| | |
| * | feat(lsp): add function to get semantic tokens at cursorChristian Clason2022-12-13
| | |
* | | ci: bump stylua action to v2 (#21455)dundargoc2022-12-17
| | |
* | | Merge pull request #21450 from zeertzjq/vim-8.2.1210zeertzjq2022-12-17
|\ \ \ | | | | | | | | vim-patch:8.2.{1208,1209,1210}: using ht_used when looping through a hashtab is less reliable
| * | | vim-patch:8.2.1210: using ht_used when looping through a hashtab is less ↵zeertzjq2022-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reliable Problem: Using ht_used when looping through a hashtab is less reliable. Solution: Use ht_changed in a few more places. https://github.com/vim/vim/commit/1f22cc5cdb2da867d6bbf54dd371f279c38a2f56 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | vim-patch:8.2.1209: Vim9: test failurezeertzjq2022-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Vim9: test failure. Solution: Add missing changes to hashtab. https://github.com/vim/vim/commit/21c16f868d725fffc8fa36620cba33dd5f2ed576 Co-authored-by: Bram Moolenaar <Bram@vim.org>