Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

Macros don't work when using completion while recording the macro #416

Closed
alexander-born opened this issue Jun 17, 2021 · 2 comments
Closed
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@alexander-born
Copy link

alexander-born commented Jun 17, 2021

Checkhealth

Put result of :checkhealth compe.

health#compe#check
========================================================================
## compe:snippet
  - OK: snippet engine detected.

## compe:mapping
  - OK: `compe#complete` is mapped: (`i  <C-Space>   * compe#complete()`)
  - OK: `compe#confirm` is mapped: (`i  <CR>        * compe#confirm('<CR>')`)
  - OK: `compe#close` is mapped: (`i  <C-E>       * compe#close('<C-E>')`)
  - OK: `compe#scroll` is mapped: (`i  <C-B>       * compe#scroll({ 'delta': -4 })`)

Describe the bug

Macros don't work when using completion while recording the macro

To Reproduce

Steps to reproduce the behavior with the minimal config:

  1. Record a macro and use completion.
  2. Play macro

Actual behavior

Macro does not work.

Expected behavior

Macros insert the same text which is inserted while recording the macro.

@alexander-born alexander-born added the bug Something isn't working label Jun 17, 2021
@alexander-born
Copy link
Author

alexander-born commented Jun 26, 2021

Could this be related to ggandor/lightspeed.nvim#7 ?
There feedkeys() needed the i flag to make it work in macros.

@stale
Copy link

stale bot commented Aug 25, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 25, 2021
@stale stale bot closed this as completed Sep 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant