remove conform .nvim because useless
This commit is contained in:
parent
3a4c024194
commit
0efc049c5d
@ -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" }
|
||||
}
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user