non important commit
This commit is contained in:
parent
89575d70a9
commit
c93da5a3c5
1 changed files with 19 additions and 0 deletions
|
|
@ -11,6 +11,25 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
enableManpages = true;
|
enableManpages = true;
|
||||||
|
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
pydocstring
|
||||||
|
];
|
||||||
|
|
||||||
|
autocmds = [
|
||||||
|
{
|
||||||
|
event = "FileType";
|
||||||
|
pattern = "python";
|
||||||
|
callback = ''
|
||||||
|
vim.keymap.set(
|
||||||
|
"n",
|
||||||
|
"<leader>ds",
|
||||||
|
"<cmd>silent !pydocstring --style google<cr>",
|
||||||
|
{ buffer = true, desc = "Generate Python docstring" }
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
settings.vim = {
|
settings.vim = {
|
||||||
theme = {
|
theme = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue