Skip to content

fannheyward/telescope-coc.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 

Repository files navigation

telescope-coc.nvim

GitHub Sponsors Patreon donate button PayPal donate button

An extension for telescope.nvim that allows you to find/filter/preview/pick results from coc.nvim.

Get Started

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

About

coc.nvim integration for telescope.nvim

Resources

License

Stars

Watchers

Forks

Languages