chore(plugins): add f-strings and neogen plugins
This commit is contained in:
		
							parent
							
								
									3617dee36e
								
							
						
					
					
						commit
						3f6d324449
					
				| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					@ -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 `<leader>a`
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    'danymat/neogen',
 | 
				
			||||||
 | 
					    opts = true,
 | 
				
			||||||
 | 
					    keys = {
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        '<leader>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
 | 
				
			||||||
		Loading…
	
		Reference in New Issue