Skip to content
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

Disable structured editing on non-Emacs editors #2294

Merged
merged 4 commits into from
Sep 10, 2023

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
31 checks passed
@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