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

Use noremap when mapping. #286

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

Julian
Copy link
Contributor

@Julian Julian commented Nov 24, 2020

Previously, if e.g. : was remapped, Telescope would be unclosable with its mappings (<Esc>).

Comment on lines 97 to 98
opts = opts or {
silent = true
}
if opts.noremap == nil then opts.noremap = true end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should do this check for both:

opts = opts or {}
if opts.silent == nil then opts.silent = true end
if opts.noremap == nil then opts.noremap = true end

Something like that.

Then we can merge, looks like you were right about that!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks.

Previously, if e.g. : was remapped, Telescope would be unclosable with
its mappings (<Esc>).

(Do the same for ensuring we :silent)
@tjdevries tjdevries merged commit 0f9fd84 into nvim-telescope:master Nov 24, 2020
@tjdevries
Copy link
Member

Cool, thanks for the fix. Good call.

kkharji pushed a commit that referenced this pull request Nov 27, 2020
…o builtin_runner_insert_issue

* 'master' of github.com:nvim-telescope/telescope.nvim:
  Refactor builtin (#287)
  fix: Use noremap when mapping. (#286)
  Fix the bug report template to suggest -u
  Add gitter tag
  feat: highlighter only
  Filter the completion of the command (#279)
  feat: Buffers rework (indicators and sorting) (#208)
  feat: v0.1 of extensions (#278)
  Register finder (#275)
  Various previewer fixes (#260)
  docs: fix builtin table formatting (#272)
  feat: Add highlights builtin (#267)
  Fixed minor typos (#271)
  Feat: Add filetypes builtin (#263)
  Fix: cwd detection of builtin.git_ (#264)
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.

2 participants