nanotee/sqls.nvim

github github
programming-languages-support
stars 223
issues 11
subscribers 4
forks 11
CREATED

2021-01-22

UPDATED

3 months ago


sqls.nvim

Neovim plugin for sqls that leverages the built-in LSP client. Loosely based on the code from sqls.vim. Requires Neovim 0.10.0+

Installation

Usage

If you're using Neovim 0.11 and above, you can simply enable the configuration with vim.lsp.enable() and vim.lsp.config()

vim.lsp.config('sqls', {
    -- your custom client configuration
})
vim.lsp.enable('sqls')

See also: lsp-config

For older versions, setup the plugin with nvim-lspconfig

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

Commands

See sqls-nvim-commands

Mappings

See sqls-nvim-maps

Events

See sqls-nvim-events