diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | server/src/utility.lua | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -18,6 +18,7 @@ - [x] Code Action - [ ] Multi Workspace - [ ] Type Format +- [ ] Document Color ## Preview diff --git a/server/src/utility.lua b/server/src/utility.lua index c59fa2eb..34412a97 100644 --- a/server/src/utility.lua +++ b/server/src/utility.lua @@ -38,7 +38,7 @@ function table.dump(tbl) local keys = {} for key in pairs(tbl) do if type(key) == 'string' then - if key:find('[^%w_]') then + if key == '' or key:find('[^%w_]') then KEY[key] = ('[%q]'):format(key) else KEY[key] = key |