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

Let snippets be invoked case-insensitively. #3077

Closed
2 tasks
Qwerty-133 opened this issue Jul 28, 2021 · 0 comments
Closed
2 tasks

Let snippets be invoked case-insensitively. #3077

Qwerty-133 opened this issue Jul 28, 2021 · 0 comments
Labels
feature request staged Staged for next version

Comments

@Qwerty-133
Copy link
Contributor

Qwerty-133 commented Jul 28, 2021

Is your feature request related to a problem? Please elaborate.

It seems unintuitive that snippets cannot be invoked case-insensitively whilst commands can - all the plugin sub-commands even coerce the snippet name to be lower-case such that ?snippet FOO is equivalent to ?snippet foo.

?snippet add FOO followed by ?FOO doesn't even work since a snippet by the name "foo" is added.

Describe the solution you'd like

I'd like for ?FOO to be equivalent to ?Foo or ?foo or any other combination of cases for that matter.

Does your solution involve any of the following?

  • Logviewer
  • New config option

Describe alternatives you've considered

Making a plugin with a custom process_commands.

Who will this benefit?

Everyone who uses snippets. I find myself accidentally capitalizing the first letter of the snippet accidentally only to have it not work.

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request staged Staged for next version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants