Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madskjeldgaard/telescope-supercollider.nvim
Telescope extension for SuperCollider
https://github.com/madskjeldgaard/telescope-supercollider.nvim
neovim nvim supercollider telescope
Last synced: 1 day ago
JSON representation
Telescope extension for SuperCollider
- Host: GitHub
- URL: https://github.com/madskjeldgaard/telescope-supercollider.nvim
- Owner: madskjeldgaard
- License: mit
- Created: 2023-10-06T09:46:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-09T18:19:43.000Z (about 1 year ago)
- Last Synced: 2023-10-09T22:20:01.689Z (about 1 year ago)
- Topics: neovim, nvim, supercollider, telescope
- Language: Lua
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telescope-supercollider.nvim
A [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) extension that adds supercollider finders.
See also [telescope-scdoc](https://github.com/davidgranstrom/telescope-scdoc.nvim) for help file finding.
## Requirements
* scnvim
* telescope## Installation
Install the plugin
```lua
use { 'madskjeldgaard/telescope-supercollider.nvim' }
```Load the extension *after* the call to `telescope.setup{}`
```lua
require'telescope'.load_extension('supercollider')
```
## Usage**Note** scnvim needs to be started (`:SCNvimStart`) before calling these.
Call it directly from lua:
```vim
:lua require'telescope'.extensions.supercollider.sc_definitions()
```An example of a mapping in scnvim:
```lua
[""] = scnvim.map(function()
require 'telescope'.extensions.supercollider.sc_definitions()
end, { "n", "x", "i" }),```
## Available finders
* `sc_definitions` - Find definitions of classes and functions