From 563d9520c290a17c973c1a37664dc9374d18b5a9 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Fri, 6 Oct 2023 06:54:36 -0700 Subject: [PATCH] Remove unnecessary plugin configuration --- .config/nvim/lua/plugins/conform.lua | 9 --------- .config/nvim/lua/plugins/mason.lua | 8 -------- .config/nvim/lua/plugins/none-ls.lua | 14 -------------- .config/nvim/lua/plugins/nvim-lspconfig.lua | 8 -------- .config/nvim/lua/plugins/nvim-treesitter.lua | 15 --------------- 5 files changed, 54 deletions(-) delete mode 100644 .config/nvim/lua/plugins/conform.lua delete mode 100644 .config/nvim/lua/plugins/mason.lua delete mode 100644 .config/nvim/lua/plugins/none-ls.lua delete mode 100644 .config/nvim/lua/plugins/nvim-lspconfig.lua delete mode 100644 .config/nvim/lua/plugins/nvim-treesitter.lua diff --git a/.config/nvim/lua/plugins/conform.lua b/.config/nvim/lua/plugins/conform.lua deleted file mode 100644 index fe7c3c3..0000000 --- a/.config/nvim/lua/plugins/conform.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - "stevearc/conform.nvim", - optional = true, - opts = { - formatters_by_ft = { - go = { "goimports" }, - }, - }, -} diff --git a/.config/nvim/lua/plugins/mason.lua b/.config/nvim/lua/plugins/mason.lua deleted file mode 100644 index 5ce1221..0000000 --- a/.config/nvim/lua/plugins/mason.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - "williamboman/mason.nvim", - opts = function(_, opts) - vim.list_extend(opts.ensure_installed, { - "solargraph", - }) - end, -} diff --git a/.config/nvim/lua/plugins/none-ls.lua b/.config/nvim/lua/plugins/none-ls.lua deleted file mode 100644 index 7a0bdd0..0000000 --- a/.config/nvim/lua/plugins/none-ls.lua +++ /dev/null @@ -1,14 +0,0 @@ -return { - "nvimtools/none-ls.nvim", - optional = true, - opts = function(_, opts) - if type(opts.sources) == "table" then - local nls = require("null-ls") - vim.list_extend(opts.sources, { - nls.builtins.code_actions.gomodifytags, - nls.builtins.code_actions.impl, - nls.builtins.formatting.goimports, - }) - end - end, -} diff --git a/.config/nvim/lua/plugins/nvim-lspconfig.lua b/.config/nvim/lua/plugins/nvim-lspconfig.lua deleted file mode 100644 index 5d8cf3e..0000000 --- a/.config/nvim/lua/plugins/nvim-lspconfig.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - "neovim/nvim-lspconfig", - opts = { - servers = { - solargraph = {}, - }, - }, -} diff --git a/.config/nvim/lua/plugins/nvim-treesitter.lua b/.config/nvim/lua/plugins/nvim-treesitter.lua deleted file mode 100644 index f192fb1..0000000 --- a/.config/nvim/lua/plugins/nvim-treesitter.lua +++ /dev/null @@ -1,15 +0,0 @@ -return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - vim.list_extend(opts.ensure_installed, { - "go", - "gomod", - "gowork", - "gosum", - "ruby", - "rust", - }) - end, - }, -}