Skip to content

Latest commit

 

History

History
61 lines (48 loc) · 1.8 KB

README.md

File metadata and controls

61 lines (48 loc) · 1.8 KB

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