From 1f35a04ed436aab63a88dc9c796acf03c0756de2 Mon Sep 17 00:00:00 2001 From: buffet Date: Fri, 10 Mar 2023 22:11:36 +0100 Subject: [PATCH] feat(nvim): add vlime to cmp --- flake.lock | 17 +++++++++++++++++ flake.nix | 5 +++++ programs/nvim.nix | 3 +++ 3 files changed, 25 insertions(+) diff --git a/flake.lock b/flake.lock index f1b78f8..789881a 100644 --- a/flake.lock +++ b/flake.lock @@ -136,6 +136,22 @@ "type": "github" } }, + "nvim-cmp-vlime": { + "flake": false, + "locked": { + "lastModified": 1672313103, + "narHash": "sha256-ejjJWNGjx28viKz8tsaifCkJ9HHYAOkbOZAdlR8gQJo=", + "owner": "HiPhish", + "repo": "nvim-cmp-vlime", + "rev": "5bc7fa02f255f6faed0ba5fda5f4883b46a66676", + "type": "gitlab" + }, + "original": { + "owner": "HiPhish", + "repo": "nvim-cmp-vlime", + "type": "gitlab" + } + }, "root": { "inputs": { "agenix": "agenix", @@ -146,6 +162,7 @@ "impermanence": "impermanence", "nixpkgs": "nixpkgs", "nur": "nur", + "nvim-cmp-vlime": "nvim-cmp-vlime", "rust-tools-nvim": "rust-tools-nvim", "vlime": "vlime" } diff --git a/flake.nix b/flake.nix index 51bda5d..7c2d1f9 100644 --- a/flake.nix +++ b/flake.nix @@ -29,6 +29,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + nvim-cmp-vlime = { + url = "gitlab:HiPhish/nvim-cmp-vlime"; + flake = false; + }; + # work around for nixpkgs version being too old rust-tools-nvim = { url = "github:simrat39/rust-tools.nvim"; diff --git a/programs/nvim.nix b/programs/nvim.nix index 2af22fd..b87b81d 100644 --- a/programs/nvim.nix +++ b/programs/nvim.nix @@ -30,6 +30,7 @@ "cmp-conventionalcommits" "cmp-git" "gh-nvim" + "nvim-cmp-vlime" "rust-tools-nvim" "vlime" ]; @@ -48,6 +49,7 @@ {plugin = friendly-snippets;} {plugin = fugitive;} {plugin = lualine-lsp-progress;} + {plugin = nvim-cmp-vlime;} {plugin = playground;} {plugin = rust-vim;} {plugin = tabular;} @@ -287,6 +289,7 @@ { name = 'nvim_lsp' }, { name = 'path' }, { name = 'treesitter' }, + { name = 'vlime' }, { name = 'vsnip' }, }, }