10f6614348
Needs: - surrond? - diagnostics icons - cmp still seems to shit the bed sometimes - lspsaga breadcrumbs on lualine - more which-key config!! - tests on svelte / web dev
31 lines
1.1 KiB
Fennel
31 lines
1.1 KiB
Fennel
(local nvim (require :lib/nvim))
|
|
|
|
(nvim.g :tidal_target "terminal")
|
|
(nvim.g :scnvim_snippet_format "luasnip")
|
|
|
|
; -- supercollider
|
|
; local scnvim = require 'scnvim'
|
|
; local map = scnvim.map
|
|
; local map_expr = scnvim.map_expr
|
|
; scnvim.setup {
|
|
; keymaps = {
|
|
; ['<localleader>e'] = map('editor.send_line', {'i', 'n'}),
|
|
; ['<localleader>s'] = map_expr('CmdPeriod.run', {'i', 'n'}),
|
|
; ['<localleader>t'] = {
|
|
; map('editor.send_block', {'i', 'n'}),
|
|
; map('editor.send_selection', 'x'),
|
|
; },
|
|
; ['<CR>'] = map('postwin.toggle'),
|
|
; ['<M-CR>'] = map('postwin.toggle', 'i'),
|
|
; ['<M-L>'] = map('postwin.clear', {'n', 'i'}),
|
|
; ['<C-k>'] = map('signature.show', {'n', 'i'}),
|
|
; ['<F12>'] = map('sclang.hard_stop', {'n', 'x', 'i'}),
|
|
; ['<leader>st'] = map('sclang.start'),
|
|
; ['<leader>sk'] = map('sclang.recompile'),
|
|
; ['<F1>'] = map_expr('s.boot'),
|
|
; ['<F2>'] = map_expr('s.meter'),
|
|
; }
|
|
; }
|
|
; -- You gotta run :SCNvimGenerateAssets for this first
|
|
; -- require("luasnip").add_snippets("supercollider", require("scnvim/utils").get_snippets())
|