Skip to content

Commit

Permalink
set f the leap.nvim key
Browse files Browse the repository at this point in the history
  • Loading branch information
HoodieCat committed Dec 15, 2024
1 parent e461b37 commit d722947
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,10 @@ require('lazy').setup({
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled { bufnr = event.buf })
end, '[T]oggle Inlay [H]ints')
end
--use clangd builtin command to switch Header/Source
if client and client.supports_method(vim.lsp.protocol.textDocument_switchHeaderSource) then
map('<M-o>', '<cmd>ClangdSwitchSourceHeader<CR>', 'Swithc Source/Header')
end
end,
})

Expand Down

0 comments on commit d722947

Please sign in to comment.