summaryrefslogtreecommitdiffstats
path: root/src/syntax_mapping/builtins/common/50-git.toml
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax_mapping/builtins/common/50-git.toml')
-rw-r--r--src/syntax_mapping/builtins/common/50-git.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/syntax_mapping/builtins/common/50-git.toml b/src/syntax_mapping/builtins/common/50-git.toml
new file mode 100644
index 00000000..44a49a25
--- /dev/null
+++ b/src/syntax_mapping/builtins/common/50-git.toml
@@ -0,0 +1,10 @@
+# Global git config files rooted in `$XDG_CONFIG_HOME/git/` or `$HOME/.config/git/`
+# See e.g. https://git-scm.com/docs/git-config#FILES
+
+[mappings]
+"Git Config" = ["${XDG_CONFIG_HOME}/git/config", "${HOME}/.config/git/config"]
+"Git Ignore" = ["${XDG_CONFIG_HOME}/git/ignore", "${HOME}/.config/git/ignore"]
+"Git Attributes" = [
+ "${XDG_CONFIG_HOME}/git/attributes",
+ "${HOME}/.config/git/attributes",
+]