Snippet files for SuperCollider filetypes to be used with the UltiSnips plugin.
Covers both normal supercollider files .
See :h supercollider-snippets
for more info.
This plugin is in an experimental state and not recommended for use at the moment. It has some loopback problems with the python interpolation causing python to self implode and nvim to crash from time to time.
The snippets make extensive use of Python interpolation to do various things.
Mostly this is used to put random values in classes every time the snippet is expanded.
For example with pattern classes always suggesting random values (that you can then choose to delete if you want to)
Or always initialising an Ndef with a random fruit name and random contents:
- Python 3
- UltiSnips
- SuperCollider
- scvim or scnvim
To install using vim-plug
- Add this to your init.vim / .vimrc:
Plug 'madskjeldgaard/vim-supercollider-snippets'
- Open Vim and run the command
:PlugInstall
Otherwise, follow your plugin manager's instructions.