fix(lsp): handle non-existent configs in lsp.config/enable

This commit is contained in:
Lewis Russell
2025-03-08 10:15:43 +00:00
committed by Lewis Russell
parent c63e794b10
commit ed07167261
3 changed files with 92 additions and 31 deletions

View File

@@ -45,6 +45,11 @@ function log.get_filename()
return logfilename
end
--- @param s string
function log._set_filename(s)
logfilename = s
end
--- @type file*?, string?
local logfile, openerr