aboutsummaryrefslogtreecommitdiff
path: root/modules/lua/commands.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lua/commands.lua')
-rw-r--r--modules/lua/commands.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/lua/commands.lua b/modules/lua/commands.lua
index da7bd6aa..fb12461b 100644
--- a/modules/lua/commands.lua
+++ b/modules/lua/commands.lua
@@ -97,7 +97,6 @@ events.connect('file_after_save',
local _, err = loadstring(text)
if err then
local line, msg = err:match('^.-:(%d+):%s*(.+)$')
- line = tonumber(line)
if line then
buffer.annotation_visible = 2
buffer:annotation_set_text(line - 1, msg)