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

Toggle completion #287

Closed
nekowasabi opened this issue Apr 24, 2022 · 2 comments
Closed

Toggle completion #287

nekowasabi opened this issue Apr 24, 2022 · 2 comments

Comments

@nekowasabi
Copy link

Issue Description

feature-request

When I type # to add a header line in markdown, it automatically completes the issue number.

I tried to turn off auto-completion and set it up so I can complete manually, but the setting for completion is defined directly in the code.
Therefore, it does not appear that I can change the setting.

https://github.com/pwntester/octo.nvim/blob/490d7145070b6326610d5d41238b1d8e88606f8b/lua/octo/model/octo-buffer.lua#L78-L80v

Describe what happened (or what feature you want)

When writing markdown, I would appreciate the addition of a setting to toggle completion so that unintended completions are not performed.

Describe what you expected to happen

  1. Set octo's setting like manual_completion = true in init.vim
  2. Execute Octo issue edit xxxx
  3. Input #
  4. Input <C-x><C-o> for manual completion

Tell us your environment

nvim v0.7.0
OS: debian

@pwntester
Copy link
Owner

Hi, I think it makes sense to disable the mappings and document them in the FAQ

@nekowasabi
Copy link
Author

Thank you @pwntester !! 👍

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