diff --git a/fnl/personalize.fnl b/fnl/personalize.fnl index 9010b7e..14f0cff 100644 --- a/fnl/personalize.fnl +++ b/fnl/personalize.fnl @@ -18,7 +18,7 @@ (set vim.o.clipboard :unnamedplus) (vim.cmd.colorscheme :everforest)) - :personal-cmp-mapping + :cmp-mapping {: (cmp.mapping.select_next_item) : (cmp.mapping.select_prev_item) : (cmp.mapping.scroll_docs -4) diff --git a/fnl/setup-cmp.fnl b/fnl/setup-cmp.fnl index 93b0e72..94dfbb1 100644 --- a/fnl/setup-cmp.fnl +++ b/fnl/setup-cmp.fnl @@ -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}