Add Path and CSS Generation Configuration to React Component Genration#1
Open
BibekBhusal0 wants to merge 2 commits intoTiagoMDG:masterfrom
Open
Add Path and CSS Generation Configuration to React Component Genration#1BibekBhusal0 wants to merge 2 commits intoTiagoMDG:masterfrom
BibekBhusal0 wants to merge 2 commits intoTiagoMDG:masterfrom
Conversation
pouralijan
reviewed
Aug 27, 2025
lua/react-component-generator.lua
Outdated
| -- Define the default Config | ||
| local default_config = { | ||
| file_extension = "tsx", | ||
| defult_path = "/src/app/components/", |
There was a problem hiding this comment.
I think this is a misspelling of 'default'. I saw that this variable in the README file was correct, but not here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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.