summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/cmp.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-23 22:04:59 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-23 22:04:59 +0200
commit6dcd88cde5825573a3732e8b18f7d663ca47495b (patch)
tree10edd9981f7d26afa0dd86ad7fa8e1c37db34e5b /fnl/plugins/editor/cmp.fnl
parentcc8adce9d8a7dd63bc639b3e2d3e71d82ee1713f (diff)
Rename setup to config
Diffstat (limited to 'fnl/plugins/editor/cmp.fnl')
-rw-r--r--fnl/plugins/editor/cmp.fnl5
1 files changed, 2 insertions, 3 deletions
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}