diff options
author | Bartłomiej Maryńczak <marynczakbartlomiej@gmail.com> | 2025-03-30 17:39:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-30 08:39:10 -0700 |
commit | 49756ebc70dcd37eb7465f9cacd5e78803619daa (patch) | |
tree | 98be19cd0ce5c9921920e7b972fc45c0a38512bb /runtime/lua/vim/_meta/api.lua | |
parent | 87b4469adcf2de5f792ea0d19afd002e9cb96016 (diff) | |
download | rneovim-49756ebc70dcd37eb7465f9cacd5e78803619daa.tar.gz rneovim-49756ebc70dcd37eb7465f9cacd5e78803619daa.tar.bz2 rneovim-49756ebc70dcd37eb7465f9cacd5e78803619daa.zip |
fix(vim.lsp.inlay_hint): requesting inlay_hints even when disabled #32999
Problem:
Nvim needlessly requests inlay_hints even if they are disabled for a given buffer.
Solution:
Add the missing `enabled` check in `on_refresh`.
Rest of the code has this check already so that's the only needed one to fix this.
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
0 files changed, 0 insertions, 0 deletions