From 3a4c024194d839885101e3fcc7841fd69090c9d6 Mon Sep 17 00:00:00 2001 From: lucy Date: Mon, 23 Mar 2026 10:20:36 +0100 Subject: [PATCH] remove uneeded plugins --- init.lua | 3 +-- lazy-lock.json | 6 ++---- lua/plugins/coding.lua | 5 +---- lua/plugins/ui.lua | 16 +++------------- 4 files changed, 7 insertions(+), 23 deletions(-) diff --git a/init.lua b/init.lua index 88fb1b8..ef983a0 100644 --- a/init.lua +++ b/init.lua @@ -1,4 +1,3 @@ - local opt = vim.opt vim.g.mapleader = " " vim.g.maplocalleader = "\\" @@ -16,7 +15,7 @@ vim.opt.expandtab = true opt.shiftwidth = 8 vim.diagnostic.config({ virtual_text = { - spacing = 2, + spacing = 4, source = true, }, }) diff --git a/lazy-lock.json b/lazy-lock.json index 33ba9c8..61149d1 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -4,15 +4,13 @@ "bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" }, "conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" }, "cord.nvim": { "branch": "master", "commit": "283e4a5bdafd0d6187f28e5b739cccab6b4c9c64" }, - "friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" }, "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, "lspsaga.nvim": { "branch": "main", "commit": "562d9724e3869ffd1801c572dd149cc9f8d0cc36" }, "lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "a979821a975897b88493843301950c456a725982" }, "mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" }, "nvim-lspconfig": { "branch": "master", "commit": "841c6d4139aedb8a3f2baf30cef5327371385b93" }, - "nvim-tree.lua": { "branch": "master", "commit": "e16cd38962bc40c22a51ee004aa4f43726d74a16" }, - "nvim-treesitter": { "branch": "main", "commit": "53f6ce29df5841ce26e5a9f06fb371088b8d8031" }, + "nvim-treesitter": { "branch": "main", "commit": "875515255192864c33981c3ed66ad94e561b904a" }, "nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" }, - "snacks.nvim": { "branch": "main", "commit": "a049339328e2599ad6e85a69fa034ac501e921b2" } + "snacks.nvim": { "branch": "main", "commit": "ad9ede6a9cddf16cedbd31b8932d6dcdee9b716e" } } diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index f738dea..329f345 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -4,11 +4,8 @@ return { opts = { formatters_by_ft = { lua = { "stylua" }, - jsonc = { "prettierd", "prettier", stop_after_first = true }, c = { "clang-format" }, cpp = { "clang-format" }, - sh = { "shfmt" }, - bash = { "shfmt" }, }, formatters = { ["clang-format"] = { @@ -32,7 +29,7 @@ return { { "saghen/blink.cmp", -- optional: provides snippets for the snippet source - dependencies = { "rafamadriz/friendly-snippets", "neovim/nvim-lspconfig" }, + dependencies = { "neovim/nvim-lspconfig" }, -- use a release tag to download pre-built binaries version = "1.*", diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua index 2ad001f..0585302 100644 --- a/lua/plugins/ui.lua +++ b/lua/plugins/ui.lua @@ -1,7 +1,9 @@ local default_theme = "base16-oceanicnext" local function get_tinty_theme() - local theme_name = vim.fn.system("tinty -d /home/lucy/.local/share/tinted-theming/tinty/ current &> /dev/null && tinty -d /home/lucy/.local/share/tinted-theming/tinty/ current") + local theme_name = vim.fn.system( + "tinty -d /home/lucy/.local/share/tinted-theming/tinty/ current &> /dev/null && tinty -d /home/lucy/.local/share/tinted-theming/tinty/ current" + ) if vim.v.shell_error ~= 0 then return default_theme @@ -32,15 +34,6 @@ local function main() end return { - { - "nvim-tree/nvim-tree.lua", - version = "*", - lazy = false, - dependencies = { - "nvim-tree/nvim-web-devicons", - }, - opts = {}, - }, { "RRethy/base16-nvim", lazy = false, @@ -74,9 +67,6 @@ return { "nvim-tree/nvim-web-devicons", -- for pretty icons }, opts = { - ui = { - border = "rounded", - }, symbol_in_winbar = { enable = true }, lightbulb = { enable = true,