mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-18 06:47:14 +09:00
Replace [\/] with [\\/]
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
filetype: git-commit
|
||||
|
||||
detect:
|
||||
filename: '^(.*[\/])?(COMMIT_EDITMSG|TAG_EDITMSG|MERGE_MSG)$'
|
||||
filename: '^(.*[\\/])?(COMMIT_EDITMSG|TAG_EDITMSG|MERGE_MSG)$'
|
||||
|
||||
rules:
|
||||
# File changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
filetype: git-config
|
||||
|
||||
detect:
|
||||
filename: 'git(config|modules)$|^(.*[\/])?\.?git[\/]config$'
|
||||
filename: 'git(config|modules)$|^(.*[\\/])?\.?git[\\/]config$'
|
||||
|
||||
rules:
|
||||
- constant: "\\<(true|false)\\>"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
filetype: git-rebase-todo
|
||||
|
||||
detect:
|
||||
filename: '^(.*[\/])?git\-rebase\-todo$'
|
||||
filename: '^(.*[\\/])?git\-rebase\-todo$'
|
||||
|
||||
rules:
|
||||
# Rebase commands
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
filetype: ruby
|
||||
|
||||
detect:
|
||||
filename: '\.(rb|rake|gemspec)$|^(.*[\/])?(Gemfile|config.ru|Rakefile|Capfile|Vagrantfile|Guardfile|Appfile|Fastfile|Pluginfile|Podfile|\.?[Bb]rewfile)$'
|
||||
filename: '\.(rb|rake|gemspec)$|^(.*[\\/])?(Gemfile|config.ru|Rakefile|Capfile|Vagrantfile|Guardfile|Appfile|Fastfile|Pluginfile|Podfile|\.?[Bb]rewfile)$'
|
||||
header: "^#!.*/(env +)?ruby( |$)"
|
||||
|
||||
rules:
|
||||
|
||||
Reference in New Issue
Block a user