rb_nav 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/rb_nav.vim +2 -2
  2. data/lib/rb_nav/version.rb +1 -1
  3. metadata +2 -2
@@ -5,7 +5,7 @@
5
5
  " This can be overridden in .vimrc
6
6
 
7
7
  if !exists("g:RbNavPaths")
8
- let g:RbNavPaths = " . --exclude-dir='\.git' --exclude-dir='vendor' --exclude-dir='db' --include='*.rb' "
8
+ let g:RbNavPaths = " . --exclude-dir='\.git' --exclude-dir='vendor' --exclude-dir='db/migrate' --include='*.rb' "
9
9
  endif
10
10
 
11
11
  let s:last_class_search = ""
@@ -118,7 +118,7 @@ func! s:open_class_file()
118
118
  if len(split(selection, '\s\+')) == 1
119
119
  " user pressed return without autocompleting, so find the first match
120
120
  for x in s:selection_list
121
- if tolower(get(split(x, '\s\+'), 0)) == tolower(selection)
121
+ if tolower(get(split(x, '\s\+'), 0)) =~ tolower(selection)
122
122
  let selection = x
123
123
  endif
124
124
  endfor
@@ -1,4 +1,4 @@
1
1
  module RbNav
2
2
 
3
- VERSION = '0.2.4'
3
+ VERSION = '0.2.5'
4
4
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rb_nav
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.4
5
+ version: 0.2.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-09 00:00:00 -04:00
13
+ date: 2011-07-10 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies: []
16
16