From cf5dbda4f0c30f0f5f98e3cf0f32f9d7fe949b2b Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 8 Oct 2023 23:52:11 +0100 Subject: [PATCH] chore(nvim): remove plugins temporarily I'm removing these temporarily to see how it affects performance. --- .../neovim/after/plugin/indent-blankline.lua | 12 --------- config/neovim/after/plugin/lualine.lua | 15 ----------- config/neovim/after/plugin/todo-comments.lua | 26 ------------------- system/shared/home-manager.nix | 6 ----- 4 files changed, 59 deletions(-) delete mode 100644 config/neovim/after/plugin/indent-blankline.lua delete mode 100644 config/neovim/after/plugin/lualine.lua delete mode 100644 config/neovim/after/plugin/todo-comments.lua diff --git a/config/neovim/after/plugin/indent-blankline.lua b/config/neovim/after/plugin/indent-blankline.lua deleted file mode 100644 index be9da2c..0000000 --- a/config/neovim/after/plugin/indent-blankline.lua +++ /dev/null @@ -1,12 +0,0 @@ -local status_ok, indent_blankline = pcall(require, "indent_blankline") -if not status_ok then - return -end - -vim.opt.list = true - -vim.api.nvim_set_hl(0, "IndentBlankLineChar", { fg = "#2F313C" }) - -indent_blankline.setup { - show_end_of_line = true, -} diff --git a/config/neovim/after/plugin/lualine.lua b/config/neovim/after/plugin/lualine.lua deleted file mode 100644 index 6fb446b..0000000 --- a/config/neovim/after/plugin/lualine.lua +++ /dev/null @@ -1,15 +0,0 @@ -require("lualine").setup { - options = { - component_separators = { left = "", right = "" }, - extensions = { "fzf", "quickfix" }, - icons_enabled = false, - section_separators = { left = "", right = "" }, - theme = "catppuccin", - }, - - sections = { - lualine_c = { - "lsp_progress", - }, - }, -} diff --git a/config/neovim/after/plugin/todo-comments.lua b/config/neovim/after/plugin/todo-comments.lua deleted file mode 100644 index 5f51489..0000000 --- a/config/neovim/after/plugin/todo-comments.lua +++ /dev/null @@ -1,26 +0,0 @@ -local status_ok, todo_comments = pcall(require, "todo-comments") -if not status_ok then - return -end - -todo_comments.setup {} - -local nmap = require("opdavies.keymap").nmap - -nmap { - "[t", - function() - todo_comments.jump_prev() - end, - { desc = "Previous todo comment" }, -} -nmap { - "]t", - function() - todo_comments.jump_next() - end, - { desc = "Next todo comment" }, -} - -nmap { "tt", "TodoTelescope" } -nmap { "tq", "TodoQuickFix" } diff --git a/system/shared/home-manager.nix b/system/shared/home-manager.nix index e536758..985bcd5 100644 --- a/system/shared/home-manager.nix +++ b/system/shared/home-manager.nix @@ -572,11 +572,9 @@ in vimPlugins.gitsigns-nvim vimPlugins.harpoon vimPlugins.impatient-nvim - vimPlugins.indent-blankline-nvim vimPlugins.nvim-web-devicons vimPlugins.rest-nvim vimPlugins.splitjoin-vim - vimPlugins.todo-comments-nvim vimPlugins.undotree vimPlugins.vim-easy-align vimPlugins.vim-eunuch @@ -608,9 +606,6 @@ in vimPlugins.vim-test - vimPlugins.lualine-nvim - vimPlugins.lualine-lsp-progress - # Git vimPlugins.vim-fugitive vimPlugins.vim-rhubarb @@ -627,7 +622,6 @@ in # LSP customVim.none-ls-nvim - # inputs.nixpkgs-unstable.legacyPackages."${system}".vimPlugins.nvim-lspconfig vimPlugins.lsp-status-nvim vimPlugins.nvim-lspconfig