Closed SDGLBL closed 1 year ago
Are you referencing to this error message?
Error executing vim.schedule lua callback: ...nvim/lazy/rust-tools.nvim/lua/rust-tools/inlay_hints.lua:216: bad argument #1 to 'sub' (string expected, got table)
stack traceback:
[C]: in function 'sub'
...nvim/lazy/rust-tools.nvim/lua/rust-tools/inlay_hints.lua:216: in function 'render_line'
...nvim/lazy/rust-tools.nvim/lua/rust-tools/inlay_hints.lua:260: in function 'render'
...nvim/lazy/rust-tools.nvim/lua/rust-tools/inlay_hints.lua:170: in function 'handler'
/usr/share/nvim/runtime/lua/vim/lsp.lua:1388: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
```?
@TornaxO7 :point_up: I'm seeing this one as well, but the fix above doesn't solve the issue for me. The fix mentioned in #300 does, though.
InlayHint is not working I fix this problem when i using pairs instead of ipairs in
cache_render
#296