fix(lsp): fix neoconf when no user directory is present

This commit is contained in:
Micah Halter
2023-06-19 12:01:40 -04:00
parent 2b38f583a6
commit b6d70ee852
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -8,6 +8,7 @@ plugin
ftplugin
spell
.luarc.json
neoconf.json
# Global gitignore
# ----------------
+1 -1
View File
@@ -35,7 +35,7 @@ return {
end
end
end
return { global_settings = string.rep("../", depth):sub(1, -2) .. global_settings }
return { global_settings = global_settings and string.rep("../", depth):sub(1, -2) .. global_settings }
end,
},
{