Locate source files from "compile_commands.json" file
Plug 'segoon/telescope-cc'
require('telescope').setup {
extensions = {
cc_json = {
-- Filepath with these substrings is skipped
exclude = {
'/contrib/',
'/library/cpp',
'/library/python',
'/external/',
},
},
},
}
require('telescope').load_extension('cc')
:Telescope cc
nnoremap <leader>fc <cmd>Telescope cc<cr>