Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 577 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 577 Bytes

🔭 telescope-cc.nvim

Locate source files from "compile_commands.json" file

Installation

Vim-Plug

Plug 'segoon/telescope-cc'

Setup and configuration

require('telescope').setup {
    extensions = {
        cc_json = {
	    -- Filepath with these substrings is skipped
            exclude = {
	        '/contrib/',
	        '/library/cpp',
	        '/library/python',
	        '/external/',
	    },
        },
    },
}

require('telescope').load_extension('cc')

Usage

:Telescope cc

nnoremap <leader>fc <cmd>Telescope cc<cr>