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,...)
2013
2013
endif
2014
2014
elseif line = ~# ' \<stylesheet_\(link_tag\|path\)\s*(\=' .fpat
2015
2015
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' ) == ' '
2017
2017
let str .= ' .css'
2018
2018
endif
2019
2019
elseif line = ~# ' \<javascript_\(include_tag\|path\)\s*(\=' .fpat
2020
2020
if str == # " defaults"
2021
2021
let str = " application"
2022
2022
endif
2023
2023
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' ) == ' '
2025
2025
let str .= ' .js'
2026
2026
endif
2027
2027
elseif line = ~# ' \<\(has_one\|belongs_to\)\s*(\=\s*'
You can’t perform that action at this time.
0 commit comments