summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-11-09 12:42:58 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-11-09 12:42:58 +0100
commit4b3679ac13866bac1923911f214c6f78db280980 (patch)
treeb0b5eb01b62d82c03183326a5cd9022920a8a89e /fnl/plugins/editor
parent7322248dd87f6e85e3fa14563936dbe83615e466 (diff)
Remove CR as confirm for cmp
Diffstat (limited to 'fnl/plugins/editor')
-rw-r--r--fnl/plugins/editor/cmp.fnl3
1 files changed, 1 insertions, 2 deletions
diff --git a/fnl/plugins/editor/cmp.fnl b/fnl/plugins/editor/cmp.fnl
index 0ac7fe6..b79cd5a 100644
--- a/fnl/plugins/editor/cmp.fnl
+++ b/fnl/plugins/editor/cmp.fnl
@@ -34,8 +34,7 @@
:c])
:<C-e> (cmp.mapping {:i (cmp.mapping.abort)
:c (cmp.mapping.close)})
- :<tab> (cmp.mapping.confirm {:select true})
- :<CR> (cmp.mapping.confirm {:select true})})
+ :<tab> (cmp.mapping.confirm {:select true})})
:sources [{:name :nvim_lsp}
{:name :nvim_lua}
{:name :luasnip}