call not needed when assigning to variable

This commit is contained in:
Alan Hamlett 2017-04-24 00:44:41 -07:00
parent b86e69d9f6
commit 583e902c61

View file

@ -223,7 +223,7 @@ let s:VERSION = '5.0.0'
if file != '' if file != ''
let heartbeat = {} let heartbeat = {}
let heartbeat.entity = file let heartbeat.entity = file
let heartbeat.time = call s:CurrentTimeStr() let heartbeat.time = s:CurrentTimeStr()
let heartbeat.is_write = a:is_write let heartbeat.is_write = a:is_write
if !empty(&syntax) if !empty(&syntax)
let heartbeat.language = &syntax let heartbeat.language = &syntax