aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGithub Actions <actions@github>2020-09-02 01:44:14 +0000
committerGithub Actions <actions@github>2020-09-02 01:44:14 +0000
commit419fa4006e7c15cbc2f81f5110952de562494cd4 (patch)
treed92e5b429c57d714d7229882bd1599349e7ad409 /README.md
parentsqlls: doc #341 (diff)
downloadnvim-lspconfig-419fa4006e7c15cbc2f81f5110952de562494cd4.tar
nvim-lspconfig-419fa4006e7c15cbc2f81f5110952de562494cd4.tar.gz
nvim-lspconfig-419fa4006e7c15cbc2f81f5110952de562494cd4.tar.bz2
nvim-lspconfig-419fa4006e7c15cbc2f81f5110952de562494cd4.tar.lz
nvim-lspconfig-419fa4006e7c15cbc2f81f5110952de562494cd4.tar.xz
nvim-lspconfig-419fa4006e7c15cbc2f81f5110952de562494cd4.tar.zst
nvim-lspconfig-419fa4006e7c15cbc2f81f5110952de562494cd4.zip
[docgen] Update README.md
skip-checks: true
Diffstat (limited to 'README.md')
-rw-r--r--README.md32
1 files changed, 31 insertions, 1 deletions
diff --git a/README.md b/README.md
index 18a4ab0d..3c4147a4 100644
--- a/README.md
+++ b/README.md
@@ -282,6 +282,7 @@ that config.
- [rust_analyzer](#rust_analyzer)
- [solargraph](#solargraph)
- [sourcekit](#sourcekit)
+- [sqlls](#sqlls)
- [sumneko_lua](#sumneko_lua)
- [terraformls](#terraformls)
- [texlab](#texlab)
@@ -3026,7 +3027,7 @@ require'nvim_lsp'.omnisharp.setup{}
Commands:
Default Values:
- cmd = { "/home/runner/.cache/nvim/nvim_lsp/omnisharp/run", "--languageserver", "--hostPID", "2648" }
+ cmd = { "/home/runner/.cache/nvim/nvim_lsp/omnisharp/run", "--languageserver", "--hostPID", "2793" }
filetypes = { "cs", "vb" }
init_options = {}
on_new_config = <function 1>
@@ -4445,6 +4446,35 @@ require'nvim_lsp'.sourcekit.setup{}
root_dir = root_pattern("Package.swift", ".git")
```
+## sqlls
+
+https://github.com/joe-re/sql-language-server
+
+`cmd` value is **not set** by default. An installer is provided via the `:LspInstall` command that uses the *nvm_lsp node_modules* directory to find the sql-language-server executable. The `cmd` value can be overriden in the `setup` table;
+
+```lua
+require'nvim_lsp'.sqlls.setup{
+ cmd = {"path/to/command", "up", "--method", "stdio"};
+ ...
+}
+```
+
+This LSP can be installed via `:LspInstall sqlls` or with `npm`. If using LspInstall, run `:LspInstallInfo sqlls` to view installation paths. Find further instructions on manual installation of the sql-language-server at [joe-re/sql-language-server](https://github.com/joe-re/sql-language-server).
+<br>
+
+Can be installed in Nvim with `:LspInstall sqlls`
+
+```lua
+require'nvim_lsp'.sqlls.setup{}
+
+ Commands:
+
+ Default Values:
+ filetypes = { "sql", "mysql" }
+ root_dir = <function 1>
+ settings = {}
+```
+
## sumneko_lua
https://github.com/sumneko/lua-language-server