From 6dcd88cde5825573a3732e8b18f7d663ca47495b Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 23 Sep 2023 22:04:59 +0200 Subject: Rename setup to config --- fnl/plugins/editor/cmp.fnl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fnl/plugins/editor/cmp.fnl') diff --git a/fnl/plugins/editor/cmp.fnl b/fnl/plugins/editor/cmp.fnl index 8eba613..c0ad52a 100644 --- a/fnl/plugins/editor/cmp.fnl +++ b/fnl/plugins/editor/cmp.fnl @@ -1,6 +1,6 @@ ;; Configuration for completion plugin. -(fn setup [] +(fn config [] (let [cmp (require :cmp) lspkind (require :lspkind) luasnip (require :luasnip) @@ -64,5 +64,4 @@ :saadparwaiz1/cmp_luasnip :f3fora/cmp-spell] :event :InsertEnter - :config (fn [] - (setup))} + : config} -- cgit v1.2.3-70-g09d2