fix: #11 lsp and autoload issue
parent
32610c4de6
commit
13dacbc880
|
|
@ -110,7 +110,7 @@ function M.load(opt)
|
||||||
if not ok then
|
if not ok then
|
||||||
return utils.echoerr("Error loading the session! ", result)
|
return utils.echoerr("Error loading the session! ", result)
|
||||||
end
|
end
|
||||||
vim.cmd("edit")
|
vim.cmd("silent! e %")
|
||||||
end
|
end
|
||||||
|
|
||||||
if config.options.autosave and (allow_dir() and not ignore_dir()) then
|
if config.options.autosave and (allow_dir() and not ignore_dir()) then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue