Skip to content

Commit

Permalink
Per #1084: Expose eglot-{} to be used in eglot-workspace-configuration
Browse files Browse the repository at this point in the history
* eglot.el (eglot-{}): New variable alias.
  • Loading branch information
joaotavora committed Oct 20, 2022
1 parent 5dcf1d3 commit e501275
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ This can be useful when using docker to run a language server.")
(2 . eglot-diagnostic-tag-deprecated-face)))

(defconst eglot--{} (make-hash-table :size 1) "The empty JSON object.")
(defvaralias 'eglot-{} 'eglot--{})

(defun eglot--executable-find (command &optional remote)
"Like Emacs 27's `executable-find', ignore REMOTE on Emacs 26."
Expand Down

3 comments on commit e501275

@barakdiker123
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'''
✓ (101/254) eglot: ee13c9e -> e501275 [1 commit(s)] (w/ 2 dependents)
ERROR: Couldn't collect commit list because: fatal: bad object e501275
'''
running the command
./doom upgrade
causes this problem

@joaotavora
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what that script does and i don't maintain doom, sorry

@asymmetric
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.