aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #16792 from zeertzjq/ins-lastc-k-eventBjörn Linse2021-12-26
|\ | | | | fix: do not save K_EVENT as lastc in Insert mode
| * fix: do not save K_EVENT as lastc in Insert modezeertzjq2021-12-26
| | | | | | | | I'm also gonna move some other K_EVENT-related tests to vim_spec.lua
* | Merge pull request #16788 from jamessan/strptime-fixJames McCoy2021-12-26
|\ \ | | | | | | fix(msgpack#strptime): use calendar.timegm to get seconds since epoch
| * | fix(msgpack#strptime): use calendar.timegm to get seconds since epochJames McCoy2021-12-25
| | | | | | | | | | | | | | | | | | datetime.datetime.timestamp does not exist on Windows and datetime.datetiem.strftime('%s') is not supported, since '%s' is a POSIX format. Instead, use the recommended `calendar.timegm(obj.utctimetuple())`.
* | | vim-patch:partial fa3b72348d88 (#16780)Christian Clason2021-12-26
| |/ |/| | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/fa3b72348d88343390fbe212cfc230fec1602fc2 omit doc/eval.txt (needs 8.2.3864) doc/map.txt (needs 8.2.3619) menu.vim (needs 8.2.0413)
* | Merge pull request #16774 from zeertzjq/vim-8.2.2468Jan Edmund Lazo2021-12-25
|\ \ | | | | | | vim-patch:8.2.2468: not easy to get the full command name from a shortened one
| * | fixup! vim-patch:8.2.2468: not easy to get the full command name from a ↵zeertzjq2021-12-26
| | | | | | | | | | | | shortened one
| * | vim-patch:partial:6c391a74fe90zeertzjq2021-12-25
| | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7
| * | vim-patch:partial:6aa57295cfbezeertzjq2021-12-25
| | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/6aa57295cfbe8f21c15f0671e45fd53cf990d404
| * | vim-patch:8.2.2468: not easy to get the full command name from a shortened onezeertzjq2021-12-25
| | | | | | | | | | | | | | | | | | Problem: Not easy to get the full command name from a shortened one. Solution: Add fullcommand(). (Martin Tournoij, closes vim/vim#7777) https://github.com/vim/vim/commit/038e09ee7645731de0296d255aabb17603276443
* | | vim-patch:8.1.1412: test 30 is old style (#16768)Volodymyr Kot2021-12-25
| | | | | | | | | | | | | | | Problem: Test 30 is old style. Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes vim/vim#4440) https://github.com/vim/vim/commit/72fcf07b0639b49be3305de141d777baa9c965a0
* | | Merge pull request #16618 from zeertzjq/vim-8.2.3780Jan Edmund Lazo2021-12-25
|\ \ \ | | | | | | | | vim-patch:8.2.{3780,3784}: ":cd" works differently on MS-Windows
| * | | vim-patch:partial:0e6adf8a29d5zeertzjq2021-12-25
| | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/0e6adf8a29d5c2c96c42cc7157f71bf22c2ad471
| * | | vim-patch:8.2.3784: the help for options is outdatedzeertzjq2021-12-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The help for options is outdated. Solution: Include all the recent changes. https://github.com/vim/vim/commit/7b1463bca36d16e70afd6779e4fbb30761048c91 This is the only applicable hunk.
| * | | vim-patch:8.2.3780: ":cd" works differently on MS-Windowszeertzjq2021-12-25
| |/ / | | | | | | | | | | | | | | | Problem: ":cd" works differently on MS-Windows. Solution: Add the 'cdhome' option. (closes vim/vim#9324) https://github.com/vim/vim/commit/29f3a4591528130fded3fe1d63d74bcf22ab4f6c
* | | Merge pull request #16767 from zeertzjq/vim-8.2.3879Jan Edmund Lazo2021-12-25
|\ \ \ | | | | | | | | vim-patch:8.2.{3879,3882}
| * | | vim-patch:8.2.3882: more duplicated code in f_getreginfo()zeertzjq2021-12-24
| | | | | | | | | | | | | | | | | | | | | | | | Problem: More duplicated code in f_getreginfo(). Solution: Also use getreg_get_regname(). (closes vim/vim#9398) https://github.com/vim/vim/commit/d3f00f54bf955bd01767db3a0af25866bc112ec7
| * | | vim-patch:8.2.3879: getreg() and getregtype() contain dead codezeertzjq2021-12-24
| |/ / | | | | | | | | | | | | | | | | | | Problem: getreg() and getregtype() contain dead code. Solution: Remove the needless check. (closes vim/vim#9392) Also refactor to put common code in a shared function. https://github.com/vim/vim/commit/51e64b2789eb7e60f7c5892a43426ab4ec1a54aa
* | | Merge pull request #16705 from zeertzjq/vim-8.2.2508Jan Edmund Lazo2021-12-25
|\ \ \ | | | | | | | | vim-patch:8.2.{2508,2641,3846}
| * | | vim-patch:8.2.3846: no error when using control character for 'lcs' or 'fcs'zeertzjq2021-12-19
| | | | | | | | | | | | | | | | | | | | | | | | Problem: No error when using control character for 'lcs' or 'fcs'. Solution: Use char2cells() to check the width. (closes vim/vim#9369) https://github.com/vim/vim/commit/60618c8f1a7ea55452837a446525272142286471
| * | | vim-patch:8.2.2641: display test fails because of lacking redrawzeertzjq2021-12-19
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Display test fails because of lacking redraw. Solution: Add a redraw command. https://github.com/vim/vim/commit/2cec027af461095f96dec3bfd036c267f790b0f4
| * | | vim-patch:8.2.2508: cannot change the character displayed in non existing lineszeertzjq2021-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot change the character displayed in non existing lines. Solution: Add the "eob" item to 'fillchars'. (closes vim/vim#7832, closes vim/vim#3820) https://github.com/vim/vim/commit/a98f8a230596d8fb44cc68321de72980a21428cb Nvim has already implemented this feature, so this just ports the tests and docs.
* | | | vim-patch:8.2.3883: crash when switching to other regexp engine fails (#16773)zeertzjq2021-12-25
| | | | | | | | | | | | | | | | | | | | Problem: Crash when switching to other regexp engine fails. Solution: Check for regprog being NULL. https://github.com/vim/vim/commit/5937c7505f444dd896f336fa0119a93a55ebe9a2
* | | | Merge pull request #16789 from janlazo/vim-8.1.1184Jan Edmund Lazo2021-12-25
|\ \ \ \ | | | | | | | | | | vim-patch:8.1.{1184,1379}
| * | | | vim-patch:8.1.1379: filechanged test hangsJan Edmund Lazo2021-12-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Filechanged test hangs. Solution: Do not check 'autoread'. https://github.com/vim/vim/commit/8239c62067c8d40720560496b25a82662126f2a2
| * | | | vim-patch:8.1.1184: undo file left behind after running testJan Edmund Lazo2021-12-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Undo file left behind after running test. Solution: Delete the undo file. (Dominique Pelle, closes vim/vim#4279) https://github.com/vim/vim/commit/137c14bb4f18198ed38659dcfbdfd749115c7ab5
| * | | | test: port test_filechanged.vimJan Edmund Lazo2021-12-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I can't port patch 8.1.0820. Attempt failed in https://github.com/neovim/neovim/pull/12948. test_filechanged.vim is required for later patches.
* | | | | vim-patch:8.2.3880: Solution filter files are not recognized (#16779)Christian Clason2021-12-25
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: Solution filter files are not recognized. Solution: Add pattern *.slnf and use json. (Doug Kearns) https://github.com/vim/vim/commit/70a120b72b2b48800f881725c58241cd170893f8
* | | | | Merge pull request #16724 from VVKot/vim-8.2.3850Jan Edmund Lazo2021-12-25
|\ \ \ \ \ | |/ / / / |/| | | | vim-patch:8.2.{3850,3855}
| * | | | vim-patch:8.2.3855: illegal memory access when displaying a blobVVKot2021-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Illegal memory access when displaying a blob. Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes vim/vim#9372) https://github.com/vim/vim/commit/bc404bfb32cf2bef34050d2aeae0ea72ccf980cc
| * | | | vim-patch:8.2.3850: illegal memory access when displaying a partialVVKot2021-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Illegal memory access when displaying a partial. Solution: Terminate the string with a NUL. (closes vim/vim#9371) https://github.com/vim/vim/commit/2de5371a755abd287dab6ff544924715a76d4abe
* | | | | test(old): reenable Test_virtual_replace() (#16674)zeertzjq2021-12-25
| | | | |
* | | | | feat(lua): add vim.spell (#16620)Lewis Russell2021-12-25
| | | | |
* | | | | Merge pull request #16725 from VVKot/vim-8.1.0040Björn Linse2021-12-25
|\ \ \ \ \ | |_|_|_|/ |/| | | | vim-patch:8.1.0040: warnings from 64-bit compiler
| * | | | vim-patch:8.1.0040: warnings from 64-bit compilerVVKot2021-12-20
| |/ / / | | | | | | | | | | | | | | | | | | | | Problem: Warnings from 64-bit compiler. Solution: Add type casts. (Mike Williams) https://github.com/vim/vim/commit/e31e256ba1769a3a3ed7840d5cc9a01ab058b8bc
* | | | Merge pull request #16786 from jamessan/cancel-previous-ciJames McCoy2021-12-25
|\ \ \ \ | | | | | | | | | | ci: cancel in-progress CI if a PR is updated
| * | | | ci: cancel in-progress CI if a PR is updatedJames McCoy2021-12-25
|/ / / / | | | | | | | | | | | | [skip ci]
* | | | vim-patch:8.2.3873: go.mod files are not recognized (#16757)dundargoc2021-12-25
| | | | | | | | | | | | | | | | | | | | Problem: go.mod files are not recognized. Solution: Check for the file name. (closes vim/vim#9380) https://github.com/vim/vim/commit/82b3b4c6cf2973fe767f8e2311482af0bd95267e
* | | | Merge pull request #16762 from zeertzjq/grid-truncate-pum-double-widthBjörn Linse2021-12-25
|\ \ \ \ | | | | | | | | | | Truncate double-width character at the end of popup menu correctly
| * | | | refactor(pum_redraw): rename col -> grid_colzeertzjq2021-12-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is initialized to `col_off`, while in Vim this variable `col` that is used in the same places is initialized to `pum_col`. This can cause confusion in patch porting, and it caused Vim patch 8.2.1995 to be ported incorrectly. (I reverted the incorrect part in the last commit though.) Rename it to `grid_col` to make it clear that it is different from Vim's `col` variable.
| * | | | fix(pum_redraw): use grid_puts_len() to truncate the textzeertzjq2021-12-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nvim already resizes grid to the required width, so there is no need to truncate the text in pum_redraw(). What's more, truncation is currently done incorrectly because Vim patch 8.2.1995 was ported incorrectly. This nearly reverts the truncation part of Vim patch 8.2.1995, but not the part that reduces unnecessary calls to pum_redraw(). The original PR https://github.com/vim/vim/pull/7306 didn't explain much about which part of it actually reduces redraws.
| * | | | fix(screen): truncate when overwriting right half of a double-width charzeertzjq2021-12-24
| | | | | | | | | | | | | | | | | | | | | | | | | Unlike the code above, this truncates the character in the same grid. This is mainly for the pum scrollbar in the next commit.
| * | | | fix(screen): truncate double-width character correctlyzeertzjq2021-12-24
| | |_|/ | |/| | | | | | | | | | | | | | The `c = '>';` is useless here, because it is not used later. `u8c` should also need to be set to '>', and `u8cc` needs to be cleared.
* | | | chore(editorconfig): set max_line_length for .h and .in files (#16775)Maverun2021-12-24
| | | |
* | | | fix(options): disallow empty 'fdc' and 'scl' (#16765)Sean Dewar2021-12-24
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Empty string values for these options aren't actually allowed, but check_opt_strings allows empty string options. It so happens that 'scl' handles empty string like "auto", but empty 'fdc' causes glitchiness (win_fdccol_count returns an incorrect value). Just disallow empty string values for these options completely.
* | | chore: set max_line_length in editorconfig (#16755)Gregory Anders2021-12-23
| | | | | | | | | | | | | | | | | | We established a while ago that 100 chars is our line length for both C and Lua. Not all editorconfig plugins support the "max_line_length" option, but many do (including all of the ones available for Vim/Neovim to the best of my knowledge).
* | | docs: regenerate (#16742)github-actions[bot]2021-12-23
| | | | | | | | | Co-authored-by: marvim <marvim@users.noreply.github.com>
* | | Merge pull request #16754 from jamessan/vim-8.2.3874James McCoy2021-12-22
|\ \ \ | | | | | | | | vim-patch:8.2.3874
| * | | vim-patch:8.2.3874: cannot highlight the number column for a signJames McCoy2021-12-22
|/ / / | | | | | | | | | | | | | | | Problem: Cannot highlight the number column for a sign. Solution: Add the "numhl" argument. (James McCoy, closes vim/vim#9381) https://github.com/vim/vim/commit/a80aad717464760a5a50ac2201ce35b24a0cf7a5
* | | refactor: fix comment spacing in option.h (#16749)zeertzjq2021-12-21
| | |