resolve script path (#187).

This commit is contained in:
Bailey Ling 2013-08-26 13:27:09 +00:00
parent 358d4328f4
commit 295fda2f74

View File

@ -12,7 +12,7 @@ function! s:ext.add_inactive_statusline_func(name) dict
call airline#add_inactive_statusline_func(a:name)
endfunction
let s:script_path = expand('<sfile>:p:h')
let s:script_path = resolve(expand('<sfile>:p:h'))
let s:filetype_overrides = {
\ 'netrw': [ 'netrw', '%f' ],