This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---@diagnostic disable: missing-fields | |
| --[[ | |
| NOTE: Set the config path to enable the copilot adapter to work. | |
| It will search the following paths for a token: | |
| - "$CODECOMPANION_TOKEN_PATH/github-copilot/hosts.json" | |
| - "$CODECOMPANION_TOKEN_PATH/github-copilot/apps.json" | |
| --]] | |
| vim.env["CODECOMPANION_TOKEN_PATH"] = vim.fn.expand("~/.config") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---@diagnostic disable: missing-fields | |
| --[[ | |
| NOTE: Set the config path to enable the copilot adapter to work. | |
| It will search the following paths for a token: | |
| - "$CODECOMPANION_TOKEN_PATH/github-copilot/hosts.json" | |
| - "$CODECOMPANION_TOKEN_PATH/github-copilot/apps.json" | |
| --]] | |
| vim.env["CODECOMPANION_TOKEN_PATH"] = vim.fn.expand("~/.config") |