Compare commits

..

2 Commits

Author SHA1 Message Date
Max Lübke
613a50572e Merge 2025-02-26 10:58:13 +01:00
Max Lübke
3f22fd91c8 feat: Add format paragraph keybinding and enable python formatting 2025-02-26 10:09:11 +01:00

View File

@ -198,6 +198,8 @@ vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper win
vim.keymap.set('n', '<leader>tt', '<cmd>Neotree<CR>', { desc = 'Toggle Neo[T]ree' })
vim.keymap.set('n', '<m-q>', 'gqap', { desc = 'Format paragraph' })
local map = vim.api.nvim_set_keymap
local opts = { noremap = true, silent = true }
@ -797,7 +799,7 @@ require('lazy').setup({
c = { 'clang-format' },
cpp = { 'clang-format' },
-- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" },
python = { 'isort', 'black' },
--
-- You can use 'stop_after_first' to run the first available formatter from the list
-- javascript = { "prettierd", "prettier", stop_after_first = true },