Skip to content

Disable structured editing on non-Emacs editors - #2294

Merged
nesbox merged 4 commits into
nesbox:mainfrom
neolight1010:disable-structured-edit-non-emacs
Sep 10, 2023
Merged

nesbox merged 4 commits into
nesbox:mainfrom
neolight1010:disable-structured-edit-non-emacs

Conversation

@neolight1010

Copy link
Copy Markdown
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.

@nesbox nesbox left a comment

Copy link
Copy Markdown
Owner

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