fix(lsp): fix neoconf when no user directory is present
This commit is contained in:
@@ -8,6 +8,7 @@ plugin
|
||||
ftplugin
|
||||
spell
|
||||
.luarc.json
|
||||
neoconf.json
|
||||
|
||||
# Global gitignore
|
||||
# ----------------
|
||||
|
||||
+1
-1
@@ -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,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user