Open
Description
I'm not sure how to setup for neovim and sqlite3.
I have initialized it like:
lspconfig.sqls.setup {
on_attach = function(client, bufnr)
require('sqls').on_attach(client, bufnr) -- require sqls.nvim
end,
settings = {
sqls = {
connections = {
{
driver = 'sqlite3',
dataSourceName = '/path/to/my/db.sqlite3',
},
},
},
},
capabilities = capabilities }
which seems not optimal as I have to change that option everytime I change db I work on.
In any case it doesn't work.
It shows a notification "no database connection".
How to set it up properly for neovim and sqlite3?
Can we add a Discussion section to this repo?
Metadata
Metadata
Assignees
Labels
No labels