Xemptuous / sqlua.nvim

A SQL IDE and UI for NeoVim written in Lua. Inspired by vim-dadbod vim-dadbod-ui.
Apache License 2.0
52 stars 0 forks source link

Trygint to set this up in my lazyvim but it fails with cannot find event SQLua #4

Closed bjartek closed 6 months ago

bjartek commented 8 months ago

See the PR to my nvim repo here https://github.com/bjartek/nvim-config/pull/2

Xemptuous commented 7 months ago

Interesting. When looking at my previous version of calling it, I wasn't using what's specified in the README (probably wasn't a good idea lol). I was only using config = function() require("sqlua").setup() end in my config. I would assume the issue is that lazy is trying to assign the event before the event was created by the setup() function. I can dig into this more later and see what I can find.

Xemptuous commented 6 months ago

Updated README.md in eb52f3e so that this issue shouldn't happen any more. Issue was using event instead of cmd.