From ffa829c7d3302f2a7d81bfecee68c10747df3114 Mon Sep 17 00:00:00 2001 From: Talon Date: Fri, 28 Jul 2023 08:33:23 -0600 Subject: [PATCH] gg --- fnl/personalize.fnl | 2 +- fnl/setup-cmp.fnl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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}