Open manumoreno opened 1 year ago
I just installed it and I have the exact same problem as you. :(
These commands are buffer-local, the plugin creates them when the LSP client attaches to a buffer. They should appear when you open a SQL file
Thanks @nanotee! I did notice that my the LSP client was having problems attaching to the active buffer. That said, my problem got resolved on its own after a few days. I still don't know what changed behind the scenes.
BTW, great plugin! It's proving to be very useful. I was wondering if the show tables function might work at some point. I don't recall if PostgreSQL is not supported or that functionality is not yet fully implemented.
I don't think it's going to be implemented any time soon since the lighttiger2505/sqls repository has been archived, unless someone forks and takes over the project
I don't think it's going to be implemented any time soon since the lighttiger2505/sqls repository has been archived, unless someone forks and takes over the project
It seems someone forked it.
my problem got resolved on its own after a few days. I still don't know what changed behind the scenes.
This is my exact issue also, has anyone found a fix?
I have it set up to use a SQLite temporary DB as my test bed, and the LSP seems to connect fine, and the keyword autocomplete/highlighting and format file works. But none of the :Sqls* family of commands seem to have registered. I am new to LSP configs in nvim so I may have missed something obvious.
Any guidance appreciated!
@JDOsborne1 could you please share your lspconfig configuration?
I'm having an interesting problem. I know I'm connecting to the database just fine (because I can change a DB parameter to make it fail and then revert back). Also, the
sqls
binary is installed and in the PATH. The problem I'm having is that no Sqls* command works -- they don't show as possible commands at the ":" prompt in nvim. Has anybody else experienced this problem and, if so, how can I go about resolving it?