Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions autoload/hdevtools.vim
Original file line numberDiff line numberDiff line change
Expand Up@@ -69,7 +69,7 @@ function! hdevtools#info(identifier)
return
endif

let l:file = expand('%')
let l:file = expand('%:p')
if l:file ==# ''
call hdevtools#print_warning("current version of hdevtools.vim doesn't support running on an unnamed buffer.")
return
Expand DownExpand Up@@ -512,7 +512,7 @@ function! hdevtools#type()
return b:hdevtools_type.type()
endif

let l:file = expand('%')
let l:file = expand('%:p')
if l:file ==# ''
call hdevtools#print_warning("current version of hdevtools.vim doesn't support running on an unnamed buffer.")
return ['', '']
Expand Down