neovim: disable inlay hints
This commit is contained in:
@@ -59,10 +59,6 @@ local function on_attach(client, bufnr)
|
||||
if not vim.lsp.buf.range_code_action == nil then
|
||||
vim.keymap.set("v", "<leader>.", vim.lsp.buf.range_code_action, opts)
|
||||
end
|
||||
|
||||
if client.name ~= "tsserver" and client.server_capabilities.inlayHintProvider then
|
||||
vim.lsp.inlay_hint.enable(bufnr, true)
|
||||
end
|
||||
end
|
||||
|
||||
vim.keymap.set("n", "<leader>ee", function()
|
||||
|
||||
Reference in New Issue
Block a user