-
Notifications
You must be signed in to change notification settings - Fork 8
Emacs 30 1 stewarding #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b1ec68a
to
1e5ebd2
Compare
1e5ebd2
to
0e55188
Compare
configuration in this way: | ||
|
||
```diff | ||
(use-package ocaml-eglot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I"m guessing you can also add a use-package
invocation for flycheck-eglot
, so this example would be more complete.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed on 74f0699
+ :config | ||
+ (add-hook #'ocaml-eglot-hook |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's slightly different from your example above. (in the auto-format section) Perhaps you want to make them consistent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you're looking at the source
and not the modification
. In the diff, I relay to :hook ..
. Does this work for you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I didn't see this was a "diff". My bad!
Btw, I saw this block using "Scheme" as the language, but GH actually supports elisp
and emacs-lisp
for fenced code blocks:
(use-package ocaml-eglot
:ensure t
:after tuareg
:hook
(tuareg-mode . ocaml-eglot)
(ocaml-eglot . eglot-ensure))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes! Fixed!
@@ -294,14 +302,14 @@ If there is no available holes, it returns the first one of HOLES." | |||
|
|||
(defun ocaml-eglot--first-hole-in (start end) | |||
"Jump to the first hole in a given range denoted by START and END." | |||
(when-let ((hole (ocaml-eglot--get-first-hole-in start end)) | |||
(when-let* ((hole (ocaml-eglot--get-first-hole-in start end)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The line below is not properly indented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I run indent-buffer
on 7f8ab06
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the changes seem fine to me.
Thanks a lot for your review @bbatsov! |
74f0699
to
69fd31b
Compare
Some fixes after 30.1 (fix #31)