From a4447efaa943f0e50037e7897c76d94d30fab76a Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.uk>
Date: Sat, 8 Jan 2022 23:47:23 +0000
Subject: [PATCH] fix(nvim): don't require luasnip twice

---
 roles/neovim/files/lua/opdavies/completion.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/neovim/files/lua/opdavies/completion.lua b/roles/neovim/files/lua/opdavies/completion.lua
index b3e5d75d..22fed421 100644
--- a/roles/neovim/files/lua/opdavies/completion.lua
+++ b/roles/neovim/files/lua/opdavies/completion.lua
@@ -13,7 +13,7 @@ require("luasnip/loaders/from_vscode").lazy_load()
 cmp.setup {
   snippet = {
     expand = function(args)
-      require('luasnip').lsp_expand(args.body)
+      luasnip.lsp_expand(args.body)
     end
   },