Skip to content

Commit e9e2ee6

Browse files
committed
Fix :.Rake in a .task file
1 parent ee300a7 commit e9e2ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,7 @@ function! s:readable_default_rake_task(...) dict abort
13401340
let line = getline(mnum)
13411341
" We can't grab the namespace so only run tasks at the start of the line
13421342
if line =~# '^\%(task\|file\)\>'
1343-
return self.last_method(a:lnum)
1343+
return self.last_method(lnum)
13441344
else
13451345
return matchstr(self.getline(1),'\C# rake \zs.*')
13461346
endif

0 commit comments

Comments
 (0)