Repository: sharkdp/bat (language: rust)

Issue:
Use TOML syntax highlighting for uv.lock
Hi! Thanks a lot for this very nice tool.

I would like `bat` to use TOML syntax highlighting for [`uv.lock`](https://docs.astral.sh/uv/concepts/projects/sync/) files. After 5 minutes of research, I'm guessing Dependabot (somehow! I didn't know this feature) updates the syntax file from https://github.com/jasonwilliams/sublime_toml_highlighting. It seems that `uv.lock` has already been added there: https://github.com/jasonwilliams/sublime_toml_highlighting/commit/215ad5197f8f8d9c91a0008f7b77e07ada94720d. Should I expect that change to be reflected here soon? If not, happy to contribute with some guidance.


Discussion / hints:
Hi, thanks for raising the question. In theory, dependabot should indeed bump this dependency, but we don't have to rely on or wait for dependabot - when we notice something is out of date, we can manually bump the submodule version 🙂
We just need to edit the file which tells it which commit to reference, see for example https://github.com/sharkdp/bat/commit/d5b397f66aafcab97d9acaa1af9496df8c67cf07#diff-54c2ccb31bbe99d62eed6e299b202ecafe15e821d2e1ed094e3b6157f7739a88R1

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8c0f591b02..c0934f8abb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -68,6 +68,7 @@
 - Add syntax mapping for kubernetes config files #3049 (@cyqsimon)
 - Adds support for pipe delimiter for CSV #3115 (@pratik-m)
 - Add syntax mapping for `/etc/pacman.conf` #2961 (@cyqsimon)
+- Associate `uv.lock` with `TOML` syntax, see #3132 (@fepegar)
 
 ## Themes
 
diff --git a/assets/syntaxes/02_Extra/TOML b/assets/syntaxes/02_Extra/TOML
index fd0bf3e5d6..f5a57e8bff 160000
--- a/assets/syntaxes/02_Extra/TOML
+++ b/assets/syntaxes/02_Extra/TOML
@@ -1,1 +1,1 @@
-Subproject commit fd0bf3e5d6c9e6397c0dc9639a0514d9bf55b800
+Subproject commit f5a57e8bff694a4e6c52a491dae579aabc7427cf


Test patch: