diff options
| author | George <george@primalskill.com> | 2025-04-22 14:42:42 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-22 04:42:42 -0700 |
| commit | 84dbb703db46f45e0497d0a2ff1a9fdac12fc909 (patch) | |
| tree | d4a3f33336d6ce81bd0da47b85f5d37cf7824cc5 | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-84dbb703db46f45e0497d0a2ff1a9fdac12fc909.tar nvim-lspconfig-84dbb703db46f45e0497d0a2ff1a9fdac12fc909.tar.gz nvim-lspconfig-84dbb703db46f45e0497d0a2ff1a9fdac12fc909.tar.bz2 nvim-lspconfig-84dbb703db46f45e0497d0a2ff1a9fdac12fc909.tar.lz nvim-lspconfig-84dbb703db46f45e0497d0a2ff1a9fdac12fc909.tar.xz nvim-lspconfig-84dbb703db46f45e0497d0a2ff1a9fdac12fc909.tar.zst nvim-lspconfig-84dbb703db46f45e0497d0a2ff1a9fdac12fc909.zip | |
docs(sqls): fix install instructions #3758
| -rw-r--r-- | doc/configs.md | 2 | ||||
| -rw-r--r-- | doc/configs.txt | 2 | ||||
| -rw-r--r-- | lsp/sqls.lua | 2 | ||||
| -rw-r--r-- | lua/lspconfig/configs/sqls.lua | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/doc/configs.md b/doc/configs.md index ac2b31a7..11c3fecb 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -10153,7 +10153,7 @@ vim.lsp.config('sqls', { ... }) ``` -Sqls can be installed via `go get github.com/sqls-server/sqls`. Instructions for compiling Sqls from the source can be found at [sqls-server/sqls](https://github.com/sqls-server/sqls). +Sqls can be installed via `go install github.com/sqls-server/sqls@latest`. Instructions for compiling Sqls from the source can be found at [sqls-server/sqls](https://github.com/sqls-server/sqls). Snippet to enable the language server: ```lua diff --git a/doc/configs.txt b/doc/configs.txt index 98064681..55af312a 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -9544,7 +9544,7 @@ vim.lsp.config('sqls', { ... }) ``` -Sqls can be installed via `go get github.com/sqls-server/sqls`. Instructions for compiling Sqls from the source can be found at [sqls-server/sqls](https://github.com/sqls-server/sqls). +Sqls can be installed via `go install github.com/sqls-server/sqls@latest`. Instructions for compiling Sqls from the source can be found at [sqls-server/sqls](https://github.com/sqls-server/sqls). Snippet to enable the language server: >lua vim.lsp.enable('sqls') diff --git a/lsp/sqls.lua b/lsp/sqls.lua index ce3eb666..25dec930 100644 --- a/lsp/sqls.lua +++ b/lsp/sqls.lua @@ -8,7 +8,7 @@ --- ... --- }) --- ``` ---- Sqls can be installed via `go get github.com/sqls-server/sqls`. Instructions for compiling Sqls from the source can be found at [sqls-server/sqls](https://github.com/sqls-server/sqls). +--- Sqls can be installed via `go install github.com/sqls-server/sqls@latest`. Instructions for compiling Sqls from the source can be found at [sqls-server/sqls](https://github.com/sqls-server/sqls). return { cmd = { 'sqls' }, filetypes = { 'sql', 'mysql' }, diff --git a/lua/lspconfig/configs/sqls.lua b/lua/lspconfig/configs/sqls.lua index 66ac76c7..7895f27e 100644 --- a/lua/lspconfig/configs/sqls.lua +++ b/lua/lspconfig/configs/sqls.lua @@ -18,7 +18,7 @@ require'lspconfig'.sqls.setup{ ... } ``` -Sqls can be installed via `go get github.com/sqls-server/sqls`. Instructions for compiling Sqls from the source can be found at [sqls-server/sqls](https://github.com/sqls-server/sqls). +Sqls can be installed via `go install github.com/sqls-server/sqls@latest`. Instructions for compiling Sqls from the source can be found at [sqls-server/sqls](https://github.com/sqls-server/sqls). ]], }, |
