Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

fix: requests can be indented ( by spaces or tabs) #251

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

UndeadKernel
Copy link

The regexp in restclient-method-url-regexp can be modified to support REST requests that start with spaces or tabs. Before this commit, if a request starts with a space, it will fail.

@pashky, do you think this "feature" makes sense? This allows me to indent my requests in, for example, org buffers.

The regexp in `restclient-method-url-regexp` can be modified to support
REST requests that start with spaces or tabs. Before this commit, if a
request starts with a space, it will fail.
@UndeadKernel
Copy link
Author

Hey @pashky. Sorry to bother you, but would you take a look at this PR if you believe it is valid? If you don't think it's worth adding it, I'd like to close the PR and instead modify a local copy of restclient.el using el-patch.

Cheers!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant