From 5f81cac3b700e7f9c8cdc638ef5847067238caea Mon Sep 17 00:00:00 2001 From: lethosor Date: Mon, 21 May 2018 21:23:52 -0400 Subject: [PATCH] dwarfmonitor.lua: use dmerror() consistently --- plugins/lua/dwarfmonitor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/lua/dwarfmonitor.lua b/plugins/lua/dwarfmonitor.lua index 35a667bd4..7637c50f7 100644 --- a/plugins/lua/dwarfmonitor.lua +++ b/plugins/lua/dwarfmonitor.lua @@ -162,7 +162,7 @@ function load_config() end widgets = {} for _, opts in pairs(config.widgets) do - if type(opts) ~= 'table' then qerror('"widgets" is not an array') end + if type(opts) ~= 'table' then dmerror('"widgets" is not an array') end if not opts.type then dmerror('Widget missing type field') end local cls = _ENV['Widget_' .. opts.type] if not cls then