diff options
author | Marcus Tillmanns <[email protected]> | 2024-06-03 08:55:10 +0200 |
---|---|---|
committer | Eike Ziller <[email protected]> | 2024-06-04 12:29:34 +0000 |
commit | f512bbff895f387f7fe03529a9fa09ca50175ebe (patch) | |
tree | fa633331440f4ac44ecc090d812bd2e4250f9e77 /src/plugins/copilot | |
parent | 0e80f63a1ae675692afdfc9085bbaf2d228b6a38 (diff) |
Copilot: Adapt to agent.js => language-server.js rename
Copilot has changed the name of agent.js to language-server.js. This
patch adds the new name and changes the installation note without
changing the translation.
Change-Id: I585fe54c86029de32de806447ec3356999a99540
Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/copilot')
-rw-r--r-- | src/plugins/copilot/copilotsettings.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/copilot/copilotsettings.cpp b/src/plugins/copilot/copilotsettings.cpp index 9ddfa4edfbb..21737c3a926 100644 --- a/src/plugins/copilot/copilotsettings.cpp +++ b/src/plugins/copilot/copilotsettings.cpp @@ -50,18 +50,22 @@ CopilotSettings::CopilotSettings() // Vim, Linux/macOS: FilePath::fromUserInput("~/.vim/pack/github/start/copilot.vim/dist/agent.js"), FilePath::fromUserInput("~/.vim/pack/github/start/copilot.vim/copilot/dist/agent.js"), + FilePath::fromUserInput("~/.vim/pack/github/start/copilot.vim/dist/language-server.js"), // Neovim, Linux/macOS: FilePath::fromUserInput("~/.config/nvim/pack/github/start/copilot.vim/dist/agent.js"), FilePath::fromUserInput("~/.config/nvim/pack/github/start/copilot.vim/copilot/dist/agent.js"), + FilePath::fromUserInput("~/.config/nvim/pack/github/start/copilot.vim/dist/language-server.js"), // Vim, Windows (PowerShell command): FilePath::fromUserInput("~/vimfiles/pack/github/start/copilot.vim/dist/agent.js"), FilePath::fromUserInput("~/vimfiles/pack/github/start/copilot.vim/copilot/dist/agent.js"), + FilePath::fromUserInput("~/vimfiles/pack/github/start/copilot.vim/dist/language-server.js"), // Neovim, Windows (PowerShell command): FilePath::fromUserInput("~/AppData/Local/nvim/pack/github/start/copilot.vim/dist/agent.js"), - FilePath::fromUserInput("~/AppData/Local/nvim/pack/github/start/copilot.vim/copilot/dist/agent.js") + FilePath::fromUserInput("~/AppData/Local/nvim/pack/github/start/copilot.vim/copilot/dist/agent.js"), + FilePath::fromUserInput("~/AppData/Local/nvim/pack/github/start/copilot.vim/dist/language-server.js") }; // clang-format on @@ -202,7 +206,7 @@ CopilotSettings::CopilotSettings() "file from the Copilot neovim plugin.", "Markdown text for the copilot instruction label") .arg("[README.md](https://github.com/github/copilot.vim)") - .arg("[agent.js](https://github.com/github/copilot.vim/tree/release/dist)")); + .arg("[language-server.js](https://github.com/github/copilot.vim/tree/release/dist)")); return Column { Group { |