diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d06be48..893e9b9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,6 +31,9 @@ jobs: - os: macos-latest emacs-version: snapshot experimental: true + exclude: + - os: macos-latest + emacs-version: 27.2 steps: - uses: actions/checkout@v4 diff --git a/copilot.el b/copilot.el index 6b532c4..554a2b7 100644 --- a/copilot.el +++ b/copilot.el @@ -92,7 +92,7 @@ performance." :group 'copilot :type 'string) -(defcustom copilot-server-args nil +(defcustom copilot-server-args '("--stdio") "Additional arguments to pass to the Copilot server." :group 'copilot :type '(repeat string)) @@ -102,7 +102,6 @@ performance." :group 'copilot :type 'integer) - (defcustom copilot-clear-overlay-ignore-commands nil "List of commands that should not clear the overlay when called." :group 'copilot @@ -140,11 +139,12 @@ find indentation offset." (defconst copilot--server-executable (if (eq system-type 'windows-nt) (f-join copilot-install-dir "node_modules" "copilot-node-server" - "bin" "copilot-node-server") - (f-join copilot-install-dir "bin" "copilot-node-server")) + "copilot" "dist" "agent.js") + (f-join copilot-install-dir "lib" "node_modules" "copilot-node-server" + "copilot" "dist" "agent.js")) "The dist directory containing agent.js file.") -(defcustom copilot-version "1.14.0" +(defcustom copilot-version "1.30.0" "Copilot version. The default value is the preferred version and ensures functionality.