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

vim-http #1

Open
Konfekt opened this issue Nov 4, 2024 · 2 comments
Open

vim-http #1

Konfekt opened this issue Nov 4, 2024 · 2 comments
Assignees

Comments

@Konfekt
Copy link

Konfekt commented Nov 4, 2024

Thank you, this is useful. Comparing to https://github.com/nicwest/vim-http, it seems that Restman supports more than one HTTP request by jumping in-between the -- markers and restricts to Curl output (no meta data)?

@sojohnnysaid
Copy link
Owner

sojohnnysaid commented Nov 4, 2024

Thanks for checking this out @Konfekt 🤓

Yes I am able to use all the API verbs, GET, POST, PATCH etc. etc.
Just move the cursor within the -- markers to run that specific call.

If you take a peek at the autoload folder in the repo you will see i've commented out all the echom statements where I was logging out everything. The original output had more sections like request headers, response headers etc.

Would a flag you could add to your vim config work? I can add that to my todo list.

@Konfekt
Copy link
Author

Konfekt commented Nov 4, 2024

Yes, thank you, maybe buffer-local/global by the get(b:, 'opt', get(g:, 'opt', 'default-value)) idiom

@sojohnnysaid sojohnnysaid self-assigned this Nov 5, 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

No branches or pull requests

2 participants