non important commit

This commit is contained in:
maxstrb 2025-12-23 11:53:15 +01:00
parent 12150c45a6
commit ba70b80718

View file

@ -15,19 +15,17 @@
pydocstring pydocstring
]; ];
extraConfigLua = '' extraConfig = ''
-- Python-only keybinding " Python-only keybinding for pydocstring
vim.api.nvim_create_autocmd("FileType", { augroup NVFPythonDoc
pattern = "python", autocmd!
callback = function() autocmd FileType python lua vim.keymap.set(
vim.keymap.set( "n",
"n", "<leader>ds",
"<leader>ds", "<cmd>silent !pydocstring --style google<CR>",
"<cmd>silent !pydocstring --style google<cr>", { buffer = true, desc = "Generate Python docstring" }
{ buffer = true, desc = "Generate Python docstring" } )
) augroup END
end,
})
''; '';
settings.vim = { settings.vim = {