mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 08:35:53 +02:00
fix(lsp): inlay hints on stable. See #2007
This commit is contained in:
parent
11a8a6bea7
commit
e229988a98
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ return {
|
|||
vim.fn.sign_define(name, { text = icon, texthl = name, numhl = "" })
|
||||
end
|
||||
|
||||
local inlay_hint = vim.lsp.buf.inlay_hint or vim.lsp.inlay_hint.enable
|
||||
local inlay_hint = vim.lsp.buf.inlay_hint or (vim.lsp.inlay_hint and vim.lsp.inlay_hint.enable)
|
||||
|
||||
if opts.inlay_hints.enabled and inlay_hint then
|
||||
Util.lsp.on_attach(function(client, buffer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue