gg
This commit is contained in:
parent
c83646d603
commit
ffa829c7d3
|
@ -18,7 +18,7 @@
|
|||
(set vim.o.clipboard :unnamedplus)
|
||||
(vim.cmd.colorscheme :everforest))
|
||||
|
||||
:personal-cmp-mapping
|
||||
:cmp-mapping
|
||||
{:<C-j> (cmp.mapping.select_next_item)
|
||||
:<C-k> (cmp.mapping.select_prev_item)
|
||||
:<C-d> (cmp.mapping.scroll_docs -4)
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
[cmp (require :cmp)
|
||||
luasnip (require :luasnip)
|
||||
vscode-snips (require :luasnip.loaders.from_vscode)
|
||||
{: personal-cmp-mapping} (require :personalize)
|
||||
{: cmp-mapping} (require :personalize)
|
||||
]
|
||||
(vscode-snips.lazy_load)
|
||||
(luasnip.config.setup)
|
||||
(cmp.setup
|
||||
{:snippet {:expand #(luasnip $1)}
|
||||
:mapping (cmp.mapping.preset.insert personal-cmp-mapping)
|
||||
:mapping (cmp.mapping.preset.insert cmp-mapping)
|
||||
:sources (cmp.config.sources
|
||||
[{:name :nvim_lsp}
|
||||
{:name :luasnip}
|
||||
|
|
Loading…
Reference in a new issue