Comments (4)
I believe this is highly subjective.
The original idea for different colors came from this:
It'd be harder to immediately spot what is an array and what is a table without colors.
The long-term plan is to have proper TextMate grammars where a key is just a key, and then additional semantic colors could be enabled on top of that.
But right now the only colors are provided from the LSP via semantic tokens. It is kind of a hack, but to resolve it someone has to write the actual grammars, and I don't see myself doing it in the near future.
from taplo.
I've written TextMate grammars before, maybe I can help.
from taplo.
Thanks, I've just asked whether we could use the grammar of this extension that was updated for 1.0.0, and the maintainer was very helpful. So hopefully no one needs to type even a single character of regex as they've done it all already.
I don't have a lot of time this week, so you could port it if you want, otherwise I'll get to it this weekend I think.
from taplo.
This should be resolved in 0.7.0
, by default all keys are the same color and the rest can be colored with custom scopes as suggested. More defails about it is in the updated readme.
from taplo.
Related Issues (20)
- Support `taplo` configuration in `pyproject.toml`
- LSP: robust handling of `uri-reference`
- Slow formatting when using @taplo/cli
- How is this VSCode extension aware of the right completions for my Alacritty TOML file? I see something incorrect HOT 2
- reorder_arrays = false is ignored if the key is set to the array. HOT 1
- Complaining about cranelift (shouldn't do it) HOT 1
- Can't keep lines from indenting, even though it is not enabled
- What is it sending to an azure endpoint? HOT 2
- Lint fails when date is before 1000AD
- suggestion: add a markdown link checker github workflow
- taplo: error while loading shared libraries: libssl.so.1.1 HOT 1
- Name of the contributed schema in VSCode (Even Better TOML)
- mypy pyproject.toml error: Additional properties are not allowed ('no_namespace_packages' was unexpected) HOT 2
- `taplo-cli` very slow at collecting files HOT 6
- VS Code Extenstion: failed to resolve schema error=failed to resolve relative schema schema_url
- Date ISO 8601 not supported?
- Please update your docker images to taplo-cli 0.9.0 HOT 2
- Taplo rewrites file newlines HOT 2
- VSCode extension is outdated HOT 5
- taplo stability and roadmap ? 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 taplo.