[go: nahoru, domu]

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 option to enable/disable case insensitive completion #1076

Merged
merged 1 commit into from
Jan 30, 2022
Merged

Add option to enable/disable case insensitive completion #1076

merged 1 commit into from
Jan 30, 2022

Conversation

jamescherti
Copy link
Contributor
@jamescherti jamescherti commented Jan 29, 2022

This pull request adds an option to enable/disable case insensitive completion (the Jedi setting: jedi.settings.case_insensitive_completion).

It adds the following options to jedi-vim:

  • Global option: g:jedi#case_insensitive_completion
  • Buffer-local option: b:jedi_case_insensitive_completion

Values:

  • 0 to disable case insensitive completion.
  • 1 to enable case insensitive completion (default).

Options:
- Global option: g:jedi#case_insensitive_completion
- Buffer-local option: b:jedi_case_insensitive_completion

Values:
- 0 to disable case insensitive completion.
- 1 to enable case insensitive completion (default).
@davidhalter
Copy link
Owner

Thanks!

@davidhalter davidhalter merged commit 32d05f7 into davidhalter:master Jan 30, 2022
@blueyed
Copy link
Collaborator
blueyed commented Jan 31, 2022

@davidhalter
Is there something like smart-case in Jedi, i.e. use case-sensitivity if there is any upper case character in the input, but otherwise case-insensitivity?
(this allows to enable case-sensitivity "on the fly")

@davidhalter
Copy link
Owner

No there is currently no such thing. One could obviously implement that in Jedi (or here).

@jamescherti jamescherti deleted the case-insensitive branch March 1, 2022 19:45
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 this pull request may close these issues.

3 participants