remove conform .nvim because useless

This commit is contained in:
lucy 2026-03-24 17:00:29 +01:00
commit 0efc049c5d
5 changed files with 5 additions and 24 deletions

View file

@ -6,15 +6,15 @@ end)
map("n", "<leader>lg", function()
Snacks.picker.grep()
end)
map("n", "<C-f>", function()
require("conform").format({ async = true, lsp_fallback = true })
end)
-- lsp keybinds
map("n", "K", "<cmd> Lspsaga hover_doc<cr>")
map("n", "go", "<cmd> Lspsaga goto_definition<cr>")
map("n", "gr", "<cmd> Lspsaga finder<cr>")
map("n", "<leader>qf", "<cmd> Lspsaga code_action<cr>")
map("n", "<C-f>", function()
vim.lsp.buf.format()
end)
-- bufferline keybinds
map("n", "<A-1>", "<cmd> BufferLineGoToBuffer 1 <cr>")
map("n", "<A-2>", "<cmd> BufferLineGoToBuffer 2 <cr>")

View file

@ -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 = {},

View file

@ -6,6 +6,7 @@ return {
display = {
theme = "atom",
},
editor = { tooltip = "ur gay x3" },
},
},
}

View file

@ -1 +0,0 @@
return {}