From 019d8ae99121bad857acca5e9d412e1e3d093528 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 1 Nov 2022 11:23:55 +0300 Subject: [PATCH] fix luasnip plugins --- flake.lock | 4 ++-- flake.nix | 4 ++-- plugins/lsp/default.nix | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index b995c13..33df30c 100644 --- a/flake.lock +++ b/flake.lock @@ -136,7 +136,7 @@ "type": "github" } }, - "luaship": { + "luasnip": { "flake": false, "locked": { "lastModified": 1663664003, @@ -330,7 +330,7 @@ "lspsaga-nvim": "lspsaga-nvim", "lualine-lsp-progress": "lualine-lsp-progress", "lualine-nvim": "lualine-nvim", - "luaship": "luaship", + "luasnip": "luasnip", "neoformat": "neoformat", "nixpkgs": "nixpkgs", "nvim-cmp": "nvim-cmp", diff --git a/flake.nix b/flake.nix index fe0dbb0..8fbd95c 100644 --- a/flake.nix +++ b/flake.nix @@ -68,7 +68,7 @@ }; # https://github.com/L3MON4D3/LuaSnip - luaship = { + luasnip = { url = "github:L3MON4D3/LuaSnip?rev=d36c063b7f6e701852f7880f1314656592a61b4f"; flake = false; }; @@ -169,7 +169,7 @@ # lsp "nvim-lspconfig" "lspsaga-nvim" - "luaship" + "luasnip" "nvim-cmp" "cmp-nvim-lsp" "cmp-luasnip" diff --git a/plugins/lsp/default.nix b/plugins/lsp/default.nix index a2285da..d8e82fa 100644 --- a/plugins/lsp/default.nix +++ b/plugins/lsp/default.nix @@ -3,7 +3,7 @@ , luasnip , nvim-cmp , cmp-nvim-lsp -, cmp_luasnip +, cmp-luasnip , ... }: @@ -14,7 +14,7 @@ let completions = [ nvim-cmp # Autocompletion cmp-nvim-lsp # LSP source for nvim-cmp - cmp_luasnip # Snippets source for nvim-cmp + cmp-luasnip # Snippets source for nvim-cmp ]; in {