mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-24 02:11:14 +01:00
This commit attempts to introduce miette to provide users with quick feedback when there may be syntax errors such as trailing commas in their komorebi.json configuration file. The lines and columns reported by serde_json don't actually line up with the visualization of where we want to indicate a syntax error on the miette Report. Some hackery has been done, but this should be improved upon. Notably, this hackery does not accurately reflect the location of a syntax error when the syntax error is a missing comma after a string value.