Compare commits

..

No commits in common. "e1abfdead2e070c951a88a1983140c0c74ed7ebd" and "0672d496f71c35f831e0679eb52d139d549b1619" have entirely different histories.

2 changed files with 2 additions and 11 deletions

View file

@ -54,7 +54,7 @@ vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next [D]iagn
-- let me out!!!
vim.keymap.set({ 'n', 'v' }, 'qqq', '<cmd>bnext<cr><cmd>bd #<cr>', { desc = '[Q]uit the current window' })
vim.keymap.set({ 'n', 'v' }, '<A-c>', '<cmd>bnext<cr><cmd>bd #<cr>', { desc = '[C]lose the current buffer' })
vim.keymap.set({ 'n', 'v' }, '<A-c>', '<cmd>bnext<cr><cmd>bc #<cr>', { desc = '[C]lose the current buffer' })
vim.keymap.set({ 'n' }, '#', "'", { desc = '[Q]uit the current window' })

View file

@ -31,23 +31,14 @@ return {
lsp_fallback = not disable_filetypes[vim.bo[bufnr].filetype],
}
end,
default_format_opts = {
lsp_format = 'fallback',
},
formatters_by_ft = {
fallback = { 'prettier' },
lua = { 'stylua' },
json = { { 'jq', 'biome', 'clang-format', 'prettier' } },
rust = 'rustfmt',
c = 'clang-format',
cpp = 'clang-format',
python = 'autopep8',
-- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" },
--
-- You can use a sub-list to tell conform to run *until* a formatter
-- is found.
javascript = { { 'prettierd', 'prettier' } },
-- javascript = { { "prettierd", "prettier" } },
},
},
},