Skip to content

Conversation

@BibekBhusal0
Copy link

Summary

This pull request adds two new configuration options to the React component generation feature in the Neovim plugin. Users can now specify the path for generated components and choose to disable the automatic generation of CSS files.

Changes Made

  • Added a configuration option to specify the path for generated React components.
  • Introduced an option to disable the generation of CSS files during component creation.
  • Set default values for the new configuration options to ensure no breaking changes for existing users.
  • Updated documentation to include these new configuration options.

Motivation

These enhancements allow users to customize the component generation process according to their preferences. Specifically, the ability to disable CSS file generation is useful for those who prefer to manage styles differently.

Additional Notes

Please review the changes and let me know if there are any questions or further modifications needed.

-- Define the default Config
local default_config = {
file_extension = "tsx",
defult_path = "/src/app/components/",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a misspelling of 'default'. I saw that this variable in the README file was correct, but not here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants