From 0efc049c5d2dee14ab2c294a9e4edac9768dfaaf Mon Sep 17 00:00:00 2001 From: lucy Date: Tue, 24 Mar 2026 17:00:29 +0100 Subject: [PATCH] remove conform .nvim because useless --- lazy-lock.json | 3 +-- lua/config/keymaps.lua | 6 +++--- lua/plugins/coding.lua | 18 ------------------ lua/plugins/cord.lua | 1 + lua/plugins/tinted.lua | 1 - 5 files changed, 5 insertions(+), 24 deletions(-) delete mode 100644 lua/plugins/tinted.lua diff --git a/lazy-lock.json b/lazy-lock.json index 61149d1..928f9a3 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -2,7 +2,6 @@ "base16-nvim": { "branch": "master", "commit": "190397833e53fdfd5cf400c5baaf1a4e533158e5" }, "blink.cmp": { "branch": "main", "commit": "451168851e8e2466bc97ee3e026c3dcb9141ce07" }, "bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" }, - "conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" }, "cord.nvim": { "branch": "master", "commit": "283e4a5bdafd0d6187f28e5b739cccab6b4c9c64" }, "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, "lspsaga.nvim": { "branch": "main", "commit": "562d9724e3869ffd1801c572dd149cc9f8d0cc36" }, @@ -10,7 +9,7 @@ "mason-lspconfig.nvim": { "branch": "main", "commit": "a979821a975897b88493843301950c456a725982" }, "mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" }, "nvim-lspconfig": { "branch": "master", "commit": "841c6d4139aedb8a3f2baf30cef5327371385b93" }, - "nvim-treesitter": { "branch": "main", "commit": "875515255192864c33981c3ed66ad94e561b904a" }, + "nvim-treesitter": { "branch": "main", "commit": "6620ae1c44dfa8623b22d0cbf873a9e8d073b849" }, "nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" }, "snacks.nvim": { "branch": "main", "commit": "ad9ede6a9cddf16cedbd31b8932d6dcdee9b716e" } } diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index a5accae..87e2fc1 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -6,15 +6,15 @@ end) map("n", "lg", function() Snacks.picker.grep() end) -map("n", "", function() - require("conform").format({ async = true, lsp_fallback = true }) -end) -- lsp keybinds map("n", "K", " Lspsaga hover_doc") map("n", "go", " Lspsaga goto_definition") map("n", "gr", " Lspsaga finder") map("n", "qf", " Lspsaga code_action") +map("n", "", function() + vim.lsp.buf.format() +end) -- bufferline keybinds map("n", "", " BufferLineGoToBuffer 1 ") map("n", "", " BufferLineGoToBuffer 2 ") diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index 329f345..e11e32b 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -1,22 +1,4 @@ return { - { - "stevearc/conform.nvim", - opts = { - formatters_by_ft = { - lua = { "stylua" }, - c = { "clang-format" }, - cpp = { "clang-format" }, - }, - formatters = { - ["clang-format"] = { - prepend_args = { - "--style={BasedOnStyle: LLVM, BreakBeforeBraces: Allman, ColumnLimit: 300, IndentWidth: 8, UseTab: Never}", - }, - }, - }, - }, - }, - { "mason-org/mason-lspconfig.nvim", opts = {}, diff --git a/lua/plugins/cord.lua b/lua/plugins/cord.lua index 024e62c..f3f86c8 100644 --- a/lua/plugins/cord.lua +++ b/lua/plugins/cord.lua @@ -6,6 +6,7 @@ return { display = { theme = "atom", }, + editor = { tooltip = "ur gay x3" }, }, }, } diff --git a/lua/plugins/tinted.lua b/lua/plugins/tinted.lua deleted file mode 100644 index a564707..0000000 --- a/lua/plugins/tinted.lua +++ /dev/null @@ -1 +0,0 @@ -return {}