aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
|/ /
* | vim-patch:8.2.4626: Visual area not updated when removing sign in Visual ↵zeertzjq2022-03-26
| | | | | | | | | | | | | | | | mode (#17864) Problem: Visual area not fully updated when removing sign in Visual mode while scrolling. Solution: Adjust check for topline. (closes vim/vim#10017) https://github.com/vim/vim/commit/abb6fbd14d985b9b36a4e336d6edaf9853888ac1
* | vim-patch:8.2.3453: autocmd not executed when editing a directory (#17846)zeertzjq2022-03-26
| | | | | | | | | | | | Problem: Autocmd not executed when editing a directory ending in a path separator inside try block. Solution: Return NOTDONE instead of FAIL. (closes vim/vim#8885) https://github.com/vim/vim/commit/40fa12aea352474d229f2f750e954a4318aead4e
* | fix(clang/'Dead store'): do not assign endcol (#17788)dundargoc2022-03-25
| |
* | chore: fix typos (#17755)dundargoc2022-03-25
| | | | | | | | Co-authored-by: Jordan Haine <jhaine@securitycompass.com>
* | docs(api): improve autocommand docs (#17545)Javier Lopez2022-03-25
| | | | | | [skip ci]
* | fix(filetype.lua): always return a string in getline helper function (#17852)Jared Weakly2022-03-25
| | | | | | | | | | | | Uses of `getline` in `filetype.lua` currently assume it always returns a string. However, if the buffer is unloaded when filetype detection runs, `getline` returns `nil`. Fixing this prevents errors when filetype detection is run on unloaded buffers.
* | build(deps): bump luajit to commit e2c312e (#17111)Christian Clason2022-03-25
| | | | | | bump bundled LuaJIT to https://github.com/LuaJIT/LuaJIT/commit/e2c312e0deb874aa5fa8ce502c08d87deb38e82f
* | fix(tui): correct CSI sequence (#17844)Gregory Anders2022-03-24
| | | | | | | | | | | | | | | | | | | | Follow up to #17771. The sequence `CSI > 4 ; 1 m` does not enable distinguishing all available keys; notably, it excludes `<Tab>`. Using `CSI > 4 ; 2 m` tells the terminal to disambiguate *all* keys, which is much more useful. The meaning of the final parameter is documented [here][1]. [1]: https://invisible-island.net/xterm/manpage/xterm.html#VT100-Widget-Resources:modifyOtherKeys
* | feat: add vim.tbl_get (#17831)Michael Lingelbach2022-03-24
| | | | | | | | | | | | vim.tbl_get takes a table with subsequent string arguments (variadic) that index into the table. If the value pointed to by the set of keys exists, the function returns the value. If the set of keys does not exist, the function returns nil.
* | Merge pull request #17809 from dundargoc/PVS/V1019bfredl2022-03-24
|\ \ | | | | | | fix(PVS/V1019): compound assignment expression is used inside condition
| * | fix(PVS/V1019): compound assignment expression is used inside conditionDundar Göc2022-03-24
| | |
* | | Merge pull request #17771 from gpanders/extendedkeysbfredl2022-03-24
|\ \ \ | | | | | | | | feat(tui): enable CSI u keys
| * | | feat(tui): enable CSI u keysGregory Anders2022-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On TUI startup write the CSI sequence that signals to the controlling terminal that Neovim supports the CSI u scheme for encoding modifiers documented in [1]. This is similar to, but distinct from, Vim's usage of the `t_TI` and `t_TE` variables to handle Xterm's `modifyOtherKeys` setting. For a longer explanation on those differences see [2]. Since Neovim uses libtermkey for key input handling, we use the CSI u encoding rather than Xterm's modifyOtherKeys encoding. [1]: http://www.leonerd.org.uk/hacks/fixterms/ [2]: https://invisible-island.net/xterm/modified-keys.html
* | | | feat(runtime): include Lua in C++ ftplugin (#17843)Gregory Anders2022-03-24
| |_|/ |/| |
* | | Merge pull request #17838 from zeertzjq/ci-docgen-no-src-luabfredl2022-03-24
|\ \ \ | |/ / |/| | ci: remove src/nvim/**.lua from docgen pattern
| * | ci: remove src/nvim/**.lua from docgen patternzeertzjq2022-03-24
| | | | | | | | | | | | After #17623 this pattern is no longer necessary.
* | | Merge pull request #17821 from zeertzjq/vim-patch-cursorlinezeertzjq2022-03-24
|\ \ \ | | | | | | | | vim-patch:8.2.{4591,4614}: cursorline redrawing
| * | | perf(screen): reduce cursorline redrawing when jumping aroundzeertzjq2022-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.4614: redrawing too much when 'cursorline' is set Problem: Redrawing too much when 'cursorline' is set and jumping around. Solution: Rely on win_update() to redraw the current and previous cursor line, do not mark lines as modified. (closes vim/vim#9996) https://github.com/vim/vim/commit/c20e46a4e3efcd408ef132872238144ea34f7ae5 This doesn't match the patch exactly, because I missed some lines when porting patch 8.1.2029, and these lines were removed in this patch. This also makes win_update() always update for 'concealcursor' like how it always updates for 'cursorline', as 'cursorline' and 'concealcursor' redrawing logic has been unified in Nvim. As redrawing for 'cursorline' now always only requires VALID redraw type, it is no longer necessary to call redraw_for_cursorline() in nvim_win_set_cursor().
| * | | vim-patch:8.2.4591: cursor line not updated when a callback moves the cursorzeertzjq2022-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cursor line not updated when a callback moves the cursor. Solution: Check if the cursor moved. (closes vim/vim#9970) https://github.com/vim/vim/commit/e7a74d53754765f22ef8ce71c915bb669d5f7f3f redraw_after_callback() is N/A. Nvim handles timers on the main loop.
* | | | Merge pull request #17740 from dundargoc/doxygen/memlinebfredl2022-03-24
|\ \ \ \ | | | | | | | | | | refactor(memline): convert function comments to doxygen format