File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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*'
You can’t perform that action at this time.
0 commit comments