Skip to content

Fix read-only error when showing enclosing type in separate buffer (caml-mode only?) #48

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

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

nojb
Copy link
Contributor

@nojb nojb commented Apr 2, 2025

Fixes #43

As far as I understand, when switching on the major mode, font locking (at least under caml-mode) needs to modify the buffer, so read-only mode needs to be off at that point.

@xvw
Copy link
Member

xvw commented Apr 3, 2025

Thanks, I'll merge when the CI is green!

@xvw xvw merged commit 2427524 into tarides:main Apr 3, 2025
5 checks passed
@nojb
Copy link
Contributor Author

nojb commented Apr 3, 2025

Thanks!

@nojb nojb deleted the nojebar_fix_read_only_types_buffer branch April 3, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

*ocaml-eglot-types* buffer read-only error
2 participants