feat: first attempt at compile-commands-picker

This commit is contained in:
dlond 2025-09-03 07:18:27 +12:00 committed by Daniel Lond
parent 8802b654c9
commit fef576fbde
4 changed files with 145 additions and 1 deletions

View file

@ -79,6 +79,10 @@ function M.setup()
vim.keymap.set('n', '<leader>sn', function()
builtin.find_files { cwd = vim.fn.stdpath 'config' }
end, { desc = '[S]earch [N]eovim files' })
-- C/C++ compile_commands.json picker
vim.keymap.set('n', '<leader>sc', '<cmd>CompileCommandsPicker<cr>',
{ desc = '[S]earch [C]ompile commands.json' })
end
return M