diff --git a/runtime/syntax/git-commit.yaml b/runtime/syntax/git-commit.yaml index 68032e1f..db857912 100644 --- a/runtime/syntax/git-commit.yaml +++ b/runtime/syntax/git-commit.yaml @@ -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 diff --git a/runtime/syntax/git-config.yaml b/runtime/syntax/git-config.yaml index 7556ba92..9c66a75b 100644 --- a/runtime/syntax/git-config.yaml +++ b/runtime/syntax/git-config.yaml @@ -1,7 +1,7 @@ filetype: git-config detect: - filename: "git(config|modules)$|^(.*[\\/])?\\.?git[\\/]config$" + filename: 'git(config|modules)$|^(.*[\/])?\.?git[\/]config$' rules: - constant: "\\<(true|false)\\>" diff --git a/runtime/syntax/git-rebase-todo.yaml b/runtime/syntax/git-rebase-todo.yaml index 724f9c9c..f6e03b3f 100644 --- a/runtime/syntax/git-rebase-todo.yaml +++ b/runtime/syntax/git-rebase-todo.yaml @@ -1,7 +1,7 @@ filetype: git-rebase-todo detect: - filename: "^(.*[\\/])?git\\-rebase\\-todo$" + filename: '^(.*[\/])?git\-rebase\-todo$' rules: # Rebase commands diff --git a/runtime/syntax/ruby.yaml b/runtime/syntax/ruby.yaml index 8915ed74..e042b180 100644 --- a/runtime/syntax/ruby.yaml +++ b/runtime/syntax/ruby.yaml @@ -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: