mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-12-07 09:35:37 -08:00
2
init.lua
2
init.lua
@@ -542,7 +542,7 @@ require('lazy').setup({
|
||||
-- This may be unwanted, since they displace some of your code
|
||||
if client and client.server_capabilities.inlayHintProvider and vim.lsp.inlay_hint then
|
||||
map('<leader>th', function()
|
||||
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled {})
|
||||
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled { bufnr = event.buf })
|
||||
end, '[T]oggle Inlay [H]ints')
|
||||
end
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user