Víctor González Prieto
ffed52f6eb
Document how to contribute syntax mappings
2026-03-18 21:58:23 +02:00
Víctor González Prieto
a4e853c4fa
Map ignore files to Git Ignore syntax
...
This would catch any dotfiles that end in "ignore", but not `.ignore`
Set as a lower priority rule (90 vs the usual 50) because it's a blanket
assignation. If there are conflict with other, more specific rules,
those will take precedence.
2026-03-18 21:58:23 +02:00
Víctor González Prieto
a1917275cd
Add syntax mappings for GCloud CLI config files
...
> .boto => INI
I was uninstalling gcloud-cli and the docs said to review the contents
of ~/.boto [^1].
`bat` doesn't recognize it but it's just an INI-like file to configure
gsutil [^2].
I took the chance to add a few more mappings for other GCloud config
files without extension...
> .gcloudignore => Git Ignore
This one's self-explanatory, but it's documented in [^3].
Makes me wonder if we could just do a blanket `Git Ignore = ".?*ignore"`
for every kind of ignore file. For instance, `bat` doesn't catch
.dockerignore either.
> **/gcloud/configurations/config_* => INI
These are configuration files for each different profile you have
configured for the gcloud-cli [^4].
They're named like "config_default" or "config_<name>", without a
file extension, but they are also INI syntax [^5][^6].
[^1]: https://docs.cloud.google.com/sdk/docs/uninstall-cloud-sdk
[^2]: https://docs.cloud.google.com/storage/docs/boto-gsutil
[^3]: https://docs.cloud.google.com/sdk/gcloud/reference/topic/gcloudignore
[^4]: https://docs.cloud.google.com/sdk/docs/configurations
[^5]: https://stackoverflow.com/questions/74290882/return-active-gcp-project-name-programatically-for-both-local-dev-and-deployed-c/7 ^4292151#74292151
[^6]: https://stackoverflow.com/questions/49212350/where-does-gcloud-store-its-defaults/49256835#49256835
2026-03-17 20:51:23 +01:00
Víctor González Prieto
330c51de9f
Add Changelog entry
2025-02-04 00:15:45 +01:00
Víctor González Prieto
0ed527f0d1
Replace spaces in git submodule paths
...
To mitigate a bug in the GitHub API that broke the Dependabot action
that updates submodules. See sharkdp/bat#3198 .
2025-02-03 22:01:33 +01:00
Víctor González Prieto
497342fabb
Bump cmd-help syntax to latest
...
Manual update (as opposed to Dependabot's) because the highlighting for
the test help message has changed. It's all good because it's as
intended, an improvement.
See victor-gp/cmd-help-sublime-syntax#23
2023-12-29 18:15:55 +01:00
Víctor González Prieto
3ffa7edbd5
Bump cmd-help syntax to latest
...
This update includes an overhaul of scope names to better support the
set of themes included with bat.
You can find a visual diff for every theme in this PR:
https://github.com/victor-gp/cmd-help-sublime-syntax/pull/17
This commit updates the cmd-help syntax test because the scopes (-> colors)
have changed.
2022-12-07 04:02:05 +01:00
Víctor González Prieto
b0898900ce
Syntax: add cmd-help ( #2148 )
...
* Add cmd-help syntax
To highlight command --help messages.
* README.md: mention help message highlighting
* README.md: edit help message highlighting
2022-04-26 19:42:18 +02:00