From e267b6a806c3959c19960903432d0caba40ad9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Mon, 20 Feb 2023 19:05:46 +0100 Subject: [PATCH] nvim: remove cmp spell for slowing down editor --- modules/programs/nvim/default.nix | 1 - modules/programs/nvim/init.lua | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/modules/programs/nvim/default.nix b/modules/programs/nvim/default.nix index 554da79..fac31b9 100644 --- a/modules/programs/nvim/default.nix +++ b/modules/programs/nvim/default.nix @@ -56,7 +56,6 @@ in plugins = with pkgs.vimPlugins; [ catppuccin-nvim cmp-nvim-lsp - cmp-spell cmp_luasnip comment-nvim copilot-cmp diff --git a/modules/programs/nvim/init.lua b/modules/programs/nvim/init.lua index b5c9a21..96737a7 100644 --- a/modules/programs/nvim/init.lua +++ b/modules/programs/nvim/init.lua @@ -144,16 +144,6 @@ cmp.setup({ { name = "luasnip", priority = 7 }, { name = "nvim_lsp", priority = 9 }, { name = "orgmode", priority = 9 }, - { - name = "spell", - option = { - keep_all_entries = false, - enable_in_context = function() - return true - end, - }, - priority = 1, - }, }, })