Coder Social home page Coder Social logo

Comments (8)

samtgarson avatar samtgarson commented on June 3, 2024 1

I'm also getting this fairly frequently, and it's extremely frustrating 😅 it's a shame as the offscreen popup functionality is so useful most of the time.

It seems to be writing the contents of the bottom popup (including line number, sometimes repeated many times) to the top line of the file?

Screen Recording 2023-10-14 at 16 58 17

from vim-matchup.

ray-x avatar ray-x commented on June 3, 2024 1

I saw same behavior as @samtgarson. This may relate to relatively large lua file(>300 loc). But I couldn't reproduce it stably.
my setup

      vim.g.matchup_enabled = true
      vim.g.matchup_surround_enabled = true
      -- vim.g.matchup_transmute_enabled = 1
      vim.g.matchup_matchparen_deferred = true
      vim.g.matchup_matchparen_offscreen = { method = 'popup' }
      vim.cmd([[nnoremap <c-s-k> :<c-u>MatchupWhereAmI?<cr>]])

-- treesitter
    matchup = {
      enable = enable, -- mandatory, false will disable the whole extension
    },

from vim-matchup.

kongjun18 avatar kongjun18 commented on June 3, 2024

I also ran into this problem, but I couldn't reproduce it stably. I found that this BUG is caused by the text that should be written into the popup window being written into the buffer. The call chain is as follows.

Error detected while processing function <SNR>53_timer_callback[20]..7[153]..<SNR>53_do_offscreen[21]..<SNR>53_do_offscreen_popup_nvim[67]..<SNR>53_populate_floating_win[48]..<SNR>53_set_popup

I'm also getting this fairly frequently, and it's extremely frustrating 😅 it's a shame as the offscreen popup functionality is so useful most of the time.

It seems to be writing the contents of the bottom popup (including line number, sometimes repeated many times) to the top line of the file?

Screen Recording 2023-10-14 at 16 58 17 Screen Recording 2023-10-14 at 16 58 17

from vim-matchup.

sandeshghanta avatar sandeshghanta commented on June 3, 2024

+1 to this issue, took a while to figure out which plugin was messing up my nvim buffers with same symptoms.

Currently have disabled plugin to bypass this issue.

from vim-matchup.

ray-x avatar ray-x commented on June 3, 2024

It took me a while to find out vim-matchup adding new line on top of my file. It exists in both neovim 0.9.x and 0.10. It might relate to cursor movement.

from vim-matchup.

andymass avatar andymass commented on June 3, 2024

Can anyone please provide a configuration and reproduction steps?

from vim-matchup.

CMOISDEAD avatar CMOISDEAD commented on June 3, 2024

Actually I have the same problem, but it happens only if I have activated matchup_matchparen_offscreen method = popup and vim.g.matchup_matchparen_deferred = 1, it happens that if I move to the end of the file these numbers appear at the beginning of the file.
It is also necessary to have some kind of window split ie. Neotree open

from vim-matchup.

mehalter avatar mehalter commented on June 3, 2024

I can also report that I'm still having this problem with both vim.g.matchup_matchparen_deferred = 1 and the offscreen method set to popup with a split open.

from vim-matchup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.