remove conform .nvim because useless
This commit is contained in:
parent
3a4c024194
commit
0efc049c5d
5 changed files with 5 additions and 24 deletions
|
|
@ -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>")
|
||||
|
|
|
|||
|
|
@ -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 = {},
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ return {
|
|||
display = {
|
||||
theme = "atom",
|
||||
},
|
||||
editor = { tooltip = "ur gay x3" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
return {}
|
||||
Loading…
Reference in a new issue