aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/configs.md86
-rw-r--r--doc/configs.txt65
-rw-r--r--lsp/codebook.lua2
-rw-r--r--lsp/gn_language_server.lua13
-rw-r--r--lsp/systemd_ls.lua2
5 files changed, 149 insertions, 19 deletions
diff --git a/doc/configs.md b/doc/configs.md
index b7ffa45b..e5c66844 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -129,6 +129,7 @@ Nvim by running `:help lspconfig-all`.
- [glint](#glint)
- [glsl_analyzer](#glsl_analyzer)
- [glslls](#glslls)
+- [gn_language_server](#gn_language_server)
- [gnls](#gnls)
- [golangci_lint_ls](#golangci_lint_ls)
- [gopls](#gopls)
@@ -233,6 +234,7 @@ Nvim by running `:help lspconfig-all`.
- [pico8_ls](#pico8_ls)
- [please](#please)
- [pli](#pli)
+- [pony_language_server](#pony_language_server)
- [poryscript_pls](#poryscript_pls)
- [postgres_lsp](#postgres_lsp)
- [powershell_es](#powershell_es)
@@ -2309,7 +2311,7 @@ Default config:
```
- `filetypes` :
```lua
- { "c", "css", "gitcommit", "go", "haskell", "html", "java", "javascript", "javascriptreact", "lua", "markdown", "php", "python", "ruby", "rust", "toml", "text", "typescript", "typescriptreact" }
+ { "c", "css", "gitcommit", "go", "haskell", "html", "java", "javascript", "javascriptreact", "lua", "markdown", "php", "python", "ruby", "rust", "swift", "toml", "text", "typescript", "typescriptreact", "zig" }
```
- `root_markers` :
```lua
@@ -2436,11 +2438,11 @@ Default config:
{
editorInfo = {
name = "Neovim",
- version = "0.12.0-dev+g03377b9552"
+ version = "0.12.0-dev+g3e83f7bec7"
},
editorPluginInfo = {
name = "Neovim",
- version = "0.12.0-dev+g03377b9552"
+ version = "0.12.0-dev+g3e83f7bec7"
}
}
```
@@ -4873,20 +4875,20 @@ Default config:
{
editorInfo = {
name = "Neovim",
- version = "0.12.0-dev+g03377b9552"
+ version = "0.12.0-dev+g3e83f7bec7"
},
editorPluginInfo = {
name = "Neovim LSP",
- version = "0.12.0-dev+g03377b9552"
+ version = "0.12.0-dev+g3e83f7bec7"
},
extension = {
name = "Neovim LSP Client",
- version = "0.12.0-dev+g03377b9552"
+ version = "0.12.0-dev+g3e83f7bec7"
},
ide = {
name = "Neovim",
vendor = "Neovim",
- version = "0.12.0-dev+g03377b9552"
+ version = "0.12.0-dev+g3e83f7bec7"
}
}
```
@@ -5115,6 +5117,34 @@ Default config:
---
+## gn_language_server
+
+https://github.com/google/gn-language-server
+
+A language server for GN, the build configuration language used in Chromium,
+Fuchsia, and other projects.
+
+Snippet to enable the language server:
+```lua
+vim.lsp.enable('gn_language_server')
+```
+
+Default config:
+- `cmd` :
+ ```lua
+ { "gn-language-server", "--stdio" }
+ ```
+- `filetypes` :
+ ```lua
+ { "gn" }
+ ```
+- `root_markers` :
+ ```lua
+ { ".gn", ".git" }
+ ```
+
+---
+
## gnls
https://github.com/microsoft/gnls
@@ -8875,6 +8905,33 @@ Default config:
---
+## pony_language_server
+
+https://github.com/ponylang/pony-language-server
+
+Language server for the Pony programming language
+
+Snippet to enable the language server:
+```lua
+vim.lsp.enable('pony_language_server')
+```
+
+Default config:
+- `cmd` :
+ ```lua
+ { "pony-lsp" }
+ ```
+- `filetypes` :
+ ```lua
+ { "pony" }
+ ```
+- `root_markers` :
+ ```lua
+ { "corral.json", ".git" }
+ ```
+
+---
+
## poryscript_pls
https://github.com/huderlem/poryscript-pls
@@ -11979,7 +12036,7 @@ Default config:
## systemd_ls
-stack overflow
+Renamed to [systemd_lsp](#systemd_lsp)
Snippet to enable the language server:
```lua
@@ -11987,7 +12044,18 @@ vim.lsp.enable('systemd_ls')
```
Default config:
-
+- `cmd` :
+ ```lua
+ { "systemd-lsp" }
+ ```
+- `filetypes` :
+ ```lua
+ { "systemd" }
+ ```
+- `name` :
+ ```lua
+ "systemd_lsp"
+ ```
---
diff --git a/doc/configs.txt b/doc/configs.txt
index c02c1aad..d9cb9d1e 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -1488,7 +1488,7 @@ Default config:
- cmd: >lua
{ "codebook-lsp", "serve" }
- filetypes: >lua
- { "c", "css", "gitcommit", "go", "haskell", "html", "java", "javascript", "javascriptreact", "lua", "markdown", "php", "python", "ruby", "rust", "toml", "text", "typescript", "typescriptreact" }
+ { "c", "css", "gitcommit", "go", "haskell", "html", "java", "javascript", "javascriptreact", "lua", "markdown", "php", "python", "ruby", "rust", "swift", "toml", "text", "typescript", "typescriptreact", "zig" }
- root_markers: >lua
{ ".git", "codebook.toml", ".codebook.toml" }
<
@@ -1592,11 +1592,11 @@ Default config:
{
editorInfo = {
name = "Neovim",
- version = "0.12.0-dev+g03377b9552"
+ version = "0.12.0-dev+g3e83f7bec7"
},
editorPluginInfo = {
name = "Neovim",
- version = "0.12.0-dev+g03377b9552"
+ version = "0.12.0-dev+g3e83f7bec7"
}
}
- on_attach (use "gF" to view): ../lsp/copilot.lua:106
@@ -3461,20 +3461,20 @@ Default config:
{
editorInfo = {
name = "Neovim",
- version = "0.12.0-dev+g03377b9552"
+ version = "0.12.0-dev+g3e83f7bec7"
},
editorPluginInfo = {
name = "Neovim LSP",
- version = "0.12.0-dev+g03377b9552"
+ version = "0.12.0-dev+g3e83f7bec7"
},
extension = {
name = "Neovim LSP Client",
- version = "0.12.0-dev+g03377b9552"
+ version = "0.12.0-dev+g3e83f7bec7"
},
ide = {
name = "Neovim",
vendor = "Neovim",
- version = "0.12.0-dev+g03377b9552"
+ version = "0.12.0-dev+g3e83f7bec7"
}
}
- on_attach (use "gF" to view): ../lsp/gitlab_duo.lua:317
@@ -3655,6 +3655,27 @@ Default config:
<
------------------------------------------------------------------------------
+gn_language_server
+
+https://github.com/google/gn-language-server
+
+A language server for GN, the build configuration language used in Chromium,
+Fuchsia, and other projects.
+
+Snippet to enable the language server: >lua
+ vim.lsp.enable('gn_language_server')
+
+
+Default config:
+- cmd: >lua
+ { "gn-language-server", "--stdio" }
+- filetypes: >lua
+ { "gn" }
+- root_markers: >lua
+ { ".gn", ".git" }
+<
+
+------------------------------------------------------------------------------
gnls
https://github.com/microsoft/gnls
@@ -6519,6 +6540,26 @@ Default config:
<
------------------------------------------------------------------------------
+pony_language_server
+
+https://github.com/ponylang/pony-language-server
+
+Language server for the Pony programming language
+
+Snippet to enable the language server: >lua
+ vim.lsp.enable('pony_language_server')
+
+
+Default config:
+- cmd: >lua
+ { "pony-lsp" }
+- filetypes: >lua
+ { "pony" }
+- root_markers: >lua
+ { "corral.json", ".git" }
+<
+
+------------------------------------------------------------------------------
poryscript_pls
https://github.com/huderlem/poryscript-pls
@@ -8878,14 +8919,20 @@ Default config:
------------------------------------------------------------------------------
systemd_ls
-loop or previous error loading module 'lsp.systemd_ls'
+Renamed to [systemd_lsp](#systemd_lsp)
Snippet to enable the language server: >lua
vim.lsp.enable('systemd_ls')
Default config:
-
+- cmd: >lua
+ { "systemd-lsp" }
+- filetypes: >lua
+ { "systemd" }
+- name: >lua
+ "systemd_lsp"
+<
------------------------------------------------------------------------------
systemd_lsp
diff --git a/lsp/codebook.lua b/lsp/codebook.lua
index dea265c5..ec8931f7 100644
--- a/lsp/codebook.lua
+++ b/lsp/codebook.lua
@@ -28,10 +28,12 @@ return {
'python',
'ruby',
'rust',
+ 'swift',
'toml',
'text',
'typescript',
'typescriptreact',
+ 'zig',
},
root_markers = { '.git', 'codebook.toml', '.codebook.toml' },
}
diff --git a/lsp/gn_language_server.lua b/lsp/gn_language_server.lua
new file mode 100644
index 00000000..2bf80a05
--- /dev/null
+++ b/lsp/gn_language_server.lua
@@ -0,0 +1,13 @@
+---@brief
+---
+--- https://github.com/google/gn-language-server
+---
+--- A language server for GN, the build configuration language used in Chromium,
+--- Fuchsia, and other projects.
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'gn-language-server', '--stdio' },
+ filetypes = { 'gn' },
+ root_markers = { '.gn', '.git' },
+}
diff --git a/lsp/systemd_ls.lua b/lsp/systemd_ls.lua
index 7d9f975e..9bea0665 100644
--- a/lsp/systemd_ls.lua
+++ b/lsp/systemd_ls.lua
@@ -5,4 +5,4 @@
vim.deprecate('systemd_ls', 'systemd_lsp', '2.0.0', 'nvim-lspconfig', false)
---@type vim.lsp.Config
-return vim.lsp.config.systemd_ls
+return vim.lsp.config.systemd_lsp