summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/init.lua b/init.lua
index ff7c76e..b7866a9 100644
--- a/init.lua
+++ b/init.lua
@@ -181,14 +181,6 @@ local toolcaps_to_text = function(tool_capabilities, check_uses)
if maxrating < rating then maxrating = rating end
end
end
- local ratingstring = "Unknown rating"
- if minrating ~= nil and maxrating ~= nil then
- if minrating == maxrating then
- ratingstring = S("Rating @1", minrating)
- else
- ratingstring = S("Rating @1-@2", minrating, maxrating)
- end
- end
local maxlevel = v.maxlevel
if not maxlevel then
-- Default from tool.h