aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fix(PVS/V583): the '?:' operator always returns one and the same value (#17790)dundargoc2022-03-20
|
* Merge pull request #17760 from lewis6991/vim-patch-8.1.1734zeertzjq2022-03-21
|\ | | | | vim-patch:8.1.{1734,1742,1743}: highlight, match and screen.c refactoring
| * vim-patch:8.1.1743: 'hlsearch' and match highlighting in the wrong placeLewis Russell2022-03-20
| | | | | | | | | | | | | | Problem: 'hlsearch' and match highlighting in the wrong place. Solution: Move highlighting from inside screen functions to highlight.c. https://github.com/vim/vim/commit/bbca7732e8a3deb6e5dcf84739579a2667a75475
| * vim-patch:8.1.1742: still some match functions in evalfunc.cLewis Russell2022-03-20
| | | | | | | | | | | | | | Problem: Still some match functions in evalfunc.c. Solution: Move them to highlight.c. https://github.com/vim/vim/commit/7dfb016d25e3e3e1f4411026dda21d1536f21acc
| * vim-patch:8.1.1734: the evalfunc.c file is too bigLewis Russell2022-03-20
|/ | | | | | | Problem: The evalfunc.c file is too big. Solution: Move some functions to other files. https://github.com/vim/vim/commit/29b7d7a9aac591f920edb89241c8cde27378e50b
* Merge pull request #17776 from bfredl/tsconcealbfredl2022-03-20
|\ | | | | feat(ui): allow conceal to be defined in decorations
| * feat(ui): allow conceal to be defined in decorationsbfredl2022-03-20
| | | | | | | | | | | | Unlike syntax conceal, change highlight of concealed char Can be used in tree-sitter using "conceal" metadata.
* | fix(lsp): set tabSize from 'shiftwidth', not 'softtabstop' (#17787)Tim Pope2022-03-20
|/ | | | | | | | | The use of 'softtabstop' to set tabSize was introduced in 5d5b068, replacing 'tabstop'. If we look past the name tabSize and at the actual purpose of the field, it's the indentation width used when formatting. This corresponds to the Vim option 'shiftwidth', not 'softtabstop'. The latter has the comparatively mundane purpose of controlling what happens when you hit the tab key (and even this is incomplete, as it fails to account for 'smarttab').
* Merge pull request #17785 from muniter/jl-fix-doxygen-destroyerJames McCoy2022-03-20
|\ | | | | docs: properly escape to avoid doxygen weirdness
| * docs: properly escape to avoid doxygen weirdnessJavier López2022-03-19
| | | | | | | | | | | | If this is not properly escaped doxygen 1.9.3 will not work correctly, and the documentation generated in local machines will differ with what is generated in CI.
* | fix(termdebug): handle exiting during startup properly (#16790)Sean Dewar2022-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | s:EndTermDebug should only be called when exiting if the debugger started without error, otherwise the plugin breaks. Vim handles this by using job_setoptions to set the on_exit callback to s:EndTermDebug after startup succeeds. However, Nvim does not have such functionality; instead; use s:starting to mimic this behaviour. Also, introduce s:running to fix s:CheckGdbRunning; it did not work correctly due to the "[Process exited X]" message keeping the job's channel alive (though the stream is closed). This means nvim_get_chan_info cannot be used to check if the debugger has exited, as it may still return a non-empty dict.
* | vim-patch:47c532e2bc55 (#17780)Christian Clason2022-03-20
| | | | | | | | Update runtime files https://github.com/vim/vim/commit/47c532e2bc55e8a48f7f47e1fae1ed30144f2fa1
* | Merge pull request #17772 from zeertzjq/vim-8.2.2716zeertzjq2022-03-20
|\ \ | | | | | | vim-patch:8.2.{2716,4546}: the equivalent class regexp is missing some characters
| * | vim-patch:8.2.4546: duplicate #undefzeertzjq2022-03-19
| | | | | | | | | | | | | | | | | | Problem: Duplicate #undef. Solution: Remove one #undef. (closes vim/vim#9932) https://github.com/vim/vim/commit/0a4e098f32f3c83273ff63c02c8d0d5cdd7c897c
| * | vim-patch:8.2.2716: the equivalent class regexp is missing some characterszeertzjq2022-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The equivalent class regexp is missing some characters. Solution: Update the list of equivalent characters. (Dominique Pellé, closes vim/vim#8029) https://github.com/vim/vim/commit/0b94e297afd072c51bf2eed12c7ffe3978d93399 Match upstream's indent in s:equivalence_class().
* | | feat(api): remove Lua autocommand callbacks when they return true (#17784)Gregory Anders2022-03-19
| | | | | | | | | | | | This copies the semantics of nvim_buf_attach callbacks, and is a convenient way to create oneshot autocommands gated by some condition.
* | | fix(api, lua): return NIL on failure to find converted function (#17779)zeertzjq2022-03-20
| |/ |/|
* | refactor(tinput_wait_enqueue): use rbuffer_read() when pasting (#17754)zeertzjq2022-03-19
| | | | | | | | | | When pasting, all of key buffer can be consumed, and in case of phase 3 the paste event must be put exactly once, so using rbuffer_read() should be better here.
* | vim-patch:8.2.4593: unnecessary call to redraw_later() (#17775)zeertzjq2022-03-19
|/ | | | | Problem: Unnecessary call to redraw_later(). Solution: Remove the call to redraw_later() in op_yank(). (closes vim/vim#9971) https://github.com/vim/vim/commit/95d2e7634ccd8e0da78086002509a856999e180c
* docs: reword description for nvim_buf_line_count() (#17766)Xiretza2022-03-18
| | | This adds a few more keywords to make the function easier to find.
* fix(translation): po file for Russian (#17767)matveyt2022-03-18
|
* Merge pull request #17719 from dundargoc/doxygen/ex_docmdbfredl2022-03-18
|\ | | | | refactor(ex_docmd): convert function comments to doxygen format
| * refactor(ex_docmd): convert function comments to doxygen formatDundar Göc2022-03-16
| |
* | fix(syntax.c): correct hunk from Vim patch 8.0.0647 (#17761)Lewis Russell2022-03-18
| |
* | Merge pull request #17694 from lewis6991/fix_signcolbfredl2022-03-18
|\ \ | | | | | | fix(signcol): always trigger a redraw
| * | fix(signcol): always trigger a redrawLewis Russell2022-03-12
| | | | | | | | | | | | | | | | | | | | | Whenever we change the size of the buffer signcol value, always trigger a redraw. Fixes: #17693
* | | vim-patch:8.1.1693: syntax coloring and highlighting is in one big file (#17721)Lewis Russell2022-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Syntax coloring and highlighting is in one big file. Solution: Move the highlighting to a separate file. (Yegappan Lakshmanan, closes vim/vim#4674) https://github.com/vim/vim/commit/f9cc9f209ede9f15959e4c2351e970477c139614 Name the new file highlight_group.c instead. Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* | | Merge pull request #17459 from rktjmp/lua-error-tostringbfredl2022-03-18
|\ \ \ | | | | | | | | feat: __tostring lua errors if possible before showing in messages
| * | | feat: call __tostring on lua errors if possible before reporting to userOliver Marriott2022-02-25
| | | |
* | | | feat(api, lua): support converting nested Funcref back to LuaRef (#17749)zeertzjq2022-03-17
| | | |
* | | | Merge pull request #17747 from bfredl/ui_inputbfredl2022-03-17
|\ \ \ \ | | | | | | | | | | feat(ui_client): input and resize
| * | | | feat(ui_client): implement async paste handlingbfredl2022-03-17
| | | | |
| * | | | feat(ui_client): handle resize eventshlpr982022-03-17
| | | | |
| * | | | feat(ui_client): pass user input to remote serverhlpr982022-03-17
| | | | |
* | | | | Merge pull request #17266 from famiu/feat/ui/global-statuslinebfredl2022-03-17
|\ \ \ \ \ | |/ / / / |/| | | | feat(statusline): add global statusline
| * | | | feat: add support for global statuslineFamiu Haque2022-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ref: #9342 Adds the option to have a single global statusline for the current window at the bottom of the screen instead of a statusline at the bottom of every window. Enabled by setting `laststatus = 3`. Due to the fact that statuslines at the bottom of windows are removed when global statusline is enabled, horizontal separators are used instead to separate horizontal splits. The horizontal separator character is configurable through the`horiz` item in `'fillchars'`. Separator connector characters are also used to connect the horizontal and vertical separators together, which are also configurable through the `horizup`, `horizdown`, `vertleft`, `vertright` and `verthoriz` items in `fillchars`. The window separators are highlighted using the `WinSeparator` highlight group, which supersedes `VertSplit` and is linked to `VertSplit` by default in order to maintain backwards compatibility.
* | | | | chore: fix typos (#17670)dundargoc2022-03-17
| | | | | | | | | | | | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* | | | | Merge pull request #17707 from tesaguri/refactor-gen_vimdocJames McCoy2022-03-16
|\ \ \ \ \
| * | | | | docs: remove extra whitespacesDaiki Mizukami2022-03-14
| | | | | |
| * | | | | chore(gen_vimdoc): fall back to `brief_desc_node` when `desc_node` is emptyDaiki Mizukami2022-03-14
| | | | | |
| * | | | | refactor(gen_vimdoc): simplify `files` in `CONFIG`Daiki Mizukami2022-03-14
| | | | | |
| * | | | | chore(gen_vimdoc): call `delete_lines_below` only if the file existsDaiki Mizukami2022-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, `delete_lines_below` would raise `FileNotFoundError` when adding a new file to `CONFIG` and you had to manually write a file with help tag of the first section as placeholder. This change relieves you of that need.
| * | | | | refactor(gen_vimdoc): detect `section_start_token` automaticallyDaiki Mizukami2022-03-14
| | | | | |
* | | | | | Merge pull request #17739 from dundargoc/doxygen/ex_cmdsbfredl2022-03-16
|\ \ \ \ \ \ | | | | | | | | | | | | | | refactor(ex_cmds): convert function comments to doxygen format
| * | | | | | refactor(ex_cmds): convert function comments to doxygen formatDundar Göc2022-03-16
| | | | | | |
* | | | | | | Merge pull request #17741 from dundargoc/doxygen/messagebfredl2022-03-16
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | refactor(message): convert function comments to doxygen format
| * | | | | | | refactor(message): convert function comments to doxygen formatDundar Göc2022-03-16
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Merge pull request #17732 from dundargoc/doxygen/foldbfredl2022-03-16
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | refactor(fold): convert function comments to doxygen format
| * | | | | | refactor(fold): convert function comments to doxygen formatDundar Göc2022-03-16
| | | | | | |
* | | | | | | Merge pull request #17708 from bfredl/ui_clientbfredl2022-03-16
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | feat(ui): UI client episode II: event handlers