scnvim luasnips mappings
This commit is contained in:
parent
21a13ea3ff
commit
a18339f274
|
@ -354,6 +354,8 @@ in
|
|||
\ 'command': 'SessionLoad' }
|
||||
\ }
|
||||
|
||||
let g:scnvim_snippet_format = "luasnip"
|
||||
|
||||
|
||||
" lua config
|
||||
lua <<EOF
|
||||
|
@ -470,7 +472,8 @@ in
|
|||
{name = 'buffer'}, {name = 'nvim_lsp'},
|
||||
{name = "look"}, {name = "path"},
|
||||
{name = "calc"}, {name = "spell"},
|
||||
{name = 'cmp-conjure'}, {name = "luasnip"}
|
||||
{name = 'cmp-conjure'}, {name = "luasnip"},
|
||||
{name = 'tags'}
|
||||
},
|
||||
completion = {completeopt = 'menu,menuone,noinsert'}
|
||||
}
|
||||
|
@ -641,7 +644,10 @@ in
|
|||
|
||||
require("which-key").setup{}
|
||||
require('leap').set_default_keymaps()
|
||||
|
||||
-- supercollider
|
||||
require('scnvim').setup()
|
||||
require("luasnip").add_snippets("supercollider", require("scnvim/utils").get_snippets())
|
||||
EOF
|
||||
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue