aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-08-25 03:04:59 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-08-25 03:04:59 +0000
commit6b828e094b460df28fea17e58038ceb4b8ba69f2 (patch)
tree955e2016687eddbc59980d5cf2764b11a53c5f42
parentfeat(copilot): initial support for copilot-language-server #4029 (diff)
downloadnvim-lspconfig-6b828e094b460df28fea17e58038ceb4b8ba69f2.tar
nvim-lspconfig-6b828e094b460df28fea17e58038ceb4b8ba69f2.tar.gz
nvim-lspconfig-6b828e094b460df28fea17e58038ceb4b8ba69f2.tar.bz2
nvim-lspconfig-6b828e094b460df28fea17e58038ceb4b8ba69f2.tar.lz
nvim-lspconfig-6b828e094b460df28fea17e58038ceb4b8ba69f2.tar.xz
nvim-lspconfig-6b828e094b460df28fea17e58038ceb4b8ba69f2.tar.zst
nvim-lspconfig-6b828e094b460df28fea17e58038ceb4b8ba69f2.zip
docs: update configs.md
skip-checks: true
-rw-r--r--doc/configs.md55
-rw-r--r--doc/configs.txt45
2 files changed, 100 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md
index de73df86..ac2065d1 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -55,6 +55,7 @@ Nvim by running `:help lspconfig-all`.
- [codebook](#codebook)
- [coffeesense](#coffeesense)
- [contextive](#contextive)
+- [copilot](#copilot)
- [coq_lsp](#coq_lsp)
- [crystalline](#crystalline)
- [csharp_ls](#csharp_ls)
@@ -2281,6 +2282,60 @@ Default config:
---
+## copilot
+
+https://www.npmjs.com/package/@github/copilot-language-server
+
+The Copilot Language Server enables any editor or IDE
+to integrate with GitHub Copilot via
+[the language server protocol](https://microsoft.github.io/language-server-protocol/).
+
+**[GitHub Copilot](https://github.com/features/copilot)**
+is an AI pair programmer tool that helps you write code faster and smarter.
+
+**Sign up for [GitHub Copilot Free](https://github.com/settings/copilot)!**
+
+Please see [terms of use for GitHub Copilot](https://docs.github.com/en/site-policy/github-terms/github-terms-for-additional-products-and-features#github-copilot)
+
+Snippet to enable the language server:
+```lua
+vim.lsp.enable('copilot')
+```
+
+Default config:
+- `cmd` :
+ ```lua
+ { "copilot-language-server", "--stdio" }
+ ```
+- `init_options` :
+ ```lua
+ {
+ editorInfo = {
+ name = "Neovim",
+ version = "0.12.0-dev+gc1fa3c7c37"
+ },
+ editorPluginInfo = {
+ name = "Neovim",
+ version = "0.12.0-dev+gc1fa3c7c37"
+ }
+ }
+ ```
+- `on_attach`: [../lsp/copilot.lua:78](../lsp/copilot.lua#L78)
+- `root_markers` :
+ ```lua
+ { ".git" }
+ ```
+- `settings` :
+ ```lua
+ {
+ telemetry = {
+ telemetryLevel = "all"
+ }
+ }
+ ```
+
+---
+
## coq_lsp
https://github.com/ejgallego/coq-lsp/
diff --git a/doc/configs.txt b/doc/configs.txt
index 3f1cbbe1..fb85ab04 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -1470,6 +1470,51 @@ Default config:
<
------------------------------------------------------------------------------
+copilot
+
+https://www.npmjs.com/package/@github/copilot-language-server
+
+The Copilot Language Server enables any editor or IDE
+to integrate with GitHub Copilot via
+[the language server protocol](https://microsoft.github.io/language-server-protocol/).
+
+**[GitHub Copilot](https://github.com/features/copilot)**
+is an AI pair programmer tool that helps you write code faster and smarter.
+
+**Sign up for [GitHub Copilot Free](https://github.com/settings/copilot)!**
+
+Please see [terms of use for GitHub Copilot](https://docs.github.com/en/site-policy/github-terms/github-terms-for-additional-products-and-features#github-copilot)
+
+Snippet to enable the language server: >lua
+ vim.lsp.enable('copilot')
+
+
+Default config:
+- cmd: >lua
+ { "copilot-language-server", "--stdio" }
+- init_options: >lua
+ {
+ editorInfo = {
+ name = "Neovim",
+ version = "0.12.0-dev+gc1fa3c7c37"
+ },
+ editorPluginInfo = {
+ name = "Neovim",
+ version = "0.12.0-dev+gc1fa3c7c37"
+ }
+ }
+- on_attach (use "gF" to view): ../lsp/copilot.lua:78
+- root_markers: >lua
+ { ".git" }
+- settings: >lua
+ {
+ telemetry = {
+ telemetryLevel = "all"
+ }
+ }
+<
+
+------------------------------------------------------------------------------
coq_lsp
https://github.com/ejgallego/coq-lsp/