Comments (8)
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?
from vim-matchup.
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.
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?
from vim-matchup.
+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.
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.
Can anyone please provide a configuration and reproduction steps?
from vim-matchup.
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.
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)
- [Feature Request]: Hybrid winbar/statusline option for offscreen matches HOT 11
- Treesitter integration broken on Javascript HOT 26
- Matchup error with treesitter in javascript files HOT 1
- Latest tree-sitter-c parser breaks vim-matchup HOT 1
- Add support for statuscolumn and foldcolumn in offscreen matches
- Error since last update → If treesitter matchup is enabled HOT 2
- Feature request: disable closing hint HOT 3
- offscreen doesn't display
- Wrong matching across strings HOT 2
- Crash when shell case is incomplete
- clarification about lazy loading on keys HOT 6
- Incompatibility with nvim-cmp snippet completion HOT 8
- Matching string and char delimeters HOT 2
- how to activate ruby's `|` delimeter for block arguments HOT 4
- MatchParen(Cur) Highlight persists in virtual fold text
- invalid node type for language perl
- invalid node type for language bash HOT 5
- Svelte error was reported after treesitter's commit of svelte parsing HOT 4
- Quotes support for VIM HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-matchup.