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