diff options
author | Sanchayan Maity <sanchayan@sanchayanmaity.net> | 2023-06-30 17:12:58 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-30 13:42:58 +0200 |
commit | d191bdf9d5e54722e28ddb0cccc8eb2312a234df (patch) | |
tree | a6fdfb8dc362bae0a5e3596cea1fcf76ca918891 /src/nvim/api/deprecated.c | |
parent | 751b9d73fdf6114b1f14026826306d8a41234862 (diff) | |
download | rneovim-d191bdf9d5e54722e28ddb0cccc8eb2312a234df.tar.gz rneovim-d191bdf9d5e54722e28ddb0cccc8eb2312a234df.tar.bz2 rneovim-d191bdf9d5e54722e28ddb0cccc8eb2312a234df.zip |
fix(lsp): fix attempt to call non existent function (#24212)
Commit 37079fc moved inlay_hint to vim.lsp() but in the process did
missed converting a call to disable/enable which are now local.
Fixes the below error when trying to toggle inlay hints.
E5108: Error executing lua /usr/local/share/nvim/runtime/lua/vim/lsp/inlay_hint.lua:248: attempt to call field 'disable' (a nil value)
stack traceback:
/usr/local/share/nvim/runtime/lua/vim/lsp/inlay_hint.lua:248: in function 'toggle'
/usr/local/share/nvim/runtime/lua/vim/lsp/inlay_hint.lua:310: in function 'inlay_hint'
[string ":lua"]:1: in main chunk
Diffstat (limited to 'src/nvim/api/deprecated.c')
0 files changed, 0 insertions, 0 deletions