| Commit message (Collapse) | Author | Age |
... | |
|\ \
| | |
| | | |
feat(ex_cmds)!: remove :behave
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
just use the individual options instead.
set selection=exclusive
set selectmode=mouse,key
set mousemodel=popup
set keymodel=startsel,stopsel
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Clang static analyzer gives warnings.
Solution: Avoid the warnings. (Yegappan Lakshmanan, closes vim/vim#11043)
https://github.com/vim/vim/commit/c99e182e1fb54e39540d25d0ccd8dcdde25bb96c
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when passing NULL to setcmdline(). (Andreas Louv)
Solution: Use tv_get_string() instead of using v_string directly.
(closes vim/vim#12231, closes vim/vim#12227)
https://github.com/vim/vim/commit/ac6cd31afcbdd08bfa92ca33f7d4ce5773ba4353
|
|/ /
| |
| |
| |
| |
| | |
Problem: Estimated 'statuscolumn' width estimated is not properly used,
executing the `w_redr_statuscol` path unnecessarily.
Solution: Adjust `w_nrwidth` and 'statuscolumn' width before anything
is actually drawn in a `win_update()`.
|
| |
| |
| |
| |
| | |
Using :CheckHealth invokes an error, and many of the features from :checkhealth
doesn't even work such as calling only a specific check. Users should use
:checkhealth instead.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
fix(api): do not re-apply win_config.style when missing
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(#22967)
Problem: The 'statuscolumn' is not drawn and the line itself is drawn
at an offset to the rest of the buffer after virt_lines if
'cpoptions' includes "n".
Solution: Make sure 'statuscolumn' is drawn.
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
(#22984)
Problem: Ending Insert mode when accessing a hidden prompt buffer.
Solution: Don't stop Insert mode when it was active before. (closes vim/vim#12237)
https://github.com/vim/vim/commit/05a627c3d4e42a18f76c14828d68ee4747118211
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| | |
This notation is hardly used and makes the behavior of the from_part
argument of nvim_replace_termcodes confusing.
|
| |
| |
| |
| | |
Fix #22951.
This was fixed in Vim in patch 8.2.0613.
|
|\ \
| | |
| | | |
refactor(api): make typed dicts appear as real types in the source code
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
problem: can we have Serde?
solution: we have Serde at home
This by itself is just a change of notation, that could be quickly
merged to avoid messy merge conflicts, but upcoming changes are planned:
- keysets no longer need to be defined in one single file. `keysets.h` is
just the initial automatic conversion of the previous `keysets.lua`.
keysets just used in a single api/{scope}.h can be moved to that file, later on.
- Typed dicts will have more specific types than Object. this will
enable most of the existing manual typechecking boilerplate to be eliminated.
We will need some annotation for missing value, i e a boolean will
need to be represented as a TriState (none/false/true) in some cases.
- Eventually: optional parameters in form of a `Dict opts` final
parameter will get added in some form to metadata. this will require
a discussion/desicion about type forward compatibility.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: mapset() does not restore non-script context.
Solution: Also accept negative sid. (closes vim/vim#12132)
https://github.com/vim/vim/commit/bfc7cbd1d44e53e844a079d8ad16ae990dad664d
|
| | |
| | |
| | |
| | |
| | |
| | | |
This catches downstream consumers of neovim off guard when using neovim in an
esoteric environment not tested in our own CI.
Closes https://github.com/neovim/neovim/issues/22932
|
|/ / |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Add const to char * parameters in message.c functions and remove some
redundant casts.
|
|\ \
| | |
| | | |
feat(api): set statuscolumn line number in nvim_eval_statusline()
|
| | |
| | |
| | |
| | |
| | |
| | | |
Having the user set `v:lnum` before calling `nvim_eval_statusline()` is
unnecesarily fragile. Redraws inbetween setting `v:lnum` and the
`nvim_eval_statusline()` call will overwrite `v:lnum`.
|
| | |
| | |
| | |
| | |
| | |
| | | |
libnvim couldn't be easily used in C++ due to the use of reserved keywords.
Additionally, add explicit casts to *alloc function calls used in inline
functions, as C++ doesn't allow implicit casts from void pointers.
|
| | |
| | |
| | |
| | |
| | | |
Previously, the fold information was incorrect because it wasn't
being updated during the blockwise insertion.
(Solution by zeertzjq)
|
|\ \ \
| |/ /
|/| | |
fix(highlight): use winhl=Foo:Bar even when Bar is empty
|
| | |
| | |
| | |
| | | |
fixes #22906
|
| | |
| | |
| | |
| | | |
message.c functions now take const char * as a format. Error message
definitions can be made const.
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Problem:
Codebase inconsistently binds vim.api onto a or api.
Solution:
Use api everywhere. a as an identifier is too short to have at the
module level.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
- Change libtermkeyCMakeLists.txt to LibtermkeyCMakeLists.txt
- Remove duplicate mark_as_advanced calls in FindLibuv.cmake
- Fix "Enabling Clang sanitizer" messages as it's no longer clang-only
- Simplify parser installation syntax
- Rename tree-sitter to treesitter
|
| | |
|
| | |
|
|\ \
| | |
| | | |
fix(ui): ruler is not redrawn in cmdline with redrawstatus
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(#22867)
Problem: Start Insert mode when accessing a hidden prompt buffer.
Solution: Call leaving_window() in aucmd_restbuf(). (Thorben Tröbst,
closes vim/vim#12148, closes vim/vim#12147)
https://github.com/vim/vim/commit/cde8de034524d00aba4ff4142e658baff511e12d
Cherry-pick test_prompt_buffer.vim changes from patch 9.0.0631.
Co-authored-by: orbital <orbital@holgerines.de>
|
|/ |
|
|\
| |
| | |
fix(ui): recording change doesn't trigger statusline redraw
|
| | |
|
|\ \
| | |
| | | |
feat(extmarks): extend nvim_buf_get_extmarks()
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Can not get all extmarks in a buffer. Properties are missing
from the details array.
Solution: Allow getting all extmarks in a buffer by supplying a -1
"ns_id". Add missing properties to the details array.
|
| | |
| | |
| | | |
Closes https://github.com/neovim/neovim/issues/459
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when adding package already in 'runtimepath'.
Solution: Change order for using 'runtimepath' entries. (closes vim/vim#12215)
https://github.com/vim/vim/commit/39c9ec16ea7ef13c5d783481542ee9aa6c05282c
|
| | | |
|
| |/
|/| |
|
| |
| |
| |
| |
| | |
Problem: No way to get the actual highlight attributes for a linked
group through |nvim_get_hl()| (not the attributes from the link target).
Solution: Return the actual attributes as well as the link target name.
|