Skip to content

Commit fb58b83

Browse files
committed
Remove typoed, obvious comment
1 parent 4823f88 commit fb58b83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/rails.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2013,15 +2013,15 @@ function! s:RailsIncludefind(str,...)
20132013
endif
20142014
elseif line =~# '\<stylesheet_\(link_tag\|path\)\s*(\='.fpat
20152015
let str = s:sub(str,'^/@!','/stylesheets/')
2016-
if str != '' && fnamemodify(str, ':e') == '' " Append the default extension iff the filename doesn't already contains an extension
2016+
if str != '' && fnamemodify(str, ':e') == ''
20172017
let str .= '.css'
20182018
endif
20192019
elseif line =~# '\<javascript_\(include_tag\|path\)\s*(\='.fpat
20202020
if str ==# "defaults"
20212021
let str = "application"
20222022
endif
20232023
let str = s:sub(str,'^/@!','/javascripts/')
2024-
if str != '' && fnamemodify(str, ':e') == '' " Append the default extension iff the filename doesn't already contains an extension
2024+
if str != '' && fnamemodify(str, ':e') == ''
20252025
let str .= '.js'
20262026
endif
20272027
elseif line =~# '\<\(has_one\|belongs_to\)\s*(\=\s*'

0 commit comments

Comments
 (0)