nanotee / sqls.nvim

Neovim plugin for sqls that leverages the built-in LSP client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Commands are not recognized.

reiend opened this issue · comments

I installed it using minpac
I have config.yml for db and the Lsp was working fine.
but the editor can't seem recognized any of the commands provided.
I tried using lighttiger2505/sqls.vim, commands was there but it doesn't seem support nvim-lsp.

OS

Windows 10

Terminal

Powershell v7.2.2

Editor

nvim v0.6.1

Database

postgresql 13.6

Are you calling this plugin's on_attach() function in your config?

require('lspconfig').sqls.setup{
    on_attach = function(client, bufnr)
        require('sqls').on_attach(client, bufnr)
    end
}

@nanotee thanks, you're on spot. closing this issue now.

image