diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2020-11-23 15:16:56 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2020-11-23 15:23:35 +0300 |
commit | 4cf0d7932ca51f840d3abacfbeb0310f3a1f1e56 (patch) | |
tree | 1ec1283c4dd5677db4f90bc8bd2fd7b26371d62b /.gitattributes | |
parent | 898f0061a9957a8ccd8849131cc265c607d0e896 (diff) |
Add Rules to gitattributes
Now that Rules doesn't have the shebang
https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/1346,
it doesn't get picked by editors as a Ruby file, so it has lost
its syntax highlighting.
Add it to .gitattributes so that it's at least picked by
GitLab.
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes index f19f7157..6b99ebe5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ -*.html gitlab-language=erb
\ No newline at end of file +*.html gitlab-language=erb +/Rules gitlab-language=ruby |