From 2d9c1b34c6c4a504e1f43ee79c8203f05c0022ef Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Fri, 22 Mar 2024 15:06:45 +0000 Subject: [PATCH] cleanup: remove references to nvim-compe --- flake.lock | 17 ----------------- flake.nix | 6 ------ lib/types/plugins.nix | 1 - modules/autopairs/nvim-autopairs/config.nix | 3 --- 4 files changed, 27 deletions(-) diff --git a/flake.lock b/flake.lock index 4316578..387e831 100644 --- a/flake.lock +++ b/flake.lock @@ -1092,22 +1092,6 @@ "type": "github" } }, - "nvim-compe": { - "flake": false, - "locked": { - "lastModified": 1633188506, - "narHash": "sha256-Y2oqvsuAKM3qjmmtJVD9z34682eCRF25kPL+rxhhg7I=", - "owner": "hrsh7th", - "repo": "nvim-compe", - "rev": "d186d739c54823e0b010feb205c6f97792322c08", - "type": "github" - }, - "original": { - "owner": "hrsh7th", - "repo": "nvim-compe", - "type": "github" - } - }, "nvim-cursorline": { "flake": false, "locked": { @@ -1574,7 +1558,6 @@ "nvim-cmp": "nvim-cmp", "nvim-code-action-menu": "nvim-code-action-menu", "nvim-colorizer-lua": "nvim-colorizer-lua", - "nvim-compe": "nvim-compe", "nvim-cursorline": "nvim-cursorline", "nvim-dap": "nvim-dap", "nvim-dap-ui": "nvim-dap-ui", diff --git a/flake.nix b/flake.nix index 51c8861..b505b97 100644 --- a/flake.nix +++ b/flake.nix @@ -228,12 +228,6 @@ flake = false; }; - # Autocompletes - nvim-compe = { - url = "github:hrsh7th/nvim-compe"; - flake = false; - }; - nvim-cmp = { url = "github:hrsh7th/nvim-cmp"; flake = false; diff --git a/lib/types/plugins.nix b/lib/types/plugins.nix index e8db87a..f6eceaa 100644 --- a/lib/types/plugins.nix +++ b/lib/types/plugins.nix @@ -15,7 +15,6 @@ with lib; let "nvim-tree-lua" "nvim-bufferline-lua" "lualine" - "nvim-compe" "nvim-autopairs" "nvim-ts-autotag" "nvim-web-devicons" diff --git a/modules/autopairs/nvim-autopairs/config.nix b/modules/autopairs/nvim-autopairs/config.nix index 5cd18eb..4058590 100644 --- a/modules/autopairs/nvim-autopairs/config.nix +++ b/modules/autopairs/nvim-autopairs/config.nix @@ -15,9 +15,6 @@ in { vim.luaConfigRC.autopairs = entryAnywhere '' require("nvim-autopairs").setup{} - ${optionalString (config.vim.autocomplete.type == "nvim-compe") '' - require('nvim-autopairs.completion.compe').setup(${toLuaObject cfg.setupOpts}) - ''} ''; }; }