aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* docs(lsp): remove outdated offset_encoding default value for apply_text_editsAndrea Cappuccio2022-03-30
|
* fix: set nested before executing callback (#17801)TJ DeVries2022-03-30
|
* Merge pull request #17921 from zeertzjq/vim-8.2.4649zeertzjq2022-03-30
|\ | | | | vim-patch:8.2.{4349,4649}
| * vim-patch:8.2.4649: various formatting problemszeertzjq2022-03-30
| | | | | | | | | | | | Problem: Various formatting problems. Solution: Improve the code formatting. https://github.com/vim/vim/commit/b4ad3b0deac12674a7773311890b48fd39c6807c
| * vim-patch:8.2.4349: FileChangedShell test fails on MS-Windowszeertzjq2022-03-30
|/ | | | | | Problem: FileChangedShell test fails on MS-Windows. Solution: Skip the test on MS-Windows. https://github.com/vim/vim/commit/c9e3187d053dcef03d11915b06be0c78ab45bc75
* vim-patch:46eea444d (#17920)dundargoc2022-03-30
| | | | | | Update runtime files https://github.com/vim/vim/commit/46eea444d992c2ae985cabb775a5d283f8e16df3 Skip repeat.txt as it only has vim9-specific changes.
* Merge pull request #17773 from zeertzjq/vim-8.2.3110zeertzjq2022-03-30
|\ | | | | vim-patch:8.2.{3110,4592}: a pattern that matches the cursor position is complicated
| * vim-patch:8.2.4592: search continues after giving E1204zeertzjq2022-03-30
| | | | | | | | | | | | Problem: Search continues after giving E1204. Solution: Return failure after giving E1204. (closes vim/vim#9972) https://github.com/vim/vim/commit/b10ff5c1b3581ed4990d196bed51b4a8f961e8a2
| * docs(pattern.txt): cherry-pick latests changes from Vim runtime updateszeertzjq2022-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/53f7fccc9413c9f770694b56f40f242d383b2d5f Update runtime files https://github.com/vim/vim/commit/2286304cdbba53ceb52b3ba2ba4a521b0a2f8d0f Update runtime files https://github.com/vim/vim/commit/2f0936cb9a2eb026acac03e6a8fd0b2a5d97508b Update runtime files. https://github.com/vim/vim/commit/a2baa73d1d33014adea0fd9567949089ca21a782
| * vim-patch:8.2.3110: a pattern that matches the cursor position is complicatedzeertzjq2022-03-30
|/ | | | | | | | | Problem: A pattern that matches the cursor position is bit complicated. Solution: Use a dot to indicate the cursor line and column. (Christian Brabandt, closes vim/vim#8497, closes vim/vim#8179) https://github.com/vim/vim/commit/04db26b36000a4677b95403ec94bd11f6cc73975 Also use `n = ++vcol` in regexp_bt.c as `++vcol` alone fails lint.
* vim-patch:8.1.0439: recursive use of getcmdline() still not protected (#17726)zeertzjq2022-03-30
| | | | | | | | | | | | Problem: Recursive use of getcmdline() still not protected. Solution: Instead of saving the command buffer when making a call which may cause recursiveness, save the buffer when actually being called recursively. https://github.com/vim/vim/commit/438d176e35c16d56ff3bb7a80300197ce5a30c4f Co-authored-by: zeertzjq <zeertzjq@outlook.com> Clear ccline earlier in save_cmdline() if ccline is in use so that ccline.prev_ccline can be assigned.
* vim-patch:8.2.4646: using buffer line after it has been freed (#17907)zeertzjq2022-03-30
| | | | | Problem: Using buffer line after it has been freed in old regexp engine. Solution: After getting mark get the line again. https://github.com/vim/vim/commit/b55986c52d4cd88a22d0b0b0e8a79547ba13e1d5
* vim-patch:8.2.4473: Coverity warns for not checking return value of ftell() ↵dundargoc2022-03-30
| | | | | | | (#17914) Problem: Coverity warns for not checking return value of ftell(). Solution: Bail out if ftell() returns a negative value. https://github.com/vim/vim/commit/416b5f4894196947ea87eea2ed4fda3504674f72
* fix(event-loop): duplicate display updating logic in vgetorpeek() (#17913)zeertzjq2022-03-30
|
* vim-patch:8.2.3449: sort fails if the sort compare function returns 999 (#17909)dundargoc2022-03-30
| | | | | Problem: Sort fails if the sort compare function returns 999. Solution: Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes vim/vim#8884) https://github.com/vim/vim/commit/c04f62346bfd6b92151908239a3c5ab1a7d18f2a
* vim-patch:8.2.3551: checking first character of url twice (#17910)dundargoc2022-03-30
| | | | | Problem: Checking first character of url twice. Solution: Only check once. (closes vim/vim#9026) https://github.com/vim/vim/commit/94e7d345c156a722bb161b73238c4ba1d27ec586
* chore: add .mailmap (#17453)Lewis Russell2022-03-29
| | | | | | | Consolidate commit author details - Prefer user/email with either most commits or most recent commit - Generally less preference for @users.noreply.github.com emails - Avoided consolidating common names
* build(clint): link to wiki when accessing list_T internals directly (#17876)dundargoc2022-03-29
|
* fix(decorations): do not put empty virt_text (#17872)zeertzjq2022-03-29
|
* vim-patch:8.2.4644: redrawing too often when 'relativenumber' is set (#17756)Lewis Russell2022-03-29
| | | | | | | Problem: Redrawing too often when 'relativenumber' is set. Solution: Only redraw when the cursor line changed. (Lewis Russell, closes vim/vim#10040) https://github.com/vim/vim/commit/1624639ec8a6c3c99e417a2990f2f02f0d0b6e10
* docs: update hl-Whitespace documentation (#17901)zeertzjq2022-03-29
|
* vim-patch:8.2.4640: some boolean options use "long" instead of "int" (#17896)zeertzjq2022-03-29
| | | | | | | | | | | | | Problem: Some boolean options use "long" instead of "int". Solution: Adjust the type. (James McCoy, closes vim/vim#10033) https://github.com/vim/vim/commit/8be423b7ac3b5742deb20a7eba8f5c9680c04500 N/A patches for version.c: vim-patch:8.2.4641: may mark the wrong window for redrawing Problem: May mark the wrong window for redrawing. Solution: Use redraw_win_later(). (closes vim/vim#10032) https://github.com/vim/vim/commit/471b3aed3e9c43d4dd53444ceb74f9a4f8a3874a
* fix(lsp): use "text" filetype for plaintext (#17898)Jaehwang Jung2022-03-28
|
* Merge pull request #17891 from casswedson/label-as-buildJames McCoy2022-03-28
|\ | | | | ci: label changes to Makefiles as build
| * ci: label changes to Makefiles as buildcasswedson2022-03-27
|/ | | | | Makefiles are used for builds, so why not label changes to these files as build
* Merge pull request #17889 from zeertzjq/vim-8.2.4638zeertzjq2022-03-28
|\ | | | | vim-patch:8.2.{4638,4630}: cursorlineopt=screenline redrawing
| * vim-patch:8.2.4630: 'cursorline' not always updated with 'culopt' is ↵zeertzjq2022-03-28
| | | | | | | | | | | | | | | | | | | | | | "screenline" Problem: 'cursorline' not always updated with 'cursorlineopt' is "screenline". Solution: Call check_redraw_cursorline() more often. (closes vim/vim#10013) https://github.com/vim/vim/commit/bf269ed0b0bd8414eea7bea17465b2738a9a2b55 Code was reverted in patch 8.2.4638, so this just ports the test.
| * vim-patch:8.2.4638: superfluous check if a redraw is needed for 'cursorline'zeertzjq2022-03-28
|/ | | | | | | | | Problem: Superfluous check if a redraw is needed for 'cursorline'. Solution: Remove check_redraw_cursorline(). (closes vim/vim#10030, closes vim/vim#10029) https://github.com/vim/vim/commit/3e559cd88486ffab6b6fb4e0921b4600d137a617 redraw_after_callback() is N/A. Omits changes that just revert code from patch 8.2.4630.
* Merge pull request #17887 from dundargoc/ci/commitlintJames McCoy2022-03-27
|\ | | | | ci(commitlint): use -u NONE instead of --clean
| * ci(commitlint): use -u NONE instead of --cleanDundar Göc2022-03-27
| | | | | | | | | | I get a weird error about syntax.vim not being installed when using --clean when running it locally.
* | Merge pull request #17873 from muniter/jl-apidocs-improvementesJames McCoy2022-03-27
|\ \ | | | | | | ci(doc): improve missing docs workflow
| * | ci(doc): improve missing docs workflowJavier López2022-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Add new pattern `runtime/doc/**`. This is a common case were the contributor modifies only the help file but the doc gen would discard their changes. 2. Add to the output what the changes after running doc gen would be. [skip ci]
* | | docs: .git-blame-ignore-revs #16174Justin M. Keyes2022-03-27
| | |
* | | feat(test): use nvim_exec in helpers.source() #16064Justin M. Keyes2022-03-27
| |/ |/| | | | | | | | | | | | | helpers.source() was a hack to work around the lack of anonymous :source. Its "create tempfile" behavior is not a required part of most tests that use it. Some tests still need the old "create tempfile" behavior either because they test SID behavior, or because of missing nvim_exec features: #16071
* | refactor: assume `STATUS_HEIGHT` to be 1 (#17804)Famiu Haque2022-03-27
| | | | | | Since https://github.com/neovim/neovim/pull/17790 being merged means we can assume the value of `STATUS_HEIGHT` to always be 1, this commit removes code that's unnecessary if `STATUS_HEIGHT` is 1.
* | fix(diagnostic): make `open_float` respect global diagnostic options (#17879)Smitesh Patil2022-03-27
| | | | | | | | * make `open_float` respect `scope` option set in `vim.diagnostic.config` * Closes #17878
* | docs: correct CursorMoved documentation (#17880)zeertzjq2022-03-27
| | | | | | behavior was changed in https://github.com/neovim/neovim/pull/9807
* | Merge pull request #17877 from zeertzjq/vim-8.2.4631zeertzjq2022-03-27
|\ \ | | | | | | vim-patch:8.2.4631: crash when switching window in BufWipeout autocommand
| * | fix(tabpage): correct check for failure to close windowzeertzjq2022-03-27
| | | | | | | | | | | | Avoid closing window 999 times.
| * | vim-patch:8.2.4631: crash when switching window in BufWipeout autocommandzeertzjq2022-03-27
|/ / | | | | | | | | | | | | | | | | Problem: Crash when switching window in BufWipeout autocommand. Solution: Put any buffer in the window to avoid it being NULL. (closes vim/vim#10024) https://github.com/vim/vim/commit/347538fad0c503249ebdedd5884c2081257c9f61 win_init_empty() cannot be made static because it is used in autocmd.c
* | refactor!: rename nvim_do_autocmd to nvim_exec_autocmd (#17854)Javier Lopez2022-03-26
| | | | | | according to established code standards (`:h dev-api`)
* | Merge pull request #17869 from dundargoc/vim-8.2.3943zeertzjq2022-03-26
|\ \ | | | | | | vim-patch:8.2.3943: compiler warning from gcc for uninitialized variable
| * | vim-patch:8.2.3943: compiler warning from gcc for uninitialized variableDundar Göc2022-03-26
| | | | | | | | | | | | | | | | | | Problem: Compiler warning from gcc for uninitialized variable. Solution: Initialize variable. (closes vim/vim#9429) https://github.com/vim/vim/commit/491669701c72578f273db53e579d8a03a9deac0c
* | | Merge pull request #17857 from muniter/jl-breaking-change-labelJames McCoy2022-03-26
|\ \ \ | |_|/ |/| | ci: automatic breaking change label
| * | ci: automatic breaking change labelJavier López2022-03-26
| | | | | | | | | | | | | | | When the PR title contains the breaking change format apply the breaking-change label.
* | | docs(api): fix wrong documentation of `nvim_create_autocmd` (#17870)かわえもん2022-03-26
| |/ |/| | | also add doc changes from typofix PR
* | Merge pull request #17839 from zeertzjq/vim-8.2.4281zeertzjq2022-03-26
|\ \ | | | | | | vim-patch:8.2.{4281,4327}: fix two crashes with quickfix and wiping buffer
| * | vim-patch:8.2.4327: may end up with no current bufferzeertzjq2022-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: May end up with no current buffer. Solution: When deleting the current buffer to not pick a quickfix buffer as the new current buffer. https://github.com/vim/vim/commit/e3537aec2f8d6470010547af28dcbd83d41461b8 The test cannot be ported as-is because Nvim doesn't support "-Z" command line argument. Just use only "--clean" instead.
| * | vim-patch:8.2.4281: using freed memory with :lopen and :bwipezeertzjq2022-03-26
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Using freed memory with :lopen and :bwipe. Solution: Do not use a wiped out buffer. https://github.com/vim/vim/commit/9b4a80a66544f2782040b641498754bcb5b8d461 Cherry-pick some indent changes from patch 8.2.1432.
* | | fix(tui): avoid using uninitialized memory in kitty (#17866)zeertzjq2022-03-26
|/ /