summaryrefslogtreecommitdiff
path: root/fnl/config/cmp.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config/cmp.fnl')
-rw-r--r--fnl/config/cmp.fnl9
1 files changed, 5 insertions, 4 deletions
diff --git a/fnl/config/cmp.fnl b/fnl/config/cmp.fnl
index bf4a331..78e6304 100644
--- a/fnl/config/cmp.fnl
+++ b/fnl/config/cmp.fnl
@@ -1,9 +1,9 @@
;; Configuration for completion plugin.
-(module config.cmp {autoload {nvim aniseed.nvim : util}})
+(module config.cmp {autoload {nvim aniseed.nvim util config.util}})
-(let [cmp (util.load-plugin :cmp)
- lspkind (util.load-plugin :lspkind)
- luasnip (util.load-plugin :luasnip)
+(let [cmp (util.prequire :cmp)
+ lspkind (util.prequire :lspkind)
+ luasnip (util.prequire :luasnip)
luasnip-vscode (require :luasnip/loaders/from_vscode)]
(luasnip-vscode.lazy_load)
(lspkind.init)
@@ -26,6 +26,7 @@
{:name :nvim_lua}
{:name :luasnip}
{:name :spell}
+ {:name :orgmode}
{:name :buffer :keyword_length 4}
{:name :path :keyword_length 6}]
:formatting {:format (lspkind.cmp_format {:with_text true