Comments (5)
Can't reproduce it. I think VimEnter
autocmd doesn't invoke. The reason i suppose is because plugin required after this autocmd.
Can you add something like autocmd VimEnter * echom 'hello'
somewhere in the autocmds string?
matchparen.nvim/lua/matchparen.lua
Lines 36 to 41 in bedea1c
Does it print 'hello' into cmdline?
If i remove this line i get the same error as you
matchparen.nvim/lua/matchparen.lua
Line 36 in bedea1c
from matchparen.nvim.
Interesting, I wonder if the other autocmds in any particular configuration might have an impact. I'll debug with a minimal vimrc later today and try your suggestion as well
from matchparen.nvim.
Ok. I tested on some different PC with my old config that uses vim-plug instead of packer and it still works fine.
from matchparen.nvim.
So you haven't fixed this in your config?
Anyway on the second thought I think such kind of plugin should not break your neovim expirience if any error appears. I think it would be better to not highlight brackets at all, than constantly disrupt your editing with some error, that requires you to disable the plugin etc. So i will improve it behavior in a few days (already have some ideas how to do it).
from matchparen.nvim.
806d15a should partly fix your issue.
from matchparen.nvim.
Related Issues (16)
- Support `matchup_matchparen_hi_surround_always` option HOT 6
- Loop or previous error loading matchparen HOT 2
- Known wrong highlights in TreeSitter parsed buffers HOT 1
- Attempt to compare number with nil. HOT 1
- default MatchParen is active HOT 2
- Throwing an error HOT 1
- Error: attempt to index a nil value HOT 6
- bug in the recent update HOT 5
- Error on terraform files HOT 7
- Occasional error when I use LSP reformat the buffer. HOT 2
- In php incorrect match HOT 3
- Error: `is_in_node_range` nil value HOT 2
- [ Feature Request ] is it possible to add `"" / '' / ``" highlight? HOT 1
- Option to change from highlighting pairs to underlining, etc HOT 3
- Incorrect highlighting with inlay hints HOT 4
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 matchparen.nvim.