diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2020-11-24 09:54:12 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2020-11-24 10:00:15 +0300 |
commit | a1aa5c80040634e8d7e0d2dc1bf68e48717bd8f7 (patch) | |
tree | b1f1be674e9e1b345ff120fc2b2294f584bc39fc /Rules | |
parent | cdeb97370fd0cf04317ebd3ab1e184551258c542 (diff) |
Add vim syntax highlight modeline in Rules
Now that the shebang in Rules was removed in
https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/1346,
add a vim modeline to detect the language.
Diffstat (limited to 'Rules')
-rw-r--r-- | Rules | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,6 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + TITLE_FILTER_REGEXP = /(#\s|#{BadgesFilter::BADGES_MARKDOWN_PATTERN})/.freeze preprocess do |