zed/assets
xzbdmw 8dd1c23b92
editor: Add debounce setting for triggering DocumentHighlight (#21702)
Closes https://github.com/zed-industries/zed/issues/6843


I don't see where is the logic to remove old document highlight when new
one applies,
ideally, old highlight should be cleared as soon as possible when cursor
moves if the new position does not
sits in old highlight ranges to avoid linger highlights described in
https://github.com/zed-industries/zed/issues/13682#issuecomment-2498368680.

So current solution is still not ideal, because only when lsp responses
highlight ranges (even is a empty set) can we clear the old one.

Release Notes:

- Added a setting `lsp_highlight_debounce` to configure delay for
querying highlights from language server.

---------

Co-authored-by: mgsloan@gmail.com <michael@zed.dev>
2024-12-12 15:37:58 -08:00
..
fonts Fix font selection on macOS (#13615) 2024-06-27 17:02:45 -06:00
icons Add metal icon (#21720) 2024-12-12 15:23:20 -08:00
images add ui::Vector and separate images from icons (#17815) 2024-09-13 17:44:16 -04:00
keymaps Improve emacs keybind with better home/end behavior (#21923) 2024-12-12 10:37:15 -05:00
prompts Require /file or /tab when using Suggest Edits (#19960) 2024-10-30 11:38:43 -04:00
settings editor: Add debounce setting for triggering DocumentHighlight (#21702) 2024-12-12 15:37:58 -08:00
sounds Update collaboration sounds, add sounds to screensharing 2023-07-04 16:18:42 -04:00
themes Update panel.focused_border token across themes (#21612) 2024-12-06 09:17:34 -03:00