Closed xYx-c closed 1 year ago
@xYx-c Sorry for the late reply. I don't know if you're still having this issue (been pushing alot directly to master).
I tested this and it successfully adds connections on 0.9.0 and earlier. I merged a PR to hopefully fix this issue.
When and where do you run into this issue? In your vim data path (typically ~/.local/share/nvim/) you will have the sqlua
folder, and in there will be the connections.json
file that holds the connection info.
Using the SQLuaAddConnection
method should work, or you can add it manually if you prefer.
Let me know if you're still having issues.
Most recent pushes should be stable. Now at a point where I will push branches vs directly to master.
Error executing Lua callback: ...ocal/share/nvim/lazy/sqlua.nvim/lua/sqlua/connection.lua:215: attempt to call method 'read' (a nil value) stack traceback: ...ocal/share/nvim/lazy/sqlua.nvim/lua/sqlua/connection.lua:215: in function 'add' ...e/x/.local/share/nvim/lazy/sqlua.nvim/lua/sqlua/init.lua:80: in function <...e/x/.local/share/nvim/lazy/sqlua.nvim/lua/sqlua/init.lua:75>
NVIM v0.8.3 Build type: Release LuaJIT 2.1.0-beta3 Compiled by runner@fv-az183-550