Closed sweep-ai[bot] closed 9 months ago
Latest commit: 5822746fcd248b83578b7624e998f66f1a2b8836
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
PR Feedback: 👎
I created this PR to address this rule:
"Variable and function names should be meaningful and descriptive."
Description
This PR updates the variable and function names in the files
lua/hurl/main.lua
andlua/hurl/utils.lua
to be more descriptive and reflect their purpose in the code.Summary of Changes
In
lua/hurl/main.lua
:opts
,callback
,is_verbose_mode
,response
,content_type
,container
,fname
,success
,start_line
,end_line
,result
, andenv_file
to more descriptive names that reflect their purpose in the code.In
lua/hurl/utils.lua
:log_error
,notify
,get_visual_selection
,create_tmp_file
, andformat
to more descriptive names that reflect their purpose in the code.Please review the changes and merge this PR if it meets the requirements.
Note: This PR is part of the Sweep Rules initiative to improve the code quality and maintainability of the Hurl.nvim plugin.