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
|
pydocstring
|
||||||
];
|
];
|
||||||
|
|
||||||
autocmds = [
|
extraConfigLua = ''
|
||||||
{
|
-- Python-only keybinding
|
||||||
event = "FileType";
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
pattern = "python";
|
pattern = "python",
|
||||||
callback = ''
|
callback = function()
|
||||||
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" }
|
||||||
)
|
)
|
||||||
'';
|
end,
|
||||||
}
|
})
|
||||||
];
|
'';
|
||||||
|
|
||||||
settings.vim = {
|
settings.vim = {
|
||||||
theme = {
|
theme = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue