diff options
Diffstat (limited to 'server/src/workspace.lua')
-rw-r--r-- | server/src/workspace.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/workspace.lua b/server/src/workspace.lua index 18f9b15b..c5db8c5a 100644 --- a/server/src/workspace.lua +++ b/server/src/workspace.lua @@ -63,6 +63,8 @@ function mt:listenLoadFile() self.lsp:readText(uri, path, buf, self._currentScanCompiled) elseif mode == 'library' then self.lsp:readLibrary(uri, path, buf, self._currentScanCompiled) + else + error('Unknown mode:' .. tostring(mode)) end end) end |