nemethf / eglot-x

Protocol extensions for Eglot
GNU General Public License v3.0
114 stars 6 forks source link

eglot 1.16 #8

Closed yrns closed 6 months ago

yrns commented 6 months ago

I just updated to eglot 1.16 and noticed a parameter was added to eglot--apply-text-edits:

https://github.com/joaotavora/eglot/commit/88c46bd4dbaa82b4af46aed9b578b121f0edfe48#diff-d6c5a55ddb4dd8dca075c4e0d48c851460ead14c77f333c66b02ccc7d1c2aff0L3320

This results in errors with the advised version:

Before-save hook error: (wrong-number-of-arguments #<subr eglot-x--apply-text-edits> 3)

nemethf commented 6 months ago

I wasn't able to reproduce this, I pushed a commit that hopefully fixes it. Thanks.