aboutsummaryrefslogtreecommitdiff
path: root/fnl/plugins/cmp.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/cmp.fnl')
-rw-r--r--fnl/plugins/cmp.fnl6
1 files changed, 3 insertions, 3 deletions
diff --git a/fnl/plugins/cmp.fnl b/fnl/plugins/cmp.fnl
index 8d13986..09067eb 100644
--- a/fnl/plugins/cmp.fnl
+++ b/fnl/plugins/cmp.fnl
@@ -1,6 +1,6 @@
-(local cmp (require :cmp))
+(local cmp (_G.util.require! :cmp))
-((. cmp :setup) {
+(cmp.setup {
:snippet {
:expand (fn [args]
(vim.snippet.expand args.body)
@@ -16,7 +16,7 @@
})
:sources (cmp.config.sources [
{:name :nvim_lsp}
- ;{:name :vsnip}
+ {:name :calc} ;to anyone new to this codebase, calc is short for calculator (no clue what this adds, but its funny)
] [{:name :buffer}])
})