Closed fepegar closed 3 days ago
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
Thank you, @keith-hall! I've opened #3132, but the changelog CI is complaining and I'm not sure why.
For reference (and fun trying the GitHub CLI), here's what I used to make the changes and open the PR:
gh repo fork --clone https://github.com/sharkdp/bat
cd bat
git submodule update --init --remote assets/syntaxes/02_Extra/TOML
new_branch="3130-use-toml-for-uv-lock"
git switch --create $new_branch
git commit --all --message "Use TOML syntax highlighting for uv.lock"
git push origin $new_branch
gh pr create \
--base master \
--repo sharkdp/bat \
--head fepegar:$new_branch \
--title "Use TOML syntax highlighting for uv.lock" \
--body "Resolves #3130."
Hi! Thanks a lot for this very nice tool.
I would like
bat
to use TOML syntax highlighting foruv.lock
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 thatuv.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.