Skip to content

Conversation

neolight1010
Copy link
Contributor

Fixes #2293 . Structured editing is disabled in non-Emacs editors by checking the editor mode in shouldUseStructuredEdit().

I also added a root-level compile_commands.json line to the .gitignore file, as clangd requires the file to be in the root to be detected correctly.

Copy link
Owner

@nesbox nesbox left a comment

Choose a reason for hiding this comment

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

I do not understand anything in these editing modes, let's hope people will use it.
Thank you.

@nesbox nesbox merged commit 0b48c32 into nesbox:main Sep 10, 2023
@neolight1010 neolight1010 deleted the disable-structured-edit-non-emacs branch September 12, 2023 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Restrict Structural Editing to Emacs mode
2 participants