/telescope-supercollider.nvim

Telescope extension for SuperCollider

Primary LanguageLuaMIT LicenseMIT

telescope-supercollider.nvim

A telescope.nvim extension that adds supercollider finders.

See also telescope-scdoc for help file finding.

Requirements

  • scnvim
  • telescope

Installation

Install the plugin

use { 'madskjeldgaard/telescope-supercollider.nvim' }

Load the extension after the call to telescope.setup{}

require'telescope'.load_extension('supercollider')

Usage

Note scnvim needs to be started (:SCNvimStart) before calling these.

Call it directly from lua:

:lua require'telescope'.extensions.supercollider.sc_definitions()

An example of a mapping in scnvim:

["<F3>"] = scnvim.map(function()
    require 'telescope'.extensions.supercollider.sc_definitions()
  end, { "n", "x", "i" }),

Available finders

  • sc_definitions - Find definitions of classes and functions