diff options
Diffstat (limited to 'script/proto/converter.lua')
-rw-r--r-- | script/proto/converter.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/proto/converter.lua b/script/proto/converter.lua index 9c75f056..3f5ddebc 100644 --- a/script/proto/converter.lua +++ b/script/proto/converter.lua @@ -13,7 +13,7 @@ local function rawPackPosition(uri, pos) if col > 0 then local state = files.getState(uri) local text = files.getText(uri) - if text then + if state and text then local lineOffset = state.lines[row] if lineOffset then local start = lineOffset |