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

get rid of setup function #1

Open
teto opened this issue Oct 28, 2024 · 1 comment
Open

get rid of setup function #1

teto opened this issue Oct 28, 2024 · 1 comment

Comments

@teto
Copy link

teto commented Oct 28, 2024

would it be possible to replace the setup function with vim.g.http_codes variable for the reasons mentioned at https://mrcjkb.dev/posts/2023-08-22-setup.html ?
I installed the software and was expecting it to work out of the box since it's very simple but nothing was available so I looked at https://github.com/barrett-ruth/http-codes.nvim/blob/main/lua/http-codes.lua and found out I could run require('http-codes.fzf-lua').pick() with success. The setup could be lazyloaded run without any user intervention. Having to call setup myself makes the plugin extra-hard to use.

@barrett-ruth
Copy link
Owner

barrett-ruth commented Oct 28, 2024

I agree. Can you write a PR for it? Thanks!

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

No branches or pull requests

2 participants