summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/cmp.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/editor/cmp.fnl')
-rw-r--r--fnl/plugins/editor/cmp.fnl25
1 files changed, 12 insertions, 13 deletions
diff --git a/fnl/plugins/editor/cmp.fnl b/fnl/plugins/editor/cmp.fnl
index c0ad52a..f3d2906 100644
--- a/fnl/plugins/editor/cmp.fnl
+++ b/fnl/plugins/editor/cmp.fnl
@@ -1,5 +1,16 @@
;; Configuration for completion plugin.
+(local dependencies [:hrsh7th/cmp-buffer
+ :onsails/lspkind-nvim
+ :hrsh7th/cmp-nvim-lsp
+ :hrsh7th/cmp-cmdline
+ :petertriho/cmp-git
+ :L3MON4D3/LuaSnip
+ :rafamadriz/friendly-snippets
+ :hrsh7th/cmp-path
+ :saadparwaiz1/cmp_luasnip
+ :f3fora/cmp-spell])
+
(fn config []
(let [cmp (require :cmp)
lspkind (require :lspkind)
@@ -52,16 +63,4 @@
:select false}
:experimental {:ghost_text false :native_menu false}})))
-{1 :hrsh7th/nvim-cmp
- :dependencies [:hrsh7th/cmp-buffer
- :onsails/lspkind-nvim
- :hrsh7th/cmp-nvim-lsp
- :hrsh7th/cmp-cmdline
- :petertriho/cmp-git
- :L3MON4D3/LuaSnip
- :rafamadriz/friendly-snippets
- :hrsh7th/cmp-path
- :saadparwaiz1/cmp_luasnip
- :f3fora/cmp-spell]
- :event :InsertEnter
- : config}
+{1 :hrsh7th/nvim-cmp : dependencies :event :InsertEnter : config}