I am using a Raspberry Pi 400 for SuperCollider, my intent is to
use scnvim for an IDE, folowing madskjeldgaard. I have no experience
using Lua, but it seems the way to go. I get a system that has apparently
loaded the plugin (:checkhealth scnvim) but when I :e test.scd and
:SCNvimStart, I get a :E492 Not an editor command: SCNvimStart. Anybody
have any ideas?
Thank You For Your Attention
this is the particulars of my system
Raspberry 400
Raspbian 11
neovim v0.7.2
packer v?
svnvim v?
files:
init.lua:
--[[ init.lua ]]
-- LEADER
-- These keybindings need to be defined before the first /
-- is called; otherwise, it will default to "\"
vim.g.mapleader = ","
vim.g.localleader = "\\"
-- IMPORTS
require('vars') -- Variables
require('opts') -- Options
-- require('keys') -- Keymaps
require('plugins') -- Plugins
nvim/plugins.lua
-- plugins.lua
return require('packer').startup(function()
use 'wbthomason/packer.nvim'
use {
'davidgranstrom/scnvim',
config = function()
require('scnvim').setup(
{
mapping = {
['<M-e>'] = scnvim.map.send_line({'i', 'n'}),
['<C-e>'] = {
scnvim.map.send_block({'i', 'n'}),
scnvim.map.send_selection('x'),
},
['<CR>'] = scnvim.map.postwin_toggle('n'),
['<M-CR>'] = scnvim.map.postwin_toggle('i'),
['<M-L>'] = scnvim.map.postwin_clear({'n', 'i'}),
['<C-k>'] = scnvim.map.show_signature({'n', 'i'}),
['<F12>'] = scnvim.map.hard_stop({'n', 'x', 'i'}),
['<leader>st'] = scnvim.map(scnvim.start),
['<leader>sk'] = scnvim.map(scnvim.recompile),
},
editor = {
highlight = {
color = 'IncSearch',
type = 'fade',
},
},
documentation = {
cmd = '/opt/homebrew/bin/pandoc',
},
postwin = {
float = {
enabled = true,
},
},
}
)
end
}
end)