Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a config type e.g. ---@type hlchunk.config #128

Closed
nihaals opened this issue Aug 12, 2024 · 1 comment · Fixed by #135
Closed

Add a config type e.g. ---@type hlchunk.config #128

nihaals opened this issue Aug 12, 2024 · 1 comment · Fixed by #135

Comments

@nihaals
Copy link

nihaals commented Aug 12, 2024

Is your feature request related to a problem? Please describe.
It's helpful having autocomplete for config fields. It looks like the project already uses types but because of how it dynamically passes config to each module, there isn't an existing type that someone could use for something like:

---@type hlchunk.config
opts = {},

Describe the solution you'd like
A single type that could be used similarly to above.

Describe alternatives you've considered
You can write your own or just not use one, which works but isn't as nice of an experience as having a type.

@shellRaining
Copy link
Owner

I apologize for being busy with my internship and other interests lately, so I may not be able to handle this part promptly.
and pr welcome

itepechi added a commit to itepechi/hlchunk.nvim that referenced this issue Sep 19, 2024
itepechi added a commit to itepechi/hlchunk.nvim that referenced this issue Sep 19, 2024
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 a pull request may close this issue.

2 participants