diff --git a/lua/custom/plugins/f-strings.lua b/lua/custom/plugins/f-strings.lua new file mode 100644 index 00000000..44ca8469 --- /dev/null +++ b/lua/custom/plugins/f-strings.lua @@ -0,0 +1,17 @@ +-- You can add your own plugins here or in other files in this directory! +-- I promise not to create any merge conflicts in this directory :) +-- +-- See the kickstart.nvim README for more information +return { + + -- f-strings + -- - auto-convert strings to f-strings when typing `{}` in a string + -- - also auto-converts f-strings back to regular strings when removing `{}` + { + 'chrisgrieser/nvim-puppeteer', + dependencies = 'nvim-treesitter/nvim-treesitter', + }, +} + +-- The line beneath this is called `modeline`. See `:help modeline` +-- vim: ts=2 sts=2 sw=2 et diff --git a/lua/custom/plugins/neogen.lua b/lua/custom/plugins/neogen.lua new file mode 100644 index 00000000..767829db --- /dev/null +++ b/lua/custom/plugins/neogen.lua @@ -0,0 +1,29 @@ +-- You can add your own plugins here or in other files in this directory! +-- I promise not to create any merge conflicts in this directory :) +-- +-- See the kickstart.nvim README for more information +-- +return { + ----------------------------------------------------------------------------- + -- EDITING SUPPORT PLUGINS + -- some plugins that help with python-specific editing operations + + -- Docstring creation + -- - quickly create docstrings via `a` + { + 'danymat/neogen', + opts = true, + keys = { + { + 'a', + function() + require('neogen').generate() + end, + desc = 'Add Docstring', + }, + }, + }, +} + +-- The line beneath this is called `modeline`. See `:help modeline` +-- vim: ts=2 sts=2 sw=2 et