vim-lsp icon indicating copy to clipboard operation
vim-lsp copied to clipboard

Increase performance with `prop_add_list()` and `sign_placelist()`

Open noscript opened this issue 2 years ago • 3 comments

Please consider using prop_add_list() and sign_placelist() when placing multiple signs and properties. From my experience the performance impact is huge when adding 100+ elements at once.

There is currently a noticeable lag with semantic highlight and diagnostic text properties. I suspect it could be improved significantly by using the list functions.

noscript avatar Mar 08 '22 10:03 noscript

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 11 '22 04:06 stale[bot]

New semantic highlighting does use prop_add_list(). Please give it a try at https://github.com/prabirshrestha/vim-lsp/pull/1275.

Diagnostics needs to be updated.

prabirshrestha avatar Jun 22 '22 16:06 prabirshrestha

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 21 '22 00:09 stale[bot]

Thank you for the effort!

noscript avatar Sep 26 '22 05:09 noscript