From f89342dfc7e2a2ab875b86fe21b342fd688d71ea Mon Sep 17 00:00:00 2001 From: Thore Goll <31999281+gollth@users.noreply.github.com> Date: Mon, 30 Oct 2023 11:01:55 +0100 Subject: [PATCH] Fix non-existent property in `inlay-hints` `disabled` property does not exist in the `inlay_hints` module, probably `enabled` is meant? --- lua/rust-tools/inlay_hints.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/rust-tools/inlay_hints.lua b/lua/rust-tools/inlay_hints.lua index 0df31a1..48b8976 100644 --- a/lua/rust-tools/inlay_hints.lua +++ b/lua/rust-tools/inlay_hints.lua @@ -16,7 +16,7 @@ end -- Disable hints and clear all cached buffers function M.disable(self) - self.disable = false + self.enabled = false M.disable_cache_autocmd() for k, _ in pairs(self.cache) do