Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix bug: <leader>. always thought it was in Rails

  • Loading branch information...
commit 2f441acc648605b52978550e4989befa67e2096a 1 parent 39d4f2a
Gary Bernhardt authored October 03, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  .vimrc
2  .vimrc
@@ -274,7 +274,7 @@ function! AlternateForCurrentFile()
274 274
   let new_file = current_file
275 275
   let in_spec = match(current_file, '^spec/') != -1
276 276
   let going_to_spec = !in_spec
277  
-  let in_app = match(current_file, '\<controllers\>') != -1 || match(current_file, '\<models\>') != -1 || match(current_file, '\<views\>') || match(current_file, '\<helpers\>') != -1
  277
+  let in_app = match(current_file, '\<controllers\>') != -1 || match(current_file, '\<models\>') != -1 || match(current_file, '\<views\>') != -1 || match(current_file, '\<helpers\>') != -1
278 278
   if going_to_spec
279 279
     if in_app
280 280
       let new_file = substitute(new_file, '^app/', '', '')

0 notes on commit 2f441ac

Please sign in to comment.
Something went wrong with that request. Please try again.