Dotfiles with the latest changes

This commit is contained in:
JirR02 committed 2025-03-14 17:33:29 +01:00
1 parent d39336c479
commit fa6b78a382
108 files changed
+4459 -467

No files matched your search

@@ -0,0 +1,21 @@
return {
"stevearc/conform.nvim",
event = { "BufReadPre", "BufNewFile" },
config = function()
local conform = require("conform")
local wk = require("which-key")
conform.setup({
formatters_by_ft = {
markdown = { "prettier" },
python = { "black" },
lua = { "stylua" },
},
})
wk.add({
{ "<leader>l" , group = "lsp", icon = ""},
{"<leader>lf", function() conform.format({lsp_fallback = true, async = false, timeout_ms = 1000}) end, desc = "Format file", icon = "󰛖"},
})
end,
}