Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nanotee/sqls.nvim
Neovim plugin for sqls that leverages the built-in LSP client
https://github.com/nanotee/sqls.nvim
lsp neovim plugin sql
Last synced: about 1 month ago
JSON representation
Neovim plugin for sqls that leverages the built-in LSP client
- Host: GitHub
- URL: https://github.com/nanotee/sqls.nvim
- Owner: nanotee
- License: mit
- Created: 2021-01-22T14:16:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-21T19:32:18.000Z (about 1 year ago)
- Last Synced: 2024-01-24T08:50:59.690Z (4 months ago)
- Topics: lsp, neovim, plugin, sql
- Language: Lua
- Homepage:
- Size: 72.3 KB
- Stars: 154
- Watchers: 4
- Forks: 8
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-neovim - nanotee/sqls.nvim - SQL database connection plugin + LSP client. (Programming Languages Support / (requires Neovim 0.5))
- awesome-stars - nanotee/sqls.nvim - Neovim plugin for sqls that leverages the built-in LSP client (Lua)
- awesome-neovim - nanotee/sqls.nvim - SQL database connection plugin + LSP client. (Programming Languages Support / (requires Neovim 0.5))
- awesome-neovim - nanotee/sqls.nvim - SQL database connection plugin + LSP client. (Programming Languages Support / (requires Neovim 0.5))
README
# sqls.nvim
Neovim plugin for [sqls](https://github.com/lighttiger2505/sqls) that leverages the built-in LSP client. Loosely based on the code from [sqls.vim](https://github.com/lighttiger2505/sqls.vim). Requires Neovim 0.8.0+
## Installation
- [packer.nvim](https://github.com/wbthomason/packer.nvim)
```lua
use 'nanotee/sqls.nvim'
```
- [paq-nvim](https://github.com/savq/paq-nvim)
```lua
paq 'nanotee/sqls.nvim'
```
- [vim-plug](https://github.com/junegunn/vim-plug)
```vim
Plug 'nanotee/sqls.nvim'
```## Usage
Setup the plugin with [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig)
```lua
require('lspconfig').sqls.setup{
on_attach = function(client, bufnr)
require('sqls').on_attach(client, bufnr)
end
}
```## Commands
See [sqls-nvim-commands](doc/sqls-nvim.txt#L14)
## Mappings
See [sqls-nvim-maps](doc/sqls-nvim.txt#L54)
## Events
See [sqls-nvim-events](doc/sqls-nvim.txt#L66)