nvim-cmp icon indicating copy to clipboard operation
nvim-cmp copied to clipboard

Using nvim-cmp with firenvim cause problem

Open tin-pham opened this issue 3 years ago • 1 comments

FAQ

  • [X] I have checked the FAQ and it didn't resolve my problem.

Issues

  • [X] I have checked existing issues and there are no open or closed issues with the same problem.

Neovim Version

0.7.0dev

Minimal reproducible config

https://github.com/tin-pham/NeoVimLua

It inside lua/options/cmp.lua

Description

It show this error when I use firenvim on text box on the browser (markdown textbox like reddit, github work fine. Other textbox not markdown will cause this) image

Steps to reproduce

  1. Use nvim-cmp with firenvim
  2. If the textbox is not markdown (facebook, googletranslate) it will cause this

Expected behavior

  1. It just like the image above

Actual behavior

It will just writing normal like this without that text being annoy pop up all over again image

Additional context

I have open issue on the github site of the firenvim author, and have some discussion with the admin

I can turn off nvim-cmp and start using firenvim on the web but when I start coding, it can be annoy to turn it on again, so maybe my config have something that cause this problem??

https://github.com/glacambre/firenvim/issues/1330

tin-pham avatar Mar 07 '22 05:03 tin-pham

having the same issue

janislaus avatar Jun 07 '22 15:06 janislaus

Same - Inception Screen Shot 2023-01-04 at 6 22 46 PM

ariel-frischer avatar Jan 05 '23 02:01 ariel-frischer

Having the same issue in JupyterLab. :set lines = 20 fixed it for me

130ndim avatar Jan 06 '23 15:01 130ndim

@130ndim That works but like, looks wierd and doesn't fit the input box / text area. I would imagine on larger text boxes, the height of the nvim box would be too small as well. There must be another way?

ariel-frischer avatar Jan 06 '23 17:01 ariel-frischer

@ariel-frischer I've created an autocmd to set lines = max(20, box lines). I use it mostly to edit JupyterLab cells, so I'm not comfortable with default 1 line window anywas

130ndim avatar Jan 11 '23 20:01 130ndim