neovim/runtime/lua/vim
Jaehwang Jung dc48a98f9a fix(decorations): validate botline for on_win
Problem:
Many decoration providers (treesitter injection highlighting, semantic
token highlighting, inlay hint) rely on the correctness of the `botline`
argument of `on_win` callback. However, `botline` can be smaller than
the actual line number of the last displayed line if some lines are
folded. In such cases, some decorations will be missing in the lines not
covered by `botline`.

Solution:
Validate `botline` when invoking `on_win`.

NOTE:
It seems that the old code was deliberately avoiding this presumably due
to performance reasons. However, I haven't experienced noticeable lag
after this change, and I believe the cost of botline computation would
be much smaller than the cost of decoration providers.
2024-01-04 11:37:00 +00:00
..
_meta fix(decorations): validate botline for on_win 2024-01-04 11:37:00 +00:00
filetype vim-patch:10b4f75d4c03 (#26846) 2024-01-02 19:06:43 +08:00
func feat(lua): add vim.func._memoize 2023-09-20 13:42:41 +01:00
lsp feat(lua): add noref to deepcopy 2024-01-03 19:17:52 +00:00
treesitter refactor: use vim.deprecate on all deprecated functions 2023-12-27 00:05:36 +01:00
ui/clipboard fix(osc52): use nvim_chan_send() to stderr for copying (#26690) 2023-12-21 11:47:04 +08:00
_defaults.lua docs: small fixes (#26651) 2023-12-28 10:28:48 +08:00
_editor.lua refactor: fix luals warnings 2023-12-30 17:40:53 +01:00
_init_packages.lua refactor: fix luals warnings 2023-12-30 17:40:53 +01:00
_inspector.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
_meta.lua refactor(lsp): move glob parsing to util (#26519) 2023-12-22 11:40:01 +01:00
_options.lua docs: do not use deprecated functions #25334 2023-09-24 21:39:59 -07:00
_system.lua fix: windows timeouts have exit code 1 2023-09-05 17:10:04 +01:00
_watch.lua refactor: fix luals warnings 2023-12-30 17:40:53 +01:00
diagnostic.lua feat(lua): add noref to deepcopy 2024-01-03 19:17:52 +00:00
F.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
filetype.lua vim-patch:9.0.2179: no filetype detection for execline scripts 2023-12-19 23:48:02 +01:00
fs.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
func.lua feat(lua): add vim.func._memoize 2023-09-20 13:42:41 +01:00
glob.lua docs(glob): add glob module (#26853) 2024-01-02 14:32:43 +01:00
health.lua refactor(health): refactor provider healthchecks 2024-01-01 20:12:37 +01:00
highlight.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
inspect.lua fix(inspect): escape identifiers that are lua keywords (#19898) 2022-08-23 13:02:55 +02:00
iter.lua refactor: fix luals warnings 2023-12-30 17:40:53 +01:00
keymap.lua feat(lua): add noref to deepcopy 2024-01-03 19:17:52 +00:00
loader.lua refactor: fix luals warnings 2023-12-30 17:40:53 +01:00
lsp.lua feat(lua): add noref to deepcopy 2024-01-03 19:17:52 +00:00
re.lua build: bump lpeg to 1.1.0 (#25016) 2023-09-04 22:42:47 +02:00
secure.lua docs: fix type warnings 2023-09-23 23:46:45 +01:00
shared.lua feat(lua): add noref to deepcopy 2024-01-03 19:17:52 +00:00
snippet.lua fix(snippet): remove misleading comment about TM_FILENAME_BASE (#26465) 2023-12-08 21:23:46 +01:00
termcap.lua fix(termcap): set 'nested' on TermResponse autocommand 2023-12-14 11:38:34 -06:00
text.lua feat: add vim.text module (#26069) 2023-11-16 11:35:54 -06:00
treesitter.lua fix(treesitter): allow passing lang to vim.treesitter.get_node() now correctly takes opts.lang (#26360) 2023-12-04 10:00:49 +01:00
ui.lua refactor: fix luals warnings 2023-12-30 17:40:53 +01:00
uri.lua docs: fix type warnings 2023-09-23 23:46:45 +01:00
version.lua feat(lua): add noref to deepcopy 2024-01-03 19:17:52 +00:00
vimhelp.lua docs: apply current colorscheme to default highlight groups 2023-12-20 18:58:40 +01:00