update inlay hints + add lualine
This commit is contained in:
parent
0bb68cbc12
commit
aee97565ee
3 changed files with 35 additions and 26 deletions
2
init.lua
2
init.lua
|
|
@ -186,7 +186,7 @@ vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper win
|
|||
|
||||
if vim.lsp.inlay_hint then
|
||||
vim.keymap.set('n', '<leader>ih', function()
|
||||
vim.lsp.inlay_hint.enable(0, not vim.lsp.inlay_hint.is_enabled(0))
|
||||
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled {})
|
||||
end, { desc = 'Toggle [I]nlay [H]ints' })
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue