From e321003bb84ab1fbb01bcbd2379b2cad149909c9 Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Sat, 18 May 2024 22:04:13 -0700 Subject: [PATCH] remove unused plugins and run stylelua --- init.lua | 2 +- lua/plugins/copilot.lua | 10 +++++----- lua/plugins/img-clip.lua | 1 - lua/plugins/init.lua | 21 --------------------- lua/plugins/todo-comments.lua | 2 +- 5 files changed, 7 insertions(+), 29 deletions(-) diff --git a/init.lua b/init.lua index 8bc6445..e9da6ef 100644 --- a/init.lua +++ b/init.lua @@ -82,7 +82,7 @@ vim.api.nvim_create_autocmd("TextYankPost", { }) -- Terminal Escape Key Mapping -vim.keymap.set('t', '', [[]]) +vim.keymap.set("t", "", [[]]) -- Diagnostic keymaps vim.keymap.set("n", "[d", vim.diagnostic.goto_prev) diff --git a/lua/plugins/copilot.lua b/lua/plugins/copilot.lua index 5f3072e..4a02b54 100644 --- a/lua/plugins/copilot.lua +++ b/lua/plugins/copilot.lua @@ -1,9 +1,9 @@ return { "github/copilot.vim", lazy = false, - config = function () - vim.api.nvim_set_keymap('i', '', 'copilot#Accept("")', { silent = true, script = true, expr = true }) - vim.g.copilot_no_tab_map = true; - vim.g.copilot_assume_mapped = true; - end + config = function() + vim.api.nvim_set_keymap("i", "", 'copilot#Accept("")', { silent = true, script = true, expr = true }) + vim.g.copilot_no_tab_map = true + vim.g.copilot_assume_mapped = true + end, } diff --git a/lua/plugins/img-clip.lua b/lua/plugins/img-clip.lua index dcc2f7e..66d49cb 100644 --- a/lua/plugins/img-clip.lua +++ b/lua/plugins/img-clip.lua @@ -10,4 +10,3 @@ return { { "p", "PasteImage", desc = "Paste clipboard image" }, }, } - diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 99104e1..02ce023 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -18,18 +18,6 @@ return { vim.cmd([[colorscheme tokyonight]]) end, }, - { - "ellisonleao/gruvbox.nvim", - lazy = true, -- make sure we load this during startup if it is your main colorscheme - priority = 1000 , - config = function() - require("gruvbox").setup({ - dim_inactive = false, - }) - vim.o.background = "light" - vim.cmd([[colorscheme gruvbox]]) - end, - }, { "folke/trouble.nvim", config = function() @@ -65,14 +53,5 @@ return { }) end, }, - "tpope/vim-fugitive", - "tpope/vim-rhubarb", - "tpope/vim-sleuth", - { - "numToStr/Comment.nvim", - config = function() - require("Comment").setup() - end, - }, "SidOfc/mkdx", } diff --git a/lua/plugins/todo-comments.lua b/lua/plugins/todo-comments.lua index a03871a..1d88635 100644 --- a/lua/plugins/todo-comments.lua +++ b/lua/plugins/todo-comments.lua @@ -8,5 +8,5 @@ return { -- your configuration comes here -- or leave it empty to use the default settings -- refer to the configuration section below - } + }, } -- 2.46.1