Use sign_getplaced
instead of :sign place
when possible.
#14
Labels
enhancement
New feature or request
Milestone
There's a new signs API (available in Vim 8.1.0772 and in Neovim), it doesn't need text parsing to get at the juicy bits, unlike
:signs place list
.Of course, wholesale moving to this easier-to-use API does mean the plugin wouldn't be compatible with older versions o (Neo)Vim anymore. Another option is conditional usage, though that likely only has the disadvantage of quasi-duplicating code.
I'm unsure whether it has performance benefits.
Usage of it in
vim-lsp
:The text was updated successfully, but these errors were encountered: