feat(nvim): enable lsp inlay hints by default
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m5s
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m5s
This commit is contained in:
parent
efaa05fe5d
commit
435937ddb8
@ -324,6 +324,10 @@ return {
|
|||||||
if capabilities.semanticTokensProvider and capabilities.semanticTokensProvider.full then
|
if capabilities.semanticTokensProvider and capabilities.semanticTokensProvider.full then
|
||||||
require("hlargs").disable_buf(bufnr)
|
require("hlargs").disable_buf(bufnr)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if capabilities.inlayHintProvider and not vim.lsp.inlay_hint.is_enabled({ bufnr = bufnr }) then
|
||||||
|
vim.lsp.inlay_hint.enable(true, { bufnr = bufnr })
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
local lspconfig = require("lspconfig")
|
local lspconfig = require("lspconfig")
|
||||||
|
Loading…
Reference in New Issue
Block a user