Coder Social home page Coder Social logo

Comments (1)

ErikHons avatar ErikHons commented on August 18, 2024

This change got me working:

diff --git a/eglot-copilot.el b/eglot-copilot.el
index c229a79..81fa1c4 100644
--- a/eglot-copilot.el
+++ b/eglot-copilot.el
@@ -3,7 +3,7 @@
 ;; Author: Tyler Dodge ([email protected])
 ;; Version: 0.1
 ;; Keywords: convenience
-;; Package-Requires: ((emacs "28.2") (f "0.20.0") (bash-completion "3.1.0") (projectile "2.6.0-snapshot") (s "1.12.0") (company "0.9.13") (eglot-copilot "0.1") (dash "2.19.1") (ht "2.4"))
+;; Package-Requires: ((emacs "28.2") (f "0.20.0") (bash-completion "3.1.0") (s "1.12.0") (company "0.9.13") (eglot-copilot "0.1") (dash "2.19.1") (ht "2.4"))
 ;; URL: https://github.com/tyler-dodge/eglot-copilot
 ;; Git-Repository: git://github.com/tyler-dodge/eglot-copilot.git
 ;; This program is free software; you can redistribute it and/or modify
@@ -408,8 +408,7 @@ Creates it if it does not exist."
   (with-current-buffer (eglot-copilot--ensure-shadow-buffer (current-buffer))
     (eglot
      #'eglot-copilot-shadow-mode
-     (cons 'projectile
-           (projectile-project-root))
+     (eglot--current-project)
      #'eglot-copilot-lsp-server
      (eglot-copilot-shadow-mode-server-command)
      "copilot" t)))
@@ -424,8 +423,7 @@ Creates it if it does not exist."
              (prog1 t (eglot--maybe-activate-editing-mode)))
         (eglot
          #'eglot-copilot-shadow-mode
-         (cons 'projectile
-               (projectile-project-root))
+         (eglot--current-project)
          #'eglot-copilot-lsp-server
          (eglot-copilot-shadow-mode-server-command)
          "copilot" t))))

from eglot-copilot.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.