Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fannheyward/telescope-coc.nvim

coc.nvim integration for telescope.nvim
https://github.com/fannheyward/telescope-coc.nvim

Last synced: 12 days ago
JSON representation

coc.nvim integration for telescope.nvim

Awesome Lists containing this project

README

        

# telescope-coc.nvim

GitHub Sponsors
Patreon donate button
PayPal donate button

An extension for [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim)
that allows you to find/filter/preview/pick results from [coc.nvim](https://github.com/neoclide/coc.nvim).

## Get Started

```viml
Plug 'nvim-telescope/telescope.nvim'
Plug 'fannheyward/telescope-coc.nvim'

lua << EOF
require("telescope").setup({
extensions = {
coc = {
theme = 'ivy',
prefer_locations = true, -- always use Telescope locations to preview definitions/declarations/implementations etc
push_cursor_on_edit = true, -- save the cursor position to jump back in the future
timeout = 3000, -- timeout for coc commands
}
},
})
require('telescope').load_extension('coc')
EOF
```

## Usage

`:Telescope coc` to get subcommands

`:Telescope coc X`

- `mru`
- `links`
- `commands`
- `locations`
- `references`
- `definitions`
- `declarations`
- `implementations`
- `type_definitions`
- `diagnostics`
- `code_actions`
- `line_code_actions`
- `file_code_actions`
- `document_symbols`
- `workspace_symbols`
- `workspace_diagnostics`

## License

MIT