non important commit
This commit is contained in:
parent
c93da5a3c5
commit
12150c45a6
1 changed files with 8 additions and 8 deletions
|
|
@ -15,20 +15,20 @@
|
|||
pydocstring
|
||||
];
|
||||
|
||||
autocmds = [
|
||||
{
|
||||
event = "FileType";
|
||||
pattern = "python";
|
||||
callback = ''
|
||||
extraConfigLua = ''
|
||||
-- Python-only keybinding
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "python",
|
||||
callback = function()
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
"<leader>ds",
|
||||
"<cmd>silent !pydocstring --style google<cr>",
|
||||
{ buffer = true, desc = "Generate Python docstring" }
|
||||
)
|
||||
'';
|
||||
}
|
||||
];
|
||||
end,
|
||||
})
|
||||
'';
|
||||
|
||||
settings.vim = {
|
||||
theme = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue