Comments (4)
yeah, the error highlights for treesitter are kinda odd, specially on errors, this is a known bug which i am hoping to fix in the next few days.
from gruvbox.nvim.
hey @pianocomposer321 ive changed the hightlight with an underline and red bold fg. Unfortunately treesitter still highlights some elements inside the original error msg and you will still see those in a different color. LMK if that makes sense.
from gruvbox.nvim.
@ellisonleao And now I'm running into the deviation from OG gruvbox in all other uses of Error
. 😂
-
I vote we revert the
Error
highlight group to again match OG gruvbox. -
If I understand correctly,
TSError
highlights where Treesitter encountered a parsing error, not where there is an error in the code or where some symbol in the code is of an Error type, so it's a bit of an oddball as far as highlight groups go.
For myself, unless I'm actively working on a Treesitter parser, I don't care if it ran into a parsing error, especially given Treesitter's ability to recover and parse the rest of the file. I would much rather let it fail silently and have some words look off than light my code up like a Christmas tree.
I think the better approach here would be to link it to something unobtrusive or just not bother defining the highlight group for TSError
.
from gruvbox.nvim.
Looks much better, thanks!
from gruvbox.nvim.
Related Issues (20)
- Recent changes break highlights from other sources HOT 6
- debugPC highlight broken HOT 4
- [Question] How to enable red undercurl for SpellBad? HOT 2
- Highlight on breakpoint when using nvim-dap (debugger) does not reverse the color HOT 1
- `debugPC` cause text unreadable while using nvim-dap HOT 1
- `DiffAdd` is grey HOT 8
- QuickFixLine is too similar to Search
- "Error detected while processing WinLeave Autocommands for "*"" when closing Lazy window HOT 1
- Comment out conditionally compiled code (C/C++) if inactive HOT 1
- Neovim from 0.10 will enable termguicolors automatically HOT 1
- DiffAdd and DiffRemoved randomly cannot be overridden HOT 1
- GitSigns use wrong background color HOT 5
- Background looks inconsistent in some parts HOT 3
- Expose palette colors HOT 8
- Default punctuation colour has changed HOT 4
- @text.todo.checked.markdown is not visible if LSP is enabled
- Neo-tree confirmation header dialog look darker in Gruvbox dark
- Upcoming TS highlight group changes HOT 9
- Propose color DiffText HOT 1
- [BUG] Floating windows are not discernible when dim_inactive = true
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 gruvbox.nvim.