aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/protocol.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-08-19 16:45:04 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2021-08-19 16:45:04 +0200
commit2460f0a7028550ea2d87492a4e8b95914fdba7b1 (patch)
tree43982bcffc13f39906ea08b05fe4e32dbb551b70 /runtime/lua/vim/lsp/protocol.lua
parentd088066fa1d9a4d897890e35b5dd0cfb4e8b365b (diff)
downloadrneovim-2460f0a7028550ea2d87492a4e8b95914fdba7b1.tar.gz
rneovim-2460f0a7028550ea2d87492a4e8b95914fdba7b1.tar.bz2
rneovim-2460f0a7028550ea2d87492a4e8b95914fdba7b1.zip
perf(treesitter): avoid string lookup of highlight name in hot loop
These numbers are guaranteed to be stable even if you do "highlight clear" (all attributes disappear, but not the id to name mapping itself)
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
0 files changed, 0 insertions, 0 deletions