summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/provider/provider.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 2ec429d0..787cfeb8 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -1416,8 +1416,8 @@ m.register 'textDocument/inlayHint' {
},
position = converter.packPosition(state, res.offset),
kind = res.kind,
- paddingLeft = true,
- paddingRight = true,
+ paddingLeft = res.kind == 1,
+ paddingRight = res.kind == 2,
}
end
return hintResults