Skip to content

Commit

Permalink
use xpt#util#NearestSynName
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Feb 1, 2015
1 parent 7f59f00 commit 835693f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/eruby/eruby.ftdetect.vim
Expand Up @@ -37,7 +37,7 @@ let s:topFT = 'eruby'
fun! XPT_erubyFiletypeDetect() "{{{
let pos = [ line( "." ), col( "." ) ]

let synName = g:xptutil.XPTgetCurrentOrPreviousSynName()
let synName = xpt#util#NearestSynName()

if synName == ''
" top level ft is html
Expand Down

0 comments on commit 835693f

Please sign in to comment.